On 01/12/2012 01:21 PM, David Lutterkort wrote:
> 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
>
> Oy, thanks for the sharp eyes. No bloody idea why that worked for months before now, but it did and stopped (which in retrospect it should have). Very interesting, but thanks again for spotting that. I will look around for said clever way to make incl and lens unnecessary, -Erinn
signature.asc
Description: OpenPGP digital signature
_______________________________________________ augeas-devel mailing list [email protected] https://www.redhat.com/mailman/listinfo/augeas-devel
