knife-zero 1.14.0 → 1.15.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/lib/chef/knife/zero_bootstrap.rb +5 -2
- data/lib/knife-zero/core/bootstrap_context.rb +1 -2
- data/lib/knife-zero/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: 4d422744e83e78c07f23663b5bca62be126aa323
|
4
|
+
data.tar.gz: 176220ade6c9557708da92a1e09f62d7749393a8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4b37c886f5b4cf650a19da872a524c00410f5ed84f986071e5efab720366a693611abec1721b5419d38d7dcc310232bcff694d52bde067e8d128e5a5325d2677
|
7
|
+
data.tar.gz: 8e7b2de341999f08962b0fc251f18ee86d7bd547cea669a98347c9cb71902e92e50952bfbe03f151410fded223c0acf6a1c595f8b38e45b85959f9974ec1c288
|
data/CHANGELOG.md
CHANGED
@@ -18,7 +18,6 @@ class Chef
|
|
18
18
|
self.options = Bootstrap.options.merge(self.options)
|
19
19
|
self.options.delete :node_ssl_verify_mode
|
20
20
|
self.options.delete :node_verify_api_cert
|
21
|
-
self.options.delete :policy_group
|
22
21
|
|
23
22
|
## Override to use nil by default. It should be create PR
|
24
23
|
option :ssh_user,
|
@@ -39,7 +38,11 @@ class Chef
|
|
39
38
|
:default => nil
|
40
39
|
|
41
40
|
## For support policy_document_databag(old style)
|
42
|
-
self.options[:policy_name][:description] = "Policy name to use (
|
41
|
+
self.options[:policy_name][:description] = "Policy name to use (F.Y.I: Default policy_group=local)"
|
42
|
+
|
43
|
+
## Set `local` to default policy_group
|
44
|
+
self.options[:policy_group][:description] = "Policy group name to use (--policy-name must also be given). 'local' by default"
|
45
|
+
self.options[:policy_group][:default] = "local"
|
43
46
|
|
44
47
|
def run
|
45
48
|
## Command hook before_bootstrap (After launched Chef-Zero)
|
@@ -31,12 +31,11 @@ class Chef
|
|
31
31
|
|
32
32
|
## For support policy_document_native_api
|
33
33
|
if @config[:policy_name]
|
34
|
-
@config[:policy_group] = "local"
|
35
34
|
client_rb << ["\n", "use_policyfile true",
|
36
35
|
"versioned_cookbooks true",
|
37
36
|
"policy_document_native_api true",
|
38
37
|
"policy_name #{@config[:policy_name]}",
|
39
|
-
"policy_group
|
38
|
+
"policy_group #{@config[:policy_group]}"].join("\n")
|
40
39
|
end
|
41
40
|
|
42
41
|
if @config[:appendix_config]
|
data/lib/knife-zero/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: knife-zero
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.15.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- sawanoboly
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-02-
|
11
|
+
date: 2016-02-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|