knife-zero 2.0.0 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 28702dd9c432d13e8dbd122ab8e4fe98451181d28f814f166ca863e8679d9a0e
4
- data.tar.gz: e8f3fe9460bde789dd575e382d2369d5df15ede8ce848045efa29f4a76216e9b
3
+ metadata.gz: e9b0c68a86e6e1166689e8389f7ad179ee2e64824cdb8252d2c47e1390e6bfc5
4
+ data.tar.gz: 8d06b621e9549b0df557585699f550dae46f9635717c51bcb4c3f4fe9b7c97a8
5
5
  SHA512:
6
- metadata.gz: b07d56e44c7eee303904307d7631e66dde820a98d04b05a5898a3de051d0e336a0f42aa0ea11c6a1d480e55cb17de5be641cb7dbbc1427c565398d3aba02aff3
7
- data.tar.gz: c235442c8f1268305091a90dc59eec2c8b80930e6a0bc0da890a03796c7c2378855df272a4a8e462ed32ee09e014fcc279b80467ffda4e3cf1ed8be46a338dcf
6
+ metadata.gz: '059b884412c975c55374b6098223695bdadf3a5b7ef624324768b94e585f2e06cb1fdd0bccea95c19d1f4b2b28ac7f67bfa82b53c035cbb76f12ccfb888a6ecb'
7
+ data.tar.gz: 1bbc9454291956e4bd9de94fdd5607f827ce5415d64183c97b452953a981361eeed6ffbf008a923193f676a1e3ff02dbee652a841e09863f13f8db995388fdc1
@@ -2,6 +2,10 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## v2.0.1
6
+
7
+ - Add new option `--chef-license` to converge [#128](https://github.com/higanworks/knife-zero/pull/128)
8
+
5
9
 
6
10
  ## v2.0.0
7
11
 
@@ -73,6 +73,12 @@ class Chef
73
73
  end
74
74
  }
75
75
 
76
+ # import from LicenseAcceptance:CLIFlags:MixlibCLI
77
+ option :chef_license,
78
+ long: '--chef-license ACCEPTANCE',
79
+ description: %{Accept the license for this product and any contained products ('accept', 'accept-no-persist', or 'accept-silent')},
80
+ required: false
81
+
76
82
  # Common connectivity options for compatibility
77
83
  option :connection_user,
78
84
  short: '-U USERNAME',
@@ -121,6 +127,7 @@ class Chef
121
127
  s << ' --skip-cookbook-sync' if @config[:skip_cookbook_sync]
122
128
  s << ' --no-color' unless @config[:color]
123
129
  s << " -E #{@config[:environment]}" if @config[:environment]
130
+ s << " --chef-license #{@config[:chef_license]}" if @config[:chef_license]
124
131
  s << ' -W' if @config[:why_run]
125
132
  Chef::Log.info 'Remote command: ' + s
126
133
  s
@@ -1,6 +1,6 @@
1
1
  module Knife
2
2
  module Zero
3
- VERSION = '2.0.0'.freeze
3
+ VERSION = '2.0.1'.freeze
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: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - sawanoboly
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-06-06 00:00:00.000000000 Z
11
+ date: 2019-06-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler