mofa 0.3.17 → 0.3.18

Sign up to get free protection for your applications and to get access to all the features.
@@ -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 if chef_solo_runs[hostname]['status'] != 'SUCCESS'
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
@@ -1,3 +1,3 @@
1
1
  module Mofa
2
- VERSION = "0.3.17"
2
+ VERSION = "0.3.18"
3
3
  end
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.17
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-08 00:00:00.000000000 Z
12
+ date: 2016-09-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec