knife-brightbox 0.6.1 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG +17 -11
- data/lib/chef/knife/brightbox_server_create.rb +2 -2
- data/lib/knife-brightbox/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: caea307ca8cd33c6536695f0d20b61301240414e
|
4
|
+
data.tar.gz: 474684c31a293494d5f12ea4ec663836bc5058b1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ea5a4c9ad19dbf93383fe85077f82072db3575eb17dc3bd3d87ced2f788db2c7452bb9b5e56035a04650ed57fc9746765b04a871d56c18c5787412a01e2fc14a
|
7
|
+
data.tar.gz: 18e3e970205cd91dec5aeb99ff38b085762be020621c375d29fe2703e4f002472f5149e9ed2898f21a423e7fe62600cfa99acacf6af1668211ba74d7a13f6824
|
data/CHANGELOG
CHANGED
@@ -1,27 +1,34 @@
|
|
1
|
+
# 0.7.0
|
2
|
+
|
3
|
+
* If only one of '--server-name' or '-N' (chef node name) is given, use that
|
4
|
+
name for both attributes, and only fall back to the server ID for the Chef
|
5
|
+
node name if there's no names given at all. (@johnd-itison)
|
6
|
+
|
1
7
|
# 0.6.1
|
2
8
|
|
3
|
-
* Fix fog deprecation warning by using service not connection
|
4
|
-
* Remove dangling whitespace in delete server output
|
9
|
+
* Fix fog deprecation warning by using service not connection (@kangguru)
|
10
|
+
* Remove dangling whitespace in delete server output (@kangguru)
|
5
11
|
|
6
12
|
# 0.6.0
|
7
13
|
|
8
|
-
* Add support for passing JSON attributes to booting servers
|
14
|
+
* Add support for passing JSON attributes to booting servers (@kangguru)
|
9
15
|
|
10
16
|
# 0.5.0
|
11
17
|
|
12
|
-
* Add support for `--secret` and `--secret-file` arguments
|
18
|
+
* Add support for `--secret` and `--secret-file` arguments (@kangguru)
|
13
19
|
|
14
20
|
# 0.4.0
|
15
21
|
|
16
|
-
* Introduces support for Zones
|
17
|
-
* Can list zones using `knife brightbox zone list`
|
22
|
+
* Introduces support for Zones (@gregkare)
|
23
|
+
* Can list zones using `knife brightbox zone list` (@gregkare)
|
18
24
|
* Can specify zone to create server in with `--zone` argument using handle
|
19
|
-
(gb1-a)
|
25
|
+
(gb1-a) (@gregkare)
|
20
26
|
|
21
27
|
# 0.3.0
|
22
28
|
|
23
29
|
* introducing `--purge` and `--node-name` command line options for the
|
24
30
|
delete subcommand to clean up resources after destroying a server
|
31
|
+
(@kangguru)
|
25
32
|
* Relaxes fog dependency to allow 1.x versions of fog
|
26
33
|
* Updates gemspec licence and description
|
27
34
|
|
@@ -32,13 +39,12 @@
|
|
32
39
|
# 0.2.1
|
33
40
|
|
34
41
|
* Sets Fog dependency back to 1.5.0 to defer an issue introduced in 1.6
|
35
|
-
https://github.com/rubiojr/knife-brightbox/issues/6
|
42
|
+
https://github.com/rubiojr/knife-brightbox/issues/6 (@gregkare)
|
36
43
|
|
37
44
|
# 0.2
|
38
45
|
|
39
|
-
* Added the ability to add server groups during bootstrap (@
|
40
|
-
|
46
|
+
* Added the ability to add server groups during bootstrap (@gregkare)
|
41
47
|
http://git.io/TOcHhQ
|
42
48
|
|
43
|
-
* Fixes from @
|
49
|
+
* Fixes from @gregkare, @kangguru
|
44
50
|
* Newer version of Fog required (1.5.0)
|
@@ -164,7 +164,7 @@ class Chef
|
|
164
164
|
|
165
165
|
print "#{ui.color("Creating server... ", :magenta)}"
|
166
166
|
server = connection.servers.create(
|
167
|
-
:name => config[:server_name],
|
167
|
+
:name => config[:server_name] || config[:chef_node_name],
|
168
168
|
:image_id => Chef::Config[:knife][:image],
|
169
169
|
:zone_id => zone_id,
|
170
170
|
:flavor_id => Chef::Config[:knife][:flavor] || config[:flavor]
|
@@ -223,7 +223,7 @@ class Chef
|
|
223
223
|
bootstrap.config[:run_list] = config[:run_list]
|
224
224
|
bootstrap.config[:ssh_user] = config[:ssh_user] || "root"
|
225
225
|
bootstrap.config[:identity_file] = config[:identity_file]
|
226
|
-
bootstrap.config[:chef_node_name] = config[:chef_node_name] || server.id
|
226
|
+
bootstrap.config[:chef_node_name] = config[:chef_node_name] || server.name || server.id
|
227
227
|
bootstrap.config[:bootstrap_version] = locate_config_value(:bootstrap_version)
|
228
228
|
bootstrap.config[:distro] = locate_config_value(:distro)
|
229
229
|
# bootstrap will run as root...sudo (by default) also messes up Ohai on CentOS boxes
|
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.
|
4
|
+
version: 0.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sergio Rubio
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-08-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fog
|