kraken 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/kraken/bestower.rb +3 -3
- data/lib/kraken/version.rb +1 -1
- metadata +3 -3
data/lib/kraken/bestower.rb
CHANGED
@@ -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'
|
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 ]
|
data/lib/kraken/version.rb
CHANGED
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.
|
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: -
|
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: -
|
129
|
+
hash: -4481981961494165018
|
130
130
|
requirements: []
|
131
131
|
rubyforge_project:
|
132
132
|
rubygems_version: 1.8.21
|