vm_shepherd 3.4.2 → 3.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/vm_shepherd/aws_manager.rb +1 -1
- data/lib/vm_shepherd/version.rb +1 -1
- data/spec/vm_shepherd/aws_manager_spec.rb +4 -4
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 43d31078d70454ba342478843bfe081cd0f1ad09
|
|
4
|
+
data.tar.gz: ad2929a6441cd0b6b41641be5c9960fa4b65efbc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2b0287bcc30353b217f60b924df03b22566c7dfb9b2a214d83f7e6dd74c224d9762c5770c55757d93ad2f467e0b794e074d4a4df156a6147d918725e9b4d705b
|
|
7
|
+
data.tar.gz: 1727afdb454f41b600a8916a94f5e3757619936fed96b53857c8b4997506f273dcb010b7e86c30d2b6d526a643876652a6444d30a0b030fe548027b79f587d84
|
data/lib/vm_shepherd/version.rb
CHANGED
|
@@ -118,7 +118,7 @@ module VmShepherd
|
|
|
118
118
|
|
|
119
119
|
describe 'cloudformation' do
|
|
120
120
|
it 'polls the status every 30 seconds' do
|
|
121
|
-
expect(ami_manager).to receive(:retry_until).with(retry_limit:
|
|
121
|
+
expect(ami_manager).to receive(:retry_until).with(retry_limit: 60, retry_interval: 30)
|
|
122
122
|
|
|
123
123
|
ami_manager.prepare_environment(cloudformation_template_file.path)
|
|
124
124
|
end
|
|
@@ -143,7 +143,7 @@ module VmShepherd
|
|
|
143
143
|
|
|
144
144
|
it 'stops retrying after 80 times' do
|
|
145
145
|
expect(stack).to receive(:status).and_return('CREATE_IN_PROGRESS').
|
|
146
|
-
exactly(
|
|
146
|
+
exactly(60).times
|
|
147
147
|
|
|
148
148
|
expect { ami_manager.prepare_environment(cloudformation_template_file.path) }.to raise_error(AwsManager::RetryLimitExceeded)
|
|
149
149
|
end
|
|
@@ -298,7 +298,7 @@ module VmShepherd
|
|
|
298
298
|
key_name: 'ssh-key-name',
|
|
299
299
|
security_group_ids: ['security-group-id'],
|
|
300
300
|
subnet: 'public-subnet-id',
|
|
301
|
-
instance_type: '
|
|
301
|
+
instance_type: 't2.medium').and_return(instance)
|
|
302
302
|
|
|
303
303
|
ami_manager.deploy(ami_file_path: ami_file_path, vm_config: vm_config)
|
|
304
304
|
end
|
|
@@ -314,7 +314,7 @@ module VmShepherd
|
|
|
314
314
|
security_group_ids: ['security-group-id'],
|
|
315
315
|
subnet: 'public-subnet-id',
|
|
316
316
|
iam_instance_profile: 'FAKE_INSTANCE_PROFILE',
|
|
317
|
-
instance_type: '
|
|
317
|
+
instance_type: 't2.medium').and_return(instance)
|
|
318
318
|
|
|
319
319
|
ami_manager.deploy(ami_file_path: ami_file_path, vm_config: vm_config)
|
|
320
320
|
end
|
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: 3.4.
|
|
4
|
+
version: 3.4.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:
|
|
11
|
+
date: 2017-03-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-v1
|
|
@@ -206,7 +206,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
206
206
|
version: '0'
|
|
207
207
|
requirements: []
|
|
208
208
|
rubyforge_project:
|
|
209
|
-
rubygems_version: 2.
|
|
209
|
+
rubygems_version: 2.4.5.1
|
|
210
210
|
signing_key:
|
|
211
211
|
specification_version: 4
|
|
212
212
|
summary: A tool for booting and tearing down Ops Manager VMs on various Infrastructures.
|