Hello,

I'm trying to add an entry to /etc/hosts.allow only if the entry for
'client' (daemon) does not already exit.

In this #puppet log:
http://www.puppetlogs.com/puppet/%23puppet-2012-05-03.log.html

rodjek links a gist which should do exactly that:
https://gist.github.com/18c50d8800840696bac0

But I can't get it to execute with augtool:

augtool> set /files/etc/hosts.allow/*[process=nrpe]/client[last()+1] 1.1.1.1
error: Failed to execute command

What am I doing wrong?  (I'm using the latest from here:
https://raw.github.com/lutter/augeas/master/lenses/hosts_access.aug)

Thank you kindly,
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.

Reply via email to