chef-provisioning-aws 2.2.2 → 3.0.0.pre.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (87) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/chef-provisioning-aws.gemspec +0 -1
  4. data/lib/chef/provider/aws_auto_scaling_group.rb +9 -6
  5. data/lib/chef/provider/aws_dhcp_options.rb +21 -11
  6. data/lib/chef/provider/aws_ebs_volume.rb +26 -24
  7. data/lib/chef/provider/aws_eip_address.rb +11 -12
  8. data/lib/chef/provider/aws_image.rb +1 -1
  9. data/lib/chef/provider/aws_internet_gateway.rb +18 -10
  10. data/lib/chef/provider/aws_key_pair.rb +6 -6
  11. data/lib/chef/provider/aws_launch_configuration.rb +7 -9
  12. data/lib/chef/provider/aws_nat_gateway.rb +2 -2
  13. data/lib/chef/provider/aws_network_acl.rb +11 -8
  14. data/lib/chef/provider/aws_network_interface.rb +34 -29
  15. data/lib/chef/provider/aws_rds_parameter_group.rb +1 -1
  16. data/lib/chef/provider/aws_rds_subnet_group.rb +1 -1
  17. data/lib/chef/provider/aws_route_table.rb +7 -7
  18. data/lib/chef/provider/aws_s3_bucket.rb +24 -12
  19. data/lib/chef/provider/aws_security_group.rb +202 -25
  20. data/lib/chef/provider/aws_server_certificate.rb +3 -4
  21. data/lib/chef/provider/aws_sns_topic.rb +4 -3
  22. data/lib/chef/provider/aws_sqs_queue.rb +7 -3
  23. data/lib/chef/provider/aws_subnet.rb +45 -21
  24. data/lib/chef/provider/aws_vpc.rb +59 -30
  25. data/lib/chef/provisioning/aws_driver/aws_provider.rb +12 -3
  26. data/lib/chef/provisioning/aws_driver/aws_resource.rb +2 -2
  27. data/lib/chef/provisioning/aws_driver/aws_resource_with_entry.rb +1 -1
  28. data/lib/chef/provisioning/aws_driver/aws_tagger.rb +2 -2
  29. data/lib/chef/provisioning/aws_driver/credentials.rb +1 -1
  30. data/lib/chef/provisioning/aws_driver/credentials2.rb +5 -1
  31. data/lib/chef/provisioning/aws_driver/driver.rb +124 -34
  32. data/lib/chef/provisioning/aws_driver/tagging_strategy/rds.rb +4 -4
  33. data/lib/chef/provisioning/aws_driver/tagging_strategy/s3.rb +1 -1
  34. data/lib/chef/provisioning/aws_driver/version.rb +1 -1
  35. data/lib/chef/resource/aws_auto_scaling_group.rb +2 -2
  36. data/lib/chef/resource/aws_cache_cluster.rb +4 -4
  37. data/lib/chef/resource/aws_cache_replication_group.rb +3 -3
  38. data/lib/chef/resource/aws_cache_subnet_group.rb +4 -4
  39. data/lib/chef/resource/aws_cloudsearch_domain.rb +1 -1
  40. data/lib/chef/resource/aws_cloudwatch_alarm.rb +1 -1
  41. data/lib/chef/resource/aws_dhcp_options.rb +10 -3
  42. data/lib/chef/resource/aws_ebs_volume.rb +10 -4
  43. data/lib/chef/resource/aws_eip_address.rb +4 -4
  44. data/lib/chef/resource/aws_elasticsearch_domain.rb +1 -1
  45. data/lib/chef/resource/aws_iam_role.rb +1 -1
  46. data/lib/chef/resource/aws_internet_gateway.rb +11 -4
  47. data/lib/chef/resource/aws_key_pair.rb +4 -3
  48. data/lib/chef/resource/aws_launch_configuration.rb +5 -4
  49. data/lib/chef/resource/aws_load_balancer.rb +14 -3
  50. data/lib/chef/resource/aws_nat_gateway.rb +2 -2
  51. data/lib/chef/resource/aws_network_acl.rb +10 -10
  52. data/lib/chef/resource/aws_network_interface.rb +12 -6
  53. data/lib/chef/resource/aws_rds_parameter_group.rb +6 -6
  54. data/lib/chef/resource/aws_rds_subnet_group.rb +4 -5
  55. data/lib/chef/resource/aws_route53_record_set.rb +1 -1
  56. data/lib/chef/resource/aws_route_table.rb +1 -1
  57. data/lib/chef/resource/aws_s3_bucket.rb +3 -2
  58. data/lib/chef/resource/aws_security_group.rb +6 -6
  59. data/lib/chef/resource/aws_server_certificate.rb +4 -5
  60. data/lib/chef/resource/aws_sns_topic.rb +4 -4
  61. data/lib/chef/resource/aws_sqs_queue.rb +3 -3
  62. data/lib/chef/resource/aws_subnet.rb +5 -5
  63. data/lib/chef/resource/aws_vpc.rb +12 -6
  64. data/lib/chef/resource/aws_vpc_peering_connection.rb +2 -2
  65. data/spec/aws_support.rb +12 -9
  66. data/spec/aws_support/deep_matcher/match_values_failure_messages.rb +15 -5
  67. data/spec/integration/aws_dhcp_options_spec.rb +7 -7
  68. data/spec/integration/aws_ebs_volume_spec.rb +1 -1
  69. data/spec/integration/aws_internet_gateway_spec.rb +19 -18
  70. data/spec/integration/aws_key_pair_spec.rb +1 -1
  71. data/spec/integration/aws_nat_gateway_spec.rb +3 -6
  72. data/spec/integration/aws_network_acl_spec.rb +19 -11
  73. data/spec/integration/aws_network_interface_spec.rb +26 -20
  74. data/spec/integration/aws_rds_instance_spec.rb +6 -7
  75. data/spec/integration/aws_rds_subnet_group_spec.rb +6 -6
  76. data/spec/integration/aws_route53_hosted_zone_spec.rb +1 -1
  77. data/spec/integration/aws_s3_bucket_spec.rb +1 -2
  78. data/spec/integration/aws_security_group_spec.rb +272 -198
  79. data/spec/integration/aws_server_certificate_spec.rb +60 -78
  80. data/spec/integration/aws_subnet_spec.rb +8 -4
  81. data/spec/integration/aws_vpc_spec.rb +29 -23
  82. data/spec/integration/machine_spec.rb +1 -1
  83. data/spec/unit/chef/provisioning/aws_driver/credentials_spec.rb +13 -0
  84. data/spec/unit/chef/provisioning/aws_driver/driver_spec.rb +1 -1
  85. data/spec/unit/chef/provisioning/aws_driver/route53_spec.rb +1 -1
  86. metadata +5 -20
  87. data/spec/persistence_file.txt +0 -220
