net-ops/global/overlay/etc/puppet/modules/net/manifests/nftables.pp

11 lines
212 B
ObjectPascal
Raw Normal View History

2025-01-30 16:11:12 +01:00
class net::nftables {
$nftables_rules = lookup('sunet::nftables::allow::rules', Hash, 'deep', {})
2025-01-30 16:05:39 +01:00
2025-01-30 16:11:12 +01:00
$nftables_rules.each |$name, $params| {
sunet::nftables::allow { $name:
* => $params,
}
2025-01-30 16:05:39 +01:00
}
2025-01-30 16:11:12 +01:00
2025-01-30 16:05:39 +01:00
}