On Jun 6, 2011, at 9:45 PM, Michael Knox wrote:

> The following works ...
> onlyif    => "match FW_CONFIGURATIONS_EXT/value[.='$svc'] size == 0",


Couldn’t you just do this and not have to deal with “onlyif” at all?

    set FW_CONFIGURATIONS_EXT/value[.='$svc'] $svc

Read the section of the wiki titled “A Better Way”. I have 26 Augeas resources 
and only one of them has “onlyif”.

-- 
Rob McBroom
<http://www.skurfer.com/>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to