@@ -4,97 +4,79 @@ describe Chef::Resource::AwsServerCertificate do
4
4
  extend AWSSupport
5
5
 
6
6
  # http://openssl.6102.n7.nabble.com/create-certificate-chain-td44046.html
7
+ # Follow those instructions except the chain should be `ca-int.crt` only
8
+ # instead of concatenated intermediate and root
7
9
 
8
10
  when_the_chef_12_server "exists", organization: 'foo', server_scope: :context do
9
11
  with_aws "without a VPC" do
10
12
  cert_string = <<-CERT
11
13
  -----BEGIN CERTIFICATE-----
12
- MIICvjCCAaYCAkE4MA0GCSqGSI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cm92
15
+ aXNpb25pbmdJbnRlcm1lZGlhdGUwHhcNMTcwODI0MTY0NTQyWhcNMjIwODIzMTY0
16
+ NTQyWjAuMQ4wDAYDVQQDEwVhbGljZTEcMBoGCSqGSIb3DQEJARYNYWxpY2VAY2hl
17
+ Zi5pbzCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKxeXpigv/i4OWPB
18
+ kIBV3+HrKnEh05uEaq4UfJw0p6opKs4hyc92SvcFge4YBcLRbzhyMY5fUZAJXEla
19
+ csb6lEs2DMlW/KZGvfSMts2tVNbFVSsIsuSfhHVr9kemE42RPrtsO/0chOk2P/dl
20
+ P/KvXRF9AtEQe27/CWnJywCkP6tT6baZM6X+GGgAPUHvxN4BmJzz6uHpMVH+rBbb
21
+ t9ruLoSdX0zbaTRLesBC5Hc8uK2wzvDx0pUj+aKcWg5mtPBT6yReH6D5ePV2Jf10
22
+ 9FGKMqPN6tOO6ZyAIWuKx3v09JzxmWGxNEyR65SNiI+ft092UFEKXYfgK58HZlWj
23
+ pBcOsHECAwEAATANBgkqhkiG9w0BAQ0FAAOCAQEAY1KXZv35hUER0WZz7JMKlvhI
24
+ IUpfB2NibP9G5LhtxFY1fa+MLp9mJ+yI3hg0x+6xBPTiPDGVpFdJ+LH/mKWxsaWT
25
+ 17ZRGOeG2gZAlGr8Y8IMuR5cv2fmG6zCObMFxFR89pKvAYR+H5RFcHBg/N86SX6D
26
+ /KKNXu+NC9z/lrNVU6J/XUCk54YdmjMvadHs1aJp6NWH7LI9df27AlBGLnRc/w04
27
+ agCh4aCsjczD2YeBVl6idws/InYbSwhz7x9zXz2qB3BbI3psgBfJQQcJukulVGza
28
+ RkD993U+CJpJMDbpIGRe9lXe33R3tGbbvfa4FaXZlZgoKCrE21SCb2hxlNG2+w==
29
+ -----END CERTIFICATE-----
28
30
  CERT
