puppet 7.8.0-universal-darwin → 7.9.0-universal-darwin

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of puppet might be problematic. Click here for more details.

Files changed (146) hide show
  1. checksums.yaml +4 -4
  2. data/CONTRIBUTING.md +5 -5
  3. data/Gemfile.lock +9 -9
  4. data/README.md +4 -4
  5. data/ext/project_data.yaml +1 -0
  6. data/install.rb +0 -4
  7. data/lib/puppet.rb +3 -3
  8. data/lib/puppet/application/filebucket.rb +1 -0
  9. data/lib/puppet/application/resource.rb +15 -2
  10. data/lib/puppet/application/ssl.rb +1 -0
  11. data/lib/puppet/defaults.rb +7 -0
  12. data/lib/puppet/environments.rb +10 -0
  13. data/lib/puppet/face/help/action.erb +1 -0
  14. data/lib/puppet/face/help/face.erb +1 -0
  15. data/lib/puppet/face/node/clean.rb +1 -1
  16. data/lib/puppet/file_system/file_impl.rb +1 -1
  17. data/lib/puppet/file_system/windows.rb +2 -2
  18. data/lib/puppet/forge.rb +3 -3
  19. data/lib/puppet/forge/cache.rb +1 -1
  20. data/lib/puppet/functions/empty.rb +8 -0
  21. data/lib/puppet/functions/strftime.rb +1 -0
  22. data/lib/puppet/functions/unwrap.rb +17 -2
  23. data/lib/puppet/indirector/resource/ral.rb +6 -1
  24. data/lib/puppet/interface/documentation.rb +1 -0
  25. data/lib/puppet/module_tool/applications/installer.rb +4 -0
  26. data/lib/puppet/module_tool/errors/shared.rb +17 -0
  27. data/lib/puppet/module_tool/tar/mini.rb +1 -1
  28. data/lib/puppet/pops/types/type_mismatch_describer.rb +1 -1
  29. data/lib/puppet/provider/exec/posix.rb +16 -4
  30. data/lib/puppet/provider/package/pip.rb +15 -3
  31. data/lib/puppet/provider/package/windows.rb +14 -1
  32. data/lib/puppet/provider/package/windows/exe_package.rb +30 -1
  33. data/lib/puppet/provider/package/windows/package.rb +2 -1
  34. data/lib/puppet/provider/parsedfile.rb +3 -0
  35. data/lib/puppet/resource/type_collection.rb +2 -0
  36. data/lib/puppet/settings.rb +30 -7
  37. data/lib/puppet/settings/config_file.rb +1 -8
  38. data/lib/puppet/settings/value_translator.rb +0 -1
  39. data/lib/puppet/type/exec.rb +16 -3
  40. data/lib/puppet/type/file/mode.rb +6 -0
  41. data/lib/puppet/type/tidy.rb +1 -1
  42. data/lib/puppet/type/user.rb +1 -1
  43. data/lib/puppet/util/monkey_patches.rb +2 -17
  44. data/lib/puppet/util/symbolic_file_mode.rb +29 -17
  45. data/lib/puppet/util/windows/sid.rb +3 -1
  46. data/lib/puppet/version.rb +1 -1
  47. data/lib/puppet/x509/cert_provider.rb +3 -21
  48. data/locales/puppet.pot +207 -171
  49. data/man/man5/puppet.conf.5 +2 -2
  50. data/man/man8/puppet-agent.8 +1 -1
  51. data/man/man8/puppet-apply.8 +1 -1
  52. data/man/man8/puppet-catalog.8 +9 -9
  53. data/man/man8/puppet-config.8 +1 -1
  54. data/man/man8/puppet-describe.8 +1 -1
  55. data/man/man8/puppet-device.8 +1 -1
  56. data/man/man8/puppet-doc.8 +1 -1
  57. data/man/man8/puppet-epp.8 +1 -1
  58. data/man/man8/puppet-facts.8 +7 -7
  59. data/man/man8/puppet-filebucket.8 +1 -1
  60. data/man/man8/puppet-generate.8 +1 -1
  61. data/man/man8/puppet-help.8 +1 -1
  62. data/man/man8/puppet-lookup.8 +1 -1
  63. data/man/man8/puppet-module.8 +1 -1
  64. data/man/man8/puppet-node.8 +5 -5
  65. data/man/man8/puppet-parser.8 +1 -1
  66. data/man/man8/puppet-plugin.8 +1 -1
  67. data/man/man8/puppet-report.8 +5 -5
  68. data/man/man8/puppet-resource.8 +1 -1
  69. data/man/man8/puppet-script.8 +1 -1
  70. data/man/man8/puppet-ssl.8 +1 -1
  71. data/man/man8/puppet.8 +2 -2
  72. data/spec/fixtures/ssl/127.0.0.1-key.pem +106 -106
  73. data/spec/fixtures/ssl/127.0.0.1.pem +48 -48
  74. data/spec/fixtures/ssl/bad-basic-constraints.pem +54 -54
  75. data/spec/fixtures/ssl/bad-int-basic-constraints.pem +51 -51
  76. data/spec/fixtures/ssl/ca.pem +52 -52
  77. data/spec/fixtures/ssl/crl.pem +25 -25
  78. data/spec/fixtures/ssl/ec-key-openssl.pem +8 -0
  79. data/spec/fixtures/ssl/ec-key-pk8.pem +5 -0
  80. data/spec/fixtures/ssl/ec-key.pem +11 -11
  81. data/spec/fixtures/ssl/ec.pem +32 -32
  82. data/spec/fixtures/ssl/encrypted-ec-key.pem +12 -12
  83. data/spec/fixtures/ssl/encrypted-key.pem +107 -107
  84. data/spec/fixtures/ssl/intermediate-agent-crl.pem +25 -25
  85. data/spec/fixtures/ssl/intermediate-agent.pem +54 -54
  86. data/spec/fixtures/ssl/intermediate-crl.pem +28 -28
  87. data/spec/fixtures/ssl/intermediate.pem +51 -51
  88. data/spec/fixtures/ssl/oid-key.pem +117 -0
  89. data/spec/fixtures/ssl/oid.pem +69 -0
  90. data/spec/fixtures/ssl/pluto-key.pem +106 -106
  91. data/spec/fixtures/ssl/pluto.pem +50 -50
  92. data/spec/fixtures/ssl/request-key.pem +106 -106
  93. data/spec/fixtures/ssl/request.pem +45 -45
  94. data/spec/fixtures/ssl/revoked-key.pem +106 -106
  95. data/spec/fixtures/ssl/revoked.pem +49 -49
  96. data/spec/fixtures/ssl/signed-key.pem +106 -106
  97. data/spec/fixtures/ssl/signed.pem +47 -47
  98. data/spec/fixtures/ssl/tampered-cert.pem +49 -49
  99. data/spec/fixtures/ssl/tampered-csr.pem +45 -45
  100. data/spec/fixtures/ssl/trusted_oid_mapping.yaml +5 -0
  101. data/spec/fixtures/ssl/unknown-127.0.0.1-key.pem +106 -106
  102. data/spec/fixtures/ssl/unknown-127.0.0.1.pem +48 -48
  103. data/spec/fixtures/ssl/unknown-ca-key.pem +106 -106
  104. data/spec/fixtures/ssl/unknown-ca.pem +52 -52
  105. data/spec/integration/application/filebucket_spec.rb +11 -0
  106. data/spec/integration/application/module_spec.rb +21 -0
  107. data/spec/integration/application/resource_spec.rb +35 -1
  108. data/spec/integration/application/ssl_spec.rb +20 -0
  109. data/spec/integration/defaults_spec.rb +5 -0
  110. data/spec/integration/environments/settings_interpolation_spec.rb +0 -4
  111. data/spec/integration/indirector/facts/facter_spec.rb +90 -36
  112. data/spec/integration/type/exec_spec.rb +70 -45
  113. data/spec/lib/puppet/test_ca.rb +5 -0
  114. data/spec/lib/puppet_spec/settings.rb +1 -0
  115. data/spec/unit/environments_spec.rb +35 -0
  116. data/spec/unit/file_system_spec.rb +6 -0
  117. data/spec/unit/functions/assert_type_spec.rb +1 -1
  118. data/spec/unit/functions/empty_spec.rb +10 -0
  119. data/spec/unit/functions/lookup_spec.rb +23 -0
  120. data/spec/unit/functions/unwrap_spec.rb +8 -0
  121. data/spec/unit/functions4_spec.rb +2 -2
  122. data/spec/unit/indirector/resource/ral_spec.rb +40 -75
  123. data/spec/unit/module_tool/applications/installer_spec.rb +13 -2
  124. data/spec/unit/parser/compiler_spec.rb +29 -0
  125. data/spec/unit/parser/templatewrapper_spec.rb +12 -2
  126. data/spec/unit/pops/loaders/dependency_loader_spec.rb +0 -9
  127. data/spec/unit/pops/parser/lexer2_spec.rb +0 -4
  128. data/spec/unit/provider/package/pip_spec.rb +37 -0
  129. data/spec/unit/provider/package/windows/exe_package_spec.rb +17 -0
  130. data/spec/unit/provider/parsedfile_spec.rb +10 -0
  131. data/spec/unit/resource/type_collection_spec.rb +16 -0
  132. data/spec/unit/resource/type_spec.rb +2 -2
  133. data/spec/unit/settings/config_file_spec.rb +1 -11
  134. data/spec/unit/settings/value_translator_spec.rb +4 -5
  135. data/spec/unit/settings_spec.rb +120 -79
  136. data/spec/unit/ssl/ssl_provider_spec.rb +18 -16
  137. data/spec/unit/type/exec_spec.rb +76 -29
  138. data/spec/unit/type/file/source_spec.rb +4 -4
  139. data/spec/unit/type/tidy_spec.rb +7 -0
  140. data/spec/unit/util/ldap/connection_spec.rb +10 -10
  141. data/spec/unit/util/ldap/manager_spec.rb +2 -2
  142. data/spec/unit/util/windows/sid_spec.rb +39 -4
  143. data/spec/unit/util_spec.rb +1 -3
  144. data/spec/unit/x509/cert_provider_spec.rb +9 -1
  145. data/tasks/generate_cert_fixtures.rake +10 -1
  146. metadata +16 -3
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: puppet
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.8.0
4
+ version: 7.9.0
5
5
  platform: universal-darwin
