chef-provisioning-aws 2.1.0 → 2.2.0

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: 12e94cfacfbbc92d49c27bdc107bc6599246b39a
4
- data.tar.gz: ff395cba379a2881516696815943869c783a6ba1
3
+ metadata.gz: cd102f2c5f6b31f6753805e228b82ebb7b9334d2
4
+ data.tar.gz: 4d8a8ae6900e96b65ea0e065d227a1ca4157da5d
5
5
  SHA512:
6
- metadata.gz: 1897e28e1eafdf789a7b6bd46a396816d92c54bcd21731f5c1cc9e55698ae9b39fa095f6c1afa420c6a1b9ea059f7948c4c274e0e8ac2e8b7ea9fa00e212dfba
7
- data.tar.gz: 50418578ad1dc043236e1dbffe4d15cff384103e0a9295920ce8787986caee96f9705cbf7782a2bb0eeb0a2c920befc4dc66413fd3b5a002cd92d984b44715f6
6
+ metadata.gz: 1d8795996d842c96f2e86614d08ffff15f21c8cf0ee298828ec88308182679b2f6869ea8b63f96e5f0dbddc4240159574798ee57b4bd1af662240af066f75b46
7
+ data.tar.gz: 40eca83c2a5b404b66b5e0a9b8d01638c332002a568a7fc4f4847c5de3fb0a164bcdf9502dd28db542c96b1597701b62f7f080a0f87f6c846080a6d7a9407a24
@@ -11,13 +11,14 @@ Gem::Specification.new do |s|
11
11
  s.author = 'Tyler Ball'
12
12
  s.email = 'tball@chef.io'
13
13
  s.homepage = 'https://github.com/chef/chef-provisioning-aws'
14
+ s.license = 'Apache-2.0'
14
15
 
15
16
  s.required_ruby_version = ">= 2.1.9"
16
17
 
17
18
  s.add_dependency 'chef-provisioning', '>= 1.0', '< 3.0'
18
19
 
19
20
  s.add_dependency 'aws-sdk-v1', '>= 1.59.0'
20
- s.add_dependency 'aws-sdk', ['>= 2.1.26', '< 3.0']
21
+ s.add_dependency 'aws-sdk', ['>= 2.2.18', '< 3.0']
21
22
  s.add_dependency 'retryable', '~> 2.0', '>= 2.0.1'
22
23
  s.add_dependency 'ubuntu_ami', '~> 0.4', '>= 0.4.1'
23
24
 
@@ -9,7 +9,7 @@ class Chef::Provider::AwsRdsInstance < Chef::Provisioning::AWSDriver::AWSProvide
9
9
  REQUIRED_OPTIONS = %i(db_instance_identifier allocated_storage engine
10
10
  db_instance_class master_username master_user_password)
11
11
 
12
- OTHER_OPTIONS = %i(engine_version multi_az iops publicly_accessible db_name port db_subnet_group_name db_parameter_group_name)
12
+ OTHER_OPTIONS = %i(db_snapshot_identifier engine_version multi_az iops publicly_accessible db_name port db_subnet_group_name db_parameter_group_name)
13
13
 
14
14
  def update_aws_object(instance)
15
15
  Chef::Log.warn("aws_rds_instance does not support modifying a started instance")
@@ -26,7 +26,12 @@ class Chef::Provider::AwsRdsInstance < Chef::Provisioning::AWSDriver::AWSProvide
26
26
 
27
27
  def create_aws_object
28
28
  converge_by "create RDS instance #{new_resource.db_instance_identifier} in #{region}" do
29
- new_resource.driver.rds_resource.create_db_instance(options_hash)
29
+ if new_resource.db_snapshot_identifier
30
+ snap_options_hash = [:allocated_storage, :master_username, :master_user_password, :engine_version].each { |k| options_hash.delete(k) }
31
+ new_resource.driver.rds_client.restore_db_instance_from_db_snapshot(options_hash).db_instance
32
+ else
33
+ new_resource.driver.rds_resource.create_db_instance(options_hash)
34
+ end
30
35
  end
31
36
  end
32
37
 
@@ -157,6 +157,7 @@ class Chef::Provider::AwsSecurityGroup < Chef::Provisioning::AWSDriver::AWSProvi
157
157
  port_range: rule[:from_port] ? rule[:from_port]..rule[:to_port] : -1..-1,
158
158
  protocol: rule[:ip_protocol].to_s.to_sym
159
159
  }
160
+ rule[:groups].map! { |h| h.select{|x| x != :group_name } } if rule[:groups]
160
161
  add_rule(actual_rules, [ port_range ], rule[:groups]) if rule[:groups]
161
162
  add_rule(actual_rules, [ port_range ], rule[:ip_ranges].map { |r| r[:cidr_ip] }) if rule[:ip_ranges]
162
163
  end
@@ -160,9 +160,21 @@ module AWSDriver
160
160
  [ driver_url, config ]
161
161
  end
162
162
 
163
+ def deep_symbolize_keys(hash_like)
164
+ if hash_like.nil? || hash_like.empty?
165
+ return {}
166
+ end
167
+ r = {}
168
+ hash_like.each do |key, value|
169
+ value = deep_symbolize_keys(value) if value.respond_to?(:values)
170
+ r[key.to_sym] = value
171
+ end
172
+ r
173
+ end
174
+
163
175
  # Load balancer methods
164
176
  def allocate_load_balancer(action_handler, lb_spec, lb_options, machine_specs)
165
- lb_options = (lb_options || {}).to_h
177
+ lb_options = deep_symbolize_keys(lb_options)
166
178
  lb_options = AWSResource.lookup_options(lb_options, managed_entry_store: lb_spec.managed_entry_store, driver: self)
167
179
  # We delete the attributes, tags, health check, and sticky sessions here because they are not valid in the create call
168
180
  # and must be applied afterward
@@ -518,6 +530,7 @@ module AWSDriver
518
530
  end
519
531
 
520
532
  def destroy_load_balancer(action_handler, lb_spec, lb_options)
533
+ lb_options = deep_symbolize_keys(lb_options)
521
534
  return if lb_spec == nil
522
535
 
523
536
  actual_elb = load_balancer_for(lb_spec)
@@ -535,8 +548,8 @@ module AWSDriver
535
548
  # Image methods
536
549
  def allocate_image(action_handler, image_spec, image_options, machine_spec, machine_options)
