lib/rubber/recipes/rubber/security_groups.rb in sml-rubber-0.9.13 vs lib/rubber/recipes/rubber/security_groups.rb in sml-rubber-1.5.5
- old
+ new
@@ -34,10 +34,10 @@
security_groups = env.assigned_security_groups
if env.auto_security_groups
security_groups << host
security_groups += roles
end
- security_groups = security_groups.uniq.compact
+ security_groups = security_groups.uniq.compact.reject {|x| x.empty? }
security_groups = security_groups.collect {|x| isolate_group_name(x) } if env.isolate_security_groups
return security_groups
end
def setup_security_groups(host=nil, roles=[])
\ No newline at end of file