mofa 0.3.18 → 0.3.19
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/mofa/provision_cmd.rb +2 -1
- data/lib/mofa/version.rb +1 -1
- metadata +1 -1
data/lib/mofa/provision_cmd.rb
CHANGED
@@ -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
|
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