knife-zero 1.19.1 → 1.19.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 07707e8ad4fa37062d6182a9633126cc07b64abe
4
- data.tar.gz: a9ef046a872babfcc4f8071ed5be48fc89649350
3
+ metadata.gz: 4fe34e3369edf58fde8be3a6bb4679a01804091f
4
+ data.tar.gz: 86c3bb8d3b3ca27a80e20aba8da65a8684d176b1
5
5
  SHA512:
6
- metadata.gz: 27b591b591afcf2865b1d2d4e80eae480c9d90d97a2fcdadb73f4e4be2f25439480ca7185f9aa103be373cee57ffdc2aa57876c260fca8a852249ce3cd275c3e
7
- data.tar.gz: 1590ce97e3f08942e3155886baa80367277089c6d2da6eee19ec6351d16136aa12def2c72cb98bce3de6db31a3fd3092b67b677bed350d7a11fe7924e8714ab0
6
+ metadata.gz: 4d091c9ffc459e1e2568204be23146fa23ecaea032d42764b96d9606590615784998303ffc533d6d8e689bbee9da80bfd63812d71ca763716a0774b426c509ed
7
+ data.tar.gz: eb877f0dd8d3b52019938ffdd7e2039a5f0ca083bea1db5d9432a8635f29ef8a128e9039146cbbdd7a159b706140c5c579a6fa776c21d1c2c1dc372a12d10311
@@ -2,6 +2,11 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## v1.19.2
6
+
7
+ - set :fatal to duplicated_fqdns by default [#119](https://github.com/higanworks/knife-zero/pull/119)
8
+ - `duplicated_fqdns` will be included at least in chef 14.
9
+
5
10
  ## v1.19.1
6
11
 
7
12
  - Properly quote policyfile name [#117](https://github.com/higanworks/knife-zero/pull/117)
@@ -20,6 +20,12 @@ class Chef
20
20
  self.options = Ssh.options.merge(self.options)
21
21
  self.options[:use_sudo_password] = Bootstrap.options[:use_sudo_password]
22
22
 
23
+ # fatal by default Ref: https://github.com/chef/chef/pull/6781
24
+ if self.options[:duplicated_fqdns]
25
+ self.options[:duplicated_fqdns][:description] = 'Behavior if FQDNs are duplicated, fatal by default'
26
+ self.options[:duplicated_fqdns][:default] = :fatal
27
+ end
28
+
23
29
  ## Import Features from chef-client
24
30
  self.options[:json_attribs] = Chef::Application::Client.options[:json_attribs]
25
31
 
@@ -1,6 +1,6 @@
1
1
  module Knife
2
2
  module Zero
3
- VERSION = "1.19.1"
3
+ VERSION = '1.19.2'
4
4
  MAJOR, MINOR, TINY = VERSION.split('.')
5
5
  end
6
6
  end
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.19.1
4
+ version: 1.19.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - sawanoboly
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-01-04 00:00:00.000000000 Z
11
+ date: 2018-02-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler