I have updated all the Opscode cookbooks attributes files to use 'default'
instead of 'set_unless'. This coincides with the CHEF-838 ticket, which
changes the way that attributes are applied to the system. If you are not
using Chef 0.9 yet, this is a semantic change and you likely won't see any
difference, as the 'default' method for assigning attributes is a method
alias for 'set_unless' in the Chef Node object.
If you are using Chef 0.9, please note that the 'default' is functionally
different than 'set_unless'. The 'default' method will set the attribute at
the default level in the Node's attributes. The 'set_unless' method will set
the attribute at the normal level in the Node's attributes unless the
attribute already exists (whether in normal, default or override).
This change in the cookbooks makes them more consistent with the way that
these attributes are intended to be used. You can download new cookbooks from
the site with knife:
knife cookbook site vendor COOKBOOK
Or if you're using the github repository directly, you can update to the
latest revision from opscode/master.
Let us know if you have any questions!
Archive powered by MHonArc 2.6.16.