summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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,