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