From 9a5aa44024c189f9f4903ae63a2b62ff0ca1bd2a Mon Sep 17 00:00:00 2001 From: Don Brewer Date: Fri, 6 Jun 2008 17:34:50 -0400 Subject: Added requirement for replication user --- manifests/init.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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": -- cgit