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

9 lines
208 B
ObjectPascal
Raw Normal View History

2025-01-30 16:05:39 +01:00
$nftables_rules = lookup('sunet::nftables::allow::rules', Hash, 'deep', {})
# Create resources for each rule
$nftables_rules.each |$name, $params| {
sunet::nftables::allow { $name:
* => $params,
}
}