summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-03-22 22:49:26 -0300
committerSilvio Rhatto <rhatto@riseup.net>2011-03-22 22:49:26 -0300
commit9f56762b5b475ae535ad5d75c00c611c6fd5d84f (patch)
tree4cc2b6ea628148b4642279e94a823c063dc39243 /manifests
parent3ad4b14c2d655c34a31a48a5c0e7b1dce06b2c42 (diff)
downloadpuppet-apache-9f56762b5b475ae535ad5d75c00c611c6fd5d84f.tar.gz
puppet-apache-9f56762b5b475ae535ad5d75c00c611c6fd5d84f.tar.bz2
Sorting
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp14
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],
+ }
+ }
}
}