X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;ds=inline;f=modules%2Fnagios%2Fmanifests%2Fclient.pp;h=94bbf93c6994615af7e0cf52954cc16edea046d9;hb=05bfa391748bf827189c42c1a79694ca4cef28c3;hp=8f2249d322134ea742bbc6c27c2d00ceb0b69573;hpb=a73e12b43024e21d6361f6a4fa6e691e1c559abe;p=mirror%2Fdsa-puppet.git diff --git a/modules/nagios/manifests/client.pp b/modules/nagios/manifests/client.pp index 8f2249d32..94bbf93c6 100644 --- a/modules/nagios/manifests/client.pp +++ b/modules/nagios/manifests/client.pp @@ -76,7 +76,12 @@ class nagios::client inherits nagios { ensure => absent, } - file { '/etc/cron.d/puppet-nagios-wraps': - content => "47 * * * * root /usr/sbin/dsa-wrap-nagios-check -s puppet-agent /usr/lib/nagios/plugins/dsa-check_puppet_agent -d0 -c 28800 -w 18000\n", + file { '/etc/cron.d/puppet-nagios-wraps': ensure => absent, } + concat::fragment { 'dsa-puppet-stuff--nagios--dsa-check-puppet-agent': + target => '/etc/cron.d/dsa-puppet-stuff', + order => '010', + content => @(EOF) + 47 * * * * root dsa-wrap-nagios-check -s puppet-agent dsa-check_puppet_agent -d0 -c 28800 -w 18000 + | EOF } }