Fix /etc/repro/radius-servers more
[mirror/dsa-puppet.git] / modules / nagios / manifests / client.pp
index b31cd60..8991f57 100644 (file)
@@ -76,13 +76,12 @@ class nagios::client inherits nagios {
                ensure => absent,
        }
 
-       concat { '/etc/cron.d/puppet-nagios-wraps': }
-       concat::fragment { 'dsa-check_puppet_agent':
-               target => '/etc/cron.d/puppet-nagios-wraps',
+       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)
-                       SHELL=/bin/bash
-                       PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/nagios/plugins
-                       47 * * * * root dsa-wrap-nagios-check -s puppet-agent dsa-check_puppet_agent -d0 -c 28800 -w 18000
+                       47 * * * * root dsa-wrap-nagios-check -s puppet-agent dsa-check-puppet_agent -d0 -c 28800 -w 18000
                        | EOF
        }
 }