You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Removing firewall_rule does removes the rules from /etc/sysconfig/firewalld-chef.rules but the ipv6 rule still exists in the kernel.
Steps to Reproduce:
Given the following recipe:
firewall 'default'
firewall_rule 'ssh' do
port 22
command :allow
end
firewall_rule 'http' do
port 80
protocol :tcp
position 1
command :allow
end if true
Cookbook version
2.6.2
Chef-client version
12.21.4
Platform Details
centos-7
Scenario:
Removing
firewall_rule
does removes the rules from/etc/sysconfig/firewalld-chef.rules
but the ipv6 rule still exists in the kernel.Steps to Reproduce:
Given the following recipe:
Gives expected output:
Now if I remove the
firewall_rule 'http'
resource from the recipe and run chef-client, the rules are removed from the file:However the ipv6 rule still exists in the kernel:
The text was updated successfully, but these errors were encountered: