On 06/23/2011 12:55 PM, Sans wrote: > Dear all, > > As in the title, how do I add some extra lines in a existing file and > check every time for its presence? I just don't want to copy over the > existing file for some good reason (system files etc.). > > Any idea how should I do that? cheers!! >
Hi, this is not directly built into puppet. But: puppet offers you the flexibility to define an exec which does what you like. The simple text pattern site shows you an example: http://projects.puppetlabs.com/projects/1/wiki/Simple_Text_Patterns -- 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.
