diff options
author | Dennis Wallberg <dennis@nordu.net> | 2015-04-22 15:49:01 +0200 |
---|---|---|
committer | Dennis Wallberg <dennis@nordu.net> | 2015-04-22 15:49:01 +0200 |
commit | 5a10e87213b5d83209c4f25544fd186bcff9790d (patch) | |
tree | c4f7b617de4431ea280f661f5fdac87b18f55e80 /global/overlay/etc/puppet/modules | |
parent | bb0e5333540a0fddc8946cee37fde6f317403dd5 (diff) |
nrpe plugin permission + fixessunet-ops-2015-04-22-v09
Diffstat (limited to 'global/overlay/etc/puppet/modules')
-rw-r--r-- | global/overlay/etc/puppet/modules/sunet/manifests/nagios.pp | 2 | ||||
-rwxr-xr-x | global/overlay/etc/puppet/modules/sunet/templates/nagioshost/check_uptime.pl.erb | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/global/overlay/etc/puppet/modules/sunet/manifests/nagios.pp b/global/overlay/etc/puppet/modules/sunet/manifests/nagios.pp index 6b7d836..b05100e 100644 --- a/global/overlay/etc/puppet/modules/sunet/manifests/nagios.pp +++ b/global/overlay/etc/puppet/modules/sunet/manifests/nagios.pp @@ -18,7 +18,7 @@ class sunet::nagios { } -> file { "/usr/lib/nagios/plugins/check_uptime.pl" : ensure => 'file', - mode => '0640', + mode => '0751', group => 'nagios', content => template('sunet/nagioshost/check_uptime.pl.erb'), } -> diff --git a/global/overlay/etc/puppet/modules/sunet/templates/nagioshost/check_uptime.pl.erb b/global/overlay/etc/puppet/modules/sunet/templates/nagioshost/check_uptime.pl.erb index d52eeec..e599218 100755 --- a/global/overlay/etc/puppet/modules/sunet/templates/nagioshost/check_uptime.pl.erb +++ b/global/overlay/etc/puppet/modules/sunet/templates/nagioshost/check_uptime.pl.erb @@ -1,5 +1,4 @@ <%# check_uptime.pl %> - #!/usr/bin/perl -w # # ============================== SUMMARY ===================================== |