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

Override facts and ENC parameters identified with a regular expression #113

Merged
merged 7 commits into from
May 19, 2017

Conversation

kpaulisse
Copy link
Contributor

This PR is an enhancement to the fact override and ENC override features. Before you had to type the exact name of the parameter or key to override. With this change you are allowed to enter a regular expression for the key name, and all found keys matching that regular expression will be overridden.

Example:

octocatalog-diff [options] --to-fact-override "/^ec2_/=(nil)" would delete all facts that start with "ec2_". 

@kpaulisse kpaulisse mentioned this pull request May 12, 2017
@kpaulisse kpaulisse merged commit 61369b4 into master May 19, 2017
@kpaulisse kpaulisse deleted the kpaulisse-override-facts-regexp branch May 19, 2017 18:42
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.

None yet

1 participant