29
31
 
30
32
  private_key_string = <<-KEY
31
33
  -----BEGIN RSA PRIVATE KEY-----
32
- MIIEpAIBAAKCAQEA1B6nwC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+ DNbJssECgYBIAFB3J66cZH3zBfyanHwYMPlTupxUBTsN19UCAK7MZqA5kbqG7b7Q
57
+ cKPrgR7gibLvaxj22lvD8uEICMGy6g8s3+PyDwcw5PNrKOdIkRrYQxTFtfs1JRCa
58
+ 6kM8q32f1I3qd31zbpoDBHq+Se2RSaLbmoIAFqDSCWyeUHydALo2kw==
59
+ -----END RSA PRIVATE KEY-----
58
60
  KEY
59
61
 
60
- # TODO I cannot figure out how to get the fucking chain working
61
62
  certificate_chain_string = <<-CHAIN
62
63
  -----BEGIN CERTIFICATE-----
63
- MIICnjCCAYYCAkbgMA0GCSqGSIb3DQEBDQUAMBExDzANBgNVBAMTBkRhUm9vdDAe
64
- Fw0xNzAzMTQxNDQ3MDJaFw0yNzAzMTIxNDQ3MDJaMBgxFjAUBgNVBAMTDVppbnRl
65
- cm1lZGlhdGUwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCmOmIWhS3b
66
- OBEqCwvyPDitarl70Iq0uu0gvRrUzVy82CJEjIy2J1Kd9j4Pa5c+eeLEPg+kOLDc
67
- P2yXijZ0P0vfatJM7sNHheCjyfa7Lw9zSV17GBludbh5s01PEFu/cxs3xs5zMBYr
68
- juKla5TnYIjYyx9ryGEGQ+VYIO/0qWXKIcALh+V0iuYD9hzg34H6cPhsAjsJGv/0
69
- 0yE6b5Xoh3zeZ8NAD7JnuS0/725aTGudEiPEnbAYDL+U/g7KvsKu9t2dFADQgJSB
70
- cx0a/vmrWtP1AEKvN5sGceOhj5HG3DAcbt+JMbnXwuuxBuQ6h66oGjtxednN27OI
71
- GhC4gxf8Z1crAgMBAAEwDQYJKoZIhvcNAQENBQADggEBAISW3rxyrg1KpXaZa142
72
- sHCav5/sdJLFTyV5bGfCis8lJGo3zHkigYMq9810gVtrjmtR47LU5WJR0ZyChOWu
73
- T+Ea7tBa1ciGJ//pGDhTYCbWJM0ceFLsLpIHZqv4KTOzy9OgIA9XSmXVf1wkunCm
74
- TVmV2vMwMVy3Qb+6AenvCAUOvfcZ2pd2CtHuJSmZXvDqjPW4IXX8fFmNbONjeVej
75
- olBiH3xw95/Jw7T0IVTJ29KEBEYBk5sQtfBIvF4P81xaPjESLcXHI/lflc0+LPGP
76
- v4lHNiOEDRjiFdultephOlPTZst/9vhe10KPAA+Ep9/VC4xvb/kf1vBCFPz3odqg
77
- N7w=
78
- -----END CERTIFICATE-----
79
- -----BEGIN CERTIFICATE-----
80
- MIIDFzCCAf+gAwIBAgIJANas+XusVBBwMA0GCSqGSIb3DQEBDQUAMBExDzANBgNV
81
- BAMTBkRhUm9vdDAeFw0xNzAzMTQxNDQ2MTlaFw0xNzA0MTMxNDQ2MTlaMBExDzAN
82
- BgNVBAMTBkRhUm9vdDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALFn
83
- BJQuyEvjl1GFMv9WpPLKTGWv0Wq2SCKpL5OiJ3KPRJjT7ut680a8mrzv7d46m6rC
84
- bCz4b/SVJ/H/sASWRYGHIvL2i6pXxCWoVICU125qEEPFvXxTcyvI/LvyRAhoNZua
85
- fGKLFgwaL82WtD8/6lOLRC1iVEUmyv0YI4JuVh27TxSOKy3lXpow1omyUGi3LkPu
86
- had+lmZFESYPjWl92o+W8MgnzA8JJkyV3opEyaEnuubPM9XqG+eNJs1muFenPFcq
87
- B9kmKhpJM9wW6EXgIQLsc45IWE9lPYYMr6CM+O0rJn2mzB1z6XVT43uhYuugKYKu
88
- dAO8EBgkiQqi+OP26QECAwEAAaNyMHAwHQYDVR0OBBYEFPUXQ7zeACfHkXSqOe0A
89
- 2o+gxvwbMEEGA1UdIwQ6MDiAFPUXQ7zeACfHkXSqOe0A2o+gxvwboRWkEzARMQ8w
90
- DQYDVQQDEwZEYVJvb3SCCQDWrPl7rFQQcDAMBgNVHRMEBTADAQH/MA0GCSqGSIb3
91
- DQEBDQUAA4IBAQB9Iq1uGRYA215HR/6Lmm6uJOeZaJGBb4FyZL4XlujbhE/yITNk
92
- bRznsa1HGyqe/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eA9ByAD4XKIWSvaROdHj+5wiCKWKMGvrSEPay5xEJm54VcALXHGk+Vf
76
+ jFNHTa/YFrlDXXupmI8HCYKwXrcooNcLuIkEmZIPX99s1vjFVT8oRdYLwFGt7AVC
77
+ ufkpMTlf/J9WjsabI5O+fzJYgdVm7QUq8Dg3tiM0RcZtO2cWus4DZl/KQkZx84f1
78
+ WGXzC2zbuS6DI9QPgkLeQ11O2kaeMqkNy6Tzr88XfA==
79
+ -----END CERTIFICATE-----
98
80
  CHAIN
