Method: Jupiter::Host#write_to_file

Defined in:
lib/jupiter/host.rb

#write_to_file(file_content, full_path_to_file) ⇒ Object



157
158
159
# File 'lib/jupiter/host.rb', line 157

def write_to_file(file_content, full_path_to_file)
  ssh.exec!(%Q[echo '#{file_content}' > #{full_path_to_file}])
end