vm_shepherd 1.12.2 → 1.12.3

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: 7efd5aa167b8ad72c3c5113210acf49609a0510e
4
- data.tar.gz: 0edd128463ccfe39c29cbf67390c1c70d9ff7713
3
+ metadata.gz: 0cb12776aa93faaae835823d613748e44659bacf
4
+ data.tar.gz: 8c1ea6a223a2bfd526c7cbd9c271bff1a2e8623a
5
5
  SHA512:
6
- metadata.gz: 98993056aee04069dcaff0890165f153a2c89bd6bd0b1e4e32ec805c6a4711f19904659b690064a44c5e44203c8d73068cc92bd7b56d156e5079d0264f5d4b05
7
- data.tar.gz: 484bd8f7df1fd9983f184a9cae973baab544b68b7d0fd1aa6bf063534f2362678907ad43f962f34535b29cf1421cc1c5cd31e2363bc3428fb7991408e5eed7f6
6
+ metadata.gz: 725225e34902087f74f08f683cd4e7e1540287eb3b7f2c82f5ed4f2274c5391208003a1f73a3e386b5ad6d162524002d6b43adf263c073a52b0913959205f5b0
7
+ data.tar.gz: 5b0e55b30b1a643e2769d870f8e78ffd0695264fad8d287f265a26161490b975409aa1035aa1d0da8f24c49b9e7679efb67657ef3e33518a9ec85d348ba80f28
@@ -34,7 +34,7 @@ module VmShepherd
34
34
  stack = cfm.stacks.create(env_config.fetch(:stack_name), template, parameters: env_config.fetch(:parameters), capabilities: ['CAPABILITY_IAM'])
35
35
 
36
36
  logger.info("Waiting for status: #{CREATE_COMPLETE}")
37
- retry_until(retry_limit: 30, retry_interval: 300) do
37
+ retry_until(retry_limit: 60, retry_interval: 30) do
38
38
  status = stack.status
39
39
  logger.info("current stack status: #{status}")
40
40
  case status
@@ -1,3 +1,3 @@
1
1
  module VmShepherd
2
- VERSION = '1.12.2'.freeze
2
+ VERSION = '1.12.3'.freeze
3
3
  end
@@ -72,7 +72,7 @@ module VmShepherd
72
72
 
73
73
  describe 'cloudformation' do
74
74
  it 'polls the status every 300 seconds' do
75
- expect(ami_manager).to receive(:retry_until).with(retry_limit: 30, retry_interval: 300)
75
+ expect(ami_manager).to receive(:retry_until).with(retry_limit: 60, retry_interval: 30)
76
76
 
77
77
  ami_manager.prepare_environment(cloudformation_template_file.path)
78
78
  end
@@ -97,7 +97,7 @@ module VmShepherd
97
97
 
98
98
  it 'stops retrying after 30 times' do
99
99
  expect(stack).to receive(:status).and_return('CREATE_IN_PROGRESS').
100
- exactly(30).times
100
+ exactly(60).times
101
101
 
102
102
  expect { ami_manager.prepare_environment(cloudformation_template_file.path) }.to raise_error(AwsManager::RetryLimitExceeded)
103
103
  end
@@ -19,6 +19,7 @@ Gem::Specification.new do |spec|
19
19
 
20
20
  spec.add_dependency 'aws-sdk-v1'
21
21
  spec.add_dependency 'fog', '1.34.0'
22
+ spec.add_dependency 'net-ssh' # because fog uses this but doesn't require it
22
23
 
23
24
  spec.add_dependency 'recursive-open-struct', '~> 0.5.0' # newer versions break hash-key-is-symbol assumptions
24
25
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vm_shepherd
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.12.2
4
+ version: 1.12.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ops Manager Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-11-03 00:00:00.000000000 Z
11
+ date: 2015-12-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-v1
@@ -38,6 +38,20 @@ dependencies:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
40
  version: 1.34.0
41
+ - !ruby/object:Gem::Dependency
42
+ name: net-ssh
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
41
55
  - !ruby/object:Gem::Dependency
42
56
  name: recursive-open-struct
43
57
  requirement: !ruby/object:Gem::Requirement
@@ -217,7 +231,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
217
231
  version: '0'
218
232
  requirements: []
219
233
  rubyforge_project:
220
- rubygems_version: 2.4.8
234
+ rubygems_version: 2.5.0
221
235
  signing_key:
222
236
  specification_version: 4
223
237
  summary: A tool for booting and tearing down Ops Manager VMs on various Infrastructures.