]> gitweb.fluxo.info Git - puppet-mysql.git/commitdiff
Change pw dependency ordering
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 19 May 2016 15:47:46 +0000 (12:47 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 19 May 2016 15:47:46 +0000 (12:47 -0300)
manifests/server.pp

index da6fdc8e8c7b2d5e323d60bf75a634ab0c28742b..ef59cb3393007f051b9d4673ee60c6526fd41769 100644 (file)
@@ -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,