X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fnagios%2Fmanifests%2Fclient.pp;h=8991f57fe1496ef5c0458b578bf9015898c91b5e;hb=199493bc8beb1c63e2459c742cfa891865a1e38f;hp=bc6b2a6fc27e85c167905757678f53a57a64518c;hpb=e6c69790c2680df17f8df0659f88d8a94233df4d;p=mirror%2Fdsa-puppet.git diff --git a/modules/nagios/manifests/client.pp b/modules/nagios/manifests/client.pp index bc6b2a6fc..8991f57fe 100644 --- a/modules/nagios/manifests/client.pp +++ b/modules/nagios/manifests/client.pp @@ -72,5 +72,16 @@ class nagios::client inherits nagios { content => template('nagios/obsolete-packages-ignore.d-hostspecific.erb'), require => Package['dsa-nagios-checks'], } + file { '/usr/local/sbin/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 + } }