Cool, thank you Frank! I will check it out and I appreciate the advice! tim
On Sat, Mar 12, 2011 at 12:13 PM, Frank Sweetser <f...@wpi.edu> wrote: > On 3/12/2011 11:55 AM, Tim Dunphy wrote: >> >> Hello list!! >> >> There is a line I usually like to add to my network scripts under centos. >> >> PEERDNS=no >> >> Is there a way to use the content => "blah" attribute to append to a >> file rather than clobber whatever's there and replace the contents? > > check out the augeas type, it should let you do exactly what you're looking > for. > > -- > Frank Sweetser fs at wpi.edu | For every problem, there is a solution that > WPI Senior Network Engineer | is simple, elegant, and wrong. - HL Mencken > GPG fingerprint = 6174 1257 129E 0D21 D8D4 E8A3 8E39 29E3 E2E8 8CEC > > -- > 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+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > > -- GPG me!! gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.