mofa 0.3.11 → 0.3.12

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.
@@ -202,6 +202,8 @@ 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")
206
+ puts "ERROR (#{out[0]}): #{out[2]}" if out[0] != 0
205
207
  end
206
208
  end
207
209
  at_least_one_chef_solo_run_failed = true if chef_solo_runs[hostname]['status'] == 'FAIL'
@@ -1,3 +1,3 @@
1
1
  module Mofa
2
- VERSION = "0.3.11"
2
+ VERSION = "0.3.12"
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.11
4
+ version: 0.3.12
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: