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

chef_environment support to append to environments #109

Closed
nukepuppy opened this issue Aug 11, 2016 · 1 comment
Closed

chef_environment support to append to environments #109

nukepuppy opened this issue Aug 11, 2016 · 1 comment

Comments

@nukepuppy
Copy link

It would be good to see chef_environment append to an environment so it is not just overwritten completely.

as in one recipe could in theory just add a specific context into the environment (for example in normal attributes)

then in another recipe to the same environment append a different context instead of overwriting all of normal attributes with what it decided.

Not sure if even feasible but never hurts to ask

@lamont-granquist
Copy link
Contributor

This feels like a "not right now"

The Chef::Resource#current_value API can probably be used to retrieve the environment, then update it, then execute the action to change it.

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

2 participants