diff options
-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], + } + } } } |