Hi
>> http://reductivelabs.com/trac/puppet/wiki/Recipes/SimpleText can do it
>
>
> Augeas and a lens could be another approach to this.
>
> I believe the augeas package comes with an /etc/services lens.
An example:
http://puppet.git.puzzle.ch/?p=module-sshjump.git;a=blob;f=manifests/tunnel.p
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
John Warburton wrote:
> Hi Matt
>
> http://reductivelabs.com/trac/puppet/wiki/Recipes/SimpleText can do it
>
Augeas and a lens could be another approach to this.
I believe the augeas package comes with an /etc/services lens.
Regards
James Turnbu
Hi Matt
http://reductivelabs.com/trac/puppet/wiki/Recipes/SimpleText can do it
John
2009/10/7 Matt Delves
>
> 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