Hi all,

As I used Puppet to set up on my laptop some local website with NGinx, I
often need to add entry to /etc/hosts. I tried to hack that for a long time
using exec and shell script, and - as almost always with exec, it turned
out to be quite cumbersome. I googled a bit a find a module doing that, but
also using exec - so I end up writing my own extension:

Maybe some of you will find that useful:

PS: I'm far from being a Ruby developer, so any comment on the quality of
it, or the lack of respect of some practises in the Ruby world are
appreciated !

*"The trouble with having an open mind, of course, is that people will
insist on coming along and trying to put things in it" -- Terry Pratchett*
Belaran ins Prussia (blog) <http://blog.wordpress.belaran.eu/> (...
finally up and running !)

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

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 5 | next ›
Discussion Overview
grouppuppet-users @
postedDec 21, '12 at 7:38p
activeDec 21, '12 at 8:45p



site design / logo © 2022 Grokbase