On Wed, 2010-02-24 at 11:28 +0100, Frederik Wagner wrote:
> I was just looking a bit more into augeas:
> Is there a way to set variables in augeas wit values obtained by a
> 'get' statement?
It's possible if you use Augeas from Ruby by doing something like
aug = Augeas::open(...)
value = aug.get(path)
new_value = modify(value)
aug.set(path, new_value)
aug.save
It is not possible from the augeas type in Puppet.
David
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.