I'm having a problem with your htpasswd type. The problem is that I already have a htpasswd file with some users. Now, I want to use your type to modify the password for one of the users. When I add a
htpasswd {'myuser':
...
}
htpasswd { "myuser":
username => 'myuser',
target => "/tmp/htpasswd",
cryptpasswd => ht_sha1('some password'),
}
# HEADER: This file was autogenerated at 2014-05-15 11:19:11 +0200
# HEADER: by puppet. While it can still be managed manually, it
# HEADER: is definitely not recommended.
myuser:H8rXKPWmOZMpE
# Puppet Name: myuser
myuser:{SHA}2jmj7l5rSw0yVb/vlWAYkK/YBwk=