-
-
Notifications
You must be signed in to change notification settings - Fork 99
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
Option to disable display of diff in the puppet log #276
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This LGTM but I would like a second opinion from a maintainer with more experience with this module.
|
Here, I’ve successfully merged and successfully make tests pass again. Can we move forward with this please? |
c516311
to
2ae53f0
Compare
2ae53f0
to
48f92fe
Compare
Maybe I could add a notice in the README about the risks of using sensitive parameters, as noted on my original issue? What do you think?
|
Pull Request (PR) description
In addition to #275
There is conditions where the sensitive information is displayed in the logs. This add option to completely disable output in the logs.
Tests
I’m not a pro in the tests suite alley, feel free to comment on any other way I could have fixed the tests… It took me way longer to fix the tests than to add the new config.
As the
yum::config
nowincludes yum
to retreiveyum::show_diff
, the tests are done on every supported OS for the variables to be set correctly.I had to modify the versionlock tests to make them pass. The diff is quite hard to read, so here the summary of what I did:
- I moved the contextedit: did not fix this in my new rebase'with a simple, well-formed package name title bash and a version'
in the context'with package_provider set to yum'
as they were duplicated facts definitionpackage_provider
with the facts provided by every OS