diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2010-10-09 14:25:55 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2010-10-09 14:25:55 -0300 |
commit | b766de2c3eeed4790d2b7645643971a2ab622025 (patch) | |
tree | 906a87d990904812202bb8f79240d512ca24f488 | |
parent | a01d1686bb84ae1f2fb493080efc863f14389304 (diff) | |
download | puppet-apache-b766de2c3eeed4790d2b7645643971a2ab622025.tar.gz puppet-apache-b766de2c3eeed4790d2b7645643971a2ab622025.tar.bz2 |
MPM group creation
-rw-r--r-- | manifests/init.pp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index df4fce7..83ff8c8 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -128,6 +128,12 @@ class apache { default => $mpm_group, } + if !defined(Group[$gid]) { + group { "$gid": + ensure => $ensure, + } + } + if !defined(User["$user"]) { user::manage { "$user": tag => "virtual", @@ -139,6 +145,7 @@ class apache { sshkey => $sshkey, shell => $shell, ensure => $ensure, + require => Group[$gid], } } } |