6
6
  authors:
7
7
  - Puppet Labs
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-06-14 00:00:00.000000000 Z
11
+ date: 2021-07-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: facter
@@ -1411,6 +1411,8 @@ files:
1411
1411
  - spec/fixtures/ssl/bad-int-basic-constraints.pem
1412
1412
  - spec/fixtures/ssl/ca.pem
1413
1413
  - spec/fixtures/ssl/crl.pem
1414
+ - spec/fixtures/ssl/ec-key-openssl.pem
1415
+ - spec/fixtures/ssl/ec-key-pk8.pem
1414
1416
  - spec/fixtures/ssl/ec-key.pem
1415
1417
  - spec/fixtures/ssl/ec.pem
1416
1418
  - spec/fixtures/ssl/encrypted-ec-key.pem
@@ -1420,6 +1422,8 @@ files:
1420
1422
  - spec/fixtures/ssl/intermediate-crl.pem
1421
1423
  - spec/fixtures/ssl/intermediate.pem
1422
1424
  - spec/fixtures/ssl/netlock-arany-utf8.pem
1425
+ - spec/fixtures/ssl/oid-key.pem
1426
+ - spec/fixtures/ssl/oid.pem
1423
1427
  - spec/fixtures/ssl/pluto-key.pem
1424
1428
  - spec/fixtures/ssl/pluto.pem
