Skip to content

Commit

Permalink
Correct default packages for Fedora >= 34
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Hughes <[email protected]>
  • Loading branch information
bmhughes committed May 28, 2021
1 parent 76a4529 commit 79c8700
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion libraries/helpers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,13 @@ def package_names
else
%w(iptables iptables-services iptables-utils)
end
when 'fedora', 'amazon'
when 'fedora'
if node['platform_version'].to_i >= 34
%w(iptables-compat iptables-nft iptables-services iptables-utils)
else
%w(iptables iptables-services iptables-utils)
end
when 'amazon'
%w(iptables iptables-services iptables-utils)
when 'debian'
%w(iptables iptables-persistent)
Expand Down

0 comments on commit 79c8700

Please sign in to comment.