Skip to content

(maint) don't print diff root password in diff #732

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

Merged
merged 1 commit into from
Jul 14, 2015

Conversation

DavidS
Copy link
Contributor

@DavidS DavidS commented Jul 14, 2015

For puppet versions that support it, suppress diffing root's password.

For puppet versions that support it, suppress diffing root's password.
tphoney added a commit that referenced this pull request Jul 14, 2015
(maint) don't print diff root password in diff
@tphoney tphoney merged commit f935962 into puppetlabs:dont_print_root Jul 14, 2015
@DavidS DavidS deleted the dont_print_root branch July 14, 2015 11:21
@@ -17,6 +17,10 @@
owner => 'root',
mode => '0600',
}
# show_diff was added with puppet 3.0
if versioncmp($::puppetversion, '3.0') <= 0 {
File["${::root_home}/.my.cnf"] { show_diff => false }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice. i didn't realize you could add defaults for specific resources.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is not a default. this is actually setting the value and will cause a conflict if done twice.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh! thanks for the clarification

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants