summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-05-19 12:47:46 -0300
committerSilvio Rhatto <rhatto@riseup.net>2016-05-19 12:47:46 -0300
commitd9d7c4705ab704f8dcc9b34c984cc550f6ae5534 (patch)
treee2b16f23c758d6fcb6992468dd895f15ebf579f8
parent9d5e27a6817e9eea42840d6e110e8503b6687de7 (diff)
downloadpuppet-mysql-d9d7c4705ab704f8dcc9b34c984cc550f6ae5534.tar.gz
puppet-mysql-d9d7c4705ab704f8dcc9b34c984cc550f6ae5534.tar.bz2
Change pw dependency ordering
-rw-r--r--manifests/server.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/server.pp b/manifests/server.pp
index da6fdc8..ef59cb3 100644
--- a/manifests/server.pp
+++ b/manifests/server.pp
@@ -21,7 +21,7 @@ class mysql::server(
file { '/usr/local/sbin/setmysqlpass.sh':
content => template('mysql/setmysqlpass.sh.erb'),
- require => Service['mysql'],
+ require => [ Service['mysql'], Mysql::Cnf['root'] ],
owner => root,
group => root,
mode => 0500,