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',
|
||||
}
|
||||
if $::facts['sunet_nftables_enabled'] == 'yes' {
|
||||
sunet::nftables::docker_expose { "https_port_${customer}":
|
||||
allow_clients => ['0.0.0.0', '::/0'],
|
||||
port => $https_port,
|
||||
iif => '*',
|
||||
}
|
||||
$name = "https_port_${customer}"
|
||||
ensure_resource('sunet::nftables::ufw_allow_compat', $name, {
|
||||
from => ['0.0.0.0', '::/0'],
|
||||
port => $https_port,
|
||||
})
|
||||
} else {
|
||||
# Open ports
|
||||
sunet::misc::ufw_allow { "https_port_${customer}":
|
||||
|
|
Loading…
Add table
Reference in a new issue