[augeas-devel] puppet and Augeas

Glenn Buckholz glenn.buckholz at steelthread.com
Wed Jun 1 20:36:49 UTC 2011


All,

I've RTFMed as best I can but I am missing something. Is there a way in
puppet to have Augeas set a variable value or create a list of values based
on a match? Currently I'm writing my own puppet type to do something like
this but there are limitations.

What I'm looking for is something like:

 augeas {
   "set some var":

     val=> "match /files/etc/my.cnf/target[ . =
\"mysqld\"]/allow-suspicious-udfs size > 0",
     var=> $myvar
 }

where $myvar would maintain that value in its scope.

Does this exist and I'm just looking in the wrong place?


-Glenn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/augeas-devel/attachments/20110601/078de078/attachment.htm>


More information about the augeas-devel mailing list