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 integration test for CLI fact override being used over config file #165

Merged
merged 4 commits into from
Dec 4, 2017

Conversation

kpaulisse
Copy link
Contributor

@kpaulisse kpaulisse commented Nov 24, 2017

This PR adds an integration test to ensure that command line arguments --to-fact-file and --from-fact-file override any facts that were specified in the .octocatalog-diff.cfg.rb file. The bug where :fact_file in the settings took precedence over a command-line override for facts is also fixed here.

Fixes #139.

@kpaulisse kpaulisse merged commit 4cb164a into master Dec 4, 2017
@kpaulisse kpaulisse deleted the kpaulisse-fact-file-cli branch December 4, 2017 15:08
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.

Command line param fact-file does not override config-file parameter fact_file
1 participant