cloudkick 0.2.6 → 0.2.7

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.6
1
+ 0.2.7
data/cloudkick.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{cloudkick}
8
- s.version = "0.2.6"
8
+ s.version = "0.2.7"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Cloudkick"]
@@ -35,7 +35,6 @@ module Cloudkick::Command
35
35
  group.space
36
36
  group.command 'pssh --query <query> ' \
37
37
  '--username <username> ' \
38
- '--output <output> ' \
39
38
  '--command <command>',
40
39
  'parallel ssh your nodes'
41
40
  end
@@ -6,13 +6,11 @@ module Cloudkick::Command
6
6
  unless args.size == 6 or args.size == 8
7
7
  raise CommandFailed, 'usage: cloudkick pssh --query <query> ' \
8
8
  '--username <username> ' \
9
- '--output <output> ' \
10
9
  '--command <command>'
11
10
  end
12
11
 
13
12
  query = extract_option('--query')
14
13
  username = extract_option('--username')
15
- output = extract_option('--output')
16
14
  command = extract_option('--command')
17
15
 
18
16
  file = Tempfile.new('ck')
@@ -29,7 +27,7 @@ module Cloudkick::Command
29
27
 
30
28
  file.flush
31
29
  begin
32
- exec("pssh -h #{file.path} -l #{username} -o #{output} #{command}")
30
+ exec("pssh -i -h #{file.path} -l #{username} #{command}")
33
31
  rescue
34
32
  raise CommandFailed, 'cloudkick: command not found: pssh'
35
33
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cloudkick
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cloudkick