[augeas-devel] RFC: Augeas Check function

Bryan Kearney bkearney at redhat.com
Fri Jan 9 18:34:46 UTC 2009


For the puppet plugin, I would like to know if a change will be made 
before making it. Basically, to understand how many files would be 
effected by an aug_save call.

Can you please look at the latest commit here:

http://github.com/bkearney/augeas/tree/master

I added an aug_check method to perform this. I opted to replicate the 
aug_save and tree_save methods instead of having alot of 
if_actually_saving logic in the tree_save method. I did some simple 
tests and it seems to work. It may be a odd edge case, but it would make 
  the puppet plugin alot easier :)

-- bk




More information about the augeas-devel mailing list