1425
1429
  - spec/fixtures/ssl/request-key.pem
@@ -1430,6 +1434,7 @@ files:
1430
1434
  - spec/fixtures/ssl/signed.pem
1431
1435
  - spec/fixtures/ssl/tampered-cert.pem
1432
1436
  - spec/fixtures/ssl/tampered-csr.pem
1437
+ - spec/fixtures/ssl/trusted_oid_mapping.yaml
1433
1438
  - spec/fixtures/ssl/unknown-127.0.0.1-key.pem
1434
1439
  - spec/fixtures/ssl/unknown-127.0.0.1.pem
1435
1440
  - spec/fixtures/ssl/unknown-ca-key.pem
@@ -1780,6 +1785,7 @@ files:
1780
1785
  - spec/integration/application/module_spec.rb
1781
1786
  - spec/integration/application/plugin_spec.rb
1782
1787
  - spec/integration/application/resource_spec.rb
1788
+ - spec/integration/application/ssl_spec.rb
1783
1789
  - spec/integration/configurer_spec.rb
1784
1790
  - spec/integration/data_binding_spec.rb
1785
1791
  - spec/integration/defaults_spec.rb
@@ -2582,7 +2588,8 @@ files:
2582
2588
  - tasks/parser.rake
2583
2589
  - tasks/yard.rake
