Fix resource an debug cleanup
This commit is contained in:
parent
8a652ed78d
commit
b3c013e48f
|
@ -3,17 +3,14 @@ class matrix::lb (
|
||||||
$ips = lookup('sourceips', undef, undef, undef)
|
$ips = lookup('sourceips', undef, undef, undef)
|
||||||
$ips.each | String $ip | {
|
$ips.each | String $ip | {
|
||||||
if $::facts['sunet_nftables_enabled'] == 'yes' {
|
if $::facts['sunet_nftables_enabled'] == 'yes' {
|
||||||
sunet::nftables::allow { "nft_testip${ip}":
|
sunet::nftables::allow { "nft_testip${ip}_ingress":
|
||||||
port => 8443,
|
port => 8443,
|
||||||
from => $ip,
|
from => $ip,
|
||||||
}
|
}
|
||||||
sunet::nftables::allow { "nft_testip${ip}":
|
sunet::nftables::allow { "nft_testip${ip}_kubeapi":
|
||||||
port => 16443,
|
port => 16443,
|
||||||
from => $ip,
|
from => $ip,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
notify { 'test':
|
|
||||||
message => "Test test test ${ip}",
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue