[augeas-devel] puppet provder not executing

Bryan Kearney bkearney at redhat.com
Mon Mar 23 12:25:49 UTC 2009


David Lutterkort wrote:
> On Sun, 2009-03-22 at 22:43 -0400, Micah Anderson wrote:
>> Do I need to somehow first create the file? I tried adding a "ins
>> sympa before /files/etc/logrotate.d/*[1]" to the augeas line, which
>> results in the following debug difference:
>>
>> debug: Augeas[logrotate_sympa](provider=augeas): sending
>> command 'ins' with params ["sympa", "before", 
>> "/files/etc/logrotate.d/sympa/rule/files/etc/logrotate.d/*[1]"]
> 
> Something is wrong there - there's one/files/etc/logrotate.d too many in
> that path.

If the context is set to prepend to the path. So.. if you have a context 
of /files/etc/logrotate.d/sympa/rule and then say to ins into 
"/files/...." you will get this. I believe be heeds to ditch the context.




More information about the augeas-devel mailing list