Displaying 1 result from an estimated 1 matches for "check_mk_cron".
2012 Aug 29
1
augeas and cron.allow
Hi.
I am having a few problems with augeas and need some help.
What I am trying to use is augeas to update the cron.allow file. I can get augeas to add the required name but I am having problems with getting it to add the name once.
augeas { "check_mk_cron.allow" :
context => "/files/etc/cron.allow",
# changes => "set line[last()+1] $name",
changes => "set 1[last()+1] $name",
# onlyif => "match /files/etc/cron.allow/* include ALL",...