diff options
-rw-r--r-- | manifests/init.pp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index d7c4d77..a615eb5 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -82,7 +82,7 @@ class mysql::server { exec {"mysql create replication user": command => "$mysql_cmd_root_with_pwd --execute=\"Create user '$mysql_replication_user'@'$mysql_global_host' identified by '$mysql_replication_password';\"", unless => "$mysql_cmd_repl_with_pwd --execute '\s'", - require => Exec["mysql root flush password"], + require => [Exec["drop blank user with hostname as localhost"],Exec["drop blank user with hostname as hqdn facter"]], } exec { "grants all to replication user": |