On Oct 14, 2012, at 12:40 PM, Dominic Cleal <dcl...@redhat.com> wrote:
> You're missing quotes around "nrpe", the command should be: > > set /files/etc/hosts.allow/*[process='nrpe']/client[last()+1] 1.1.1.1 > > rodjek's example has the quotes in, so just a transcription error. Totally works for an existing 'nrpe' node (thanks!) but not if it does not exist. I don't suppose there is a simple "create onlyif not exists" expression? (http://augeas.net/page/Path_expressions) -Eugene -- 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.