Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
bmhughes committed May 28, 2021
1 parent 79c8700 commit c8fe094
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions test/cookbooks/test/recipes/all-tables.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@
include_recipe '::centos-6-helper' if platform?('centos') && node['platform_version'].to_i == 6

iptables_packages 'install iptables'

ruby_block 'test' do
block do
Chef::Log.warn(`/usr/sbin/netfilter-persistent start`)
Chef::Log.warn(`/sbin/iptables-restore < /etc/iptables/rules.v4`)
end
action :run
only_if { platform?('debian', 'ubuntu') }
end

iptables_service 'configure iptables services' do
action %i(enable start)

Expand Down

0 comments on commit c8fe094

Please sign in to comment.