1 diff -ru a/lib/puppet/util/firewall.rb b/lib/puppet/util/firewall.rb
2 --- a/lib/puppet/util/firewall.rb 2020-03-05 19:13:11.474497464 +0800
3 +++ b/lib/puppet/util/firewall.rb 2020-03-05 19:18:52.030506745 +0800
6 when 'Debian', 'Ubuntu'
11 Facter.value(:operatingsystem)
15 ["/bin/sh", "-c", "/sbin/iptables-save > /etc/iptables/rules"]
18 + when :Archlinux, :Debian_poky
21 ["/bin/sh", "-c", "/usr/sbin/iptables-save > /etc/iptables/iptables.rules"]
22 diff -ru a/manifests/params.pp b/manifests/params.pp
23 --- a/manifests/params.pp 2020-03-05 19:13:11.478497464 +0800
24 +++ b/manifests/params.pp 2020-03-05 19:13:20.794497718 +0800
30 + $service_name = 'firewalld'
31 + $package_name = 'firewalld'
34 $service_name = 'iptables-persistent'
35 $package_name = 'iptables-persistent'