chef 17.9.52-universal-mingw32 → 17.10.68-universal-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (55) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +2 -2
  3. data/Rakefile +2 -2
  4. data/chef-universal-mingw32.gemspec +2 -1
  5. data/chef.gemspec +5 -5
  6. data/lib/chef/api_client.rb +1 -1
  7. data/lib/chef/client.rb +17 -2
  8. data/lib/chef/compliance/input_collection.rb +1 -1
  9. data/lib/chef/compliance/profile_collection.rb +1 -1
  10. data/lib/chef/compliance/waiver_collection.rb +1 -1
  11. data/lib/chef/dsl/secret.rb +113 -5
  12. data/lib/chef/mixin/checksum.rb +6 -0
  13. data/lib/chef/node/attribute.rb +20 -3
  14. data/lib/chef/node/mixin/deep_merge_cache.rb +4 -4
  15. data/lib/chef/policy_builder/expand_node_object.rb +1 -2
  16. data/lib/chef/policy_builder/policyfile.rb +1 -1
  17. data/lib/chef/provider/file.rb +2 -2
  18. data/lib/chef/provider/package/powershell.rb +1 -1
  19. data/lib/chef/provider/package/rubygems.rb +6 -6
  20. data/lib/chef/provider/package/windows.rb +1 -1
  21. data/lib/chef/provider/package/yum/python_helper.rb +14 -1
  22. data/lib/chef/provider/service/windows.rb +4 -4
  23. data/lib/chef/provider/user/windows.rb +2 -2
  24. data/lib/chef/resource/chef_client_config.rb +5 -0
  25. data/lib/chef/resource/locale.rb +1 -1
  26. data/lib/chef/resource/rhsm_register.rb +19 -0
  27. data/lib/chef/resource/support/client.erb +1 -2
  28. data/lib/chef/resource/windows_certificate.rb +54 -43
  29. data/lib/chef/resource/windows_pagefile.rb +28 -21
  30. data/lib/chef/resource/windows_user_privilege.rb +36 -26
  31. data/lib/chef/run_context.rb +16 -0
  32. data/lib/chef/secret_fetcher/hashi_vault.rb +1 -1
  33. data/lib/chef/version.rb +1 -1
  34. data/lib/chef/win32/version.rb +2 -1
  35. data/spec/data/trusted_certs/opscode.pem +33 -54
  36. data/spec/functional/resource/dnf_package_spec.rb +15 -0
  37. data/spec/functional/resource/windows_certificate_spec.rb +41 -13
  38. data/spec/functional/resource/windows_font_spec.rb +1 -1
  39. data/spec/functional/resource/windows_pagefile_spec.rb +31 -4
  40. data/spec/functional/resource/yum_package_spec.rb +15 -0
  41. data/spec/functional/shell_spec.rb +6 -0
  42. data/spec/unit/client_spec.rb +6 -3
  43. data/spec/unit/daemon_spec.rb +1 -5
  44. data/spec/unit/dsl/secret_spec.rb +127 -23
  45. data/spec/unit/mixin/checksum_spec.rb +28 -0
  46. data/spec/unit/provider/package/rubygems_spec.rb +1 -1
  47. data/spec/unit/resource/chef_client_config_spec.rb +8 -0
  48. data/spec/unit/run_context_spec.rb +16 -0
  49. metadata +43 -29
  50. /data/spec/functional/assets/yumrepo/repodata/{4632d67cb92636e7575d911c24f0e04d3505a944e97c483abe0c3e73a7c62d33-filelists.sqlite.bz2 → 01a3b-filelists.sqlite.bz2} +0 -0
  51. /data/spec/functional/assets/yumrepo/repodata/{bdb4f5f1492a3b9532f22c43110a81500dd744f23da0aec5c33b2a41317c737d-filelists.xml.gz → 401dc-filelists.xml.gz} +0 -0
  52. /data/spec/functional/assets/yumrepo/repodata/{a845d418f919d2115ab95a56b2c76f6825ad0d0bede49181a55c04f58995d057-primary.sqlite.bz2 → 5dc1e-primary.sqlite.bz2} +0 -0
  53. /data/spec/functional/assets/yumrepo/repodata/{74599b793e54d877323837d2d81a1c3c594c44e4335f9528234bb490f7b9b439-other.xml.gz → 6bf96-other.xml.gz} +0 -0
  54. /data/spec/functional/assets/yumrepo/repodata/{af9b7cf9ef23bd7b43068d74a460f3b5d06753d638e58e4a0c9edc35bfb9cdc4-other.sqlite.bz2 → 7c365-other.sqlite.bz2} +0 -0
  55. /data/spec/functional/assets/yumrepo/repodata/{c10d1d34ce99e02f12ec96ef68360543ab1bb7c3cb81a4a2bf78df7d8597e9df-primary.xml.gz → dabe2-primary.xml.gz} +0 -0
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chef
3
3
  version: !ruby/object:Gem::Version
