From: Silvio Rhatto Date: Sat, 9 Oct 2010 17:25:55 +0000 (-0300) Subject: MPM group creation X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=b766de2c3eeed4790d2b7645643971a2ab622025;p=puppet-apache.git MPM group creation --- 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], } } }