mofa 0.3.19 → 0.3.20
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/.rubocop.yml +5 -0
- data/lib/mofa/provision_cmd.rb +7 -5
- data/lib/mofa/version.rb +1 -1
- metadata +2 -1
data/.rubocop.yml
ADDED
data/lib/mofa/provision_cmd.rb
CHANGED
@@ -143,11 +143,13 @@ class ProvisionCmd < MofaCmd
|
|
143
143
|
host_index = host_index + 1
|
144
144
|
chef_solo_runs.store(hostname, {})
|
145
145
|
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
146
|
+
unless (options.key?('ignore_ping') && options[:ignore_ping] == true)
|
147
|
+
unless host_avail?(hostname)
|
148
|
+
chef_solo_runs[hostname].store('status', 'UNAVAIL')
|
149
|
+
chef_solo_runs[hostname].store('status_msg', "Host #{hostname} unreachable.")
|
150
|
+
at_least_one_chef_solo_run_failed = true
|
151
|
+
next
|
152
|
+
end
|
151
153
|
end
|
152
154
|
|
153
155
|
prepare_host(hostname, host_index, solo_dir)
|
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.20
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -212,6 +212,7 @@ extensions: []
|
|
212
212
|
extra_rdoc_files: []
|
213
213
|
files:
|
214
214
|
- .gitignore
|
215
|
+
- .rubocop.yml
|
215
216
|
- .travis.yml
|
216
217
|
- Gemfile
|
217
218
|
- Guardfile
|