chef-metal-fogsphere 0.1.0.alpha.28 → 0.1.0.alpha.29
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/chef-metal-fogsphere.gemspec +1 -1
- data/lib/clc_driver.rb +6 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d8584a3485e2f1daa9650a133fbc4e9ac319981e
|
4
|
+
data.tar.gz: f4b61cf96f8df48e2276774a53654af5b66c6a41
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 57232ffada55074c2804c0fe767b857d6d6587d05f266699c704ed331301bdcf0f3bef482dd4a82bb86c251fba440446ebdfa3e6026d783e46ecd606a0eaa77e
|
7
|
+
data.tar.gz: 9d296e7c2f979eb2d096b6c263c58f482de808f02a9838c897e405e02724e1c12918ad9639ecdb3bfb7be3a69701bdc029839be7e9fdcb7902eb6ba0c15fe2b5
|
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |gem|
|
6
6
|
gem.name = "chef-metal-fogsphere"
|
7
|
-
gem.version = '0.1.0.alpha.
|
7
|
+
gem.version = '0.1.0.alpha.29'
|
8
8
|
gem.license = 'Apache 2.0'
|
9
9
|
gem.authors = ["Matt Wrock"]
|
10
10
|
gem.email = ["matt@centurylinkcloud.com"]
|
data/lib/clc_driver.rb
CHANGED
@@ -189,7 +189,12 @@ module ChefMetalVsphere
|
|
189
189
|
Chef::Log.info "waiting for customizations to complete"
|
190
190
|
sleep(30)
|
191
191
|
Chef::Log.info "rebooting..."
|
192
|
-
server.
|
192
|
+
if server.tools_state == 'toolsNotRunning'
|
193
|
+
Chef::Log.info "tools have stopped. current power state is #{server.power_state} and tools state is #{server.tools_state}. powering up server..."
|
194
|
+
server.start
|
195
|
+
else
|
196
|
+
server.reboot
|
197
|
+
end
|
193
198
|
end
|
194
199
|
end
|
195
200
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chef-metal-fogsphere
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.0.alpha.
|
4
|
+
version: 0.1.0.alpha.29
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Wrock
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-06-
|
11
|
+
date: 2014-06-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rbvmomi
|