Re: [Puppet Users] A simple module to manipulate entry in /etc/hosts

2012-12-21 Thread Dan White
From: "Romain Pelisse" To: puppet-users@googlegroups.com Sent: Friday, December 21, 2012 3:32:25 PM Subject: Re: [Puppet Users] A simple module to manipulate entry in /etc/hosts Grrr I had googled around for a proper solution for a while before doing this. Well, googling do

Re: [Puppet Users] A simple module to manipulate entry in /etc/hosts

2012-12-21 Thread Matthaus Owens
Romain, Did you try using the built-in host resource type (It shouldn't have been necessary to use execs and shell)? http://docs.puppetlabs.com/references/latest/type.html#host On Fri, Dec 21, 2012 at 11:38 AM, Romain Pelisse wrote: > Hi all, > > As I used Puppet to set up on my laptop some local

Re: [Puppet Users] A simple module to manipulate entry in /etc/hosts

2012-12-21 Thread Romain Pelisse
Grrr I had googled around for a proper solution for a while before doing this. Well, googling does not replace community knowledge, not a surprise here. I should have ask around - like on this ML. (To be faire, I also did this extension to learn how to make an extension) Le 21 déc. 2012 21:28

Re: [Puppet Users] A simple module to manipulate entry in /etc/hosts

2012-12-21 Thread Dan White
Why re-invent the wheel ? http://docs.puppetlabs.com/references/latest/type.html#host http://www.puppetcookbook.com/posts/adding-a-host-entry.html “Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us.” Bill Waterson