knife-brightbox 0.7.0 → 0.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG +4 -0
- data/lib/chef/knife/brightbox_server_create.rb +4 -4
- data/lib/knife-brightbox/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9211b0bdcd00c20988b3ad142eb7f3f7b6d21853
|
4
|
+
data.tar.gz: 6c393315043b04be91e9ce69710cb353b3dce9f9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d38c728b618e3c23662f226bf816cf344a271ff63d055cd32305d42e0fa7f7b5bb82244fe731e0cfbeab186c085f1a1b0f1e3184784c3e61a2e8e7bb2cab7e26
|
7
|
+
data.tar.gz: 145716aba33f00d23c700feb5aba592dd82114c4323806b422953fbd5fcf9fe327f9980ab370c81e2dbfb6ed2b3d3033062e6f3b3c5ec7b848533023f4dafba8
|
data/CHANGELOG
CHANGED
@@ -157,7 +157,7 @@ class Chef
|
|
157
157
|
def run
|
158
158
|
$stdout.sync = true
|
159
159
|
|
160
|
-
unless
|
160
|
+
unless config[:image]
|
161
161
|
ui.error("You have not provided a valid image value. Please note the short option for this value recently changed from '-i' to '-I'.")
|
162
162
|
exit 1
|
163
163
|
end
|
@@ -165,9 +165,9 @@ class Chef
|
|
165
165
|
print "#{ui.color("Creating server... ", :magenta)}"
|
166
166
|
server = connection.servers.create(
|
167
167
|
:name => config[:server_name] || config[:chef_node_name],
|
168
|
-
:image_id =>
|
168
|
+
:image_id => config[:image],
|
169
169
|
:zone_id => zone_id,
|
170
|
-
:flavor_id =>
|
170
|
+
:flavor_id => config[:flavor]
|
171
171
|
)
|
172
172
|
puts " done \n"
|
173
173
|
|
@@ -249,7 +249,7 @@ class Chef
|
|
249
249
|
end
|
250
250
|
|
251
251
|
def zone_id
|
252
|
-
zone_handle =
|
252
|
+
zone_handle = config[:zone]
|
253
253
|
|
254
254
|
begin
|
255
255
|
zones.fetch(zone_handle)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: knife-brightbox
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sergio Rubio
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-01-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fog
|
@@ -80,7 +80,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
80
80
|
version: '0'
|
81
81
|
requirements: []
|
82
82
|
rubyforge_project:
|
83
|
-
rubygems_version: 2.
|
83
|
+
rubygems_version: 2.4.5
|
84
84
|
signing_key:
|
85
85
|
specification_version: 4
|
86
86
|
summary: Brightbox Support for Chef's Knife Command
|