On Tue, 2012-01-10 at 17:03 -0900, Erinn Looney-Triggs wrote:
> Who knows but somewhere in there something is going wrong, it probably
> isn't augeas itself as via augtool I can set and it will work. Maybe the
> ruby bindings, maybe puppet, anyway here is what I have:
> 
> class sysconfig_network {
> 
>         #We disable zeroconf and set nisdomainname for sudo
>         augeas { "/etc/sysconfig/network":
>                 context => "/files/etc/sysconfig/network",
>                 changes => [ "set NOZEROCONF yes",
>                              "set NISDOMAINNAME example.com" ],
>                 incl    => "/etc/sysconfig/init",
>                 lens    => "Shellvars.lns",
>         }

Wouldn't you want /etc/sysconfig/network for incl (or a context that
matches incl)

Which makes me think that if 'incl' is set "/files/$incl" would make a
dandy default for context (though I think Dominic had a clever way to
make incl/lens unnecessary)

David


_______________________________________________
augeas-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/augeas-devel

Reply via email to