summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2012-12-09 16:01:02 +0100
committermh <mh@immerda.ch>2012-12-09 16:01:02 +0100
commit7b2a72a97630e1e9b250c5cc954573f528b6891b (patch)
treebf92596bb45fe5821f8581bd0c2332a31e33ec40
parentde7cb43faa01ea83dce6e2ad433694b0d000832c (diff)
document intend of refreshonyl for setting root pw
-rw-r--r--manifests/server/base.pp2
1 files changed, 2 insertions, 0 deletions
diff --git a/manifests/server/base.pp b/manifests/server/base.pp
index 23d2f35..8bdd865 100644
--- a/manifests/server/base.pp
+++ b/manifests/server/base.pp
@@ -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,
}