mofa 0.3.17 → 0.3.18
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.
- data/lib/mofa/provision_cmd.rb +2 -1
- data/lib/mofa/version.rb +1 -1
- metadata +2 -2
data/lib/mofa/provision_cmd.rb
CHANGED
|
@@ -145,6 +145,7 @@ class ProvisionCmd < MofaCmd
|
|
|
145
145
|
if host_avail?(hostname) == false || options[:ignore_ping] == true
|
|
146
146
|
chef_solo_runs[hostname].store('status', 'UNAVAIL')
|
|
147
147
|
chef_solo_runs[hostname].store('status_msg', "Host #{hostname} unreachable.")
|
|
148
|
+
at_least_one_chef_solo_run_failed = true
|
|
148
149
|
next
|
|
149
150
|
end
|
|
150
151
|
|
|
@@ -213,7 +214,7 @@ class ProvisionCmd < MofaCmd
|
|
|
213
214
|
puts "ERROR (#{out[0]}): #{out[2]}" if out[0] != 0
|
|
214
215
|
end
|
|
215
216
|
end
|
|
216
|
-
at_least_one_chef_solo_run_failed = true
|
|
217
|
+
at_least_one_chef_solo_run_failed = true unless chef_solo_runs[hostname]['status'] == 'SUCCESS'
|
|
217
218
|
end
|
|
218
219
|
|
|
219
220
|
# ------- print out report
|
data/lib/mofa/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: mofa
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.18
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2016-09-
|
|
12
|
+
date: 2016-09-09 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: rspec
|