Fix root password ordering issue
This commit fixes an ordering issue for setting the mysql root password.
This commit is contained in:
parent
6b98633cc8
commit
1d16d45f4e
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ class mysql::server::redhat(
|
|||
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']:
|
||||
|
|
Loading…
Reference in a new issue