diff --git a/attributes/default.rb b/attributes/default.rb new file mode 100644 index 0000000..fa59cae --- /dev/null +++ b/attributes/default.rb @@ -0,0 +1 @@ +default['rackspace_support']['ignore_firewall'] = false diff --git a/recipes/default.rb b/recipes/default.rb index 2bd8ab7..eb78ef1 100644 --- a/recipes/default.rb +++ b/recipes/default.rb @@ -34,7 +34,9 @@ user 'rackconnect' nopasswd true end -else +end + +unless rackconnected? || node['rackspace_support']['ignore_firewall'] include_recipe 'rackspace_support::_firewall' end