summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Wallberg <dennis@nordu.net>2015-04-22 16:14:24 +0200
committerDennis Wallberg <dennis@nordu.net>2015-04-22 16:14:24 +0200
commit7242a1cf051cf6a73e47d9a9fb68ed6c6ae43778 (patch)
treef9d03922f8de587b3604d70330d5eff410d9e2f5
parent877abf0d9b4f0b05425f82bb648d7f9c2215c3fa (diff)
-rw-r--r--global/overlay/etc/puppet/modules/sunet/manifests/nagios.pp12
1 files changed, 6 insertions, 6 deletions
diff --git a/global/overlay/etc/puppet/modules/sunet/manifests/nagios.pp b/global/overlay/etc/puppet/modules/sunet/manifests/nagios.pp
index cbd47a0..48bf5ca 100644
--- a/global/overlay/etc/puppet/modules/sunet/manifests/nagios.pp
+++ b/global/overlay/etc/puppet/modules/sunet/manifests/nagios.pp
@@ -6,12 +6,12 @@ class sunet::nagios {
package {'nagios-nrpe-server':
ensure => 'installed',
- } ->
+ }
service {'nagios-nrpe-server':
ensure => 'running',
enable => 'true',
require => Package['nagios-nrpe-server'],
- } ->
+ }
file { "/etc/nagios/nrpe.cfg" :
notify => Service['nagios-nrpe-server'],
ensure => 'file',
@@ -19,27 +19,27 @@ class sunet::nagios {
group => 'nagios',
require => Package['nagios-nrpe-server'],
content => template('sunet/nagioshost/nrpe.cfg.erb'),
- } ->
+ }
file { "/usr/lib/nagios/plugins/check_uptime.pl" :
ensure => 'file',
mode => '0751',
group => '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',
proto => 'tcp',
port => 5666
- } ->
+ }
ufw::allow { "allow-nrpe-v6":
from => "${nagios_ip_v6}",
ip => 'any',