99
81
 
100
82
  it "creates a cert" do
@@ -30,7 +30,9 @@ describe Chef::Resource::AwsSubnet do
30
30
  end
31
31
 
32
32
  it "aws_subnet 'test_subnet' with all parameters creates a subnet" do
33
- az = driver.ec2.availability_zones.first.name
33
+ az = driver.ec2_client.describe_availability_zones.availability_zones.first.zone_name
34
+ na = test_network_acl.aws_object.id
35
+ rt = test_route_table.aws_object.id
34
36
  expect_recipe {
35
37
  aws_subnet 'test_subnet' do
36
38
  vpc 'test_vpc'
@@ -43,9 +45,11 @@ describe Chef::Resource::AwsSubnet do
43
45
  }.to create_an_aws_subnet('test_subnet',
44
46
  vpc_id: test_vpc.aws_object.id,
45
47
  cidr_block: '10.0.0.0/24',
46
- 'availability_zone.name' => az,
47
- 'route_table.id' => test_route_table.aws_object.id,
48
- 'network_acl.id' => test_network_acl.aws_object.id
48
+ availability_zone: az
49
+ ).and match_an_aws_subnet('test_subnet',
50
+ subnet_id: driver.ec2_client.describe_route_tables(filters: [{name: "route-table-id", values: [rt]}]).route_tables[0].associations[0].subnet_id
51
+ ).and match_an_aws_subnet('test_subnet',
52
+ subnet_id: driver.ec2_client.describe_network_acls(filters: [{name: "network-acl-id", values: [na]}]).network_acls[0].associations[0].subnet_id
49
53
  ).and be_idempotent
50
54
  end
51
55
 
@@ -16,9 +16,9 @@ describe Chef::Resource::AwsVpc do
16
16
  end
17
17
  }.to create_an_aws_vpc('test_vpc',
18
18
  cidr_block: '10.0.0.0/24',
19
- instance_tenancy: :default,
20
- state: :available,
21
- internet_gateway: nil
19
+ instance_tenancy: "default",
20
+ state: "available",
21
+ internet_gateways_entries: nil
22
22
  ).and be_idempotent
23
23
  end
24
24
 
@@ -30,9 +30,9 @@ describe Chef::Resource::AwsVpc do
30
30
  end
31
31
  }.to create_an_aws_vpc('test_vpc_2',
32
32
  cidr_block: '10.0.0.0/24',
33
- instance_tenancy: :default,
34
- state: :available,
35
- internet_gateway: nil
33
+ instance_tenancy: "default",
34
+ state: "available",
35
+ internet_gateways_entries: nil
36
36
  ).and have_aws_vpc_tags('test_vpc_2',
37
37
  {"foo" => "bar"}
38
38
  ).and be_idempotent
@@ -51,20 +51,24 @@ describe Chef::Resource::AwsVpc do
51
51
  end
52
52
  }.to create_an_aws_vpc('test_vpc',
53
53
  cidr_block: '10.0.0.0/24',
54
- instance_tenancy: :dedicated,
54
+ instance_tenancy: "dedicated",
55
55
  dhcp_options_id: test_dhcp_options.aws_object.id,
56
- state: :available,
57
- "route_tables.main_route_table.routes" => [
56
+ state: "available",
57
+ routetables_entries_routes: [
58
58
  {
59
59
  destination_cidr_block: '10.0.0.0/24',
60
- target: { id: 'local' }
60
+ gateway_id: 'local',
61
+ origin: 'CreateRouteTable',
62
+ state: 'active'
61
63
  },
62
64
  {
63
65
  destination_cidr_block: '0.0.0.0/0',
64
- target: an_instance_of(AWS::EC2::InternetGateway)
66
+ gateway_id: (/igw-\w+/),
67
+ origin: 'CreateRoute',
68
+ state: 'active'
65
69
  }
66
70
  ],
67
- internet_gateway: an_instance_of(AWS::EC2::InternetGateway)
71
+ internet_gateways_entries: an_instance_of(::Aws::EC2::InternetGateway)
68
72
  ).and be_idempotent
69
73
  end
70
74
  end
@@ -84,30 +88,32 @@ describe Chef::Resource::AwsVpc do
84
88
  aws_route_table 'test_route_table' do
85
89
  vpc 'test_vpc'
86
90
  end
87
-
88
91
  it "aws_vpc can update the main_route_table to it" do
89
92
  expect_recipe {
90
93
  aws_vpc 'test_vpc' do
91
94
  main_route_table 'test_route_table'
92
95
  end
93
96
  }.to update_an_aws_vpc('test_vpc',
94
- "route_tables.main_route_table.id" => test_route_table.aws_object.id
97
+ vpc_id: test_route_table.aws_object.vpc_id
95
98
  ).and be_idempotent
96
99
  end
97
100
 
98
101
  # Clean up the main route table association so we can cleanly delete
99
102
  before :each do
100
- @old_main = test_vpc.aws_object.route_tables.main_route_table
103
+ main_route_table = test_vpc.aws_object.route_tables.entries.first.associations.first
104
+ @old_main = nil
105
+ unless main_route_table.nil?
106
+ @old_main = main_route_table.route_table_id if main_route_table.main == true
107
+ end
101
108
  end
102
109
  after :each do
103
- new_main = test_vpc.aws_object.route_tables.main_route_table
110
+ new_main_route_table = test_vpc.aws_object.route_tables.entries.first.associations.first
111
+ unless new_main_route_table.nil?
112
+ new_main = new_main_route_table.route_table_id if new_main_route_table.main == true
113
+ end
114
+ @old_main = test_vpc.aws_object.route_tables.entries[1].id if @old_main.nil?
104
115
  if new_main != @old_main
105
- main_association = new_main.associations.select { |a| a.main? }.first
106
- if main_association
107
- test_vpc.aws_object.client.replace_route_table_association(
108
- association_id: main_association.id,
109
- route_table_id: @old_main.id)
110
- end
116
+ test_vpc.aws_object.client.replace_route_table_association(association_id: new_main_route_table.id,route_table_id: @old_main)
111
117
  end
112
118
  end
113
119
  end
@@ -165,7 +171,7 @@ describe Chef::Resource::AwsVpc do
165
171
  expect_converge {
166
172
  aws_vpc 'test_vpc' do
167
173
  end
168
- }.to raise_error(AWS::Core::OptionGrammar::FormatError, /expected string value for option cidr_block/)
174
+ }.to raise_error(::ArgumentError, /missing required parameter params\[:cidr_block\]/)
169
175
  end
170
176
 
171
177
  context "When having two VPC's and a peering connection between them" do
@@ -260,7 +260,7 @@ describe Chef::Resource::Machine do
260
260
  group_name: "agroup",
261
261
  strategy: "cluster"
262
262
  })
263
- rescue Aws::EC2::Errors::InvalidPlacementGroupDuplicate
263
+ rescue ::Aws::EC2::Errors::InvalidPlacementGroupDuplicate
264
264
  # We don't need to create it because it already exists
265
265
  end
266
266
  }
@@ -147,6 +147,19 @@ describe Chef::Provisioning::AWSDriver::Credentials do
147
147
  end
148
148
 
149
149
  context 'separate config and credential ini files' do
150
+ %w(work_iam personal).each do |profile|
151
+ it "loads the '#{profile}' profile from a separate config files" do
152
+ ENV['AWS_DEFAULT_PROFILE'] = profile
153
+ ENV['AWS_SHARED_CREDENTIALS_FILE'] = credential_ini_file.path
154
+ ENV['AWS_CONFIG_FILE'] = config_ini_file.path
155
+
156
+ expect(described_class.new.default)
157
+ .to eq(send("#{profile}_credentials"))
158
+ end
159
+ end
160
+ end
161
+
162
+ context 'backwards compatibility for AWS_CREDENTIAL_FILE env var' do
150
163
  %w(work_iam personal).each do |profile|
151
164
  it "loads the '#{profile}' profile from a separate config files" do
152
165
  ENV['AWS_DEFAULT_PROFILE'] = profile
@@ -12,7 +12,7 @@ describe Chef::Provisioning::AWSDriver::Driver do
12
12
 
13
13
  before do
14
14
  expect_any_instance_of(Chef::Provisioning::AWSDriver::Driver).to receive(:aws_credentials).and_return(aws_credentials)
