Hi Dennis,

I think that implementing augeas is a bit unfeasible for us at this
moment. Would you know how to do that using ruby instead?

Thanks!

Bruno

On Mar 15, 2:00 pm, Dennis Hoppe <dennis.ho...@debian-solutions.de>
wrote:
> Hello Gamon,
>
> Am 15.03.2012 13:24, schrieb Gamon:
>
> > I'd like to have a template that would contain:
>
> > line1 <%= value1 %>
> > line2 <%= value2 %>
> > line3 <%= value3 %>
>
> > But the template should ignore line2 for example if that already
> > exists. Something like greping for line2 and if that exists, keep the
> > original line.
>
> i think you should take a look a augeas:
>
>        http://projects.puppetlabs.com/projects/1/wiki/puppet_augeas
>
> Regards, Dennis
>
>  signature.asc
> < 1KViewDownload

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