knife-rackspace 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
@@ -26,6 +26,14 @@ class Chef
|
|
26
26
|
class Knife
|
27
27
|
class RackspaceServerCreate < Knife
|
28
28
|
|
29
|
+
deps do
|
30
|
+
Chef::Knife::Bootstrap.load_deps
|
31
|
+
require 'fog'
|
32
|
+
require 'highline'
|
33
|
+
require 'net/ssh/multi'
|
34
|
+
require 'readline'
|
35
|
+
end
|
36
|
+
|
29
37
|
banner "knife rackspace server create (options)"
|
30
38
|
|
31
39
|
option :flavor,
|
@@ -186,7 +194,7 @@ class Chef
|
|
186
194
|
puts "#{h.color("Public IP Address", :cyan)}: #{server.addresses["public"][0]}"
|
187
195
|
puts "#{h.color("Private IP Address", :cyan)}: #{server.addresses["private"][0]}"
|
188
196
|
puts "#{h.color("Password", :cyan)}: #{server.password}"
|
189
|
-
puts "#{h.color("Run List", :cyan)}: #{
|
197
|
+
puts "#{h.color("Run List", :cyan)}: #{config[:run_list].join(', ')}"
|
190
198
|
end
|
191
199
|
|
192
200
|
def bootstrap_for_node(server)
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: knife-rackspace
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.5.
|
5
|
+
version: 0.5.1
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Adam Jacob
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-
|
13
|
+
date: 2011-04-04 00:00:00 -04:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|