Skip to content

Commit 25e2d1b

Browse files
committed
enable correct service for EL9 using legacy IPv4
probably not many people still using IPv4 in their systems, after all IPv6 is soon 25 years old, but... we still want to support it. nftables.service loads nft rules from /etc/sysconfig/nftables.conf, but this module generates classic iptables rules. The service to load these on boot is simply "iptables.service". IPv6 rules are loaded correctly by ip6tables.service.
1 parent 03cf6c1 commit 25e2d1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

manifests/params.pp

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
}
3131
default: {
3232
if versioncmp($::operatingsystemrelease, '9') >= 0 {
33-
$service_name = ['nftables','iptables']
33+
$service_name = 'iptables'
3434
$service_name_v6 = 'ip6tables'
3535
$package_name = ['iptables-services', 'nftables', 'iptables-nft-services']
3636
$iptables_name = 'iptables-nft'

0 commit comments

Comments
 (0)