537
550
  actual_image = image_for(image_spec)
538
- image_options = (image_options || {}).to_h.dup
539
- machine_options = (machine_options || {}).to_h.dup
551
+ image_options = deep_symbolize_keys(image_options)
552
+ machine_options = deep_symbolize_keys(machine_options)
540
553
  aws_tags = image_options.delete(:aws_tags) || {}
541
554
  if actual_image.nil? || !actual_image.exists? || actual_image.state.to_sym == :failed
542
555
  action_handler.perform_action "Create image #{image_spec.name} from machine #{machine_spec.name} with options #{image_options.inspect}" do
@@ -564,7 +577,7 @@ module AWSDriver
564
577
  if actual_image.nil? || !actual_image.exists?
565
578
  raise 'Cannot ready an image that does not exist'
566
579
  else
567
- image_options = (image_options || {}).to_h.dup
580
+ image_options = deep_symbolize_keys(image_options)
568
581
  aws_tags = image_options.delete(:aws_tags) || {}
569
582
  aws_tags['from-instance'] = image_spec.reference['from-instance'] if image_spec.reference['from-instance']
570
583
  converge_ec2_tags(actual_image, aws_tags, action_handler)
@@ -576,6 +589,7 @@ module AWSDriver
576
589
  end
577
590
 
578
591
  def destroy_image(action_handler, image_spec, image_options)
592
+ image_options = deep_symbolize_keys(image_options)
579
593
  # TODO the driver should automatically be set by `inline_resource`
580
594
  d = self
581
595
  Provisioning.inline_resource(action_handler) do
@@ -648,6 +662,7 @@ EOD
648
662
 
649
663
  # Machine methods
650
664
  def allocate_machine(action_handler, machine_spec, machine_options)
665
+ machine_options = deep_symbolize_keys(machine_options)
651
666
  instance = instance_for(machine_spec)
652
667
  bootstrap_options = bootstrap_options_for(action_handler, machine_spec, machine_options)
653
668
 
@@ -668,6 +683,7 @@ EOD
668
683
  end
669
684
 
670
685
  def ready_machine(action_handler, machine_spec, machine_options)
686
+ machine_options = deep_symbolize_keys(machine_options)
671
687
  instance = instance_for(machine_spec)
672
688
  converge_ec2_tags(instance, machine_options[:aws_tags], action_handler)
673
689
 
@@ -716,6 +732,7 @@ EOD
716
732
  end
717
733
 
718
734
  def stop_machine(action_handler, machine_spec, machine_options)
735
+ machine_options = deep_symbolize_keys(machine_options)
719
736
  instance = instance_for(machine_spec)
720
737
  if instance && instance.exists?
721
738
  wait_until_machine(action_handler, machine_spec, "finish coming up so we can stop it", instance) { |instance| instance.state.name != "pending" }
@@ -729,6 +746,7 @@ EOD
729
746
  end
730
747
 
731
748
  def destroy_machine(action_handler, machine_spec, machine_options)
749
+ machine_options = deep_symbolize_keys(machine_options)
732
750
  d = self
733
751
  Provisioning.inline_resource(action_handler) do
734
752
  aws_instance machine_spec.name do
@@ -849,7 +867,7 @@ EOD
849
867
  end
850
868
 
851
869
  def bootstrap_options_for(action_handler, machine_spec, machine_options)
852
- bootstrap_options = (machine_options[:bootstrap_options] || {}).to_h.dup
870
+ bootstrap_options = (machine_options[:bootstrap_options] || {}).dup
853
871
  # These are hardcoded for now - only 1 machine at a time
854
872
  bootstrap_options[:min_count] = bootstrap_options[:max_count] = 1
855
873
  bootstrap_options[:instance_type] ||= default_instance_type
@@ -1502,7 +1520,7 @@ EOD
1502
1520
  Chef::Log.warn("The machine_option ':use_private_ip_for_ssh' has been deprecated, use ':transport_address_location'")
1503
1521
  @transport_address_location_warned = true
1504
1522
  end
1505
- machine_options = Cheffish::MergedConfig.new(machine_options, {:transport_address_location => :private_ip})
1523
+ machine_options[:transport_address_location] ||= :private_ip
1506
1524
  end
1507
1525
  %w(is_windows winrm_username winrm_port winrm_password ssh_username sudo transport_address_location ssh_gateway).each do |key|
1508
1526
  machine_spec.reference[key] = machine_options[key.to_sym] if machine_options[key.to_sym]
@@ -1,7 +1,7 @@
1
1
  class Chef
2
2
  module Provisioning
3
3
  module AWSDriver
4
- VERSION = '2.1.0'
4
+ VERSION = '2.2.0'
5
5
  end
6
6
  end
7
7
  end
@@ -8,6 +8,7 @@ class Chef::Resource::AwsRdsInstance < Chef::Provisioning::AWSDriver::AWSRDSReso
8
8
 
9
9
  attribute :db_instance_identifier, kind_of: String, name_attribute: true
10
10
 
11
+ attribute :db_snapshot_identifier, kind_of: String
11
12
  attribute :engine, kind_of: String
12
13
  attribute :engine_version, kind_of: String
13
14
  attribute :db_instance_class, kind_of: String
@@ -41,7 +41,7 @@ describe Chef::Resource::AwsRdsInstance do
41
41
  parameters [{:parameter_name => "max_connections", :parameter_value => "250", :apply_method => "pending-reboot"}]
42
42
  end
43
43
 
