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

add node env override #102

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

AndrewPickford
Copy link
Collaborator

Add the ability to override the environment defined in the node file. Running reclass standalone this is done with a new command line option '--environment'. For running with salt this allows the saltenv or pillarenv parameters in a salt command to override the environment of a node. Using the override with salt requires a custom salt reclass adapter which can be found in the new contrib directory (details of how to use added to the docs).

Allows a nodes environment to be overridden when using either the
reclass command line or the salt adapter.

See 'Override node environment' section in README-extensions.rst
for usage.
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

Successfully merging this pull request may close these issues.

1 participant