kraken 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -6,8 +6,6 @@ module Kraken
6
6
  Chef::Knife::Ssh.load_deps
7
7
  end
8
8
 
9
- option :environment, :short => '-e ENVIRONMENT', :long => '--environment', :description => 'The environment to slice.'
10
-
11
9
  private
12
10
  def environment
13
11
  config[:environment] || 'RC'
@@ -42,7 +40,9 @@ module Kraken
42
40
 
43
41
  if rc?
44
42
  ssh.config[:attribute] = 'ec2.public_hostname'
45
- ssh.config[:identity_file] = '~/.ssh/aws' if rc?
43
+ ssh.config[:identity_file] = '~/.ssh/aws'
44
+ else
45
+ ssh.config[:attribute] = 'ipaddress'
46
46
  end
47
47
 
48
48
  ssh.name_args = [ "name:#{node.name}", command ]
@@ -1,3 +1,3 @@
1
1
  module Kraken
2
- VERSION = '0.0.2'
2
+ VERSION = '0.0.3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kraken
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -117,7 +117,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
117
117
  version: '0'
118
118
  segments:
119
119
  - 0
120
- hash: -1760697516696187092
120
+ hash: -4481981961494165018
121
121
  required_rubygems_version: !ruby/object:Gem::Requirement
122
122
  none: false
123
123
  requirements:
@@ -126,7 +126,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
126
126
  version: '0'
127
127
  segments:
128
128
  - 0
129
- hash: -1760697516696187092
129
+ hash: -4481981961494165018
130
130
  requirements: []
131
131
  rubyforge_project:
132
132
  rubygems_version: 1.8.21