lib/chake/backend.rb in chake-0.1.0 vs lib/chake/backend.rb in chake-0.1.1
- old
+ new
@@ -5,9 +5,10 @@
def rsync_dest
node.path + '/'
end
def run(cmd)
+ puts "#{node.hostname}: $ #{cmd}"
IO.popen(command_runner + [cmd]).lines.each do |line|
puts [node.hostname, line.strip].join(': ')
end
end