4
- version: 17.9.52
4
+ version: 17.10.68
5
5
  platform: universal-mingw32
6
6
  authors:
7
7
  - Adam Jacob
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-02-18 00:00:00.000000000 Z
11
+ date: 2023-05-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: chef-config
@@ -16,48 +16,42 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 17.9.52
19
+ version: 17.10.68
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.9.52
26
+ version: 17.10.68
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: chef-utils
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 17.9.52
33
+ version: 17.10.68
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 17.9.52
40
+ version: 17.10.68
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: train-core
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '3.2'
48
- - - ">="
49
- - !ruby/object:Gem::Version
50
- version: 3.2.28
47
+ version: '3.10'
51
48
  type: :runtime
52
49
  prerelease: false
53
50
  version_requirements: !ruby/object:Gem::Requirement
54
51
  requirements:
55
52
  - - "~>"
56
53
  - !ruby/object:Gem::Version
57
- version: '3.2'
58
- - - ">="
59
- - !ruby/object:Gem::Version
60
- version: 3.2.28
54
+ version: '3.10'
61
55
  - !ruby/object:Gem::Dependency
62
56
  name: train-winrm
63
57
  requirement: !ruby/object:Gem::Requirement
@@ -210,14 +204,14 @@ dependencies:
210
204
  name: inspec-core
211
205
  requirement: !ruby/object:Gem::Requirement
212
206
  requirements:
213
- - - "~>"
207
+ - - ">="
214
208
  - !ruby/object:Gem::Version
215
209
  version: '4.23'
216
210
  type: :runtime
217
211
  prerelease: false
218
212
  version_requirements: !ruby/object:Gem::Requirement
219
213
  requirements:
220
- - - "~>"
214
+ - - ">="
221
215
  - !ruby/object:Gem::Version
222
216
  version: '4.23'
223
217
  - !ruby/object:Gem::Dependency
@@ -257,7 +251,7 @@ dependencies:
257
251
  version: 2.1.2
258
252
  - - "<"
259
253
  - !ruby/object:Gem::Version
260
- version: '4.0'
254
+ version: '5.0'
261
255
  type: :runtime
262
256
  prerelease: false
263
257
  version_requirements: !ruby/object:Gem::Requirement
@@ -267,7 +261,7 @@ dependencies:
267
261
  version: 2.1.2
268
262
  - - "<"
269
263
  - !ruby/object:Gem::Version
270
- version: '4.0'
264
+ version: '5.0'
271
265
  - !ruby/object:Gem::Dependency
272
266
  name: erubis
273
267
  requirement: !ruby/object:Gem::Requirement
@@ -289,9 +283,12 @@ dependencies:
289
283
  - - ">="
290
284
  - !ruby/object:Gem::Version
291
285
  version: 1.2.4
292
- - - "<"
286
+ - - "!="
293
287
  - !ruby/object:Gem::Version
294
288
  version: 1.4.0
289
+ - - "<"
290
+ - !ruby/object:Gem::Version
291
+ version: 1.6.0
295
292
  type: :runtime
296
293
  prerelease: false
297
294
  version_requirements: !ruby/object:Gem::Requirement
@@ -299,9 +296,12 @@ dependencies:
299
296
  - - ">="
300
297
  - !ruby/object:Gem::Version
301
298
  version: 1.2.4
302
- - - "<"
299
+ - - "!="
303
300
  - !ruby/object:Gem::Version
304
301
  version: 1.4.0
302
+ - - "<"
303
+ - !ruby/object:Gem::Version
304
+ version: 1.6.0
305
305
  - !ruby/object:Gem::Dependency
306
306
  name: ffi-libarchive
307
307
  requirement: !ruby/object:Gem::Requirement
@@ -654,14 +654,28 @@ dependencies:
654
654
  requirements:
655
655
  - - "~>"
656
656
  - !ruby/object:Gem::Version
657
- version: 0.6.2
657
+ version: 0.6.14
658
+ type: :runtime
659
+ prerelease: false
660
+ version_requirements: !ruby/object:Gem::Requirement
661
+ requirements:
662
+ - - "~>"
663
+ - !ruby/object:Gem::Version
664
+ version: 0.6.14
665
+ - !ruby/object:Gem::Dependency
666
+ name: chef-powershell
667
+ requirement: !ruby/object:Gem::Requirement
668
+ requirements:
669
+ - - "~>"
670
+ - !ruby/object:Gem::Version
671
+ version: 1.0.12
658
672
  type: :runtime
659
673
  prerelease: false
660
674
  version_requirements: !ruby/object:Gem::Requirement
661
675
  requirements:
662
676
  - - "~>"
663
677
  - !ruby/object:Gem::Version
664
- version: 0.6.2
678
+ version: 1.0.12
665
679
  description: A systems integration framework, built to bring the benefits of configuration
666
680
  management to your entire infrastructure.
667
681
  email: adam@chef.io
@@ -2460,12 +2474,12 @@ files:
2460
2474
  - spec/functional/assets/yumrepo/chef_rpm-1.2-1.s390x.rpm
2461
2475
  - spec/functional/assets/yumrepo/chef_rpm-1.2-1.src.rpm
2462
2476
  - spec/functional/assets/yumrepo/chef_rpm-1.2-1.x86_64.rpm
2463
- - spec/functional/assets/yumrepo/repodata/4632d67cb92636e7575d911c24f0e04d3505a944e97c483abe0c3e73a7c62d33-filelists.sqlite.bz2
2464
- - spec/functional/assets/yumrepo/repodata/74599b793e54d877323837d2d81a1c3c594c44e4335f9528234bb490f7b9b439-other.xml.gz
2465
- - spec/functional/assets/yumrepo/repodata/a845d418f919d2115ab95a56b2c76f6825ad0d0bede49181a55c04f58995d057-primary.sqlite.bz2
2466
- - spec/functional/assets/yumrepo/repodata/af9b7cf9ef23bd7b43068d74a460f3b5d06753d638e58e4a0c9edc35bfb9cdc4-other.sqlite.bz2
2467
- - spec/functional/assets/yumrepo/repodata/bdb4f5f1492a3b9532f22c43110a81500dd744f23da0aec5c33b2a41317c737d-filelists.xml.gz
2468
- - spec/functional/assets/yumrepo/repodata/c10d1d34ce99e02f12ec96ef68360543ab1bb7c3cb81a4a2bf78df7d8597e9df-primary.xml.gz
2477
+ - spec/functional/assets/yumrepo/repodata/01a3b-filelists.sqlite.bz2
2478
+ - spec/functional/assets/yumrepo/repodata/401dc-filelists.xml.gz
2479
+ - spec/functional/assets/yumrepo/repodata/5dc1e-primary.sqlite.bz2
2480
+ - spec/functional/assets/yumrepo/repodata/6bf96-other.xml.gz
2481
+ - spec/functional/assets/yumrepo/repodata/7c365-other.sqlite.bz2
2482
+ - spec/functional/assets/yumrepo/repodata/dabe2-primary.xml.gz
2469
2483
  - spec/functional/assets/yumrepo/repodata/filelists.xml.gz
2470
2484
  - spec/functional/assets/yumrepo/repodata/other.xml.gz
2471
2485
  - spec/functional/assets/yumrepo/repodata/primary.xml.gz
@@ -3160,7 +3174,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
3160
3174
  requirements:
3161
3175
  - - ">="
3162
3176
  - !ruby/object:Gem::Version
3163
- version: 2.6.0
3177
+ version: 2.7.0
3164
3178
  required_rubygems_version: !ruby/object:Gem::Requirement
3165
3179
  requirements:
3166
3180
  - - ">="