summaryrefslogtreecommitdiff
path: root/global/overlay/etc/puppet/modules
diff options
context:
space:
mode:
Diffstat (limited to 'global/overlay/etc/puppet/modules')
-rw-r--r--global/overlay/etc/puppet/modules/sunet/manifests/nagios.pp2
-rwxr-xr-xglobal/overlay/etc/puppet/modules/sunet/templates/nagioshost/check_uptime.pl.erb1
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 =====================================