diff options
Diffstat (limited to 'manifests/htpasswd_user.pp')
-rw-r--r-- | manifests/htpasswd_user.pp | 4 |
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}", } } |