mofa 0.3.12 → 0.3.13
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 +1 -1
- data/lib/mofa/version.rb +1 -1
- metadata +1 -1
data/lib/mofa/provision_cmd.rb
CHANGED
|
@@ -202,7 +202,7 @@ class ProvisionCmd < MofaCmd
|
|
|
202
202
|
puts "ERROR (#{out[0]}): #{out[2]}" if out[0] != 0
|
|
203
203
|
out = ssh_exec!(ssh, "echo #{chef_solo_runs[hostname]['status']}| sudo tee /var/lib/mofa/last_status")
|
|
204
204
|
puts "ERROR (#{out[0]}): #{out[2]}" if out[0] != 0
|
|
205
|
-
out = ssh_exec!(ssh, "echo '#!/bin/bash' | sudo tee /usr/bin/mofalog && echo 'cat /var/lib/mofa/last_run' | sudo tee -a /usr/bin/mofalog && sudo chmod 755 /usr/bin/mofalog")
|
|
205
|
+
out = ssh_exec!(ssh, "echo '#!/bin/bash' | sudo tee /usr/bin/mofalog && echo 'cat /var/lib/mofa/last_run/log' | sudo tee -a /usr/bin/mofalog && sudo chmod 755 /usr/bin/mofalog")
|
|
206
206
|
puts "ERROR (#{out[0]}): #{out[2]}" if out[0] != 0
|
|
207
207
|
end
|
|
208
208
|
end
|
data/lib/mofa/version.rb
CHANGED