44
- it "aws_rds_instance 'test-rds-instance' creates an rds instance that can parse the aws_rds_subnet_group and aws_rds_parameter_group", :focus do
44
+ it "aws_rds_instance 'test-rds-instance' creates an rds instance that can parse the aws_rds_subnet_group and aws_rds_parameter_group" do
45
45
  expect_recipe {
46
46
  aws_rds_instance "test-rds-instance" do
47
47
  engine "postgres"
@@ -3,68 +3,97 @@ require 'spec_helper'
3
3
  describe Chef::Resource::AwsServerCertificate do
4
4
  extend AWSSupport
5
5
 
6
+ # http://openssl.6102.n7.nabble.com/create-certificate-chain-td44046.html
7
+
6
8
  when_the_chef_12_server "exists", organization: 'foo', server_scope: :context do
7
9
  with_aws "without a VPC" do
8
10
  cert_string = <<-CERT
9
11
  -----BEGIN CERTIFICATE-----
10
- MIIB+TCCAWICAQEwDQYJKoZIhvcNAQEFBQAwRTELMAkGA1UEBhMCQVUxEzARBgNV
11
- BAgTClNvbWUtU3RhdGUxITAfBgNVBAoTGEludGVybmV0IFdpZGdpdHMgUHR5IEx0
12
- ZDAeFw0xNTExMDMyMjQ3MzdaFw0xNjExMDIyMjQ3MzdaMEUxCzAJBgNVBAYTAkFV
13
- MRMwEQYDVQQIEwpTb21lLVN0YXRlMSEwHwYDVQQKExhJbnRlcm5ldCBXaWRnaXRz
14
- IFB0eSBMdGQwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAL8NfMueVw1x7cHs
15
- a4vO1ci5Dm2X9dg1qdMS8kVrUBuQPrGk9uMEPWrh6gSdAmlrLdcazvYu3iRHJrEO
16
- JISFWQ9Z0XOw/rhihoNwieZIbtfrTRIdzicRe3VRs/Jguq/S0bgXu2Kf0AYuBPSL
17
- HEe3hOeAmoH7xpf40qmO/MfuveqDAgMBAAEwDQYJKoZIhvcNAQEFBQADgYEAll6t
18
- vEPuBQi4SEzHWjtjySQlNdkMWfGYC3A992AAvPxP/o+MlJOvyIwxUNDzku5MeJPP
19
- ey6ND1pPZVD38Yul6rRQJDUQFIAnQU2M7rNlgje/N9Fms2Z6NtnmlSi4KDf2xeUi
20
- J7kHGXgdBKW1vixZyQuxB1VQ3C+fq1gqouzZ9g8=
12
+ MIICvjCCAaYCAkE4MA0GCSqGSIb3DQEBDQUAMBgxFjAUBgNVBAMTDVppbnRlcm1l
13
+ ZGlhdGUwHhcNMTcwMzE0MTQ0NzQzWhcNMjcwMzEyMTQ0NzQzWjAxMQ4wDAYDVQQD
14
+ EwVhbGljZTEfMB0GCSqGSIb3DQEJARYQYWxpY2VAcmFuZG9tLmNvbTCCASIwDQYJ
15
+ KoZIhvcNAQEBBQADggEPADCCAQoCggEBANQep8AvCZ4pLTDahkoQlvj+R8heF74e
16
+ vH34vfyU5TNrmoWTvlGDEwoCVEEcI8M4R2g9XYhB7SIqTDbJn5T6aLTsaTyMr/g0
17
+ p6Fiofd/k5pX5XuJDvya3e91Ixbu/qvvHyNlnLU1ba7HotqXcTJqMiW0rYEVE+PV
18
+ KctGByOlp5d34ytFguZZsPVR+Ma7HKb55ksIOkEa7VNQhL6hGRU+Ivnuvu/TJtmZ
19
+ lzb/9GUrs5L6JH2dMW9LUzvIT5rbAM2ntm4R1W+tU7Vb8gX6Q1ir5oTfRzENAqJZ
20
+ uFBGUaLhJzJhufD40c25cvgUVFQaRghFjHdqf2pqQsAS8LJYbj0uR8MCAwEAATAN
21
+ BgkqhkiG9w0BAQ0FAAOCAQEAEvmMK6C0AU2ww5t+/mS65laGTKdlVBvm3qqX1Fo1
22
+ MDBCVqVc51m69lwHgNxWzt8dcEFFT/d1xlDE2JWleSqH5/Dsj9AcYla4hTr5f76c
23
+ 7M4LcYwuO+s/eTFkTl92DJiXVDczlsN/w1+lvt3Uw5ReKlMBMK+dbPUpZ/yl+NrU
24
+ 3pf98aoP7m+oocl5lxksHse+klOkvlT26GfQ7JgGlWIO2xAhUtNkh6feFxZ1dP0O
25
+ 45RTqOorOuxSV6PbgEahmsElRbAmxs/iSRi22340R7/rd8+g7Y+3olBFJsrzcYr4
26
+ 1t8FiEUNUxoJIIPnHi/QIQxzmiQ3LZNEmtCnAPMeci1gug==
21
27
  -----END CERTIFICATE-----
22
28
  CERT
23
29
 
24
30
  private_key_string = <<-KEY
25
31
  -----BEGIN RSA PRIVATE KEY-----
26
- MIICXQIBAAKBgQC/DXzLnlcNce3B7GuLztXIuQ5tl/XYNanTEvJFa1AbkD6xpPbj
27
- BD1q4eoEnQJpay3XGs72Lt4kRyaxDiSEhVkPWdFzsP64YoaDcInmSG7X600SHc4n
28
- EXt1UbPyYLqv0tG4F7tin9AGLgT0ixxHt4TngJqB+8aX+NKpjvzH7r3qgwIDAQAB
29
- AoGANKyuTKGCVNWl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fw8MxHGt3u/kDL1pbiVyr7gz
54
+ GDlPsQKBgQC+eFyfQnmcJHtB+aLy++JZsHtw03vIgmjSXYJYtqeyOYFdDD8gxTPv
55
+ M4qaRvofyGQ4CVSGScInEcc7S+ACWoRvNuc0APgS8UFmJ15/fpptdlA5irhrMLHA
56
+ 3aH/+CxfbU+w/3tOoKvF91HIhsF+QXAUm7XNssGqYAe7m1gQYfGy4Q==
39
57
  -----END RSA PRIVATE KEY-----
40
58
  KEY
41
59
 
60
+ # TODO I cannot figure out how to get the fucking chain working
42
61
  certificate_chain_string = <<-CHAIN
43
62
  -----BEGIN CERTIFICATE-----
44
- MIIB+TCCAWICAQEwDQYJKoZIhvcNAQEFBQAwRTELMAkGA1UEBhMCQVUxEzARBgNV
45
- BAgTClNvbWUtU3RhdGUxITAfBgNVBAoTGEludGVybmV0IFdpZGdpdHMgUHR5IEx0
46
- ZDAeFw0xNTExMDMyMjQ0NThaFw0xNjExMDIyMjQ0NThaMEUxCzAJBgNVBAYTAkFV
47
- MRMwEQYDVQQIEwpTb21lLVN0YXRlMSEwHwYDVQQKExhJbnRlcm5ldCBXaWRnaXRz
48
- IFB0eSBMdGQwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBALwXCWh7I1tkNGRs
49
- Ou7KuP6janhXZSvSK6+rmAzWMPPhpyuK1u9zOLnyHcOwmZPPQM+7fN7U/artYW7S
50
- pq3LX4DJkZULDjTzkZvHM8hSHlVlyFDxtFWsoIE28fTArKsRQ6wrJZDkCNt4HQSk
51
- 2XPpYrtPwzdak5amNVrxrovyb1fNAgMBAAEwDQYJKoZIhvcNAQEFBQADgYEAMk6n
52
- iESDfQisfc8M93WmVBOc2nnGsJ6tOSHaiLYhbyFGhQxW40B4PmqzkBVuC+zllviZ
53
- sYCv9ZFuccoBZwrkfHIaJT292OYu3vu24++f3+GS+wkkxiY1gkObhaZzY5OGL7fU
54
- 7iR07ALoi4F3RHqOJZfY9XnsDo4gMruH9Z9TS+U=
63
+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TxSOKy3lXpow1omyUGi3LkPu
86
+ had+lmZFESYPjWl92o+W8MgnzA8JJkyV3opEyaEnuubPM9XqG+eNJs1muFenPFcq
87
+ B9kmKhpJM9wW6EXgIQLsc45IWE9lPYYMr6CM+O0rJn2mzB1z6XVT43uhYuugKYKu
88
+ dAO8EBgkiQqi+OP26QECAwEAAaNyMHAwHQYDVR0OBBYEFPUXQ7zeACfHkXSqOe0A
89
+ 2o+gxvwbMEEGA1UdIwQ6MDiAFPUXQ7zeACfHkXSqOe0A2o+gxvwboRWkEzARMQ8w
90
+ DQYDVQQDEwZEYVJvb3SCCQDWrPl7rFQQcDAMBgNVHRMEBTADAQH/MA0GCSqGSIb3
91
+ DQEBDQUAA4IBAQB9Iq1uGRYA215HR/6Lmm6uJOeZaJGBb4FyZL4XlujbhE/yITNk
92
+ bRznsa1HGyqe/SqMuCnvjn55YsWiztex+X9pv4KALtQ/pASP5cv/HTF5Uz/qnEuV
93
+ 5/n2EN+XYYl4IyF1CUF2DQayJgORtKL3t1izfpc5RFhwmEe7bZMSLo6uktSjdP09
94
+ PEFyx8SsrLOlfA574rg6GSIpBmHU4UxdEK2bSU60vbjmCt+SHqbkX10DhI63TLGB
95
+ qxVDWaaRPQKiQQrIirUBbhtspZz6HBOtrnj+u7wWAGT4q+Kq01zjNfxTbvaK8n2D
96
+ P7aqsLeDrZUApm9OYbf89AiFJQPuKO1BjUvF
68
97
  -----END CERTIFICATE-----
69
98
  CHAIN
70
99
 
@@ -334,7 +334,7 @@ describe Chef::Resource::LoadBalancer do
334
334
  )
