From ef9fdafe6169a98e669291fcfe32a074a46b678f Mon Sep 17 00:00:00 2001 From: Johan Lundberg Date: Tue, 14 Apr 2015 13:23:39 +0200 Subject: Added any to ipv6 ufw rule --- global/overlay/etc/puppet/manifests/cosmos-site.pp | 1 + 1 file changed, 1 insertion(+) diff --git a/global/overlay/etc/puppet/manifests/cosmos-site.pp b/global/overlay/etc/puppet/manifests/cosmos-site.pp index f36c70d..df74ac6 100644 --- a/global/overlay/etc/puppet/manifests/cosmos-site.pp +++ b/global/overlay/etc/puppet/manifests/cosmos-site.pp @@ -707,6 +707,7 @@ node 'sto-tug-kvm2.swamid.se' { } ufw::allow { "allow-nrpe-v6": from => '2001:948:4:6::111', + ip => 'any', port => 5666 } file {'/var/docker': -- cgit v1.1 From 11c3de86e97aacdc8a33b8fe21484c105a9f5988 Mon Sep 17 00:00:00 2001 From: Johan Lundberg Date: Tue, 14 Apr 2015 13:28:12 +0200 Subject: Updated ufw rules for sto-tug-kvm2 --- global/overlay/etc/puppet/manifests/cosmos-site.pp | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/global/overlay/etc/puppet/manifests/cosmos-site.pp b/global/overlay/etc/puppet/manifests/cosmos-site.pp index df74ac6..8931d1d 100644 --- a/global/overlay/etc/puppet/manifests/cosmos-site.pp +++ b/global/overlay/etc/puppet/manifests/cosmos-site.pp @@ -702,13 +702,16 @@ node 'sto-tug-kvm2.swamid.se' { ensure => 'installed', } -> ufw::allow { "allow-nrpe-v4": - from => '109.105.111.111', - port => 5666 + from => '109.105.111.111', + ip => 'any', + proto => 'tcp', + port => 5666 } ufw::allow { "allow-nrpe-v6": - from => '2001:948:4:6::111', - ip => 'any', - port => 5666 + from => '2001:948:4:6::111', + ip => 'any', + proto => 'tcp', + port => 5666 } file {'/var/docker': ensure => 'directory', -- cgit v1.1