Skip to content

Commit

Permalink
Remove the predefined iptables rules altogether
Browse files Browse the repository at this point in the history
This is really an anti pattern as it requires users to fork and modify this cookbook.  The LWRP gives them the ability to create a wrapper cookbook that uses the default recipe to install iptables and the LWRP to add specific rules
  • Loading branch information
tas50 committed Mar 20, 2015
1 parent 7efa033 commit 2dc462c
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 16 deletions.
1 change: 0 additions & 1 deletion attributes/default.rb

This file was deleted.

7 changes: 0 additions & 7 deletions recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,3 @@
variables :iptables_save_file => iptables_save_file
end
end

if node['iptables']['install_rules']
iptables_rule 'all_established'
iptables_rule 'all_icmp'
iptables_rule 'prefix'
iptables_rule 'postfix'
end
2 changes: 0 additions & 2 deletions templates/default/all_established.erb

This file was deleted.

2 changes: 0 additions & 2 deletions templates/default/all_icmp.erb

This file was deleted.

2 changes: 0 additions & 2 deletions templates/default/postfix.erb

This file was deleted.

2 changes: 0 additions & 2 deletions templates/default/prefix.erb

This file was deleted.

0 comments on commit 2dc462c

Please sign in to comment.