335
335
 
336
336
  listener_descriptions = driver.elb_client.describe_load_balancers(load_balancer_names: ['test-load-balancer'])[:load_balancer_descriptions][0][:listener_descriptions]
337
- expect(listener_descriptions.size).to eql(1)
337
+ expect(listener_descriptions.size).to eql(2)
338
338
  https_listener = listener_descriptions.detect { |ld| ld[:listener][:load_balancer_port] == 443 }
339
339
  expect(https_listener[:policy_names]).to include('test-load-balancer-sticky-session-policy')
340
340
  end
@@ -0,0 +1,219 @@
1
+ example_id | status | run_time |
2
+ --------------------------------------------------------------------- | ------- | ---------------------- |
3
+ ./spec/integration/aws_auto_scaling_group_spec.rb[1:1:1:1] | passed | 0.88554 seconds |
4
+ ./spec/integration/aws_auto_scaling_group_spec.rb[1:1:1:2] | passed | 1.51 seconds |
5
+ ./spec/integration/aws_auto_scaling_group_spec.rb[1:1:1:3] | passed | 1.01 seconds |
6
+ ./spec/integration/aws_auto_scaling_group_spec.rb[1:1:1:4:1] | passed | 0.59135 seconds |
7
+ ./spec/integration/aws_auto_scaling_group_spec.rb[1:1:1:4:2] | passed | 0.59749 seconds |
8
+ ./spec/integration/aws_cache_subnet_group_spec.rb[1:1:1:1] | passed | 1.66 seconds |
9
+ ./spec/integration/aws_cloudsearch_domain_spec.rb[1:1:1:1] | passed | 3.87 seconds |
10
+ ./spec/integration/aws_cloudsearch_domain_spec.rb[1:1:1:2] | passed | 0.11963 seconds |
11
+ ./spec/integration/aws_cloudwatch_alarm_spec.rb[1:1:1:1] | passed | 0.82543 seconds |
12
+ ./spec/integration/aws_cloudwatch_alarm_spec.rb[1:1:1:2] | passed | 1.72 seconds |
13
+ ./spec/integration/aws_cloudwatch_alarm_spec.rb[1:1:1:3:1] | passed | 1.55 seconds |
14
+ ./spec/integration/aws_cloudwatch_alarm_spec.rb[1:1:1:4:1] | passed | 1.92 seconds |
15
+ ./spec/integration/aws_cloudwatch_alarm_spec.rb[1:1:1:4:2] | passed | 1.06 seconds |
16
+ ./spec/integration/aws_cloudwatch_alarm_spec.rb[1:1:1:4:3] | passed | 0.65878 seconds |
17
+ ./spec/integration/aws_dhcp_options_spec.rb[1:1:1:1] | passed | 1.61 seconds |
18
+ ./spec/integration/aws_dhcp_options_spec.rb[1:1:1:2] | passed | 1.94 seconds |
19
+ ./spec/integration/aws_dhcp_options_spec.rb[1:1:1:3:1] | passed | 1.28 seconds |
20
+ ./spec/integration/aws_dhcp_options_spec.rb[1:1:1:3:2] | passed | 1.1 seconds |
21
+ ./spec/integration/aws_ebs_volume_spec.rb[1:1:1:1] | passed | 9.34 seconds |
22
+ ./spec/integration/aws_ebs_volume_spec.rb[1:1:1:2:1] | passed | 8.82 seconds |
23
+ ./spec/integration/aws_ebs_volume_spec.rb[1:1:1:3] | passed | 8.94 seconds |
24
+ ./spec/integration/aws_ebs_volume_spec.rb[1:1:1:4] | passed | 9.67 seconds |
25
+ ./spec/integration/aws_ebs_volume_spec.rb[1:1:1:5] | passed | 10.62 seconds |
26
+ ./spec/integration/aws_ebs_volume_spec.rb[1:1:1:6] | passed | 10.09 seconds |
27
+ ./spec/integration/aws_ebs_volume_spec.rb[1:1:1:7:1] | passed | 14.87 seconds |
28
+ ./spec/integration/aws_ebs_volume_spec.rb[1:1:1:7:2] | passed | 10.92 seconds |
29
+ ./spec/integration/aws_ebs_volume_spec.rb[1:1:1:7:3] | passed | 9.17 seconds |
30
+ ./spec/integration/aws_eip_address_spec.rb[1:1:1:1] | passed | 1.09 seconds |
31
+ ./spec/integration/aws_eip_address_spec.rb[1:1:1:2] | passed | 0.10888 seconds |
32
+ ./spec/integration/aws_eip_address_spec.rb[1:1:1:3:1] | passed | 0.70008 seconds |
33
+ ./spec/integration/aws_eip_address_spec.rb[1:1:1:3:2] | passed | 0.88225 seconds |
34
+ ./spec/integration/aws_eip_address_spec.rb[1:1:1:4:1] | passed | 0.63833 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.4917 seconds |
37
+ ./spec/integration/aws_elasticsearch_domain_spec.rb[1:1:1:2] | passed | 3.45 seconds |
38
+ ./spec/integration/aws_elasticsearch_domain_spec.rb[1:1:1:3:1] | passed | 1.66 seconds |
39
+ ./spec/integration/aws_elasticsearch_domain_spec.rb[1:1:1:3:2] | passed | 1.34 seconds |
40
+ ./spec/integration/aws_elasticsearch_domain_spec.rb[1:1:1:3:3] | passed | 1.83 seconds |
41
+ ./spec/integration/aws_elasticsearch_domain_spec.rb[1:1:1:3:4] | passed | 3.43 seconds |
42
+ ./spec/integration/aws_iam_instance_profile_spec.rb[1:1:1:1] | passed | 0.7351 seconds |
43
+ ./spec/integration/aws_iam_instance_profile_spec.rb[1:1:1:2:1] | passed | 1.54 seconds |
44
+ ./spec/integration/aws_iam_instance_profile_spec.rb[1:1:1:2:2:1] | passed | 1.38 seconds |
45
+ ./spec/integration/aws_iam_instance_profile_spec.rb[1:1:1:2:2:2] | passed | 1.38 seconds |
46
+ ./spec/integration/aws_iam_instance_profile_spec.rb[1:1:1:2:2:3:1] | passed | 2.13 seconds |
47
+ ./spec/integration/aws_iam_role_spec.rb[1:1:1:1] | passed | 0.63904 seconds |
48
+ ./spec/integration/aws_iam_role_spec.rb[1:1:1:2] | passed | 1.27 seconds |
49
+ ./spec/integration/aws_iam_role_spec.rb[1:1:1:3:1] | passed | 1.83 seconds |
50
+ ./spec/integration/aws_iam_role_spec.rb[1:1:1:3:2] | passed | 1.32 seconds |
51
+ ./spec/integration/aws_iam_role_spec.rb[1:1:1:3:3] | passed | 1.04 seconds |
52
+ ./spec/integration/aws_internet_gateway_spec.rb[1:1:1:1] | passed | 1.07 seconds |
53
+ ./spec/integration/aws_internet_gateway_spec.rb[1:1:1:2] | passed | 2.3 seconds |
54
+ ./spec/integration/aws_internet_gateway_spec.rb[1:1:1:3:1] | passed | 1.81 seconds |
55
+ ./spec/integration/aws_internet_gateway_spec.rb[1:1:1:4:1] | failed | 0.00001 seconds |
56
+ ./spec/integration/aws_internet_gateway_spec.rb[1:1:1:5:1] | failed | 0.53542 seconds |
57
+ ./spec/integration/aws_internet_gateway_spec.rb[1:1:1:5:2:1] | passed | 4.14 seconds |
58
+ ./spec/integration/aws_internet_gateway_spec.rb[1:1:1:5:3:1] | passed | 1.29 seconds |
59
+ ./spec/integration/aws_internet_gateway_spec.rb[1:1:1:5:3:2] | passed | 2.02 seconds |
60
+ ./spec/integration/aws_internet_gateway_spec.rb[1:1:1:5:4:1] | failed | 0.30151 seconds |
61
+ ./spec/integration/aws_key_pair_spec.rb[1:1:1:1] | passed | 1.1 seconds |
62
+ ./spec/integration/aws_nat_gateway_spec.rb[1:1:1:1:1] | failed | 0.00001 seconds |
63
+ ./spec/integration/aws_nat_gateway_spec.rb[1:1:1:2:1:1] | failed | 0 seconds |
64
+ ./spec/integration/aws_network_acl_spec.rb[1:1:1:1] | passed | 1.71 seconds |
65
+ ./spec/integration/aws_network_acl_spec.rb[1:1:1:2] | failed | 0.87024 seconds |
66
+ ./spec/integration/aws_network_acl_spec.rb[1:1:1:3:1] | passed | 1.93 seconds |
67
+ ./spec/integration/aws_network_acl_spec.rb[1:1:1:4:1] | failed | 1.87 seconds |
68
+ ./spec/integration/aws_network_acl_spec.rb[1:1:1:5] | passed | 2.65 seconds |
69
+ ./spec/integration/aws_network_acl_spec.rb[1:1:1:6:1] | passed | 1.39 seconds |
70
+ ./spec/integration/aws_network_acl_spec.rb[1:1:1:6:2] | passed | 1.41 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 | 2.97 seconds |
73
+ ./spec/integration/aws_network_interface_spec.rb[1:1:1:1:3:1] | passed | 1.68 seconds |
74
+ ./spec/integration/aws_network_interface_spec.rb[1:1:1:1:3:2] | passed | 1.69 seconds |
75
+ ./spec/integration/aws_rds_instance_spec.rb[1:1:1:1] | passed | 25.32 seconds |
76
+ ./spec/integration/aws_rds_instance_spec.rb[1:1:1:2] | passed | 23.65 seconds |
77
+ ./spec/integration/aws_rds_instance_spec.rb[1:1:1:3] | passed | 25.85 seconds |
78
+ ./spec/integration/aws_rds_instance_spec.rb[1:1:1:4:1] | passed | 1.54 seconds |
79
+ ./spec/integration/aws_rds_instance_spec.rb[1:1:1:4:2] | passed | 1.54 seconds |
80
+ ./spec/integration/aws_rds_parameter_group_spec.rb[1:1:1:1] | passed | 2.33 seconds |
81
+ ./spec/integration/aws_rds_parameter_group_spec.rb[1:1:1:2] | passed | 2.61 seconds |
82
+ ./spec/integration/aws_rds_parameter_group_spec.rb[1:1:1:3] | passed | 3.84 seconds |
83
+ ./spec/integration/aws_rds_parameter_group_spec.rb[1:1:1:4:1] | passed | 2.21 seconds |
84
+ ./spec/integration/aws_rds_subnet_group_spec.rb[1:1:1:1] | passed | 2.31 seconds |
85
+ ./spec/integration/aws_rds_subnet_group_spec.rb[1:1:1:2] | passed | 2.25 seconds |
86
+ ./spec/integration/aws_rds_subnet_group_spec.rb[1:1:1:3:1] | passed | 1.59 seconds |
87
+ ./spec/integration/aws_rds_subnet_group_spec.rb[1:1:1:3:2] | passed | 1.74 seconds |
88
+ ./spec/integration/aws_route53_hosted_zone_spec.rb[1:1:1:1:1:1] | passed | 1.21 seconds |
89
+ ./spec/integration/aws_route53_hosted_zone_spec.rb[1:1:1:1:1:2] | passed | 0.91604 seconds |
90
+ ./spec/integration/aws_route53_hosted_zone_spec.rb[1:1:1:1:1:3] | passed | 0.0013 seconds |
91
+ ./spec/integration/aws_route53_hosted_zone_spec.rb[1:1:1:1:1:4] | passed | 2.43 seconds |
92
+ ./spec/integration/aws_route53_hosted_zone_spec.rb[1:1:1:1:1:5] | passed | 1.77 seconds |
93
+ ./spec/integration/aws_route53_hosted_zone_spec.rb[1:1:1:1:2:1] | passed | 0.04001 seconds |
94
+ ./spec/integration/aws_route53_hosted_zone_spec.rb[1:1:1:1:2:2] | passed | 0.03531 seconds |
95
+ ./spec/integration/aws_route53_hosted_zone_spec.rb[1:1:1:1:2:3] | passed | 1.56 seconds |
96
+ ./spec/integration/aws_route53_hosted_zone_spec.rb[1:1:1:1:2:4] | passed | 1.45 seconds |
97
+ ./spec/integration/aws_route53_hosted_zone_spec.rb[1:1:1:1:2:5] | passed | 0.03584 seconds |
98
+ ./spec/integration/aws_route53_hosted_zone_spec.rb[1:1:1:1:2:6] | passed | 2.18 seconds |
99
+ ./spec/integration/aws_route53_hosted_zone_spec.rb[1:1:1:1:2:7] | passed | 3.85 seconds |
100
+ ./spec/integration/aws_route53_hosted_zone_spec.rb[1:1:1:1:2:8] | passed | 2.59 seconds |
101
+ ./spec/integration/aws_route53_hosted_zone_spec.rb[1:1:1:1:2:9] | passed | 1.31 seconds |
102
+ ./spec/integration/aws_route53_hosted_zone_spec.rb[1:1:1:1:2:10] | passed | 2.4 seconds |
103
+ ./spec/integration/aws_route53_hosted_zone_spec.rb[1:1:1:1:2:11:1] | passed | 3.24 seconds |
104
+ ./spec/integration/aws_route53_hosted_zone_spec.rb[1:1:1:1:2:11:2] | passed | 0.00191 seconds |
105
+ ./spec/integration/aws_route53_hosted_zone_spec.rb[1:1:1:1:2:11:3] | passed | 0.03762 seconds |
106
+ ./spec/integration/aws_route53_hosted_zone_spec.rb[1:1:1:1:2:12:1] | passed | 1.6 seconds |
107
+ ./spec/integration/aws_route53_hosted_zone_spec.rb[1:1:1:1:2:12:2] | passed | 3.84 seconds |
108
+ ./spec/integration/aws_route53_hosted_zone_spec.rb[1:1:1:1:2:12:3] | passed | 2.28 seconds |
109
+ ./spec/integration/aws_route53_hosted_zone_spec.rb[1:1:1:1:2:12:4] | passed | 2.89 seconds |
110
+ ./spec/integration/aws_route53_hosted_zone_spec.rb[1:1:1:1:2:12:5] | passed | 1.99 seconds |
111
+ ./spec/integration/aws_route53_hosted_zone_spec.rb[1:1:1:1:2:12:6] | passed | 2.4 seconds |
112
+ ./spec/integration/aws_route53_hosted_zone_spec.rb[1:1:1:1:2:12:7] | passed | 2.37 seconds |
113
+ ./spec/integration/aws_route53_hosted_zone_spec.rb[1:1:1:1:2:12:8] | passed | 2.98 seconds |
114
+ ./spec/integration/aws_route_table_spec.rb[1:1:1:1] | passed | 1.63 seconds |
115
+ ./spec/integration/aws_route_table_spec.rb[1:1:1:2] | passed | 1.98 seconds |
116
+ ./spec/integration/aws_route_table_spec.rb[1:1:1:3] | passed | 3.69 seconds |
117
+ ./spec/integration/aws_route_table_spec.rb[1:1:1:4:1] | passed | 2.95 seconds |
118
+ ./spec/integration/aws_route_table_spec.rb[1:1:1:5:1] | passed | 1.93 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.92 seconds |
121
+ ./spec/integration/aws_route_table_spec.rb[1:1:1:8:1] | passed | 1.46 seconds |
122
+ ./spec/integration/aws_route_table_spec.rb[1:1:1:8:2] | passed | 1.05 seconds |
123
+ ./spec/integration/aws_route_table_spec.rb[1:1:2:1] | passed | 4.87 seconds |
124
+ ./spec/integration/aws_s3_bucket_spec.rb[1:1:1:1] | passed | 1.11 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.87232 seconds |
127
+ ./spec/integration/aws_s3_bucket_spec.rb[1:1:1:3:2] | pending | 0.82578 seconds |
128
+ ./spec/integration/aws_s3_bucket_spec.rb[1:1:2:1] | passed | 1.56 seconds |
129
+ ./spec/integration/aws_security_group_spec.rb[1:1:1:1] | passed | 2.51 seconds |
130
+ ./spec/integration/aws_security_group_spec.rb[1:1:1:2] | passed | 6.21 seconds |
131
+ ./spec/integration/aws_security_group_spec.rb[1:1:1:3] | passed | 0.28898 seconds |
132
+ ./spec/integration/aws_security_group_spec.rb[1:1:1:4] | passed | 2.68 seconds |
133
+ ./spec/integration/aws_security_group_spec.rb[1:1:1:5:1] | passed | 1.81 seconds |
134
+ ./spec/integration/aws_security_group_spec.rb[1:1:1:5:2] | passed | 1.43 seconds |
135
+ ./spec/integration/aws_security_group_spec.rb[1:1:2:1] | passed | 2.52 seconds |
136
+ ./spec/integration/aws_security_group_spec.rb[1:1:2:2] | passed | 38.41 seconds |
137
+ ./spec/integration/aws_security_group_spec.rb[1:1:2:3] | passed | 42.38 seconds |
138
+ ./spec/integration/aws_security_group_spec.rb[1:1:3:1] | failed | 0.00001 seconds |
139
+ ./spec/integration/aws_security_group_spec.rb[1:1:3:2] | failed | 0 seconds |
140
+ ./spec/integration/aws_server_certificate_spec.rb[1:1:1:1] | failed | 0.40575 seconds |
141
+ ./spec/integration/aws_server_certificate_spec.rb[1:1:1:2] | passed | 0.81313 seconds |
142
+ ./spec/integration/aws_subnet_spec.rb[1:1:1:1] | passed | 2.56 seconds |
143
+ ./spec/integration/aws_subnet_spec.rb[1:1:1:2] | passed | 4.65 seconds |
144
+ ./spec/integration/aws_subnet_spec.rb[1:1:1:3] | passed | 3.11 seconds |
145
+ ./spec/integration/aws_subnet_spec.rb[1:1:1:4:1] | passed | 1 second |
146
+ ./spec/integration/aws_subnet_spec.rb[1:1:1:4:2] | passed | 1.13 seconds |
147
+ ./spec/integration/aws_vpc_peering_connection_spec.rb[1:1:1:1] | passed | 0.06914 seconds |
148
+ ./spec/integration/aws_vpc_peering_connection_spec.rb[1:1:1:2] | passed | 2.24 seconds |
149
+ ./spec/integration/aws_vpc_peering_connection_spec.rb[1:1:1:3] | passed | 2.92 seconds |
150
+ ./spec/integration/aws_vpc_peering_connection_spec.rb[1:1:1:4] | passed | 1.66 seconds |
151
+ ./spec/integration/aws_vpc_peering_connection_spec.rb[1:1:1:5] | passed | 1.78 seconds |
152
+ ./spec/integration/aws_vpc_spec.rb[1:1:1:1:1] | passed | 3.05 seconds |
153
+ ./spec/integration/aws_vpc_spec.rb[1:1:1:1:2] | passed | 3.35 seconds |
154
+ ./spec/integration/aws_vpc_spec.rb[1:1:1:1:3] | passed | 8.71 seconds |
155
+ ./spec/integration/aws_vpc_spec.rb[1:1:1:2:1:1] | passed | 2.37 seconds |
156
+ ./spec/integration/aws_vpc_spec.rb[1:1:1:3] | passed | 3.06 seconds |
157
+ ./spec/integration/aws_vpc_spec.rb[1:1:1:4:1] | passed | 1.04 seconds |
158
+ ./spec/integration/aws_vpc_spec.rb[1:1:1:4:2] | passed | 1.31 seconds |
159
+ ./spec/integration/aws_vpc_spec.rb[1:1:1:5] | passed | 0.04034 seconds |
160
+ ./spec/integration/aws_vpc_spec.rb[1:1:1:6:1] | passed | 1.82 seconds |
161
+ ./spec/integration/aws_vpc_spec.rb[1:1:1:7:1] | passed | 59.72 seconds |
162
+ ./spec/integration/load_balancer_spec.rb[1:1:1:1] | passed | 7.14 seconds |
163
+ ./spec/integration/load_balancer_spec.rb[1:1:1:2:1] | failed | 10.89 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.60727 seconds |
168
+ ./spec/integration/load_balancer_spec.rb[1:1:1:5] | passed | 2.2 seconds |
169
+ ./spec/integration/load_balancer_spec.rb[1:1:1:6:1] | passed | 0.7723 seconds |
170
+ ./spec/integration/load_balancer_spec.rb[1:1:1:6:2] | passed | 0.76676 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 | 1 minute 56.44 seconds |
179
+ ./spec/integration/machine_spec.rb[1:1:1:2] | passed | 1 minute 13.22 seconds |
180
+ ./spec/integration/machine_spec.rb[1:1:1:3] | passed | 4 minutes 20.7 seconds |
181
+ ./spec/integration/machine_spec.rb[1:1:1:4] | passed | 3 minutes 48.9 seconds |
182
+ ./spec/integration/machine_spec.rb[1:1:1:5] | failed | 15.7 seconds |
183
+ ./spec/integration/machine_spec.rb[1:1:1:6] | passed | 1 minute 54.81 seconds |
184
+ ./spec/integration/machine_spec.rb[1:1:1:7] | passed | 3 minutes 40.7 seconds |
185
+ ./spec/integration/machine_spec.rb[1:1:1:8] | passed | 3 minutes 27.7 seconds |
186
+ ./spec/integration/machine_spec.rb[1:1:1:9:1] | failed | 17.34 seconds |
187
+ ./spec/integration/machine_spec.rb[1:1:1:10:1] | failed | 41.05 seconds |
188
+ ./spec/integration/machine_spec.rb[1:1:1:10:2] | passed | 2 minutes 6.8 seconds |
189
+ ./spec/integration/machine_spec.rb[1:1:1:11] | passed | 6 minutes 16 seconds |
190
+ ./spec/integration/machine_spec.rb[1:1:1:12:1] | passed | 1 minute 36.35 seconds |
191
+ ./spec/integration/machine_spec.rb[1:1:1:12:2] | passed | 2 minutes 18.4 seconds |
192
+ ./spec/integration/machine_spec.rb[1:1:1:13] | passed | 0.03542 seconds |
193
+ ./spec/integration/machine_spec.rb[1:1:1:14] | passed | 1 minute 5.8 seconds |
194
+ ./spec/integration/machine_spec.rb[1:1:1:15] | passed | 19.16 seconds |
195
+ ./spec/integration/machine_spec.rb[1:1:1:16:1] | failed | 4 minutes 22.8 seconds |
196
+ ./spec/integration/machine_spec.rb[1:1:1:16:2] | failed | 4 minutes 11.7 seconds |
197
+ ./spec/unit/chef/provisioning/aws_driver/credentials_spec.rb[1:1:1:1] | passed | 0.0157 seconds |
198
+ ./spec/unit/chef/provisioning/aws_driver/credentials_spec.rb[1:1:1:2] | passed | 0.00136 seconds |
199
+ ./spec/unit/chef/provisioning/aws_driver/credentials_spec.rb[1:1:2:1] | passed | 0.00097 seconds |
200
+ ./spec/unit/chef/provisioning/aws_driver/credentials_spec.rb[1:1:2:2] | passed | 0.00111 seconds |
201
+ ./spec/unit/chef/provisioning/aws_driver/credentials_spec.rb[1:1:3:1] | passed | 0.00158 seconds |
202
+ ./spec/unit/chef/provisioning/aws_driver/credentials_spec.rb[1:1:3:2] | passed | 0.00137 seconds |
203
+ ./spec/unit/chef/provisioning/aws_driver/driver_spec.rb[1:1:1:1] | passed | 0.00684 seconds |
204
+ ./spec/unit/chef/provisioning/aws_driver/driver_spec.rb[1:1:2:1] | passed | 0.00189 seconds |
205
+ ./spec/unit/chef/provisioning/aws_driver/driver_spec.rb[1:1:3:1] | passed | 0.00119 seconds |
206
+ ./spec/unit/chef/provisioning/aws_driver/driver_spec.rb[1:1:4:1] | passed | 0.00102 seconds |
207
+ ./spec/unit/chef/provisioning/aws_driver/driver_spec.rb[1:1:5:1:1] | passed | 0.00097 seconds |
208
+ ./spec/unit/chef/provisioning/aws_driver/driver_spec.rb[1:1:5:2:1] | passed | 0.00083 seconds |
209
+ ./spec/unit/chef/provisioning/aws_driver/driver_spec.rb[1:1:5:3:1] | passed | 0.00092 seconds |
210
+ ./spec/unit/chef/provisioning/aws_driver/route53_spec.rb[1:1] | pending | 0.00001 seconds |
211
+ ./spec/unit/chef/provisioning/aws_driver/route53_spec.rb[1:2] | pending | 0 seconds |
212
+ ./spec/unit/chef/provisioning/aws_driver/route53_spec.rb[2:1] | passed | 0.00039 seconds |
213
+ ./spec/unit/chef/provisioning/aws_driver/route53_spec.rb[2:2] | passed | 0.0003 seconds |
214
+ ./spec/unit/chef/provisioning/aws_driver/route53_spec.rb[2:3:1] | passed | 0.00153 seconds |
215
+ ./spec/unit/chef/provisioning/aws_driver/route53_spec.rb[2:3:2] | passed | 0.0004 seconds |
216
+ ./spec/unit/chef/provisioning/aws_driver/route53_spec.rb[2:3:3] | passed | 0.00024 seconds |
217
+ ./spec/unit/chef/provisioning/aws_driver/route53_spec.rb[2:3:4] | passed | 0.00027 seconds |
218
+ ./spec/unit/chef/provisioning/aws_driver/route53_spec.rb[2:3:5] | passed | 0.00049 seconds |
219
+ ./spec/unit/chef/provisioning/aws_driver/route53_spec.rb[2:4:1] | passed | 0.0006 seconds |
@@ -24,6 +24,7 @@ RSpec.configure do |rspec|
24
24
  # rspec.order = 'random'
