X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fnagios%2Fmanifests%2Fclient.pp;h=8991f57fe1496ef5c0458b578bf9015898c91b5e;hb=44e62e7e78c90b21f9c273f4e6bc604e5604a640;hp=dd39e5f5e3b3971a8a564f29a6717a8efe15ee6d;hpb=940b26bfd05d0768b4ceee585eb478824dfb471b;p=mirror%2Fdsa-puppet.git diff --git a/modules/nagios/manifests/client.pp b/modules/nagios/manifests/client.pp index dd39e5f5e..8991f57fe 100644 --- a/modules/nagios/manifests/client.pp +++ b/modules/nagios/manifests/client.pp @@ -73,7 +73,15 @@ class nagios::client inherits nagios { require => Package['dsa-nagios-checks'], } file { '/usr/local/sbin/dsa-check-libs': - source => 'puppet:///modules/nagios/dsa-nagios/dsa-check-libs', + ensure => absent, } + 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 + } }