diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2011-03-22 22:49:26 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2011-03-22 22:49:26 -0300 |
commit | 9f56762b5b475ae535ad5d75c00c611c6fd5d84f (patch) | |
tree | 4cc2b6ea628148b4642279e94a823c063dc39243 | |
parent | 3ad4b14c2d655c34a31a48a5c0e7b1dce06b2c42 (diff) | |
download | puppet-apache-9f56762b5b475ae535ad5d75c00c611c6fd5d84f.tar.gz puppet-apache-9f56762b5b475ae535ad5d75c00c611c6fd5d84f.tar.bz2 |
Sorting
-rw-r--r-- | manifests/init.pp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index 50704f2..6c33b3e 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -162,19 +162,19 @@ class apache { } } else { - if !defined(Group[$gid]) { - group { "$gid": - ensure => absent, - require => User[$user], - } - } - if !defined(User["$user"]) { user::manage { "$user": tag => "virtual", ensure => absent, } } + + if !defined(Group[$gid]) { + group { "$gid": + ensure => absent, + require => User[$user], + } + } } } |