knife-zero 1.13.2 → 1.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/README.md +1 -1
- data/lib/chef/knife/zero_bootstrap.rb +1 -1
- data/lib/knife-zero/core/bootstrap_context.rb +5 -3
- 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: b2ca6c982be1fa5404e37c73f80bca74ffb5b5da
|
|
4
|
+
data.tar.gz: 38b7857bd2a8511bf6c6212b98325819f9f62123
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 73079ae9adb2719676ed8027e80eb93b7332cb3b04a34f47c3f06aba09cf96ecf18a13046da241fc7ec5684225b94a852e3b69a49473c8c7a799767d440ddfd5
|
|
7
|
+
data.tar.gz: 40d5da47577fc32dd1b828bab486c2576326b135dafef146fb6bd1dd0cdd744a0f11eec8de4d0a7c14262d3fedacd64a8353b82aebbe9d2496125933c2f6a45e
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
|
@@ -43,7 +43,7 @@ knife zero diagnose # show configuration from file
|
|
|
43
43
|
|
|
44
44
|
### Configuration file
|
|
45
45
|
|
|
46
|
-
Relocated: [Configration | Knife-Zero Document](http://knife-zero.github.io/
|
|
46
|
+
Relocated: [Configration | Knife-Zero Document](http://knife-zero.github.io/40_configuration/)
|
|
47
47
|
|
|
48
48
|
### knife zero bootstrap | converge | diagnose
|
|
49
49
|
|
|
@@ -39,7 +39,7 @@ class Chef
|
|
|
39
39
|
:default => nil
|
|
40
40
|
|
|
41
41
|
## For support policy_document_databag(old style)
|
|
42
|
-
self.options[:policy_name][:description] = "Policy name to use (It'll be set
|
|
42
|
+
self.options[:policy_name][:description] = "Policy name to use (It'll be set with policy_group=local)"
|
|
43
43
|
|
|
44
44
|
def run
|
|
45
45
|
## Command hook before_bootstrap (After launched Chef-Zero)
|
|
@@ -29,12 +29,14 @@ class Chef
|
|
|
29
29
|
end
|
|
30
30
|
client_rb << white_lists.join("\n")
|
|
31
31
|
|
|
32
|
-
## For support
|
|
32
|
+
## For support policy_document_native_api
|
|
33
33
|
if @config[:policy_name]
|
|
34
|
+
@config[:policy_group] = "local"
|
|
34
35
|
client_rb << ["\n", "use_policyfile true",
|
|
35
36
|
"versioned_cookbooks true",
|
|
36
|
-
"policy_document_native_api
|
|
37
|
-
|
|
37
|
+
"policy_document_native_api true",
|
|
38
|
+
"policy_name #{@config[:policy_name]}",
|
|
39
|
+
"policy_group local"].join("\n")
|
|
38
40
|
end
|
|
39
41
|
|
|
40
42
|
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.14.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-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|