X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fnagios%2Fmanifests%2Fclient.pp;h=5dfd1029f91e77f7f0b36c93e3655059443b4e89;hb=6b3f2197570ae91174b38c04329414c5166c8d05;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..5dfd1029f 100644 --- a/modules/nagios/manifests/client.pp +++ b/modules/nagios/manifests/client.pp @@ -73,7 +73,11 @@ 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', + 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", + } }