diff options
author | Matthew Hicks <mhicks@mhicks-host.usersys.redhat.com> | 2008-05-06 10:06:10 -0400 |
---|---|---|
committer | Brenton Leanhardt <bleanhar@redhat.com> | 2008-05-15 15:42:08 -0400 |
commit | 4c21f9a0827ed37f3f3f03933ddfa9a56491576e (patch) | |
tree | 9873c180f4be387d1726eebe6c66328187a63a21 | |
parent | 882ba5be7f4e9f41bf34aff7e85049f30c4d23a5 (diff) | |
download | puppet-mysql-4c21f9a0827ed37f3f3f03933ddfa9a56491576e.tar.gz puppet-mysql-4c21f9a0827ed37f3f3f03933ddfa9a56491576e.tar.xz puppet-mysql-4c21f9a0827ed37f3f3f03933ddfa9a56491576e.zip |
Adding the mysql user and group to avoid race condition on initial system build
-rw-r--r-- | manifests/init.pp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index 57258df..f7f1c58 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -9,6 +9,16 @@ class mysql::server { include passwords include variables + group { "mysql": + ensure => present, + require => User["mysql"], + } + + user { "mysql": + ensure => present, + require => Package["mysql-server"], + } + package { "mysql-client": name => "MySQL-client-community", ensure => installed, |