Hi Matt

http://reductivelabs.com/trac/puppet/wiki/Recipes/SimpleText can do it

John

2009/10/7 Matt Delves <m.del...@ballarat.edu.au>

>
> Hey folks,
> I'm wondering if there is a way to have puppet check for the existence of a
> line in a file and then alter said file to include that line if it is
> missing.
>
> The file I'm wanting to examine is /etc/services
>
> Thanks,
> Matt Delves
>
>
> >
>


-- 
John Warburton
Ph: 0417 299 600
Email: jwarbur...@gmail.com

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to