to -> from
This commit is contained in:
parent
d4668a5086
commit
121f231397
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue