James Turnbull <[email protected]> writes:

> In one of those "should have been doing better things with my time"
> moments I got frustrated with creating HTTP authentication files
> with htpasswd and htdigest.  So I created a Puppet type to manage
> them. You can find the code (including tests! :) ) at:

[...]

> Hopefully it's also an excellent example of exactly how creating
> type/providers is fairly simple once you get the hang of it. I'd encourage
> people to consider how much easier a few simple types and providers might
> make your life. :)

It pretty much mirrors my implementation in "puppet and shell", including
API, which makes it pleasantly easy to migrate to.

It also mirrors the main limitation of mine, as far as I can tell: is there
a way I can use this to enforce "only these passwords" in a file?  (eg: an
ensure => absent for a specified file?)

        Daniel
-- 
✣ Daniel Pittman            ✉ [email protected]            ☎ +61 401 155 707
               ♽ made with 100 percent post-consumer electrons

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to