Skip to content

Commit

Permalink
Fix root password ordering issue
Browse files Browse the repository at this point in the history
This commit fixes an ordering issue for setting the 
mysql root password.
  • Loading branch information
Gary Larizza committed Jun 16, 2011
1 parent 6b98633 commit 1d16d45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/server/redhat.pp
Expand Up @@ -13,7 +13,7 @@
unless => "mysqladmin -u root -p${root_password} status > /dev/null",
path => '/usr/local/sbin:/usr/bin',
require => [Package['mysql-server'], Service['mysqld']],
before => File['/root/.my.cnf'],
before => File['/root/.my.cnf', '/etc/my.cnf'],
notify => Exec['mysqld-restart'],
}
file{['/root/.my.cnf', '/etc/my.cnf']:
Expand Down

0 comments on commit 1d16d45

Please sign in to comment.