search for: puppetlogs

Displaying 1 result from an estimated 1 matches for "puppetlogs".

Did you mean: puppetlabs
2012 Sep 24
7
augeas only add if doesn't exist
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 co...