Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignores role & environment attributes when using Chef 11 #2

Open
tomdz opened this issue Jun 18, 2013 · 0 comments
Open

Ignores role & environment attributes when using Chef 11 #2

tomdz opened this issue Jun 18, 2013 · 0 comments

Comments

@tomdz
Copy link

tomdz commented Jun 18, 2013

In Chef 11, the handling of node attributes vs. role/environment default_attributes/override_attributes has changed (http://www.opscode.com/blog/2013/02/05/chef-11-in-depth-attributes-changes/). More specifically, it looks like the attributes methods on the node called by the bag_config library (https://github.com/hw-cookbooks/bag_config/blob/master/libraries/bag_config.rb#L114-120) don't include the environment and role defaults/overrides (https://github.com/opscode/chef/blob/master/lib/chef/node/attribute.rb#L150-177).
In effect this means that default_attributes/override_attributes in roles & environments are currently ignored when using bag_config.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant