setup-all-dchroots: copy from tor: -c support
[mirror/dsa-puppet.git] / modules / nagios / manifests / client.pp
index 30a8861..8991f57 100644 (file)
@@ -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-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
+       }
 }