X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fnagios%2Fmanifests%2Fclient.pp;h=45acf85c1259527bfbf1e6b72e7111e6949fa0a2;hb=32af51c0ce0cccd69e4194ca25d17cb562640f55;hp=b31cd60ef35d7a4329b2b025942c0627a2068ef8;hpb=316b1e5472a4d59e0c31069746876ef97c93f698;p=mirror%2Fdsa-puppet.git diff --git a/modules/nagios/manifests/client.pp b/modules/nagios/manifests/client.pp index b31cd60ef..45acf85c1 100644 --- a/modules/nagios/manifests/client.pp +++ b/modules/nagios/manifests/client.pp @@ -77,11 +77,18 @@ class nagios::client inherits nagios { } concat { '/etc/cron.d/puppet-nagios-wraps': } - concat::fragment { 'dsa-check_puppet_agent': + concat::fragment { 'puppet-nagios-wraps--header': target => '/etc/cron.d/puppet-nagios-wraps', + order => '000', content => @(EOF) SHELL=/bin/bash PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/nagios/plugins + | EOF + } + concat::fragment { 'dsa-check_puppet_agent': + target => '/etc/cron.d/puppet-nagios-wraps', + order => '010', + content => @(EOF) 47 * * * * root dsa-wrap-nagios-check -s puppet-agent dsa-check_puppet_agent -d0 -c 28800 -w 18000 | EOF }