Re: [Puppet Users] Using Augeas to manage /etc/network/interfaces from Puppet

2010-10-06 Thread Ryan Y. Coleman
egroups.com > Cc: "Bryan Kearney" , "Free Ekanayaka" > > Sent: Wednesday, October 6, 2010 2:31:07 PM > Subject: [Puppet Users] Using Augeas to manage /etc/network/interfaces from > Puppet > Hi, > > > Sorry for the broad distribution, I'm not

Re: [Puppet Users] Using Augeas to manage /etc/network/interfaces from Puppet

2010-10-06 Thread Rob McBroom
On Oct 6, 2010, at 2:31 PM, Andrew Pollock wrote: > I hear there's some user-contributed Augeas examples in a Puppet wiki > somewhere, but I haven't been able to find them. Any pointers appreciated. There is (and even I have a hard time finding it). http://projects.puppetlabs.com/projects/pupp

[Puppet Users] Using Augeas to manage /etc/network/interfaces from Puppet

2010-10-06 Thread Andrew Pollock
Hi, Sorry for the broad distribution, I'm not sure who best can help me. I'm trying to add a new interface stanza to /etc/network/interfaces. With augtool, I can accomplish this with the following: set /files/etc/network/interfaces/iface[last()+1] bond1 set /files/etc/network/interfaces/iface[l