-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi all
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: http://github.com/jamtur01/puppet-httpauth There is also a blog post on the whys of how the type came about: http://www.kartar.net/2010/04/puppet-type-for-http-authentication/ I'd also welcome testing of this - I've largely only tested it on Linux and later versions of Ruby. 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. :) Regards James Turnbull - -- Author of: * Pro Linux System Administration (http://tinyurl.com/linuxadmin) * Pulling Strings with Puppet (http://tinyurl.com/pupbook) * Pro Nagios 2.0 (http://tinyurl.com/pronagios) * Hardening Linux (http://tinyurl.com/hardeninglinux) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEVAwUBS9WelyFa/lDkFHAyAQJ/Dgf+IicU+Drn0Ud30Hh7P5rR00gMI2GYu+CY e32fUwAXohx+gY9GFmsWf2VHtkSihXm8bldNSLMYB/UIY9LgjcdMSyRgPEvh/r91 +CMRdfy607Emc1qAjUl0dp/PyAa2/uPly4s5WoU0Vs6Oji0F/vI62HCUcNcRX/AX Cq8QEuw82rmw8c76hWXNc0kRYiTYxwErz567FOAye9yGD5rz+knpqWdxMptrJB0H 4yvmJKD3qNEv7yHcWGc30tK/78rLoCrQXgtQZdOASxS/gnxOiplXa+Ck7zU/uq0k nwRM8idh7MdJDVBRUpsjkSTbuZdYB6vVI5ys6kgmTh1Hu2YhtcKMRQ== =ZZpU -----END PGP SIGNATURE----- -- 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.
