summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-04-19 12:05:50 -0300
committerSilvio Rhatto <rhatto@riseup.net>2016-04-19 12:05:50 -0300
commit9d5e27a6817e9eea42840d6e110e8503b6687de7 (patch)
tree81baa945a5dd65a6940b422365f357bfeff25bb6
parentfd3b09e8a0732b7683f2658af656f9ad410065f7 (diff)
downloadpuppet-mysql-9d5e27a6817e9eea42840d6e110e8503b6687de7.tar.gz
puppet-mysql-9d5e27a6817e9eea42840d6e110e8503b6687de7.tar.bz2
Notify set_mysql_rootpw upon setmysqlpass.sh change
-rw-r--r--manifests/server.pp1
1 files changed, 1 insertions, 0 deletions
diff --git a/manifests/server.pp b/manifests/server.pp
index 3d0310a..da6fdc8 100644
--- a/manifests/server.pp
+++ b/manifests/server.pp
@@ -25,6 +25,7 @@ class mysql::server(
owner => root,
group => root,
mode => 0500,
+ notify => Exec['set_mysql_rootpw'],
}
exec { 'set_mysql_rootpw':