to -> from

This commit is contained in:
Micke Nordin 2023-02-21 15:12:24 +01:00
parent d4668a5086
commit 121f231397
Signed by untrusted user: Micke
GPG key ID: 0DA0A7A5708FE257

View file

@ -50,7 +50,7 @@ class sunetdrive::satosa($dehydrated_name=undef,$image='docker.sunet.se/satosa',
}
}
sunet::misc::ufw_allow { 'satosa-allow-https':
to => 'any',
from => 'any',
port => '443'
}
$dehydrated_status = $dehydrated_name ? {
@ -65,7 +65,7 @@ class sunetdrive::satosa($dehydrated_name=undef,$image='docker.sunet.se/satosa',
}
sunet::misc::ufw_allow { 'satosa-allow-http':
ensure => $dehydrated_status,
to => 'any',
from => 'any',
port => '80'
}
if ($dehydrated_name) {
@ -78,10 +78,10 @@ class sunetdrive::satosa($dehydrated_name=undef,$image='docker.sunet.se/satosa',
}
}
file { '/opt/satosa':
ensure => directory,
owner => 'root',
group => 'root',
mode => '0755',
ensure => directory,
owner => 'root',
group => 'root',
mode => '0755',
}
-> file { '/opt/satosa/restart.sh':
ensure => file,