2584
2590
  homepage: https://github.com/puppetlabs/puppet
2585
- licenses: []
2591
+ licenses:
2592
+ - Apache-2.0
2586
2593
  metadata: {}
2587
2594
  post_install_message:
2588
2595
  rdoc_options:
@@ -2650,6 +2657,8 @@ test_files:
2650
2657
  - spec/fixtures/ssl/bad-int-basic-constraints.pem
2651
2658
  - spec/fixtures/ssl/ca.pem
2652
2659
  - spec/fixtures/ssl/crl.pem
2660
+ - spec/fixtures/ssl/ec-key-openssl.pem
2661
+ - spec/fixtures/ssl/ec-key-pk8.pem
2653
2662
  - spec/fixtures/ssl/ec-key.pem
2654
2663
  - spec/fixtures/ssl/ec.pem
2655
2664
  - spec/fixtures/ssl/encrypted-ec-key.pem
@@ -2659,6 +2668,8 @@ test_files:
2659
2668
  - spec/fixtures/ssl/intermediate-crl.pem
2660
2669
  - spec/fixtures/ssl/intermediate.pem
2661
2670
  - spec/fixtures/ssl/netlock-arany-utf8.pem
2671
+ - spec/fixtures/ssl/oid-key.pem
2672
+ - spec/fixtures/ssl/oid.pem
2662
2673
  - spec/fixtures/ssl/pluto-key.pem
2663
2674
  - spec/fixtures/ssl/pluto.pem
2664
2675
  - spec/fixtures/ssl/request-key.pem
@@ -2669,6 +2680,7 @@ test_files:
2669
2680
  - spec/fixtures/ssl/signed.pem
2670
2681
  - spec/fixtures/ssl/tampered-cert.pem
2671
2682
  - spec/fixtures/ssl/tampered-csr.pem
2683
+ - spec/fixtures/ssl/trusted_oid_mapping.yaml
2672
2684
  - spec/fixtures/ssl/unknown-127.0.0.1-key.pem
2673
2685
  - spec/fixtures/ssl/unknown-127.0.0.1.pem
2674
2686
  - spec/fixtures/ssl/unknown-ca-key.pem
@@ -3019,6 +3031,7 @@ test_files:
3019
3031
  - spec/integration/application/module_spec.rb
3020
3032
  - spec/integration/application/plugin_spec.rb
3021
3033
  - spec/integration/application/resource_spec.rb
3034
+ - spec/integration/application/ssl_spec.rb
3022
3035
  - spec/integration/configurer_spec.rb
3023
3036
  - spec/integration/data_binding_spec.rb
3024
3037
  - spec/integration/defaults_spec.rb