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 [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.

Reply via email to