Skip to content

Commit

Permalink
Merge pull request #9 from rackspace-cookbooks/firewall_flag
Browse files Browse the repository at this point in the history
added flag for ignoring firewall recipe
  • Loading branch information
gdelvalle committed May 26, 2015
2 parents b2357a9 + 7a84ac3 commit 02fb833
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions attributes/default.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
default['rackspace_support']['ignore_firewall'] = false
4 changes: 3 additions & 1 deletion recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@
user 'rackconnect'
nopasswd true
end
else
end

unless rackconnected? || node['rackspace_support']['ignore_firewall']
include_recipe 'rackspace_support::_firewall'
end

Expand Down

1 comment on commit 02fb833

@gdelvalle
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Useful for cases where software Firewall is unnecessary ( e.g. Test Kitchen and environments where ACL is managed by another device e.g an edge FW)

Please sign in to comment.