diff options
author | Don Brewer <dbrewer@dbrewer-host.usersys.redhat.com> | 2008-06-06 17:34:50 -0400 |
---|---|---|
committer | Don Brewer <dbrewer@dbrewer-host.usersys.redhat.com> | 2008-06-06 17:34:50 -0400 |
commit | 9a5aa44024c189f9f4903ae63a2b62ff0ca1bd2a (patch) | |
tree | c8046c45769993e9554962e7ca43f8d229bb51de | |
parent | 392ef036b77b8160753b065bd21edc3f72447a01 (diff) | |
download | puppet-mysql-9a5aa44024c189f9f4903ae63a2b62ff0ca1bd2a.tar.gz puppet-mysql-9a5aa44024c189f9f4903ae63a2b62ff0ca1bd2a.tar.xz puppet-mysql-9a5aa44024c189f9f4903ae63a2b62ff0ca1bd2a.zip |
Added requirement for replication user
-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": |