Use other format
This commit is contained in:
parent
2883693967
commit
536a4a11d3
1 changed files with 5 additions and 5 deletions
|
@ -408,11 +408,11 @@ MACAddressPolicy=none'
|
||||||
mode => '0744',
|
mode => '0744',
|
||||||
}
|
}
|
||||||
if $::facts['sunet_nftables_enabled'] == 'yes' {
|
if $::facts['sunet_nftables_enabled'] == 'yes' {
|
||||||
sunet::nftables::docker_expose { "https_port_${customer}":
|
$name = "https_port_${customer}"
|
||||||
allow_clients => ['0.0.0.0', '::/0'],
|
ensure_resource('sunet::nftables::ufw_allow_compat', $name, {
|
||||||
|
from => ['0.0.0.0', '::/0'],
|
||||||
port => $https_port,
|
port => $https_port,
|
||||||
iif => '*',
|
})
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
# Open ports
|
# Open ports
|
||||||
sunet::misc::ufw_allow { "https_port_${customer}":
|
sunet::misc::ufw_allow { "https_port_${customer}":
|
||||||
|
|
Loading…
Add table
Reference in a new issue