lib/org-converge/engine.rb in org-converge-0.0.16 vs lib/org-converge/engine.rb in org-converge-0.0.17
- old
+ new
@@ -220,10 +220,10 @@
if block_modifiers[:ssh]
ssh_process = proc do
ssh_options = { }
ssh_options[:port] = block_modifiers[:ssh][:port]
ssh_options[:password] = block_modifiers[:ssh][:password] if block_modifiers[:ssh][:password]
- ssh_options[:keys] = @babel.ob.in_buffer_settings['SSHIDENTIFYFILE'] if @babel.ob.in_buffer_settings['SSHIDENTIFYFILE']
+ ssh_options[:keys] = @babel.ob.in_buffer_settings['SSHIDENTITYFILE'] if @babel.ob.in_buffer_settings['SSHIDENTITYFILE']
begin
# SCP the script to run remotely and the binary used to run it
binary, script = command.split(' ')
remote_file = if not block_modifiers[:ssh][:remote_dir].empty?
File.join(block_modifiers[:ssh][:remote_dir], "org-run-#{File.basename(script)}")