Make kub[cw] a special nftables case
This commit is contained in:
parent
e87657f209
commit
d1a85199c6
|
@ -54,3 +54,11 @@ if is_hash($ssh_authorized_keys) {
|
||||||
# proto => "tcp"
|
# proto => "tcp"
|
||||||
# }
|
# }
|
||||||
#}
|
#}
|
||||||
|
|
||||||
|
if $::facts['hostname'] =~ /^k8s[wc]/ {
|
||||||
|
warning('Setting nftables to installed but disabled')
|
||||||
|
ensure_resource ('class','sunet::nftables::init', { enabled => false })
|
||||||
|
} else {
|
||||||
|
warning('Enabling nftables')
|
||||||
|
ensure_resource ('class','sunet::nftables::init', { })
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue