chef-provisioning-aws 3.0.0 → 3.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cbdbb997e0904ceec0f690452b3ef3b07d9b7564
4
- data.tar.gz: 2f3232d87c0eab66cd4ca6cf02b3efea959073db
3
+ metadata.gz: 78ac497500f0226dd453d38b11672bf011912bd1
4
+ data.tar.gz: 31375442837975f755e5950c651d64f9181cbd17
5
5
  SHA512:
6
- metadata.gz: b4db5474e51cf1f29da313877e37ee2258b24b23d1a4d2acd9227c4c7e2f0b25c645507788c4f155f8c19834c86150d56cf14535681a71adf93fb9e9afecb7ec
7
- data.tar.gz: 262a469686ebd3878ccfb97ba8b637ea5eb0a67be3551b7987ba450d8c0b341946ad4c7837c002e16c4e2eba8fcef040769c3ad0d4a742c0f7db1991bc54b70b
6
+ metadata.gz: 9a8afd7e5dc451ef336d9ce4dd200d0ea92320cbabbf188f8ba138c3ffde45cea33a109b1900ca5a769a0143df4086a2a7585026e461de599a627c17501503cb
7
+ data.tar.gz: a0c5c982882cdc52acd1fd373561b204fe573c763bc5bfcbc2f9b1feb4c86307ed61bfbf457999ff3f4b03d6eb1ba55bbc688e76f4e7fd80b71448a9409d89fa
@@ -1,13 +1,22 @@
1
1
  require 'chef/provisioning/aws_driver/aws_provider'
2
+ require 'retryable'
2
3
 
3
4
  class Chef::Provider::AwsCacheCluster < Chef::Provisioning::AWSDriver::AWSProvider
4
5
  provides :aws_cache_cluster
5
6
 
7
+ class CacheClusterStatusTimeoutError < ::Timeout::Error
8
+ def initialize(new_resource, initial_status, expected_status)
9
+ super("timed out waiting for #{new_resource} status to change from #{initial_status} to #{expected_status}!")
10
+ end
11
+ end
12
+
6
13
  protected
7
14
 
8
15
  def create_aws_object
9
16
  converge_by "create ElastiCache cluster #{new_resource.name} in #{region}" do
10
- driver.create_cache_cluster(desired_options)
17
+ cluster_obj = driver.create_cache_cluster(desired_options)
18
+ # waiting for 10 minutes as the cache cluster takes time to become available
19
+ wait_for_cache_cluster_state(cluster_obj.cache_cluster, :available, 10, 60)
11
20
  end
12
21
  end
13
22
 
@@ -73,4 +82,17 @@ class Chef::Provider::AwsCacheCluster < Chef::Provisioning::AWSDriver::AWSProvid
73
82
  false
74
83
  end
75
84
  end
85
+
86
+ def wait_for_cache_cluster_state(aws_object, expected_status, tries=60, sleep=5)
87
+ query_method = :cache_cluster_status
88
+
89
+ Retryable.retryable(:tries => tries, :sleep => sleep) do |retries, exception|
90
+ action_handler.report_progress "waited #{retries*sleep}/#{tries*sleep}s for <#{aws_object.class}:#{aws_object.cache_cluster_id}>##{query_method} state to change to #{expected_status}..."
91
+ Chef::Log.debug("Current exception in wait_for is #{exception.inspect}") if exception
92
+ cache_cluster = new_resource.driver.elasticache.describe_cache_clusters(cache_cluster_id: aws_object.cache_cluster_id)
93
+ status = cache_cluster.cache_clusters.first.cache_cluster_status
94
+ action_handler.report_progress "Current Cluster Status: #{status}"
95
+ raise CacheClusterStatusTimeoutError.new(aws_object, status, expected_status) if status != expected_status.to_s
96
+ end
97
+ end
76
98
  end
@@ -69,7 +69,7 @@ class Provider
69
69
  # We override this so we can specify a machine name as `i-123456`
70
70
  # This is totally a hack until we move away from base resources
71
71
  def get_machine_spec!(machine_name)
72
- if machine_name =~ /^i-[a-f0-9]{8}$/
72
+ if machine_name =~ /^i-[0-9a-f]{8}/
73
73
  Struct.new(:name, :reference).new(machine_name, {'instance_id' => machine_name})
74
74
  else
75
75
  Chef::Log.debug "Getting machine spec for #{machine_name}"
@@ -914,6 +914,9 @@ EOD
914
914
 
915
915
  def bootstrap_options_for(action_handler, machine_spec, machine_options)
916
916
  bootstrap_options = deep_symbolize_keys(machine_options[:bootstrap_options])
917
+ if bootstrap_options==nil
918
+ bootstrap_options=Hash({})
919
+ end
917
920
  # These are hardcoded for now - only 1 machine at a time
918
921
  bootstrap_options[:min_count] = bootstrap_options[:max_count] = 1
919
922
  bootstrap_options[:instance_type] ||= default_instance_type
@@ -1,7 +1,7 @@
1
1
  class Chef
2
2
  module Provisioning
3
3
  module AWSDriver
4
- VERSION = '3.0.0'
4
+ VERSION = '3.0.1'
5
5
  end
6
6
  end
7
7
  end
@@ -23,6 +23,7 @@ module AWSSupport
23
23
  elsif Set === expected
24
24
  return match_sets_failure_messages(expected, actual, identifier)
25
25
  elsif Hash === expected
26
+ actual = actual.to_h if Struct === actual
26
27
  return match_hashes_failure_messages(expected, actual, identifier) if Hash === actual
27
28
  return match_hash_and_object_failure_messages(expected, actual, identifier) if MatchableObject === actual
28
29
  elsif Array === expected
@@ -54,7 +54,7 @@ module AWSSupport
54
54
 
55
55
  # We get response as a Struct for aws_cache_subnet_group resource.
56
56
  # Hence converting it into a hash.
57
- aws_object = aws_object.to_hash if resource_name == :aws_cache_subnet_group
57
+ aws_object = aws_object.to_hash if resource_name == :aws_cache_subnet_group || resource_name == :aws_cache_cluster
58
58
 
59
59
  # Check existence
60
60
  if aws_object.nil?
@@ -0,0 +1,71 @@
1
+ require 'spec_helper'
2
+
3
+ describe Chef::Resource::AwsCacheCluster, :super_slow do
4
+ extend AWSSupport
5
+
6
+ when_the_chef_12_server "exists", organization: 'foo', server_scope: :context do
7
+ with_aws "with a VPC, subnet, subnet_group and security_group" do
8
+ after(:context) do
9
+ # Cache Cluster takes around 7 minutes to get deleted
10
+ # and all the dependent resources can be deleted after that only.
11
+ # Hence waiting for 8 minutes.
12
+ sleep(480)
13
+ converge {
14
+ aws_cache_subnet_group 'test-subnet-group' do
15
+ action :destroy
16
+ end
17
+
18
+ aws_vpc "test_vpc" do
19
+ action :purge
20
+ end
21
+ }
22
+ end
23
+
24
+ it "aws_cache_cluster 'TestRedisCluster' creates a cache cluster" do
25
+ converge {
26
+ aws_vpc "test_vpc" do
27
+ cidr_block '10.0.0.0/24'
28
+ internet_gateway true
29
+ end
30
+
31
+ aws_subnet "test_subnet" do
32
+ vpc 'test_vpc'
33
+ cidr_block "10.0.0.0/24"
34
+ end
35
+
36
+ aws_cache_subnet_group 'test-subnet-group' do
37
+ description 'Test Subnet Group'
38
+ subnets [ 'test_subnet' ]
39
+ end
40
+
41
+ aws_security_group 'test_sg' do
42
+ vpc 'test_vpc'
43
+ end
44
+ }
45
+
46
+ expect_recipe {
47
+ aws_cache_cluster 'TestRedisCluster' do
48
+ az_mode 'single-az'
49
+ engine 'redis'
50
+ engine_version '3.2.6'
51
+ node_type 'cache.t2.micro'
52
+ number_nodes 1
53
+ security_groups 'test_sg'
54
+ subnet_group_name 'test-subnet-group'
55
+ end
56
+ }.to create_an_aws_cache_cluster('TestRedisCluster',
57
+ cache_cluster_id: "testrediscluster",
58
+ cache_node_type: "cache.t2.micro",
59
+ engine: "redis",
60
+ engine_version: "3.2.6",
61
+ num_cache_nodes: 1,
62
+ pending_modified_values: {},
63
+ cache_security_groups: [],
64
+ cache_parameter_group:
65
+ {cache_parameter_group_name: "default.redis3.2", parameter_apply_status: "in-sync", cache_node_ids_to_reboot: []},
66
+ cache_subnet_group_name: "test-subnet-group"
67
+ ).and be_idempotent
68
+ end
69
+ end
70
+ end
71
+ end
@@ -33,7 +33,7 @@ describe Chef::Resource::AwsRouteTable do
33
33
  }.to create_an_aws_route_table('test_route_table',
34
34
  routes: Set[
35
35
  { destination_cidr_block: '10.0.0.0/16', gateway_id: 'local', state: "active" },
36
- { destination_cidr_block: '0.0.0.0/0', gateway_id: test_vpc.aws_object.internet_gateway.id, state: "active" }
36
+ { destination_cidr_block: '0.0.0.0/0', gateway_id: test_vpc.aws_object.internet_gateways.first.id, state: "active" }
37
37
  ]
38
38
  ).and be_idempotent
39
39
  end
@@ -57,7 +57,7 @@ describe Chef::Resource::AwsRouteTable do
57
57
  routes: Set[
58
58
  { destination_cidr_block: '10.0.0.0/16', gateway_id: 'local', state: "active" },
59
59
  { destination_cidr_block: '172.31.0.0/16', network_interface_id: test_network_interface.aws_object.id, state: "blackhole" },
60
- { destination_cidr_block: '0.0.0.0/0', gateway_id: test_vpc.aws_object.internet_gateway.id, state: "active" },
60
+ { destination_cidr_block: '0.0.0.0/0', gateway_id: test_vpc.aws_object.internet_gateways.first.id, state: "active" },
61
61
  ]
62
62
  ).and be_idempotent
63
63
  end
@@ -78,9 +78,9 @@ describe Chef::Resource::AwsRouteTable do
78
78
  end
79
79
  }.to update_an_aws_route_table('test_route_table',
80
80
  routes: Set[
81
- { destination_cidr_block: '2.0.0.0/8', gateway_id: test_vpc.aws_object.internet_gateway.id, state: "active" },
81
+ { destination_cidr_block: '2.0.0.0/8', gateway_id: test_vpc.aws_object.internet_gateways.first.id, state: "active" },
82
82
  { destination_cidr_block: '10.0.0.0/16', gateway_id: 'local', state: "active" },
83
- { destination_cidr_block: '0.0.0.0/0', gateway_id: test_vpc.aws_object.internet_gateway.id, state: "active" },
83
+ { destination_cidr_block: '0.0.0.0/0', gateway_id: test_vpc.aws_object.internet_gateways.first.id, state: "active" },
84
84
  ]
85
85
  ).and be_idempotent
86
86
  end
@@ -129,7 +129,7 @@ describe Chef::Resource::AwsRouteTable do
129
129
  routes: Set[
130
130
  { destination_cidr_block: '10.0.0.0/16', gateway_id: 'local', state: "active" },
131
131
  { destination_cidr_block: '11.0.0.0/8', instance_id: test_machine.aws_object.id, state: "active" },
132
- { destination_cidr_block: '0.0.0.0/0', gateway_id: test_vpc.aws_object.internet_gateway.id, state: "active" },
132
+ { destination_cidr_block: '0.0.0.0/0', gateway_id: test_vpc.aws_object.internet_gateways.first.id, state: "active" },
133
133
  ]
134
134
  ).and be_idempotent
135
135
  end
@@ -217,7 +217,7 @@ describe Chef::Resource::AwsRouteTable do
217
217
  routes: Set[
218
218
  { destination_cidr_block: '10.0.0.0/24', gateway_id: 'local', state: "active" },
219
219
  { destination_cidr_block: '100.100.0.0/16', vpc_peering_connection_id: pcx.aws_object.id, state: "active" },
220
- { destination_cidr_block: '0.0.0.0/0', gateway_id: test_vpc_1.aws_object.internet_gateway.id, state: "active" }
220
+ { destination_cidr_block: '0.0.0.0/0', gateway_id: test_vpc_1.aws_object.internet_gateways.first.id, state: "active" }
221
221
  ]
222
222
  ).and be_idempotent
223
223
  end
