summaryrefslogtreecommitdiff
path: root/manifests/defines/htpasswd.pp
diff options
context:
space:
mode:
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}",
}