document intend of refreshonyl for setting root pw

This commit is contained in:
mh 2012-12-09 16:01:02 +01:00
parent de7cb43faa
commit 7b2a72a976

View file

@ -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,
}