Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 attributes
Octocat-spinner-32 libraries
Octocat-spinner-32 recipes
Octocat-spinner-32 README.rdoc
Octocat-spinner-32 metadata.rb


Allows you to provide a whitelist of node attributes to save on the server. All of the attributes are still available throughout the chef run, but only those specifically listed will be saved to the server.


node[:whitelist] provides a map of node attributes to store. The defaults are provided by this cookbook, and the map is:

node.default[:whitelist] = {
  "domain" => true,
  "fqdn" => true,
  "hostname" => true,
  "ipaddress" => true,
  "macaddress" => true,
  "platform" => true,
  "platform_version" => true,
  "kernel" => {
    "machine" => true,
    "name" => true,
    "os" => true,
    "release" => true,
    "version" => true

The results would be that the node object as seen on the server will only have the attributes specified above.

This cookbook honors the fact that attributes are set at different precedence levels.


Upload the cookbook, and make sure that it is included as a dependency in another cookbooks metadata, or that the recipe (which does nothing) is included in the role.

Whenever is called, the whitelist will be applied.

Something went wrong with that request. Please try again.