knife-openstack 0.6.0 → 0.6.2
Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md
CHANGED
data/knife-openstack.gemspec
CHANGED
@@ -19,6 +19,6 @@ Gem::Specification.new do |s|
|
|
19
19
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
20
20
|
s.require_paths = ["lib"]
|
21
21
|
|
22
|
-
s.add_dependency "fog", "~> 1.4
|
22
|
+
s.add_dependency "fog", "~> 1.4"
|
23
23
|
s.add_dependency "chef", ">= 0.10.10"
|
24
24
|
end
|
@@ -228,7 +228,7 @@ class Chef
|
|
228
228
|
end
|
229
229
|
Chef::Log.debug("Public IP Address actual #{server.public_ip_address['addr']}") if server.public_ip_address
|
230
230
|
|
231
|
-
msg_pair("Private IP Address", server.private_ip_address['addr'])
|
231
|
+
msg_pair("Private IP Address", server.private_ip_address['addr']) if server.private_ip_address
|
232
232
|
|
233
233
|
#which IP address to bootstrap
|
234
234
|
bootstrap_ip_address = server.public_ip_address['addr'] if server.public_ip_address
|
@@ -258,7 +258,7 @@ class Chef
|
|
258
258
|
# msg_pair("Security Groups", server.groups.join(", "))
|
259
259
|
msg_pair("SSH Keypair", server.key_name)
|
260
260
|
msg_pair("Public IP Address", server.public_ip_address['addr']) if server.public_ip_address
|
261
|
-
msg_pair("Private IP Address", server.private_ip_address['addr'])
|
261
|
+
msg_pair("Private IP Address", server.private_ip_address['addr']) if server.private_ip_address
|
262
262
|
msg_pair("Environment", config[:environment] || '_default')
|
263
263
|
msg_pair("Run List", config[:run_list].join(', '))
|
264
264
|
end
|
@@ -73,8 +73,8 @@ class Chef
|
|
73
73
|
# msg_pair("Availability Zone", server.availability_zone)
|
74
74
|
# msg_pair("Security Groups", server.groups.join(", "))
|
75
75
|
# msg_pair("SSH Key", server.key_name)
|
76
|
-
msg_pair("Public IP Address", server.public_ip_address['addr'])
|
77
|
-
msg_pair("Private IP Address", server.private_ip_address['addr'])
|
76
|
+
msg_pair("Public IP Address", server.public_ip_address['addr']) if server.public_ip_address
|
77
|
+
msg_pair("Private IP Address", server.private_ip_address['addr']) if server.private_ip_address
|
78
78
|
|
79
79
|
puts "\n"
|
80
80
|
confirm("Do you really want to delete this server")
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: knife-openstack
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,22 +10,27 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2012-
|
13
|
+
date: 2012-10-15 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: fog
|
17
|
-
requirement:
|
17
|
+
requirement: !ruby/object:Gem::Requirement
|
18
18
|
none: false
|
19
19
|
requirements:
|
20
20
|
- - ~>
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 1.4
|
22
|
+
version: '1.4'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
|
-
version_requirements:
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
none: false
|
27
|
+
requirements:
|
28
|
+
- - ~>
|
29
|
+
- !ruby/object:Gem::Version
|
30
|
+
version: '1.4'
|
26
31
|
- !ruby/object:Gem::Dependency
|
27
32
|
name: chef
|
28
|
-
requirement:
|
33
|
+
requirement: !ruby/object:Gem::Requirement
|
29
34
|
none: false
|
30
35
|
requirements:
|
31
36
|
- - ! '>='
|
@@ -33,7 +38,12 @@ dependencies:
|
|
33
38
|
version: 0.10.10
|
34
39
|
type: :runtime
|
35
40
|
prerelease: false
|
36
|
-
version_requirements:
|
41
|
+
version_requirements: !ruby/object:Gem::Requirement
|
42
|
+
none: false
|
43
|
+
requirements:
|
44
|
+
- - ! '>='
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: 0.10.10
|
37
47
|
description: OpenStack Compute Support for Chef's Knife Command
|
38
48
|
email:
|
39
49
|
- schisamo@opscode.com
|
@@ -78,8 +88,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
78
88
|
version: '0'
|
79
89
|
requirements: []
|
80
90
|
rubyforge_project:
|
81
|
-
rubygems_version: 1.8.
|
91
|
+
rubygems_version: 1.8.23
|
82
92
|
signing_key:
|
83
93
|
specification_version: 3
|
84
94
|
summary: OpenStack Compute Support for Chef's Knife Command
|
85
95
|
test_files: []
|
96
|
+
has_rdoc: true
|