mofa 0.3.18 → 0.3.19

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.
@@ -24,6 +24,7 @@ class ProvisionCmd < MofaCmd
24
24
  puts "Runlist Map: #{runlist_map.mp.inspect}"
25
25
  puts "Attributes Map: #{attributes_map.mp.inspect}"
26
26
  puts "Hostlist before runlist filtering: #{hostlist.list.inspect}"
27
+ puts "Options: #{options.inspect}"
27
28
 
28
29
  hostlist.filter_by_runlist_map(runlist_map)
29
30
 
@@ -142,7 +143,7 @@ class ProvisionCmd < MofaCmd
142
143
  host_index = host_index + 1
143
144
  chef_solo_runs.store(hostname, {})
144
145
 
145
- if host_avail?(hostname) == false || options[:ignore_ping] == true
146
+ if options[:ignore_ping] == false && host_avail?(hostname) == false
146
147
  chef_solo_runs[hostname].store('status', 'UNAVAIL')
147
148
  chef_solo_runs[hostname].store('status_msg', "Host #{hostname} unreachable.")
148
149
  at_least_one_chef_solo_run_failed = true
data/lib/mofa/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Mofa
2
- VERSION = "0.3.18"
2
+ VERSION = "0.3.19"
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.18
4
+ version: 0.3.19
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: