lib/cloudkick/commands/parallel.rb in cloudkick-0.2.14 vs lib/cloudkick/commands/parallel.rb in cloudkick-0.2.15
- old
+ new
@@ -26,12 +26,12 @@
end
file.flush
begin
if username
- system("pssh -i -h #{file.path} -l #{username} '#{command}'")
+ system("pssh --inline --timeout=-1 --hosts=#{file.path} --user=#{username} '#{command}'")
else
- system("pssh -i -h #{file.path} '#{command}'")
+ system("pssh --inline --timeout=-1 --hosts=#{file.path} '#{command}'")
end
rescue
raise CommandFailed, 'cloudkick: command not found: pssh'
end
file.close