summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-03-22 23:13:25 -0300
committerSilvio Rhatto <rhatto@riseup.net>2011-03-22 23:13:25 -0300
commit27f83af73c6ce5afd485bb1944a73050b67082e2 (patch)
treebe662a9a01305e7b7933a08100b055d6290a0ef2 /manifests
parent9e73cfde5e5e7246fd5758099db5136ff9e18309 (diff)
downloadpuppet-apache-27f83af73c6ce5afd485bb1944a73050b67082e2.tar.gz
puppet-apache-27f83af73c6ce5afd485bb1944a73050b67082e2.tar.bz2
Minor fix
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp8
1 files changed, 5 insertions, 3 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 6c44822..f8846cb 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -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],
}
}
}