summaryrefslogtreecommitdiff
path: root/manifests/defines/htpasswd.pp
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2009-03-07 13:11:06 +0000
committermh <mh@immerda.ch>2009-03-07 13:11:06 +0000
commit04c874dd3679b846e6ea9997c0cc33f542444ad2 (patch)
treeb8750e9b554082ce715e22b133133bd8975cb4c9 /manifests/defines/htpasswd.pp
parent15e2e4b657ca6ae189854c70635c478ebe13d3a1 (diff)
we can now remove an apache vhost
Diffstat (limited to 'manifests/defines/htpasswd.pp')
-rw-r--r--manifests/defines/htpasswd.pp2
1 files changed, 2 insertions, 0 deletions
diff --git a/manifests/defines/htpasswd.pp b/manifests/defines/htpasswd.pp
index 74da6fd..2994f81 100644
--- a/manifests/defines/htpasswd.pp
+++ b/manifests/defines/htpasswd.pp
@@ -2,6 +2,7 @@
# ToDo: This should be rewritten as native type
define apache::htpasswd_user(
+ $ensure = present,
$site = 'absent',
$username = 'absent',
$password,
@@ -28,6 +29,7 @@ define apache::htpasswd_user(
}
line{"htpasswd_for_${real_site}":
+ ensure => $ensure,
file => $real_path,
line => "${username}:${real_password}",
}