From ac82f4773ae5a60729697d5b4ef6df15fec8a0d7 Mon Sep 17 00:00:00 2001 From: Johan Lundberg Date: Tue, 14 Apr 2015 13:01:21 +0200 Subject: Added nrpe to sto-tug-kvm2 --- global/overlay/etc/puppet/manifests/cosmos-site.pp | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/global/overlay/etc/puppet/manifests/cosmos-site.pp b/global/overlay/etc/puppet/manifests/cosmos-site.pp index 8c0800f..343db7d 100644 --- a/global/overlay/etc/puppet/manifests/cosmos-site.pp +++ b/global/overlay/etc/puppet/manifests/cosmos-site.pp @@ -698,6 +698,17 @@ node 'cdr1.sunet.se' { node 'sto-tug-kvm2.swamid.se' { #class { 'fail2ban': } + package {'nagios-nrpe-server': + ensure => 'installed', + } -> + ufw::allow { "allow-pollen-nrpe-v4": + ip => '109.105.111.111', + port => 5666 + } + ufw::allow { "allow-pollen-nrpe-v6": + ip => '2001:948:4:6::111', + port => 5666 + } file {'/var/docker': ensure => 'directory', } -> -- cgit v1.1 From 00c39cd1dd1a81b8a1fad961769e1ef89ad82dc3 Mon Sep 17 00:00:00 2001 From: Johan Lundberg Date: Tue, 14 Apr 2015 13:04:47 +0200 Subject: Renamed nrpe rules for sto-tug-kvm2 --- global/overlay/etc/puppet/manifests/cosmos-site.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/global/overlay/etc/puppet/manifests/cosmos-site.pp b/global/overlay/etc/puppet/manifests/cosmos-site.pp index 343db7d..1a67ca0 100644 --- a/global/overlay/etc/puppet/manifests/cosmos-site.pp +++ b/global/overlay/etc/puppet/manifests/cosmos-site.pp @@ -701,11 +701,11 @@ node 'sto-tug-kvm2.swamid.se' { package {'nagios-nrpe-server': ensure => 'installed', } -> - ufw::allow { "allow-pollen-nrpe-v4": + ufw::allow { "allow-nrpe-v4": ip => '109.105.111.111', port => 5666 } - ufw::allow { "allow-pollen-nrpe-v6": + ufw::allow { "allow-nrpe-v6": ip => '2001:948:4:6::111', port => 5666 } -- cgit v1.1 From bcc7edeaeee440877ec976ed3501578477f2728c Mon Sep 17 00:00:00 2001 From: Johan Lundberg Date: Tue, 14 Apr 2015 13:15:43 +0200 Subject: Changed UFW rules for sto-tug-kvm2 --- global/overlay/etc/puppet/manifests/cosmos-site.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/global/overlay/etc/puppet/manifests/cosmos-site.pp b/global/overlay/etc/puppet/manifests/cosmos-site.pp index 1a67ca0..f36c70d 100644 --- a/global/overlay/etc/puppet/manifests/cosmos-site.pp +++ b/global/overlay/etc/puppet/manifests/cosmos-site.pp @@ -702,11 +702,11 @@ node 'sto-tug-kvm2.swamid.se' { ensure => 'installed', } -> ufw::allow { "allow-nrpe-v4": - ip => '109.105.111.111', + from => '109.105.111.111', port => 5666 } ufw::allow { "allow-nrpe-v6": - ip => '2001:948:4:6::111', + from => '2001:948:4:6::111', port => 5666 } file {'/var/docker': -- cgit v1.1