mofa 0.3.9 → 0.3.10
Sign up to get free protection for your applications and to get access to all the features.
- 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
@@ -196,7 +196,7 @@ class ProvisionCmd < MofaCmd
|
|
196
196
|
end
|
197
197
|
out = ssh_exec!(ssh, "sudo chown -R #{Mofa::Config.config['ssh_user']}.#{Mofa::Config.config['ssh_user']} #{solo_dir}")
|
198
198
|
puts "ERROR (#{out[0]}): #{out[2]}" if out[0] != 0
|
199
|
-
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")
|
199
|
+
out = ssh_exec!(ssh, "sudo mkdir -p /var/lib/mofa && sudo ln -s #{solo_dir} /var/lib/mofa/last_run && sudo echo #{cookbook.pkg_name} > /var/lib/mofa/last_cookbook && sudo echo #{chef_solo_runs[hostname]['status']} > /var/lib/mofa/last_status")
|
200
200
|
puts "ERROR (#{out[0]}): #{out[2]}" if out[0] != 0
|
201
201
|
end
|
202
202
|
end
|
data/lib/mofa/version.rb
CHANGED