vm_shepherd 3.4.1 → 3.4.2
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/vsphere_manager_spec.rb +1 -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: e94b3446a19a36cd899c23616834fede542cff2c
|
|
4
|
+
data.tar.gz: 4a8838b33378abfa4c8ce1f81e55526ab3cae654
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a06b938753a1f4c989362cfb318c24a77f1347adfaf1b0fff14b102f342c991f8754446e48d51818130632da08135d1858928c7402c710e395f0ecb432adf5f0
|
|
7
|
+
data.tar.gz: 168724476729b66f204f156009f7b91cee70840a1d0e24143edb717911dcbd749b6944be21ca4e3ef330556194b4b5ac387f244d481f3217288bd04fdfb8e7b4
|
|
@@ -51,7 +51,7 @@ module VmShepherd
|
|
|
51
51
|
end
|
|
52
52
|
|
|
53
53
|
logger.info("Waiting for status [#{waiting_for_status}] on stack [#{stack.name}]")
|
|
54
|
-
retry_until(retry_limit:
|
|
54
|
+
retry_until(retry_limit: 60, retry_interval: 30) do
|
|
55
55
|
status = stack.status
|
|
56
56
|
logger.info("current stack status: #{status}")
|
|
57
57
|
case status
|
data/lib/vm_shepherd/version.rb
CHANGED
|
@@ -60,7 +60,6 @@ module VmShepherd
|
|
|
60
60
|
end
|
|
61
61
|
|
|
62
62
|
context 'When custom hostname is not set' do
|
|
63
|
-
|
|
64
63
|
it 'verifies the value of custom hostname is nil' do
|
|
65
64
|
expect(vsphere_manager).to receive(:create_vm_from_template).and_return(vm1)
|
|
66
65
|
allow(subject).to receive(:power_on_vm)
|
|
@@ -70,9 +69,7 @@ module VmShepherd
|
|
|
70
69
|
custom_hostname_property = options[:spec].vAppConfig.property.find do |prop|
|
|
71
70
|
prop.instance_variable_get(:@props)[:info].instance_variable_get(:@props)[:label] == 'custom_hostname'
|
|
72
71
|
end
|
|
73
|
-
expect(custom_hostname_property).
|
|
74
|
-
custom_hostname_value = custom_hostname_property.instance_variable_get(:@props)[:info].instance_variable_get(:@props)[:value]
|
|
75
|
-
expect(custom_hostname_value).to be_nil
|
|
72
|
+
expect(custom_hostname_property).to be_nil
|
|
76
73
|
task
|
|
77
74
|
end
|
|
78
75
|
|
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.2
|
|
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-
|
|
11
|
+
date: 2016-12-06 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.6.8
|
|
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.
|