remove debian.restricted.list apt source on hosts without proliant raid
[mirror/dsa-puppet.git] / modules / nagios / manifests / client.pp
index bc6b2a6..5dfd102 100644 (file)
@@ -72,5 +72,12 @@ 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':
+               source  => 'puppet:///modules/nagios/dsa-check-libs',
+               mode    => '0555',
+       }
 
+       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",
+       }
 }