puppet 7.8.0 → 7.9.0

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: ruby
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
@@ -1397,6 +1397,8 @@ files:
1397
1397
  - spec/fixtures/ssl/bad-int-basic-constraints.pem
1398
1398
  - spec/fixtures/ssl/ca.pem
1399
1399
  - spec/fixtures/ssl/crl.pem
1400
+ - spec/fixtures/ssl/ec-key-openssl.pem
1401
+ - spec/fixtures/ssl/ec-key-pk8.pem
1400
1402
  - spec/fixtures/ssl/ec-key.pem
1401
1403
  - spec/fixtures/ssl/ec.pem
1402
1404
  - spec/fixtures/ssl/encrypted-ec-key.pem
@@ -1406,6 +1408,8 @@ files:
1406
1408
  - spec/fixtures/ssl/intermediate-crl.pem
1407
1409
  - spec/fixtures/ssl/intermediate.pem
1408
1410
  - spec/fixtures/ssl/netlock-arany-utf8.pem
1411
+ - spec/fixtures/ssl/oid-key.pem
1412
+ - spec/fixtures/ssl/oid.pem
1409
1413
  - spec/fixtures/ssl/pluto-key.pem
1410
1414
  - spec/fixtures/ssl/pluto.pem
1411
1415
  - spec/fixtures/ssl/request-key.pem
@@ -1416,6 +1420,7 @@ files:
1416
1420
  - spec/fixtures/ssl/signed.pem
1417
1421
  - spec/fixtures/ssl/tampered-cert.pem
1418
1422
  - spec/fixtures/ssl/tampered-csr.pem
1423
+ - spec/fixtures/ssl/trusted_oid_mapping.yaml
1419
1424
  - spec/fixtures/ssl/unknown-127.0.0.1-key.pem
1420
1425
  - spec/fixtures/ssl/unknown-127.0.0.1.pem
1421
1426
  - spec/fixtures/ssl/unknown-ca-key.pem
@@ -1766,6 +1771,7 @@ files:
1766
1771
  - spec/integration/application/module_spec.rb
1767
1772
  - spec/integration/application/plugin_spec.rb
1768
1773
  - spec/integration/application/resource_spec.rb
1774
+ - spec/integration/application/ssl_spec.rb
1769
1775
  - spec/integration/configurer_spec.rb
1770
1776
  - spec/integration/data_binding_spec.rb
1771
1777
  - spec/integration/defaults_spec.rb
@@ -2568,7 +2574,8 @@ files:
2568
2574
  - tasks/parser.rake
2569
2575
  - tasks/yard.rake
2570
2576
  homepage: https://github.com/puppetlabs/puppet
2571
- licenses: []
2577
+ licenses:
2578
+ - Apache-2.0
2572
2579
  metadata: {}
2573
2580
  post_install_message:
2574
2581
  rdoc_options:
@@ -2636,6 +2643,8 @@ test_files:
2636
2643
  - spec/fixtures/ssl/bad-int-basic-constraints.pem
2637
2644
  - spec/fixtures/ssl/ca.pem
2638
2645
  - spec/fixtures/ssl/crl.pem
2646
+ - spec/fixtures/ssl/ec-key-openssl.pem
2647
+ - spec/fixtures/ssl/ec-key-pk8.pem
2639
2648
  - spec/fixtures/ssl/ec-key.pem
2640
2649
  - spec/fixtures/ssl/ec.pem
2641
2650
  - spec/fixtures/ssl/encrypted-ec-key.pem
@@ -2645,6 +2654,8 @@ test_files:
2645
2654
  - spec/fixtures/ssl/intermediate-crl.pem
2646
2655
  - spec/fixtures/ssl/intermediate.pem
2647
2656
  - spec/fixtures/ssl/netlock-arany-utf8.pem
2657
+ - spec/fixtures/ssl/oid-key.pem
2658
+ - spec/fixtures/ssl/oid.pem
2648
2659
  - spec/fixtures/ssl/pluto-key.pem
2649
2660
  - spec/fixtures/ssl/pluto.pem
2650
2661
  - spec/fixtures/ssl/request-key.pem
@@ -2655,6 +2666,7 @@ test_files:
2655
2666
  - spec/fixtures/ssl/signed.pem
2656
2667
  - spec/fixtures/ssl/tampered-cert.pem
2657
2668
  - spec/fixtures/ssl/tampered-csr.pem
2669
+ - spec/fixtures/ssl/trusted_oid_mapping.yaml
2658
2670
  - spec/fixtures/ssl/unknown-127.0.0.1-key.pem
2659
2671
  - spec/fixtures/ssl/unknown-127.0.0.1.pem
2660
2672
  - spec/fixtures/ssl/unknown-ca-key.pem
@@ -3005,6 +3017,7 @@ test_files:
3005
3017
  - spec/integration/application/module_spec.rb
3006
3018
  - spec/integration/application/plugin_spec.rb
3007
3019
  - spec/integration/application/resource_spec.rb
3020
+ - spec/integration/application/ssl_spec.rb
3008
3021
  - spec/integration/configurer_spec.rb
3009
3022
  - spec/integration/data_binding_spec.rb
3010
3023
  - spec/integration/defaults_spec.rb