Skip to content

Blacklist ohai/chef node attributes to prevent saving to chef server

License

Notifications You must be signed in to change notification settings

irccloud/blacklist-node-attrs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

blacklist-node-attrs cookbook

Prevents specified attributes from ohai (or whereever) being sent to the chef server during save.

Counterpart to https://github.com/opscode/whitelist-node-attrs

Usage

Add recipe[blacklist-node-attrs] to your run list, and set attributes:

Attributes

In this example the network.interfaces list is blacklisted. This is useful if you have lots of IP address on your node, and you don't want to upload them all to the chef server.

node.set[:blacklist] = {
    "network" => {
        "interfaces" => true
    }
}

About

Blacklist ohai/chef node attributes to prevent saving to chef server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages