From 387b48548df9ef10e86a3a722d5339cb3862f651 Mon Sep 17 00:00:00 2001 From: Athos Ribeiro Date: Thu, 14 May 2015 12:31:11 -0300 Subject: [PATCH] Add empty iptables-nat templates for all hosts missing it --- cookbooks/firewall/templates/default/iptables.erb | 2 +- cookbooks/firewall/templates/host-database/iptables-nat.erb | 2 ++ cookbooks/firewall/templates/host-email/iptables-nat.erb | 2 ++ cookbooks/firewall/templates/host-integration/iptables-nat.erb | 2 ++ cookbooks/firewall/templates/host-social/iptables-nat.erb | 2 ++ 5 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 cookbooks/firewall/templates/host-database/iptables-nat.erb create mode 100644 cookbooks/firewall/templates/host-email/iptables-nat.erb create mode 100644 cookbooks/firewall/templates/host-integration/iptables-nat.erb create mode 100644 cookbooks/firewall/templates/host-social/iptables-nat.erb diff --git a/cookbooks/firewall/templates/default/iptables.erb b/cookbooks/firewall/templates/default/iptables.erb index a9e09ac..ce3f229 100644 --- a/cookbooks/firewall/templates/default/iptables.erb +++ b/cookbooks/firewall/templates/default/iptables.erb @@ -33,5 +33,5 @@ COMMIT *nat -<%= render 'iptables-nat.erb' if node.hostname == 'reverseproxy' %> +<%= render 'iptables-nat.erb' %> COMMIT diff --git a/cookbooks/firewall/templates/host-database/iptables-nat.erb b/cookbooks/firewall/templates/host-database/iptables-nat.erb new file mode 100644 index 0000000..139597f --- /dev/null +++ b/cookbooks/firewall/templates/host-database/iptables-nat.erb @@ -0,0 +1,2 @@ + + diff --git a/cookbooks/firewall/templates/host-email/iptables-nat.erb b/cookbooks/firewall/templates/host-email/iptables-nat.erb new file mode 100644 index 0000000..139597f --- /dev/null +++ b/cookbooks/firewall/templates/host-email/iptables-nat.erb @@ -0,0 +1,2 @@ + + diff --git a/cookbooks/firewall/templates/host-integration/iptables-nat.erb b/cookbooks/firewall/templates/host-integration/iptables-nat.erb new file mode 100644 index 0000000..139597f --- /dev/null +++ b/cookbooks/firewall/templates/host-integration/iptables-nat.erb @@ -0,0 +1,2 @@ + + diff --git a/cookbooks/firewall/templates/host-social/iptables-nat.erb b/cookbooks/firewall/templates/host-social/iptables-nat.erb new file mode 100644 index 0000000..139597f --- /dev/null +++ b/cookbooks/firewall/templates/host-social/iptables-nat.erb @@ -0,0 +1,2 @@ + + -- libgit2 0.21.2