class firewall::rules::in::ntp ( Array[Stdlib::Port] $ports = [123], ) { $ports.each |$port| { nftables::rule { "default_in-ntp_${port}": content => "udp dport ${port} accept", } } }