- From: Joshua Timberman <
>
- To: Chef Users <
>, "
Developers" <
>
- Subject: [chef] COOK-3276 - change attributes from normal to default
- Date: Tue, 9 Jul 2013 18:39:33 +0000
- Accept-language: en-US
Ohai Chefs,
We just merged COOK-3276, which changes the attribute setting in the various
service recipes to `node.default` instead of `node.set` (#normal). After this
change you may have unnecessary attribute settings on your nodes, which can
be removed using knife exec. The :all argument to transform will modify all
nodes. The argument can be a search query (e.g., "chef_environment:dev").
knife exec -E "nodes.transform(:all) {|n|
n.normal['chef_client'].delete('bin') }"
One could also delete the `chef_client` attribute tree entirely, since there
shouldn't be any other "normal" level attributes set.
knife exec -E "nodes.transform(:all) {|n| n.normal.delete('chef_client') }"
COOK-3276 isn't in the current version, only on the master branch, but this
will be in an upcoming release of the cookbook.
Cheers,
Joshua
- [chef] COOK-3276 - change attributes from normal to default, Joshua Timberman, 07/09/2013
Archive powered by MHonArc 2.6.16.