Use ufw from puppet sunet instead

This commit is contained in:
Micke Nordin 2023-02-17 14:46:22 +01:00
parent 3979367a7d
commit f94b66e3c1
Signed by untrusted user: Micke
GPG key ID: 0DA0A7A5708FE257

View file

@ -49,7 +49,7 @@ class sunetdrive::satosa($dehydrated_name=undef,$image='docker.sunet.se/satosa',
notify => Sunet::Docker_run['satosa']
}
}
ufw::allow { 'satosa-allow-https':
sunet::misc::ufw_allow { 'satosa-allow-https':
ip => 'any',
port => '443'
}
@ -63,7 +63,7 @@ class sunetdrive::satosa($dehydrated_name=undef,$image='docker.sunet.se/satosa',
ports => ['80:80'],
env => ['ACME_URL=http://acme-c.sunet.se']
}
ufw::allow { 'satosa-allow-http':
sunet::misc::ufw_allow { 'satosa-allow-http':
ensure => $dehydrated_status,
ip => 'any',
port => '80'