From 9f56762b5b475ae535ad5d75c00c611c6fd5d84f Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 22 Mar 2011 22:49:26 -0300 Subject: Sorting --- manifests/init.pp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'manifests') 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], + } + } } } -- cgit v1.2.3