[augeas-devel] puppet and Augeas
Dominic Cleal
dcleal at redhat.com
Thu Jun 2 09:04:03 UTC 2011
On 02/06/11 09:53, David Lutterkort wrote:
> On Wed, 2011-06-01 at 16:36 -0400, Glenn Buckholz wrote:
>> 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?
>
> No, as far as I know, that does not exist. The right way to do this with
> puppet wouldn't be as part of the augeas type, but as a custom function,
This wouldn't work - custom functions are executed on the puppetmaster,
not the client.
--
Dominic Cleal
Red Hat Consulting
m: +44 (0)7818 512168
More information about the augeas-devel
mailing list