summaryrefslogtreecommitdiff
path: root/global/overlay/etc/puppet/modules/sunet/manifests/nagios.pp
diff options
context:
space:
mode:
authorDennis Wallberg <dennis@nordu.net>2015-04-22 16:13:19 +0200
committerDennis Wallberg <dennis@nordu.net>2015-04-22 16:13:19 +0200
commit877abf0d9b4f0b05425f82bb648d7f9c2215c3fa (patch)
tree1fffaf45a3fabb53c8a59f3e3f8005b21be90a74 /global/overlay/etc/puppet/modules/sunet/manifests/nagios.pp
parenta60382a9ef96e350036c693ddf7b6be3ec5083fd (diff)
typo
Diffstat (limited to 'global/overlay/etc/puppet/modules/sunet/manifests/nagios.pp')
-rw-r--r--global/overlay/etc/puppet/modules/sunet/manifests/nagios.pp7
1 files changed, 7 insertions, 0 deletions
diff --git a/global/overlay/etc/puppet/modules/sunet/manifests/nagios.pp b/global/overlay/etc/puppet/modules/sunet/manifests/nagios.pp
index c09679d..cbd47a0 100644
--- a/global/overlay/etc/puppet/modules/sunet/manifests/nagios.pp
+++ b/global/overlay/etc/puppet/modules/sunet/manifests/nagios.pp
@@ -27,6 +27,13 @@ class sunet::nagios {
require => Package['nagios-nrpe-server'],
content => template('sunet/nagioshost/check_uptime.pl.erb'),
} ->
+ file { "/usr/lib/nagios/plugins/check_reboot" :
+ ensure => 'file',
+ mode => '0751',
+ group => 'nagios',
+ require => Package['nagios-nrpe-server'],
+ content => template('sunet/nagioshost/check_reboot'),
+ } ->
ufw::allow { "allow-nrpe-v4":
from => "${nagios_ip_v4}",
ip => 'any',