[augeas-devel] Re: [Puppet Users] Testing help for new Augeas Puppet provider which only executes if required

Bryan Kearney bkearney at redhat.com
Fri Feb 20 12:53:10 UTC 2009


Ben wrote:
> David Lutterkort wrote:
>> On Thu, 2009-02-19 at 16:26 -0500, Bryan Kearney wrote:

>>   
>>> so.. the next question this is if we attempt the model of not executing 
>>> unless changes are made at the initial scan, it is possible that some 
>>> other change between steps 3.3 and 5.1 would have caused a change to 
>>> occur. So... even if I reload there could be issues.
>>>     
>> Yes, though that's a general issue with puppet, and ultimately, there's
>> no good way to do check-and-change type operations on files, since they
>> can not be done atomically. I wouldn't sweat it; if you have a false
>> negative, the next puppet run will catch it ;)
>>


One question.... If I have a file with 10 nodes, does augeas re-write 
the whole file, or just scan for the nodes which changed?


-- bk




More information about the augeas-devel mailing list