document intend of refreshonyl for setting root pw
This commit is contained in:
parent
de7cb43faa
commit
7b2a72a976
1 changed files with 2 additions and 0 deletions
|
@ -59,6 +59,8 @@ class mysql::server::base {
|
|||
command => '/usr/local/sbin/setmysqlpass.sh',
|
||||
unless => 'mysqladmin -uroot status > /dev/null',
|
||||
require => [ File['mysql_setmysqlpass.sh'], Service['mysql'] ],
|
||||
# this is for security so that we only change the password
|
||||
# if the password file itself has changed
|
||||
refreshonly => true,
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue