From 72387f9d6457a9c07bfe01bfbc574aa8c66285bf Mon Sep 17 00:00:00 2001 From: Johan Lundberg Date: Thu, 23 Apr 2015 15:27:04 +0200 Subject: Moving nagios config to class sunet::nagios. --- global/overlay/etc/puppet/manifests/cosmos-site.pp | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) (limited to 'global/overlay/etc/puppet/manifests') diff --git a/global/overlay/etc/puppet/manifests/cosmos-site.pp b/global/overlay/etc/puppet/manifests/cosmos-site.pp index c7bc59c..5c31b43 100644 --- a/global/overlay/etc/puppet/manifests/cosmos-site.pp +++ b/global/overlay/etc/puppet/manifests/cosmos-site.pp @@ -697,21 +697,7 @@ node 'cdr1.sunet.se' { } node 'sto-tug-kvm2.swamid.se' { - package {'nagios-nrpe-server': - ensure => 'installed', - } -> - ufw::allow { "allow-nrpe-v4": - from => '109.105.111.111', - ip => 'any', - proto => 'tcp', - port => 5666 - } - ufw::allow { "allow-nrpe-v6": - from => '2001:948:4:6::111', - ip => 'any', - proto => 'tcp', - port => 5666 - } + class { 'sunet::nagios': } file {'/var/docker': ensure => 'directory', } -> -- cgit v1.1