25
25
  rspec.expect_with(:rspec) { |c| c.syntax = :expect }
26
26
  # rspec.before { allow($stdout).to receive(:write) }
27
+ rspec.example_status_persistence_file_path = "spec/persistence_file.txt"
27
28
  end
28
29
 
29
30
  #Chef::Log.level = :debug
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.1.0
4
+ version: 2.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tyler Ball
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-11-23 00:00:00.000000000 Z
11
+ date: 2017-03-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: chef-provisioning
@@ -50,7 +50,7 @@ dependencies:
50
50
  requirements:
51
51
  - - ">="
52
52
  - !ruby/object:Gem::Version
53
- version: 2.1.26
53
+ version: 2.2.18
54
54
  - - "<"
55
55
  - !ruby/object:Gem::Version
56
56
  version: '3.0'
@@ -60,7 +60,7 @@ dependencies:
60
60
  requirements:
61
61
  - - ">="
62
62
  - !ruby/object:Gem::Version
63
- version: 2.1.26
63
+ version: 2.2.18
64
64
  - - "<"
65
65
  - !ruby/object:Gem::Version
66
66
  version: '3.0'
@@ -250,12 +250,14 @@ files:
250
250
  - spec/integration/machine_batch_spec.rb
251
251
  - spec/integration/machine_image_spec.rb
252
252
  - spec/integration/machine_spec.rb
253
+ - spec/persistence_file.txt
253
254
  - spec/spec_helper.rb
254
255
  - spec/unit/chef/provisioning/aws_driver/credentials_spec.rb
255
256
  - spec/unit/chef/provisioning/aws_driver/driver_spec.rb
256
257
  - spec/unit/chef/provisioning/aws_driver/route53_spec.rb
257
258
  homepage: https://github.com/chef/chef-provisioning-aws
258
- licenses: []
259
+ licenses:
260
+ - Apache-2.0
259
261
  metadata: {}
260
262
  post_install_message:
261
263
  rdoc_options: []