Merge pull request #732 from DavidS/dont_print_root
(maint) don't print diff root password in diff
This commit is contained in:
commit
f9359624f0
1 changed files with 4 additions and 0 deletions
|
@ -27,6 +27,10 @@ class mysql::server::root_password {
|
|||
mode => '0600',
|
||||
}
|
||||
}
|
||||
# show_diff was added with puppet 3.0
|
||||
if versioncmp($::puppetversion, '3.0') <= 0 {
|
||||
File["${::root_home}/.my.cnf"] { show_diff => false }
|
||||
}
|
||||
if $mysql::server::create_root_user == true {
|
||||
Mysql_user['root@localhost'] -> File["${::root_home}/.my.cnf"]
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue