chef-config 17.1.35 → 17.4.38

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
  SHA256:
3
- metadata.gz: f694bbda24ebf4eab27163a9d730b2b45ba7082e71ad9bffd70f0f146a9d5cb6
4
- data.tar.gz: f844d4d5927aa01a05b0604e081e959f1f5d863a11190b0dab61cce94ac2ab39
3
+ metadata.gz: e3350eee10b269bf3bf443a488cffcde9fa5fa84341b1a4c9b7621f4f13bbfd6
4
+ data.tar.gz: 56a3cd24929df9461e6b31372dcfeb6b04871db11d79496629e34162e200d188
5
5
  SHA512:
6
- metadata.gz: 406ca654e45344828425e7651f6bf473664ac404459dbb469169ad637aa7f3ad40bf29e29a1075fa5e465b82cde6a9c1d8dbd57bed207e9267787f465e6d1902
7
- data.tar.gz: 8ae6334114565f1b8dbf443f762d61672092c21c60d931a2148fddc58a45349bf3cd22a93a86cbcb55198866ac512cbd61db5fd39fbbe8fc06e00243e4bf4b14
6
+ metadata.gz: 92230eb698dab127fcd37bda11debf78f1d15bda8c0f1ea5e2405a053263048594de6ae2c982da24767481702d2e185ba3e74e2aca084a8b0f81897fd1eeb315
7
+ data.tar.gz: 548c4e2e916546f85f3f00c8614e23d868420545125fbe46bde632d12b64e2a4b699cf41d4f3c1cd293278be216c340589d63204d0e6065591cc079e1c1d3ab2
data/chef-config.gemspec CHANGED
@@ -16,10 +16,10 @@ Gem::Specification.new do |spec|
16
16
 
17
17
  spec.metadata = {
18
18
  "bug_tracker_uri" => "https://github.com/chef/chef/issues",
19
- "changelog_uri" => "https://github.com/chef/chef/blob/master/CHANGELOG.md",
20
- "documentation_uri" => "https://github.com/chef/chef/tree/master/chef-config/README.md",
21
- "homepage_uri" => "https://github.com/chef/chef/tree/master/chef-config",
22
- "source_code_uri" => "https://github.com/chef/chef/tree/master/chef-config",
19
+ "changelog_uri" => "https://github.com/chef/chef/blob/main/CHANGELOG.md",
20
+ "documentation_uri" => "https://github.com/chef/chef/tree/main/chef-config/README.md",
21
+ "homepage_uri" => "https://github.com/chef/chef/tree/main/chef-config",
22
+ "source_code_uri" => "https://github.com/chef/chef/tree/main/chef-config",
23
23
  }
24
24
 
25
25
  spec.require_paths = ["lib"]
@@ -392,9 +392,21 @@ module ChefConfig
392
392
  # Where chef's cache files should be stored
393
393
  default(:file_cache_path) { PathHelper.join(cache_path, "cache") }.writes_value { |path| expand_relative_paths(path) }
394
394
 
395
+ # Where chef's cache files should be stored, used for bootstrap on unix filesystems
396
+ default(:unix_bootstrap_file_cache_path) { PathHelper.join("/var", ChefUtils::Dist::Infra::DIR_SUFFIX, "cache", windows: false) }
397
+
398
+ # Where chef's cache files should be stored, used for bootstrap on windows filesystems
399
+ default(:windows_bootstrap_file_cache_path) { PathHelper.join("C:", ChefUtils::Dist::Infra::DIR_SUFFIX, "cache", windows: true) }
400
+
395
401
  # Where backups of chef-managed files should go
396
402
  default(:file_backup_path) { PathHelper.join(cache_path, "backup") }
397
403
 
404
+ # Where chef's backup files should be stored, used for bootstrap on unix filesystems
405
+ default(:unix_bootstrap_file_backup_path) { PathHelper.join("/var", ChefUtils::Dist::Infra::DIR_SUFFIX, "backup", windows: false) }
406
+
407
+ # Where chef's backup files should be stored, used for bootstrap on windows filesystems
408
+ default(:windows_bootstrap_file_backup_path) { PathHelper.join("C:", ChefUtils::Dist::Infra::DIR_SUFFIX, "backup", windows: true) }
409
+
398
410
  # The chef-client (or solo) lockfile.
399
411
  #
400
412
  # If your `file_cache_path` resides on a NFS (or non-flock()-supporting
@@ -632,6 +644,16 @@ module ChefConfig
632
644
  # effect if `policy_document_native_api` is set to `false`.
633
645
  default :deployment_group, nil
634
646
 
647
+ # When using policyfiles you can optionally set it to read the node.run_list
648
+ # from the server and have that override the policyfile run_list or the
649
+ # named_run_list set in config. With policyfiles there is no depsolving done
650
+ # on the run_list items so every item in the run_list must be in the set of
651
+ # cookbooks pushed to the node. This enables flows where the node can change
652
+ # its run_list and have it persist or to bootstrap nodes with the -j flag. If
653
+ # no run_list is set on the server node object then the configured named_run_list
654
+ # or run_list out of the policy is used.
655
+ default :policy_persist_run_list, false
656
+
635
657
  # Set these to enable SSL authentication / mutual-authentication
636
658
  # with the server
637
659
 
@@ -1007,7 +1029,7 @@ module ChefConfig
1007
1029
  default :blocked_normal_attributes, nil
1008
1030
  default :blocked_override_attributes, nil
1009
1031
 
1010
- # deprecated config options that will be removed in Chef Infra Client 17
1032
+ # deprecated config options that will be removed in Chef Infra Client 18
1011
1033
  default :automatic_attribute_blacklist, nil
1012
1034
  default :default_attribute_blacklist, nil
1013
1035
  default :normal_attribute_blacklist, nil
@@ -15,5 +15,5 @@
15
15
 
16
16
  module ChefConfig
17
17
  CHEFCONFIG_ROOT = File.expand_path("..", __dir__)
18
- VERSION = "17.1.35".freeze
18
+ VERSION = "17.4.38".freeze
19
19
  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: 17.1.35
4
+ version: 17.4.38
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Jacob
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-05-11 00:00:00.000000000 Z
11
+ date: 2021-08-27 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: 17.1.35
19
+ version: 17.4.38
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: 17.1.35
26
+ version: 17.4.38
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: mixlib-shellout
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -139,10 +139,10 @@ licenses:
139
139
  - Apache-2.0
140
140
  metadata:
141
141
  bug_tracker_uri: https://github.com/chef/chef/issues
142
- changelog_uri: https://github.com/chef/chef/blob/master/CHANGELOG.md
143
- documentation_uri: https://github.com/chef/chef/tree/master/chef-config/README.md
144
- homepage_uri: https://github.com/chef/chef/tree/master/chef-config
145
- source_code_uri: https://github.com/chef/chef/tree/master/chef-config
142
+ changelog_uri: https://github.com/chef/chef/blob/main/CHANGELOG.md
143
+ documentation_uri: https://github.com/chef/chef/tree/main/chef-config/README.md
144
+ homepage_uri: https://github.com/chef/chef/tree/main/chef-config
145
+ source_code_uri: https://github.com/chef/chef/tree/main/chef-config
146
146
  post_install_message:
147
147
  rdoc_options: []
148
148
  require_paths:
@@ -158,7 +158,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
158
158
  - !ruby/object:Gem::Version
159
159
  version: '0'
160
160
  requirements: []
161
- rubygems_version: 3.2.15
161
+ rubygems_version: 3.2.22
162
162
  signing_key:
163
163
  specification_version: 4
164
164
  summary: Chef Infra's default configuration and config loading library