chef-config 15.10.12 → 15.11.3

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: 4270736869595698669ff80dca61cdc58318ceb7dbd2a650b12370db66def5a2
4
- data.tar.gz: 410ca954dbfaabc8c4d3e6ac003e4da87b35925f935cd1821a3f930bcc477498
3
+ metadata.gz: c7f53ec80622768fb0e22e8ec5cecfaa0f3de70d34d03dd3abc660aa9288f3c3
4
+ data.tar.gz: 30cc338ec672b76d21881856718efedf61e54efd7fd1941c6844fced9feb7f5c
5
5
  SHA512:
6
- metadata.gz: 17c649c971a639862011352a3e91bd2596438e32951c5bf12a9412acbf4c0dc49aa76736b9395843369d8537914d6381a19efedb924ed84f6682598d22066538
7
- data.tar.gz: 9b2cd3206154b46e2b7a19d9e278c4a36daf8924cb609fa2081884b0e9aff6f71d94f2e0fbd70027bcbcc3405d9a6990c77d4b6f3ca19ac78a437edede7a967c
6
+ metadata.gz: 2e1beef453edcdde7d8f3c58543380697c0dc71735677a91d0ee180a455a302721d7e89d41e8078f5dd0dcc849a41b8f0df7e313298f5f303c2b08b6fcaf93f5
7
+ data.tar.gz: 5f74739a9e17d875f6eede63b5819c68f8f98b485dbeebe1bf30fb981556b55da880591a19a545f05e60e77c222548e708ebc6812181922ee6fef74e776ebd74
@@ -851,33 +851,6 @@ module ChefConfig
851
851
 
852
852
  # knife configuration data
853
853
  config_context :knife do
854
- # XXX: none of these default values are applied to knife (and would create a backcompat
855
- # break in knife if this bug was fixed since many of the defaults below are wrong). this appears
856
- # to be the start of an attempt to be able to use config_strict_mode true? if so, this approach
857
- # is fraught with peril because this namespace is used by every knife plugin in the wild and
858
- # we would need to validate every cli option in every knife attribute out there and list them all here.
859
- #
860
- # based on the way that people may define `knife[:foobar] = "something"` for the knife-foobar
861
- # gem plugin i'm pretty certain we can never turn on anything like config_string_mode since
862
- # any config value may be a typo or it may be in some gem in some knife plugin we don't know about.
863
- #
864
- # we do still need to maintain at least one of these so that the knife config hash gets
865
- # created.
866
- #
867
- # this whole situation is deeply unsatisfying.
868
- default :ssh_port, nil
869
- default :ssh_user, nil
870
- default :ssh_attribute, nil
871
- default :ssh_gateway, nil
872
- default :ssh_gateway_identity, nil
873
- default :bootstrap_version, nil
874
- default :bootstrap_proxy, nil
875
- default :bootstrap_template, nil
876
- default :secret, nil
877
- default :secret_file, nil
878
- default :host_key_verify, nil
879
- default :forward_agent, nil
880
- default :sort_status_reverse, nil
881
854
  default :hints, {}
882
855
  end
883
856
 
@@ -268,7 +268,7 @@ module ChefConfig
268
268
  # Determine if the given path is protected by OS X System Integrity Protection.
269
269
  def self.is_sip_path?(path, node)
270
270
  if node["platform"] == "mac_os_x" && Gem::Version.new(node["platform_version"]) >= Gem::Version.new("10.11")
271
- # @todo: parse rootless.conf for this?
271
+ # @todo: parse rootless.conf for this?
272
272
  sip_paths = [
273
273
  "/System", "/bin", "/sbin", "/usr"
274
274
  ]
@@ -15,5 +15,5 @@
15
15
 
16
16
  module ChefConfig
17
17
  CHEFCONFIG_ROOT = File.expand_path("../..", __FILE__)
18
- VERSION = "15.10.12".freeze
18
+ VERSION = "15.11.3".freeze
19
19
  end
@@ -186,29 +186,29 @@ RSpec.describe ChefConfig::Config do
186
186
  end
187
187
 
188
188
  describe "when configuring formatters" do
189
- # if TTY and not(force-logger)
190
- # formatter = configured formatter or default formatter
191
- # formatter goes to STDOUT/ERR
192
- # if log file is writeable
193
- # log level is configured level or info
194
- # log location is file
195
- # else
196
- # log level is warn
197
- # log location is STDERR
198
- # end
199
- # elsif not(TTY) and force formatter
200
- # formatter = configured formatter or default formatter
201
- # if log_location specified
202
- # formatter goes to log_location
203
- # else
204
- # formatter goes to STDOUT/ERR
205
- # end
206
- # else
207
- # formatter = "null"
208
- # log_location = configured-value or defualt
209
- # log_level = info or defualt
210
- # end
211
- #
189
+ # if TTY and not(force-logger)
190
+ # formatter = configured formatter or default formatter
191
+ # formatter goes to STDOUT/ERR
192
+ # if log file is writeable
193
+ # log level is configured level or info
194
+ # log location is file
195
+ # else
196
+ # log level is warn
197
+ # log location is STDERR
198
+ # end
199
+ # elsif not(TTY) and force formatter
200
+ # formatter = configured formatter or default formatter
201
+ # if log_location specified
202
+ # formatter goes to log_location
203
+ # else
204
+ # formatter goes to STDOUT/ERR
205
+ # end
206
+ # else
207
+ # formatter = "null"
208
+ # log_location = configured-value or defualt
209
+ # log_level = info or defualt
210
+ # end
211
+ #
212
212
  it "has an empty list of formatters by default" do
213
213
  expect(ChefConfig::Config.formatters).to eq([])
214
214
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chef-config
3
3
  version: !ruby/object:Gem::Version
4
- version: 15.10.12
4
+ version: 15.11.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Jacob
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-04-22 00:00:00.000000000 Z
11
+ date: 2020-05-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: chef-utils
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 15.10.12
19
+ version: 15.11.3
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 15.10.12
26
+ version: 15.11.3
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: mixlib-shellout
29
29
  requirement: !ruby/object:Gem::Requirement