I'd love a "+3 lens of anything", where I know how the line should be
constructed, just use Augeas as the method to deliver the change.

At the moment, I still use
http://reductivelabs.com/trac/puppet/wiki/Recipes/SimpleText in an number of
cases which seems hacky to me

John

2009/10/4 David Lutterkort <lut...@redhat.com>

>
> On Fri, 2009-10-02 at 12:06 +0200, Aurelien Degremont wrote:
> > I put /etc/sysconfig/network as an example. AFAIK, unfortunately, Augeas
> only handles
> > known files (existing lenses). If we trty to handle
> /etc/our_local_config_file, it is not
> > so easy.
>
> If there is a lens already, but the lens doesn't look for the file in
> your custom place, I am working on a patch for the augeas type that lets
> you set which file to read and what lens to use with additional
> parameters. (That was one issue that came up in the Augeas session at
> puppetcamp yesterday)
>
> If there isn't a lens yet, I'll be more than happy to help - but it's
> probably best if we discuss that on the Augeas mailing list.
>
> David
>
>
>
> >
>


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