knife-openstack 0.9.0 → 0.9.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +6 -1
- data/lib/chef/knife/openstack_server_create.rb +19 -8
- data/lib/knife-openstack/version.rb +1 -1
- metadata +37 -21
- checksums.yaml +0 -7
data/CHANGELOG.md
CHANGED
@@ -1,9 +1,14 @@
|
|
1
|
+
## v0.9.1
|
2
|
+
* KNIFE-462 missing user_data throws stack
|
3
|
+
|
1
4
|
## v0.9.0
|
2
5
|
* KNIFE-231 added ability to specify arbitrary bootstrap network ID
|
6
|
+
* KNIFE-264 Add support for --json-attributes
|
3
7
|
* KNIFE-277 knife openstack "ERROR: No IP address available for bootstrapping."
|
4
8
|
* KNIFE-310 "knife openstack server list" will fail with boot from volume instances
|
5
9
|
* KNIFE-435 Support user data for OpenStack server create
|
6
|
-
*
|
10
|
+
* KNIFE-436 Support fixed network type for OpenStack server create
|
11
|
+
* https://github.com/opscode/chef-rfc/pull/7/ create/delete enhancements
|
7
12
|
|
8
13
|
## v0.8.1
|
9
14
|
* KNIFE-296 knife-windows overrides -i, -p, -P and -x options with winrm values
|
@@ -265,14 +265,25 @@ class Chef
|
|
265
265
|
# servers require a name, generate one if not passed
|
266
266
|
node_name = get_node_name(config[:chef_node_name])
|
267
267
|
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
268
|
+
# this really should be caught in Fog
|
269
|
+
if locate_config_value(:user_data).nil?
|
270
|
+
server_def = {
|
271
|
+
:name => node_name,
|
272
|
+
:image_ref => locate_config_value(:image),
|
273
|
+
:flavor_ref => locate_config_value(:flavor),
|
274
|
+
:security_groups => locate_config_value(:security_groups),
|
275
|
+
:key_name => locate_config_value(:openstack_ssh_key_id)
|
276
|
+
}
|
277
|
+
else
|
278
|
+
server_def = {
|
279
|
+
:name => node_name,
|
280
|
+
:image_ref => locate_config_value(:image),
|
281
|
+
:flavor_ref => locate_config_value(:flavor),
|
282
|
+
:security_groups => locate_config_value(:security_groups),
|
283
|
+
:key_name => locate_config_value(:openstack_ssh_key_id),
|
284
|
+
:user_data => locate_config_value(:user_data)
|
285
|
+
}
|
286
|
+
end
|
276
287
|
|
277
288
|
Chef::Log.debug("Name #{node_name}")
|
278
289
|
Chef::Log.debug("Image #{locate_config_value(:image)}")
|
metadata
CHANGED
@@ -1,7 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: knife-openstack
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.1
|
5
|
+
prerelease:
|
5
6
|
platform: ruby
|
6
7
|
authors:
|
7
8
|
- Seth Chisamore
|
@@ -9,104 +10,118 @@ authors:
|
|
9
10
|
autorequire:
|
10
11
|
bindir: bin
|
11
12
|
cert_chain: []
|
12
|
-
date: 2014-03-
|
13
|
+
date: 2014-03-12 00:00:00.000000000 Z
|
13
14
|
dependencies:
|
14
15
|
- !ruby/object:Gem::Dependency
|
15
16
|
name: fog
|
16
17
|
requirement: !ruby/object:Gem::Requirement
|
18
|
+
none: false
|
17
19
|
requirements:
|
18
|
-
- - '>='
|
20
|
+
- - ! '>='
|
19
21
|
- !ruby/object:Gem::Version
|
20
22
|
version: 1.10.0
|
21
23
|
type: :runtime
|
22
24
|
prerelease: false
|
23
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
none: false
|
24
27
|
requirements:
|
25
|
-
- - '>='
|
28
|
+
- - ! '>='
|
26
29
|
- !ruby/object:Gem::Version
|
27
30
|
version: 1.10.0
|
28
31
|
- !ruby/object:Gem::Dependency
|
29
32
|
name: chef
|
30
33
|
requirement: !ruby/object:Gem::Requirement
|
34
|
+
none: false
|
31
35
|
requirements:
|
32
|
-
- - '>='
|
36
|
+
- - ! '>='
|
33
37
|
- !ruby/object:Gem::Version
|
34
38
|
version: 0.10.10
|
35
39
|
type: :runtime
|
36
40
|
prerelease: false
|
37
41
|
version_requirements: !ruby/object:Gem::Requirement
|
42
|
+
none: false
|
38
43
|
requirements:
|
39
|
-
- - '>='
|
44
|
+
- - ! '>='
|
40
45
|
- !ruby/object:Gem::Version
|
41
46
|
version: 0.10.10
|
42
47
|
- !ruby/object:Gem::Dependency
|
43
48
|
name: knife-windows
|
44
49
|
requirement: !ruby/object:Gem::Requirement
|
50
|
+
none: false
|
45
51
|
requirements:
|
46
|
-
- - '>='
|
52
|
+
- - ! '>='
|
47
53
|
- !ruby/object:Gem::Version
|
48
54
|
version: '0'
|
49
55
|
type: :runtime
|
50
56
|
prerelease: false
|
51
57
|
version_requirements: !ruby/object:Gem::Requirement
|
58
|
+
none: false
|
52
59
|
requirements:
|
53
|
-
- - '>='
|
60
|
+
- - ! '>='
|
54
61
|
- !ruby/object:Gem::Version
|
55
62
|
version: '0'
|
56
63
|
- !ruby/object:Gem::Dependency
|
57
64
|
name: rspec-core
|
58
65
|
requirement: !ruby/object:Gem::Requirement
|
66
|
+
none: false
|
59
67
|
requirements:
|
60
|
-
- - '>='
|
68
|
+
- - ! '>='
|
61
69
|
- !ruby/object:Gem::Version
|
62
70
|
version: '0'
|
63
71
|
type: :development
|
64
72
|
prerelease: false
|
65
73
|
version_requirements: !ruby/object:Gem::Requirement
|
74
|
+
none: false
|
66
75
|
requirements:
|
67
|
-
- - '>='
|
76
|
+
- - ! '>='
|
68
77
|
- !ruby/object:Gem::Version
|
69
78
|
version: '0'
|
70
79
|
- !ruby/object:Gem::Dependency
|
71
80
|
name: rspec-expectations
|
72
81
|
requirement: !ruby/object:Gem::Requirement
|
82
|
+
none: false
|
73
83
|
requirements:
|
74
|
-
- - '>='
|
84
|
+
- - ! '>='
|
75
85
|
- !ruby/object:Gem::Version
|
76
86
|
version: '0'
|
77
87
|
type: :development
|
78
88
|
prerelease: false
|
79
89
|
version_requirements: !ruby/object:Gem::Requirement
|
90
|
+
none: false
|
80
91
|
requirements:
|
81
|
-
- - '>='
|
92
|
+
- - ! '>='
|
82
93
|
- !ruby/object:Gem::Version
|
83
94
|
version: '0'
|
84
95
|
- !ruby/object:Gem::Dependency
|
85
96
|
name: rspec-mocks
|
86
97
|
requirement: !ruby/object:Gem::Requirement
|
98
|
+
none: false
|
87
99
|
requirements:
|
88
|
-
- - '>='
|
100
|
+
- - ! '>='
|
89
101
|
- !ruby/object:Gem::Version
|
90
102
|
version: '0'
|
91
103
|
type: :development
|
92
104
|
prerelease: false
|
93
105
|
version_requirements: !ruby/object:Gem::Requirement
|
106
|
+
none: false
|
94
107
|
requirements:
|
95
|
-
- - '>='
|
108
|
+
- - ! '>='
|
96
109
|
- !ruby/object:Gem::Version
|
97
110
|
version: '0'
|
98
111
|
- !ruby/object:Gem::Dependency
|
99
112
|
name: rspec_junit_formatter
|
100
113
|
requirement: !ruby/object:Gem::Requirement
|
114
|
+
none: false
|
101
115
|
requirements:
|
102
|
-
- - '>='
|
116
|
+
- - ! '>='
|
103
117
|
- !ruby/object:Gem::Version
|
104
118
|
version: '0'
|
105
119
|
type: :development
|
106
120
|
prerelease: false
|
107
121
|
version_requirements: !ruby/object:Gem::Requirement
|
122
|
+
none: false
|
108
123
|
requirements:
|
109
|
-
- - '>='
|
124
|
+
- - ! '>='
|
110
125
|
- !ruby/object:Gem::Version
|
111
126
|
version: '0'
|
112
127
|
description: OpenStack Compute Support for Chef's Knife Command
|
@@ -138,26 +153,27 @@ files:
|
|
138
153
|
- spec/unit/openstack_server_create_spec.rb
|
139
154
|
homepage: https://github.com/opscode/knife-openstack
|
140
155
|
licenses: []
|
141
|
-
metadata: {}
|
142
156
|
post_install_message:
|
143
157
|
rdoc_options: []
|
144
158
|
require_paths:
|
145
159
|
- lib
|
146
160
|
required_ruby_version: !ruby/object:Gem::Requirement
|
161
|
+
none: false
|
147
162
|
requirements:
|
148
|
-
- - '>='
|
163
|
+
- - ! '>='
|
149
164
|
- !ruby/object:Gem::Version
|
150
165
|
version: '0'
|
151
166
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
167
|
+
none: false
|
152
168
|
requirements:
|
153
|
-
- - '>='
|
169
|
+
- - ! '>='
|
154
170
|
- !ruby/object:Gem::Version
|
155
171
|
version: '0'
|
156
172
|
requirements: []
|
157
173
|
rubyforge_project:
|
158
|
-
rubygems_version:
|
174
|
+
rubygems_version: 1.8.23.2
|
159
175
|
signing_key:
|
160
|
-
specification_version:
|
176
|
+
specification_version: 3
|
161
177
|
summary: OpenStack Compute Support for Chef's Knife Command
|
162
178
|
test_files:
|
163
179
|
- spec/spec_helper.rb
|
checksums.yaml
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
---
|
2
|
-
SHA1:
|
3
|
-
metadata.gz: 95a3012f4a18397d8840ffad36f4aa5545b15d17
|
4
|
-
data.tar.gz: a3a46d384665f841b14f8a25c3db3a6e9ff844ef
|
5
|
-
SHA512:
|
6
|
-
metadata.gz: d10c999e511ea659c126a0d03584e9c3bea328620013e885de993426ccd8734503835e0a35dc138c460734451bd81b49a7f48d11d12189c05eec03fc6dfc46ef
|
7
|
-
data.tar.gz: c6abb54a3f2a3119e727c981828f59bcfe41522c7b264d82c7476a4687619f91fc776efeaa613f331c325b079ccb0092367d6c39e1a84bfeb20d658796cf268c
|