knife-brightbox 0.5.0 → 0.6.0
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 +8 -0
- 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: 7bb0e146bc9621a0d3500e6505cb712b70c9d67f
|
4
|
+
data.tar.gz: a0364096bfed3175c858d37b2573c6841ed1abc9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f9c85607278ed1908f5798ae41475cd07706df2882cf31d3a19fd14760efd6c84731e1a20e5eb427d634d9a0c764cb69d8ba0cb7308121b4c167fcb734e11165
|
7
|
+
data.tar.gz: ffeddfc31604a6cb47b17a85ae4840e2d8636a5d781b265a1a9c8d2f0c63393827494976850aa08b5f9368b272c20939eae8672a15fdab2120862dcdab3d9723
|
data/CHANGELOG
CHANGED
@@ -110,6 +110,13 @@ class Chef
|
|
110
110
|
:description => "The ssh username; default is 'root'",
|
111
111
|
:default => "root"
|
112
112
|
|
113
|
+
option :first_boot_attributes,
|
114
|
+
:short => "-j JSON_ATTRIBS",
|
115
|
+
:long => "--json-attributes",
|
116
|
+
:description => "A JSON string to be added to the first run of chef-client",
|
117
|
+
:proc => lambda { |o| JSON.parse(o) },
|
118
|
+
:default => {}
|
119
|
+
|
113
120
|
option :identity_file,
|
114
121
|
:short => "-i IDENTITY_FILE",
|
115
122
|
:long => "--identity-file IDENTITY_FILE",
|
@@ -223,6 +230,7 @@ class Chef
|
|
223
230
|
bootstrap.config[:use_sudo] = true unless config[:ssh_user] == 'root'
|
224
231
|
bootstrap.config[:template_file] = locate_config_value(:template_file)
|
225
232
|
bootstrap.config[:environment] = config[:environment]
|
233
|
+
bootstrap.config[:first_boot_attributes] = config[:first_boot_attributes]
|
226
234
|
bootstrap.config[:no_host_key_verify] = config[:no_host_key_verify]
|
227
235
|
bootstrap
|
228
236
|
end
|
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.6.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-06-
|
11
|
+
date: 2014-06-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fog
|