mofa 0.2.10 → 0.2.11

Sign up to get free protection for your applications and to get access to all the features.
@@ -173,6 +173,8 @@ class ProvisionCmd < MofaCmd
173
173
  end
174
174
  out = ssh_exec!(ssh, "sudo chown -R #{Mofa::Config.config['ssh_user']}.#{Mofa::Config.config['ssh_user']} #{solo_dir}")
175
175
  puts "ERROR (#{out[0]}): #{out[2]}" if out[0] != 0
176
+ out = ssh_exec!(ssh, "sudo mkdir -p /var/lib/mofa && ln -s #{solo_dir} /var/lib/mofa/last_run && echo #{cookbook.pkg_name} > /var/lib/mofa/last_cookbook && echo #{chef_solo_runs[hostname]['status']} > /var/lib/mofa/last_status")
177
+ puts "ERROR (#{out[0]}): #{out[2]}" if out[0] != 0
176
178
  end
177
179
  end
178
180
  at_least_one_chef_solo_run_failed = true if chef_solo_runs[hostname]['status'] == 'FAIL'
data/lib/mofa/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Mofa
2
- VERSION = "0.2.10"
2
+ VERSION = "0.2.11"
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.2.10
4
+ version: 0.2.11
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-05-07 00:00:00.000000000 Z
12
+ date: 2015-06-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec