diff --git a/global/overlay/etc/puppet/cosmos-rules.yaml b/global/overlay/etc/puppet/cosmos-rules.yaml index 21cbc04..307085b 100644 --- a/global/overlay/etc/puppet/cosmos-rules.yaml +++ b/global/overlay/etc/puppet/cosmos-rules.yaml @@ -126,6 +126,7 @@ tug-lb-1.sunet.se: sunet::lb::load_balancer: interface: 'enp67s0f0np0' sunet::fleetlock_client: + net::open_1022 sthb-lb-1.sunet.se: sunet::dockerhost2: diff --git a/global/overlay/etc/puppet/modules/net/manifests/open_1022.pp b/global/overlay/etc/puppet/modules/net/manifests/open_1022.pp new file mode 100644 index 0000000..6038b48 --- /dev/null +++ b/global/overlay/etc/puppet/modules/net/manifests/open_1022.pp @@ -0,0 +1,6 @@ +class net::open_1022 { + sunet::misc::ufw_allow { 'allow_ssh_1022': + from => $mgmt_addresses, + port => '1022', + } +}