summaryrefslogtreecommitdiff
path: root/manifests/htpasswd_user.pp
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2011-10-09 03:34:29 +0200
committermh <mh@immerda.ch>2011-10-09 03:34:29 +0200
commitb11bb5a891e96fafa01a431db8e168a41948b88a (patch)
tree1a148919fde533dc6f392e89d934f486bf99451b /manifests/htpasswd_user.pp
parent1165548443657760ff71cb753c84f6c8b94d9b28 (diff)
migrate to new file_line type
Diffstat (limited to 'manifests/htpasswd_user.pp')
-rw-r--r--manifests/htpasswd_user.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/htpasswd_user.pp b/manifests/htpasswd_user.pp
index 5a7c413..9fcea0a 100644
--- a/manifests/htpasswd_user.pp
+++ b/manifests/htpasswd_user.pp
@@ -26,9 +26,9 @@ define apache::htpasswd_user(
$real_password = htpasswd_sha1($password)
}
- line{"htpasswd_for_${real_site}":
+ file_line{"htpasswd_for_${real_site}":
ensure => $ensure,
- file => $real_path,
+ path => $real_path,
line => "${username}:${real_password}",
}
}