15
- expect(AWS).to receive(:config) do |h|
15
+ expect(Aws.config).to receive(:update) do |h|
16
16
  expect(h).to include({
17
17
  access_key_id: "id",
18
18
  secret_access_key: "secret",
@@ -1,6 +1,6 @@
1
1
  require 'chef/provisioning/aws_driver/driver'
2
2
 
3
- describe Aws::Route53::Types::ResourceRecordSet do
3
+ describe ::Aws::Route53::Types::ResourceRecordSet do
4
4
  it "returns the correct RecordSet unique key"
5
5
  it "returns the correct AWS change struct"
6
6
  end
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: 2.2.2
4
+ version: 3.0.0.pre.rc1
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-06-30 00:00:00.000000000 Z
11
+ date: 2017-10-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: chef-provisioning
@@ -30,20 +30,6 @@ dependencies:
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: '3.0'
33
- - !ruby/object:Gem::Dependency
34
- name: aws-sdk-v1
35
- requirement: !ruby/object:Gem::Requirement
36
- requirements:
37
- - - ">="
38
- - !ruby/object:Gem::Version
39
- version: 1.59.0
40
- type: :runtime
41
- prerelease: false
42
- version_requirements: !ruby/object:Gem::Requirement
43
- requirements:
44
- - - ">="
45
- - !ruby/object:Gem::Version
46
- version: 1.59.0
47
33
  - !ruby/object:Gem::Dependency
48
34
  name: aws-sdk
49
35
  requirement: !ruby/object:Gem::Requirement
@@ -250,7 +236,6 @@ files:
250
236
  - spec/integration/machine_batch_spec.rb
251
237
  - spec/integration/machine_image_spec.rb
252
238
  - spec/integration/machine_spec.rb
253
- - spec/persistence_file.txt
254
239
  - spec/spec_helper.rb
255
240
  - spec/unit/chef/provisioning/aws_driver/credentials_spec.rb
256
241
  - spec/unit/chef/provisioning/aws_driver/driver_spec.rb
@@ -270,12 +255,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
270
255
  version: 2.1.9
271
256
  required_rubygems_version: !ruby/object:Gem::Requirement
272
257
  requirements:
273
- - - ">="
258
+ - - ">"
274
259
  - !ruby/object:Gem::Version
275
- version: '0'
260
+ version: 1.3.1
276
261
  requirements: []
277
262
  rubyforge_project:
278
- rubygems_version: 2.6.12
263
+ rubygems_version: 2.6.13
279
264
  signing_key:
280
265
  specification_version: 4
281
266
  summary: Provisioner for creating aws containers in Chef Provisioning.
@@ -1,220 +0,0 @@
1
- example_id | status | run_time |
2
- --------------------------------------------------------------------- | ------- | --------------------- |
3
- ./spec/integration/aws_auto_scaling_group_spec.rb[1:1:1:1] | passed | 0.9629 seconds |
4
- ./spec/integration/aws_auto_scaling_group_spec.rb[1:1:1:2] | passed | 1.87 seconds |
5
- ./spec/integration/aws_auto_scaling_group_spec.rb[1:1:1:3] | passed | 1.23 seconds |
6
- ./spec/integration/aws_auto_scaling_group_spec.rb[1:1:1:4:1] | passed | 0.72499 seconds |
7
- ./spec/integration/aws_auto_scaling_group_spec.rb[1:1:1:4:2] | passed | 0.7447 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 | 2.07 seconds |
12
- ./spec/integration/aws_cloudwatch_alarm_spec.rb[1:1:1:2] | passed | 2.76 seconds |
13
- ./spec/integration/aws_cloudwatch_alarm_spec.rb[1:1:1:3:1] | passed | 2.04 seconds |
14
- ./spec/integration/aws_cloudwatch_alarm_spec.rb[1:1:1:4:1] | passed | 2.59 seconds |
15
- ./spec/integration/aws_cloudwatch_alarm_spec.rb[1:1:1:4:2] | passed | 1.09 seconds |
16
- ./spec/integration/aws_cloudwatch_alarm_spec.rb[1:1:1:4:3] | passed | 0.87184 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 | 9.2 seconds |
22
- ./spec/integration/aws_ebs_volume_spec.rb[1:1:1:2:1] | passed | 9.04 seconds |
23
- ./spec/integration/aws_ebs_volume_spec.rb[1:1:1:3] | passed | 9.16 seconds |
24
- ./spec/integration/aws_ebs_volume_spec.rb[1:1:1:4] | passed | 9.9 seconds |
25
- ./spec/integration/aws_ebs_volume_spec.rb[1:1:1:5] | passed | 10.36 seconds |
26
- ./spec/integration/aws_ebs_volume_spec.rb[1:1:1:6] | passed | 11.37 seconds |
27
- ./spec/integration/aws_ebs_volume_spec.rb[1:1:1:7:1] | passed | 10.88 seconds |
28
- ./spec/integration/aws_ebs_volume_spec.rb[1:1:1:7:2] | passed | 10.8 seconds |
29
- ./spec/integration/aws_ebs_volume_spec.rb[1:1:1:7:3] | passed | 10.1 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.69 seconds |
81
- ./spec/integration/aws_rds_parameter_group_spec.rb[1:1:1:2] | passed | 3.21 seconds |
82
- ./spec/integration/aws_rds_parameter_group_spec.rb[1:1:1:3] | passed | 3.04 seconds |
83
- ./spec/integration/aws_rds_parameter_group_spec.rb[1:1:1:4:1] | passed | 3.13 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] | failed | 1.5 seconds |
141
- ./spec/integration/aws_server_certificate_spec.rb[1:1:1:2] | passed | 0.96539 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] | passed | 16.52 seconds |
163
- ./spec/integration/load_balancer_spec.rb[1:1:1:2:1] | passed | 14.21 seconds |
164
- ./spec/integration/load_balancer_spec.rb[1:1:1:3:1] | unknown | |
165
- ./spec/integration/load_balancer_spec.rb[1:1:1:3:2] | unknown | |
166
- ./spec/integration/load_balancer_spec.rb[1:1:1:3:3:1] | unknown | |
167
- ./spec/integration/load_balancer_spec.rb[1:1:1:4:1] | passed | 0.51504 seconds |
168
- ./spec/integration/load_balancer_spec.rb[1:1:1:5] | passed | 2.77 seconds |
169
- ./spec/integration/load_balancer_spec.rb[1:1:1:6:1] | passed | 0.88175 seconds |
170
- ./spec/integration/load_balancer_spec.rb[1:1:1:6:2] | passed | 0.87492 seconds |
171
- ./spec/integration/machine_batch_spec.rb[1:1:1:1] | unknown | |
172
- ./spec/integration/machine_image_spec.rb[1:1:1:1] | unknown | |
173
- ./spec/integration/machine_image_spec.rb[1:1:1:2:1] | unknown | |
174
- ./spec/integration/machine_image_spec.rb[1:1:1:2:2] | unknown | |
175
- ./spec/integration/machine_image_spec.rb[1:1:1:3] | unknown | |
176
- ./spec/integration/machine_image_spec.rb[1:1:1:4:1] | unknown | |
177
- ./spec/integration/machine_image_spec.rb[1:1:1:4:2] | unknown | |
178
- ./spec/integration/machine_spec.rb[1:1:1:1] | passed | 38.39 seconds |
179
- ./spec/integration/machine_spec.rb[1:1:1:2] | passed | 4 minutes 9.1 seconds |
180
- ./spec/integration/machine_spec.rb[1:1:1:3] | unknown | |
181
- ./spec/integration/machine_spec.rb[1:1:1:4] | unknown | |
182
- ./spec/integration/machine_spec.rb[1:1:1:5] | unknown | |
183
- ./spec/integration/machine_spec.rb[1:1:1:6] | unknown | |
184
- ./spec/integration/machine_spec.rb[1:1:1:7] | unknown | |
185
- ./spec/integration/machine_spec.rb[1:1:1:8] | unknown | |
186
- ./spec/integration/machine_spec.rb[1:1:1:9] | unknown | |
187
- ./spec/integration/machine_spec.rb[1:1:1:10:1] | unknown | |
188
- ./spec/integration/machine_spec.rb[1:1:1:11:1] | unknown | |
189
- ./spec/integration/machine_spec.rb[1:1:1:11:2] | unknown | |
190
- ./spec/integration/machine_spec.rb[1:1:1:12] | unknown | |
191
- ./spec/integration/machine_spec.rb[1:1:1:13:1] | unknown | |
192
- ./spec/integration/machine_spec.rb[1:1:1:13:2] | unknown | |
193
- ./spec/integration/machine_spec.rb[1:1:1:14] | unknown | |
194
- ./spec/integration/machine_spec.rb[1:1:1:15] | unknown | |
195
- ./spec/integration/machine_spec.rb[1:1:1:16] | unknown | |
196
- ./spec/integration/machine_spec.rb[1:1:1:17:1] | unknown | |
197
- ./spec/integration/machine_spec.rb[1:1:1:17:2] | unknown | |
198
- ./spec/unit/chef/provisioning/aws_driver/credentials_spec.rb[1:1:1:1] | passed | 0.01546 seconds |
199
- ./spec/unit/chef/provisioning/aws_driver/credentials_spec.rb[1:1:1:2] | passed | 0.00158 seconds |
200
- ./spec/unit/chef/provisioning/aws_driver/credentials_spec.rb[1:1:2:1] | passed | 0.00138 seconds |
201
- ./spec/unit/chef/provisioning/aws_driver/credentials_spec.rb[1:1:2:2] | passed | 0.00105 seconds |
202
- ./spec/unit/chef/provisioning/aws_driver/credentials_spec.rb[1:1:3:1] | passed | 0.00099 seconds |
203
- ./spec/unit/chef/provisioning/aws_driver/credentials_spec.rb[1:1:3:2] | passed | 0.00091 seconds |
204
- ./spec/unit/chef/provisioning/aws_driver/driver_spec.rb[1:1:1:1] | passed | 0.00139 seconds |
205
- ./spec/unit/chef/provisioning/aws_driver/driver_spec.rb[1:1:2:1] | passed | 0.00088 seconds |
206
- ./spec/unit/chef/provisioning/aws_driver/driver_spec.rb[1:1:3:1] | passed | 0.0009 seconds |
207
- ./spec/unit/chef/provisioning/aws_driver/driver_spec.rb[1:1:4:1] | passed | 0.00083 seconds |
208
- ./spec/unit/chef/provisioning/aws_driver/driver_spec.rb[1:1:5:1:1] | passed | 0.00112 seconds |
209
- ./spec/unit/chef/provisioning/aws_driver/driver_spec.rb[1:1:5:2:1] | passed | 0.00091 seconds |
210
- ./spec/unit/chef/provisioning/aws_driver/driver_spec.rb[1:1:5:3:1] | passed | 0.00094 seconds |
211
- ./spec/unit/chef/provisioning/aws_driver/route53_spec.rb[1:1] | pending | 0.00002 seconds |
212
- ./spec/unit/chef/provisioning/aws_driver/route53_spec.rb[1:2] | pending | 0 seconds |
213
- ./spec/unit/chef/provisioning/aws_driver/route53_spec.rb[2:1] | passed | 0.00038 seconds |
214
- ./spec/unit/chef/provisioning/aws_driver/route53_spec.rb[2:2] | passed | 0.00039 seconds |
215
- ./spec/unit/chef/provisioning/aws_driver/route53_spec.rb[2:3:1] | passed | 0.0021 seconds |
216
- ./spec/unit/chef/provisioning/aws_driver/route53_spec.rb[2:3:2] | passed | 0.00033 seconds |
217
- ./spec/unit/chef/provisioning/aws_driver/route53_spec.rb[2:3:3] | passed | 0.00025 seconds |
218
- ./spec/unit/chef/provisioning/aws_driver/route53_spec.rb[2:3:4] | passed | 0.00025 seconds |
219
- ./spec/unit/chef/provisioning/aws_driver/route53_spec.rb[2:3:5] | passed | 0.00041 seconds |
220
- ./spec/unit/chef/provisioning/aws_driver/route53_spec.rb[2:4:1] | passed | 0.00063 seconds |