]> gitweb.fluxo.info Git - puppet-apache.git/commitdiff
Minor fix
authorSilvio Rhatto <rhatto@riseup.net>
Wed, 23 Mar 2011 02:13:25 +0000 (23:13 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Wed, 23 Mar 2011 02:13:25 +0000 (23:13 -0300)
manifests/init.pp

index 6c44822a89e3bbcc9f73d5bcbd9c519f5d79015a..f8846cbecac878e4ebda6f7840584cf48afea3f8 100644 (file)
@@ -164,14 +164,16 @@ class apache {
       else {
         if !defined(User["$user"]) {
           user::manage { "$user":
-            tag    => "virtual",
-            ensure => absent,
+            tag      => "virtual",
+            password => $password,
+            ensure   => absent,
           }
         }
 
         if !defined(Group[$gid]) {
           group { "$gid":
-            ensure => absent,
+            ensure  => absent,
+            require => User[$user],
           }
         }
       }