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
_______________________________________________
augeas-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/augeas-devel

Reply via email to