@@ -0,0 +1,214 @@
1
+ example_id | status | run_time |
2
+ --------------------------------------------------------------------- | ------- | ---------------------- |
3
+ ./spec/integration/aws_auto_scaling_group_spec.rb[1:1:1:1] | failed | 0.00001 seconds |
4
+ ./spec/integration/aws_auto_scaling_group_spec.rb[1:1:1:2] | failed | 0.00001 seconds |
5
+ ./spec/integration/aws_auto_scaling_group_spec.rb[1:1:1:3] | failed | 0 seconds |
6
+ ./spec/integration/aws_auto_scaling_group_spec.rb[1:1:1:4:1] | failed | 0 seconds |
7
+ ./spec/integration/aws_auto_scaling_group_spec.rb[1:1:1:4:2] | failed | 0 seconds |
8
+ ./spec/integration/aws_cache_subnet_group_spec.rb[1:1:1:1] | passed | 1.37 seconds |
9
+ ./spec/integration/aws_cloudsearch_domain_spec.rb[1:1:1:1] | passed | 3.45 seconds |
10
+ ./spec/integration/aws_cloudsearch_domain_spec.rb[1:1:1:2] | passed | 0.16053 seconds |
11
+ ./spec/integration/aws_cloudwatch_alarm_spec.rb[1:1:1:1] | passed | 1.19 seconds |
12
+ ./spec/integration/aws_cloudwatch_alarm_spec.rb[1:1:1:2] | passed | 2.44 seconds |
13
+ ./spec/integration/aws_cloudwatch_alarm_spec.rb[1:1:1:3:1] | passed | 2.24 seconds |
14
+ ./spec/integration/aws_cloudwatch_alarm_spec.rb[1:1:1:4:1] | passed | 2.47 seconds |
15
+ ./spec/integration/aws_cloudwatch_alarm_spec.rb[1:1:1:4:2] | passed | 1.2 seconds |
16
+ ./spec/integration/aws_cloudwatch_alarm_spec.rb[1:1:1:4:3] | passed | 1.15 seconds |
17
+ ./spec/integration/aws_dhcp_options_spec.rb[1:1:1:1] | passed | 1.52 seconds |
18
+ ./spec/integration/aws_dhcp_options_spec.rb[1:1:1:2] | passed | 1.95 seconds |
19
+ ./spec/integration/aws_dhcp_options_spec.rb[1:1:1:3:1] | passed | 1.22 seconds |
20
+ ./spec/integration/aws_dhcp_options_spec.rb[1:1:1:3:2] | passed | 1.29 seconds |
21
+ ./spec/integration/aws_ebs_volume_spec.rb[1:1:1:1] | passed | 8.75 seconds |
22
+ ./spec/integration/aws_ebs_volume_spec.rb[1:1:1:2:1] | passed | 10.94 seconds |
23
+ ./spec/integration/aws_ebs_volume_spec.rb[1:1:1:3] | passed | 8.52 seconds |
24
+ ./spec/integration/aws_ebs_volume_spec.rb[1:1:1:4] | passed | 9.06 seconds |
25
+ ./spec/integration/aws_ebs_volume_spec.rb[1:1:1:5] | passed | 9.31 seconds |
26
+ ./spec/integration/aws_ebs_volume_spec.rb[1:1:1:6] | passed | 9.11 seconds |
27
+ ./spec/integration/aws_ebs_volume_spec.rb[1:1:1:7:1] | passed | 9.71 seconds |
28
+ ./spec/integration/aws_ebs_volume_spec.rb[1:1:1:7:2] | passed | 14.23 seconds |
29
+ ./spec/integration/aws_ebs_volume_spec.rb[1:1:1:7:3] | passed | 8.98 seconds |
30
+ ./spec/integration/aws_eip_address_spec.rb[1:1:1:1] | passed | 1.22 seconds |
31
+ ./spec/integration/aws_eip_address_spec.rb[1:1:1:2] | passed | 0.12691 seconds |
32
+ ./spec/integration/aws_eip_address_spec.rb[1:1:1:3:1] | passed | 0.76053 seconds |
33
+ ./spec/integration/aws_eip_address_spec.rb[1:1:1:3:2] | passed | 0.7227 seconds |
34
+ ./spec/integration/aws_eip_address_spec.rb[1:1:1:4:1] | passed | 0.66903 seconds |
35
+ ./spec/integration/aws_eip_address_spec.rb[1:1:1:5:1] | unknown | |
36
+ ./spec/integration/aws_elasticsearch_domain_spec.rb[1:1:1:1] | passed | 0.49115 seconds |
37
+ ./spec/integration/aws_elasticsearch_domain_spec.rb[1:1:1:2] | passed | 3.25 seconds |
38
+ ./spec/integration/aws_elasticsearch_domain_spec.rb[1:1:1:3:1] | passed | 2.18 seconds |
39
+ ./spec/integration/aws_elasticsearch_domain_spec.rb[1:1:1:3:2] | passed | 1.29 seconds |
40
+ ./spec/integration/aws_elasticsearch_domain_spec.rb[1:1:1:3:3] | passed | 1.74 seconds |
41
+ ./spec/integration/aws_elasticsearch_domain_spec.rb[1:1:1:3:4] | passed | 3.37 seconds |
42
+ ./spec/integration/aws_iam_instance_profile_spec.rb[1:1:1:1] | passed | 0.9686 seconds |
43
+ ./spec/integration/aws_iam_instance_profile_spec.rb[1:1:1:2:1] | passed | 2.42 seconds |
44
+ ./spec/integration/aws_iam_instance_profile_spec.rb[1:1:1:2:2:1] | passed | 2.28 seconds |
45
+ ./spec/integration/aws_iam_instance_profile_spec.rb[1:1:1:2:2:2] | passed | 2.23 seconds |
46
+ ./spec/integration/aws_iam_instance_profile_spec.rb[1:1:1:2:2:3:1] | passed | 3.59 seconds |
47
+ ./spec/integration/aws_iam_role_spec.rb[1:1:1:1] | passed | 1.03 seconds |
48
+ ./spec/integration/aws_iam_role_spec.rb[1:1:1:2] | passed | 2.05 seconds |
49
+ ./spec/integration/aws_iam_role_spec.rb[1:1:1:3:1] | passed | 2.99 seconds |
50
+ ./spec/integration/aws_iam_role_spec.rb[1:1:1:3:2] | passed | 2.14 seconds |
51
+ ./spec/integration/aws_iam_role_spec.rb[1:1:1:3:3] | passed | 1.66 seconds |
52
+ ./spec/integration/aws_internet_gateway_spec.rb[1:1:1:1] | passed | 1.18 seconds |
53
+ ./spec/integration/aws_internet_gateway_spec.rb[1:1:1:2] | passed | 2.58 seconds |
54
+ ./spec/integration/aws_internet_gateway_spec.rb[1:1:1:3:1] | passed | 2.31 seconds |
55
+ ./spec/integration/aws_internet_gateway_spec.rb[1:1:1:4:1] | passed | 0.98383 seconds |
56
+ ./spec/integration/aws_internet_gateway_spec.rb[1:1:1:5:1] | passed | 1.35 seconds |
57
+ ./spec/integration/aws_internet_gateway_spec.rb[1:1:1:5:2:1] | passed | 4.82 seconds |
58
+ ./spec/integration/aws_internet_gateway_spec.rb[1:1:1:5:3:1] | passed | 1.5 seconds |
59
+ ./spec/integration/aws_internet_gateway_spec.rb[1:1:1:5:3:2] | passed | 1.95 seconds |
60
+ ./spec/integration/aws_internet_gateway_spec.rb[1:1:1:5:4:1] | passed | 4.33 seconds |
61
+ ./spec/integration/aws_key_pair_spec.rb[1:1:1:1] | passed | 1.68 seconds |
62
+ ./spec/integration/aws_nat_gateway_spec.rb[1:1:1:1:1] | passed | 2 minutes 53 seconds |
63
+ ./spec/integration/aws_nat_gateway_spec.rb[1:1:1:2:1:1] | passed | 43.61 seconds |
64
+ ./spec/integration/aws_network_acl_spec.rb[1:1:1:1] | passed | 2.35 seconds |
65
+ ./spec/integration/aws_network_acl_spec.rb[1:1:1:2] | passed | 2.92 seconds |
66
+ ./spec/integration/aws_network_acl_spec.rb[1:1:1:3:1] | passed | 2.32 seconds |
67
+ ./spec/integration/aws_network_acl_spec.rb[1:1:1:4:1] | passed | 1.64 seconds |
68
+ ./spec/integration/aws_network_acl_spec.rb[1:1:1:5] | passed | 2.62 seconds |
69
+ ./spec/integration/aws_network_acl_spec.rb[1:1:1:6:1] | passed | 1.53 seconds |
70
+ ./spec/integration/aws_network_acl_spec.rb[1:1:1:6:2] | passed | 1.45 seconds |
71
+ ./spec/integration/aws_network_interface_spec.rb[1:1:1:1:1] | unknown | |
72
+ ./spec/integration/aws_network_interface_spec.rb[1:1:1:1:2] | passed | 3.12 seconds |
73
+ ./spec/integration/aws_network_interface_spec.rb[1:1:1:1:3:1] | passed | 1.86 seconds |
74
+ ./spec/integration/aws_network_interface_spec.rb[1:1:1:1:3:2] | passed | 1.63 seconds |
75
+ ./spec/integration/aws_rds_instance_spec.rb[1:1:1:1] | failed | 2.21 seconds |
76
+ ./spec/integration/aws_rds_instance_spec.rb[1:1:1:2] | passed | 34.67 seconds |
77
+ ./spec/integration/aws_rds_instance_spec.rb[1:1:1:3] | passed | 49.53 seconds |
78
+ ./spec/integration/aws_rds_instance_spec.rb[1:1:1:4:1] | passed | 1.47 seconds |
79
+ ./spec/integration/aws_rds_instance_spec.rb[1:1:1:4:2] | passed | 1.58 seconds |
80
+ ./spec/integration/aws_rds_parameter_group_spec.rb[1:1:1:1] | passed | 2 minutes 10.5 seconds |
81
+ ./spec/integration/aws_rds_parameter_group_spec.rb[1:1:1:2] | passed | 14.3 seconds |
82
+ ./spec/integration/aws_rds_parameter_group_spec.rb[1:1:1:3] | passed | 6.52 seconds |
83
+ ./spec/integration/aws_rds_parameter_group_spec.rb[1:1:1:4:1] | passed | 6.25 seconds |
84
+ ./spec/integration/aws_rds_subnet_group_spec.rb[1:1:1:1] | passed | 2.91 seconds |
85
+ ./spec/integration/aws_rds_subnet_group_spec.rb[1:1:1:2] | passed | 2.63 seconds |
86
+ ./spec/integration/aws_rds_subnet_group_spec.rb[1:1:1:3:1] | passed | 1.68 seconds |
87
+ ./spec/integration/aws_rds_subnet_group_spec.rb[1:1:1:3:2] | passed | 1.72 seconds |
88
+ ./spec/integration/aws_route53_hosted_zone_spec.rb[1:1:1:1:1:1] | passed | 1.33 seconds |
89
+ ./spec/integration/aws_route53_hosted_zone_spec.rb[1:1:1:1:1:2] | passed | 6.79 seconds |
90
+ ./spec/integration/aws_route53_hosted_zone_spec.rb[1:1:1:1:1:3] | passed | 0.00119 seconds |
91
+ ./spec/integration/aws_route53_hosted_zone_spec.rb[1:1:1:1:1:4] | passed | 1.95 seconds |
92
+ ./spec/integration/aws_route53_hosted_zone_spec.rb[1:1:1:1:1:5] | passed | 1.84 seconds |
93
+ ./spec/integration/aws_route53_hosted_zone_spec.rb[1:1:1:1:2:1] | passed | 0.0362 seconds |
94
+ ./spec/integration/aws_route53_hosted_zone_spec.rb[1:1:1:1:2:2] | passed | 0.03165 seconds |
95
+ ./spec/integration/aws_route53_hosted_zone_spec.rb[1:1:1:1:2:3] | passed | 2.12 seconds |
96
+ ./spec/integration/aws_route53_hosted_zone_spec.rb[1:1:1:1:2:4] | passed | 1.52 seconds |
97
+ ./spec/integration/aws_route53_hosted_zone_spec.rb[1:1:1:1:2:5] | passed | 0.03268 seconds |
98
+ ./spec/integration/aws_route53_hosted_zone_spec.rb[1:1:1:1:2:6] | passed | 3.04 seconds |
99
+ ./spec/integration/aws_route53_hosted_zone_spec.rb[1:1:1:1:2:7] | passed | 2.21 seconds |
100
+ ./spec/integration/aws_route53_hosted_zone_spec.rb[1:1:1:1:2:8] | passed | 2.13 seconds |
101
+ ./spec/integration/aws_route53_hosted_zone_spec.rb[1:1:1:1:2:9] | passed | 1.54 seconds |
102
+ ./spec/integration/aws_route53_hosted_zone_spec.rb[1:1:1:1:2:10] | passed | 1.37 seconds |
103
+ ./spec/integration/aws_route53_hosted_zone_spec.rb[1:1:1:1:2:11:1] | passed | 1.45 seconds |
104
+ ./spec/integration/aws_route53_hosted_zone_spec.rb[1:1:1:1:2:11:2] | passed | 0.0014 seconds |
105
+ ./spec/integration/aws_route53_hosted_zone_spec.rb[1:1:1:1:2:11:3] | passed | 0.03327 seconds |
106
+ ./spec/integration/aws_route53_hosted_zone_spec.rb[1:1:1:1:2:12:1] | passed | 1.88 seconds |
107
+ ./spec/integration/aws_route53_hosted_zone_spec.rb[1:1:1:1:2:12:2] | passed | 1.86 seconds |
108
+ ./spec/integration/aws_route53_hosted_zone_spec.rb[1:1:1:1:2:12:3] | passed | 1.53 seconds |
109
+ ./spec/integration/aws_route53_hosted_zone_spec.rb[1:1:1:1:2:12:4] | passed | 2.3 seconds |
110
+ ./spec/integration/aws_route53_hosted_zone_spec.rb[1:1:1:1:2:12:5] | passed | 2.5 seconds |
111
+ ./spec/integration/aws_route53_hosted_zone_spec.rb[1:1:1:1:2:12:6] | passed | 2.53 seconds |
112
+ ./spec/integration/aws_route53_hosted_zone_spec.rb[1:1:1:1:2:12:7] | passed | 2.02 seconds |
113
+ ./spec/integration/aws_route53_hosted_zone_spec.rb[1:1:1:1:2:12:8] | passed | 2.82 seconds |
114
+ ./spec/integration/aws_route_table_spec.rb[1:1:1:1] | passed | 1.56 seconds |
115
+ ./spec/integration/aws_route_table_spec.rb[1:1:1:2] | passed | 2.14 seconds |
116
+ ./spec/integration/aws_route_table_spec.rb[1:1:1:3] | passed | 3.73 seconds |
117
+ ./spec/integration/aws_route_table_spec.rb[1:1:1:4:1] | passed | 2.46 seconds |
118
+ ./spec/integration/aws_route_table_spec.rb[1:1:1:5:1] | passed | 2.3 seconds |
119
+ ./spec/integration/aws_route_table_spec.rb[1:1:1:6:1] | unknown | |
120
+ ./spec/integration/aws_route_table_spec.rb[1:1:1:7] | passed | 1.96 seconds |
121
+ ./spec/integration/aws_route_table_spec.rb[1:1:1:8:1] | passed | 1.33 seconds |
122
+ ./spec/integration/aws_route_table_spec.rb[1:1:1:8:2] | passed | 1.22 seconds |
123
+ ./spec/integration/aws_route_table_spec.rb[1:1:2:1] | passed | 4.09 seconds |
124
+ ./spec/integration/aws_s3_bucket_spec.rb[1:1:1:1] | passed | 1.49 seconds |
125
+ ./spec/integration/aws_s3_bucket_spec.rb[1:1:1:2] | passed | 2.31 seconds |
126
+ ./spec/integration/aws_s3_bucket_spec.rb[1:1:1:3:1] | passed | 0.91834 seconds |
127
+ ./spec/integration/aws_s3_bucket_spec.rb[1:1:1:3:2] | pending | 0.97497 seconds |
128
+ ./spec/integration/aws_s3_bucket_spec.rb[1:1:2:1] | passed | 1.76 seconds |
129
+ ./spec/integration/aws_security_group_spec.rb[1:1:1:1] | passed | 2.37 seconds |
130
+ ./spec/integration/aws_security_group_spec.rb[1:1:1:2] | passed | 5.89 seconds |
131
+ ./spec/integration/aws_security_group_spec.rb[1:1:1:3] | passed | 0.29645 seconds |
132
+ ./spec/integration/aws_security_group_spec.rb[1:1:1:4] | passed | 3.1 seconds |
133
+ ./spec/integration/aws_security_group_spec.rb[1:1:1:5:1] | passed | 2.04 seconds |
134
+ ./spec/integration/aws_security_group_spec.rb[1:1:1:5:2] | passed | 3.35 seconds |
135
+ ./spec/integration/aws_security_group_spec.rb[1:1:2:1] | passed | 2.85 seconds |
136
+ ./spec/integration/aws_security_group_spec.rb[1:1:2:2] | passed | 41.16 seconds |
137
+ ./spec/integration/aws_security_group_spec.rb[1:1:2:3] | passed | 38.86 seconds |
138
+ ./spec/integration/aws_security_group_spec.rb[1:1:3:1] | passed | 0.12059 seconds |
139
+ ./spec/integration/aws_security_group_spec.rb[1:1:3:2] | passed | 1.29 seconds |
140
+ ./spec/integration/aws_server_certificate_spec.rb[1:1:1:1] | passed | 1.15 seconds |
141
+ ./spec/integration/aws_server_certificate_spec.rb[1:1:1:2] | passed | 0.75483 seconds |
142
+ ./spec/integration/aws_subnet_spec.rb[1:1:1:1] | passed | 2.87 seconds |
143
+ ./spec/integration/aws_subnet_spec.rb[1:1:1:2] | passed | 7 seconds |
144
+ ./spec/integration/aws_subnet_spec.rb[1:1:1:3] | passed | 3.43 seconds |
145
+ ./spec/integration/aws_subnet_spec.rb[1:1:1:4:1] | passed | 1.07 seconds |
146
+ ./spec/integration/aws_subnet_spec.rb[1:1:1:4:2] | passed | 1.26 seconds |
147
+ ./spec/integration/aws_vpc_peering_connection_spec.rb[1:1:1:1] | passed | 0.06256 seconds |
148
+ ./spec/integration/aws_vpc_peering_connection_spec.rb[1:1:1:2] | passed | 2.25 seconds |
149
+ ./spec/integration/aws_vpc_peering_connection_spec.rb[1:1:1:3] | passed | 3.54 seconds |
150
+ ./spec/integration/aws_vpc_peering_connection_spec.rb[1:1:1:4] | passed | 2.02 seconds |
151
+ ./spec/integration/aws_vpc_peering_connection_spec.rb[1:1:1:5] | passed | 0.87157 seconds |
152
+ ./spec/integration/aws_vpc_spec.rb[1:1:1:1:1] | passed | 3.59 seconds |
153
+ ./spec/integration/aws_vpc_spec.rb[1:1:1:1:2] | passed | 3.44 seconds |
154
+ ./spec/integration/aws_vpc_spec.rb[1:1:1:1:3] | passed | 8.68 seconds |
155
+ ./spec/integration/aws_vpc_spec.rb[1:1:1:2:1:1] | passed | 2.88 seconds |
156
+ ./spec/integration/aws_vpc_spec.rb[1:1:1:3] | passed | 3.2 seconds |
157
+ ./spec/integration/aws_vpc_spec.rb[1:1:1:4:1] | passed | 1.03 seconds |
158
+ ./spec/integration/aws_vpc_spec.rb[1:1:1:4:2] | passed | 1.07 seconds |
159
+ ./spec/integration/aws_vpc_spec.rb[1:1:1:5] | passed | 0.03087 seconds |
160
+ ./spec/integration/aws_vpc_spec.rb[1:1:1:6:1] | passed | 1.98 seconds |
161
+ ./spec/integration/aws_vpc_spec.rb[1:1:1:7:1] | passed | 58.26 seconds |
162
+ ./spec/integration/load_balancer_spec.rb[1:1:1:1:1] | passed | 3 minutes 49.8 seconds |
163
+ ./spec/integration/load_balancer_spec.rb[1:1:1:1:2] | passed | 7.46 seconds |
164
+ ./spec/integration/load_balancer_spec.rb[1:1:1:1:3:1] | passed | 1.59 seconds |
165
+ ./spec/integration/machine_batch_spec.rb[1:1:1:1] | unknown | |
166
+ ./spec/integration/machine_image_spec.rb[1:1:1:1] | unknown | |
167
+ ./spec/integration/machine_image_spec.rb[1:1:1:2:1] | unknown | |
168
+ ./spec/integration/machine_image_spec.rb[1:1:1:2:2] | unknown | |
169
+ ./spec/integration/machine_image_spec.rb[1:1:1:3] | unknown | |
170
+ ./spec/integration/machine_image_spec.rb[1:1:1:4:1] | unknown | |
171
+ ./spec/integration/machine_image_spec.rb[1:1:1:4:2] | unknown | |
172
+ ./spec/integration/machine_spec.rb[1:1:1:1] | passed | 15.81 seconds |
173
+ ./spec/integration/machine_spec.rb[1:1:1:2] | passed | 31.74 seconds |
174
+ ./spec/integration/machine_spec.rb[1:1:1:3] | failed | 1.04 seconds |
175
+ ./spec/integration/machine_spec.rb[1:1:1:4] | failed | 49.06 seconds |
176
+ ./spec/integration/machine_spec.rb[1:1:1:5] | failed | 37.79 seconds |
177
+ ./spec/integration/machine_spec.rb[1:1:1:6] | failed | 47.97 seconds |
178
+ ./spec/integration/machine_spec.rb[1:1:1:7] | passed | 1 minute 4.3 seconds |
179
+ ./spec/integration/machine_spec.rb[1:1:1:8] | failed | 0.99452 seconds |
180
+ ./spec/integration/machine_spec.rb[1:1:1:9] | failed | 1.13 seconds |
181
+ ./spec/integration/machine_spec.rb[1:1:1:10:1] | failed | 0.20056 seconds |
182
+ ./spec/integration/machine_spec.rb[1:1:1:11:1] | passed | 1 minute 25.95 seconds |
183
+ ./spec/integration/machine_spec.rb[1:1:1:11:2] | passed | 37.36 seconds |
184
+ ./spec/integration/machine_spec.rb[1:1:1:12] | failed | 50.05 seconds |
185
+ ./spec/integration/machine_spec.rb[1:1:1:13:1] | passed | 1 minute 16.77 seconds |
186
+ ./spec/integration/machine_spec.rb[1:1:1:13:2] | passed | 24.02 seconds |
187
+ ./spec/integration/machine_spec.rb[1:1:1:14] | passed | 0.04802 seconds |
188
+ ./spec/integration/machine_spec.rb[1:1:1:15] | passed | 56.98 seconds |
189
+ ./spec/integration/machine_spec.rb[1:1:1:16] | passed | 12.99 seconds |
190
+ ./spec/integration/machine_spec.rb[1:1:1:17:1] | passed | 49.34 seconds |
191
+ ./spec/integration/machine_spec.rb[1:1:1:17:2] | passed | 49.38 seconds |
192
+ ./spec/unit/chef/provisioning/aws_driver/credentials_spec.rb[1:1:1:1] | passed | 0.01546 seconds |
193
+ ./spec/unit/chef/provisioning/aws_driver/credentials_spec.rb[1:1:1:2] | passed | 0.00158 seconds |
194
+ ./spec/unit/chef/provisioning/aws_driver/credentials_spec.rb[1:1:2:1] | passed | 0.00138 seconds |
195
+ ./spec/unit/chef/provisioning/aws_driver/credentials_spec.rb[1:1:2:2] | passed | 0.00105 seconds |
196
+ ./spec/unit/chef/provisioning/aws_driver/credentials_spec.rb[1:1:3:1] | passed | 0.00099 seconds |
197
+ ./spec/unit/chef/provisioning/aws_driver/credentials_spec.rb[1:1:3:2] | passed | 0.00091 seconds |
198
+ ./spec/unit/chef/provisioning/aws_driver/driver_spec.rb[1:1:1:1] | passed | 0.00139 seconds |
199
+ ./spec/unit/chef/provisioning/aws_driver/driver_spec.rb[1:1:2:1] | passed | 0.00088 seconds |
200
+ ./spec/unit/chef/provisioning/aws_driver/driver_spec.rb[1:1:3:1] | passed | 0.0009 seconds |
201
+ ./spec/unit/chef/provisioning/aws_driver/driver_spec.rb[1:1:4:1] | passed | 0.00083 seconds |
202
+ ./spec/unit/chef/provisioning/aws_driver/driver_spec.rb[1:1:5:1:1] | passed | 0.00112 seconds |
203
+ ./spec/unit/chef/provisioning/aws_driver/driver_spec.rb[1:1:5:2:1] | passed | 0.00091 seconds |
204
+ ./spec/unit/chef/provisioning/aws_driver/driver_spec.rb[1:1:5:3:1] | passed | 0.00094 seconds |
205
+ ./spec/unit/chef/provisioning/aws_driver/route53_spec.rb[1:1] | pending | 0.00002 seconds |
206
+ ./spec/unit/chef/provisioning/aws_driver/route53_spec.rb[1:2] | pending | 0 seconds |
207
+ ./spec/unit/chef/provisioning/aws_driver/route53_spec.rb[2:1] | passed | 0.00038 seconds |
208
+ ./spec/unit/chef/provisioning/aws_driver/route53_spec.rb[2:2] | passed | 0.00039 seconds |
209
+ ./spec/unit/chef/provisioning/aws_driver/route53_spec.rb[2:3:1] | passed | 0.0021 seconds |
210
+ ./spec/unit/chef/provisioning/aws_driver/route53_spec.rb[2:3:2] | passed | 0.00033 seconds |
211
+ ./spec/unit/chef/provisioning/aws_driver/route53_spec.rb[2:3:3] | passed | 0.00025 seconds |
212
+ ./spec/unit/chef/provisioning/aws_driver/route53_spec.rb[2:3:4] | passed | 0.00025 seconds |
213
+ ./spec/unit/chef/provisioning/aws_driver/route53_spec.rb[2:3:5] | passed | 0.00041 seconds |
214
+ ./spec/unit/chef/provisioning/aws_driver/route53_spec.rb[2:4:1] | passed | 0.00063 seconds |
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chef-provisioning-aws
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tyler Ball
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-11-20 00:00:00.000000000 Z
11
+ date: 2018-02-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: chef-provisioning
@@ -207,6 +207,7 @@ files:
207
207
  - spec/aws_support/matchers/match_an_aws_object.rb
208
208
  - spec/aws_support/matchers/update_an_aws_object.rb
209
209
  - spec/integration/aws_auto_scaling_group_spec.rb
210
+ - spec/integration/aws_cache_cluster_spec.rb
210
211
  - spec/integration/aws_cache_subnet_group_spec.rb
211
212
  - spec/integration/aws_cloudsearch_domain_spec.rb
212
213
  - spec/integration/aws_cloudwatch_alarm_spec.rb
@@ -236,6 +237,7 @@ files:
236
237
  - spec/integration/machine_batch_spec.rb
237
238
  - spec/integration/machine_image_spec.rb
238
239
  - spec/integration/machine_spec.rb
240
+ - spec/persistence_file.txt
239
241
  - spec/spec_helper.rb
240
242
  - spec/unit/chef/provisioning/aws_driver/credentials_spec.rb
241
243
  - spec/unit/chef/provisioning/aws_driver/driver_spec.rb
@@ -260,7 +262,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
260
262
  version: '0'
261
263
  requirements: []
262
264
  rubyforge_project:
263
- rubygems_version: 2.6.13
265
+ rubygems_version: 2.6.12
264
266
  signing_key:
265
267
  specification_version: 4
266
268
  summary: Provisioner for creating aws containers in Chef Provisioning.