lib/cucumber/chef/providers/aws.rb in cucumber-chef-3.0.6 vs lib/cucumber/chef/providers/aws.rb in cucumber-chef-3.0.7

- old
+ new

@@ -237,15 +237,15 @@ def ensure_security_group security_group_name = Cucumber::Chef::Config.aws[:aws_security_group] if (security_group = @connection.security_groups.get(security_group_name)) port_ranges = security_group.ip_permissions.collect{ |entry| entry["fromPort"]..entry["toPort"] } security_group.authorize_port_range(22..22) if port_ranges.none?{ |port_range| port_range === 22 } - security_group.authorize_port_range(4000..4000) if port_ranges.none?{ |port_range| port_range === 4000 } - security_group.authorize_port_range(4040..4040) if port_ranges.none?{ |port_range| port_range === 4040 } + security_group.authorize_port_range(443..443) if port_ranges.none?{ |port_range| port_range === 443 } + security_group.authorize_port_range(444..444) if port_ranges.none?{ |port_range| port_range === 444 } elsif (security_group = @connection.security_groups.new(:name => security_group_name, :description => "cucumber-chef test lab")).save security_group.authorize_port_range(22..22) - security_group.authorize_port_range(4000..4000) - security_group.authorize_port_range(4040..4040) + security_group.authorize_port_range(443..443) + security_group.authorize_port_range(444..444) else raise AWSError, "Could not find an existing or create a new AWS security group." end end