vm_shepherd 3.4.2 → 3.4.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: e94b3446a19a36cd899c23616834fede542cff2c
4
- data.tar.gz: 4a8838b33378abfa4c8ce1f81e55526ab3cae654
3
+ metadata.gz: 43d31078d70454ba342478843bfe081cd0f1ad09
4
+ data.tar.gz: ad2929a6441cd0b6b41641be5c9960fa4b65efbc
5
5
  SHA512:
6
- metadata.gz: a06b938753a1f4c989362cfb318c24a77f1347adfaf1b0fff14b102f342c991f8754446e48d51818130632da08135d1858928c7402c710e395f0ecb432adf5f0
7
- data.tar.gz: 168724476729b66f204f156009f7b91cee70840a1d0e24143edb717911dcbd749b6944be21ca4e3ef330556194b4b5ac387f244d481f3217288bd04fdfb8e7b4
6
+ metadata.gz: 2b0287bcc30353b217f60b924df03b22566c7dfb9b2a214d83f7e6dd74c224d9762c5770c55757d93ad2f467e0b794e074d4a4df156a6147d918725e9b4d705b
7
+ data.tar.gz: 1727afdb454f41b600a8916a94f5e3757619936fed96b53857c8b4997506f273dcb010b7e86c30d2b6d526a643876652a6444d30a0b030fe548027b79f587d84
@@ -7,7 +7,7 @@ module VmShepherd
7
7
  class AwsManager
8
8
  include VmShepherd::RetryHelper
9
9
 
10
- OPS_MANAGER_INSTANCE_TYPE = 'm3.medium'
10
+ OPS_MANAGER_INSTANCE_TYPE = 't2.medium'
11
11
  DO_NOT_TERMINATE_TAG_KEY = 'do_not_terminate'
12
12
  ELB_SECURITY_GROUP_NAME = 'ELB Security Group'
13
13
 
@@ -1,3 +1,3 @@
1
1
  module VmShepherd
2
- VERSION = '3.4.2'.freeze
2
+ VERSION = '3.4.3'.freeze
3
3
  end
@@ -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: 80, retry_interval: 30)
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(80).times
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: 'm3.medium').and_return(instance)
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: 'm3.medium').and_return(instance)
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.2
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: 2016-12-06 00:00:00.000000000 Z
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.6.8
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.