puppet 7.8.0-x64-mingw32 → 7.9.0-x64-mingw32

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: x64-mingw32
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
@@ -1431,6 +1431,8 @@ files:
1431
1431
  - spec/fixtures/ssl/bad-int-basic-constraints.pem
1432
1432
  - spec/fixtures/ssl/ca.pem
1433
1433
  - spec/fixtures/ssl/crl.pem
1434
+ - spec/fixtures/ssl/ec-key-openssl.pem
1435
+ - spec/fixtures/ssl/ec-key-pk8.pem
1434
1436
  - spec/fixtures/ssl/ec-key.pem
1435
1437
  - spec/fixtures/ssl/ec.pem
1436
1438
  - spec/fixtures/ssl/encrypted-ec-key.pem
@@ -1440,6 +1442,8 @@ files:
1440
1442
  - spec/fixtures/ssl/intermediate-crl.pem
1441
1443
  - spec/fixtures/ssl/intermediate.pem
1442
1444
  - spec/fixtures/ssl/netlock-arany-utf8.pem
1445
+ - spec/fixtures/ssl/oid-key.pem
1446
+ - spec/fixtures/ssl/oid.pem
1443
1447
  - spec/fixtures/ssl/pluto-key.pem
1444
1448
  - spec/fixtures/ssl/pluto.pem
1445
1449
  - spec/fixtures/ssl/request-key.pem
@@ -1450,6 +1454,7 @@ files:
1450
1454
  - spec/fixtures/ssl/signed.pem
1451
1455
  - spec/fixtures/ssl/tampered-cert.pem
1452
1456
  - spec/fixtures/ssl/tampered-csr.pem
1457
+ - spec/fixtures/ssl/trusted_oid_mapping.yaml
1453
1458
  - spec/fixtures/ssl/unknown-127.0.0.1-key.pem
1454
1459
  - spec/fixtures/ssl/unknown-127.0.0.1.pem
1455
1460
  - spec/fixtures/ssl/unknown-ca-key.pem
@@ -1800,6 +1805,7 @@ files:
1800
1805
  - spec/integration/application/module_spec.rb
1801
1806
  - spec/integration/application/plugin_spec.rb
1802
1807
  - spec/integration/application/resource_spec.rb
1808
+ - spec/integration/application/ssl_spec.rb
1803
1809
  - spec/integration/configurer_spec.rb
1804
1810
  - spec/integration/data_binding_spec.rb
1805
1811
  - spec/integration/defaults_spec.rb
@@ -2602,7 +2608,8 @@ files:
2602
2608
  - tasks/parser.rake
2603
2609
  - tasks/yard.rake
2604
2610
  homepage: https://github.com/puppetlabs/puppet
2605
- licenses: []
2611
+ licenses:
2612
+ - Apache-2.0
2606
2613
  metadata: {}
2607
2614
  post_install_message:
2608
2615
  rdoc_options:
@@ -2670,6 +2677,8 @@ test_files:
2670
2677
  - spec/fixtures/ssl/bad-int-basic-constraints.pem
2671
2678
  - spec/fixtures/ssl/ca.pem
2672
2679
  - spec/fixtures/ssl/crl.pem
2680
+ - spec/fixtures/ssl/ec-key-openssl.pem
2681
+ - spec/fixtures/ssl/ec-key-pk8.pem
2673
2682
  - spec/fixtures/ssl/ec-key.pem
2674
2683
  - spec/fixtures/ssl/ec.pem
2675
2684
  - spec/fixtures/ssl/encrypted-ec-key.pem
@@ -2679,6 +2688,8 @@ test_files:
2679
2688
  - spec/fixtures/ssl/intermediate-crl.pem
2680
2689
  - spec/fixtures/ssl/intermediate.pem
2681
2690
  - spec/fixtures/ssl/netlock-arany-utf8.pem
2691
+ - spec/fixtures/ssl/oid-key.pem
2692
+ - spec/fixtures/ssl/oid.pem
2682
2693
  - spec/fixtures/ssl/pluto-key.pem
2683
2694
  - spec/fixtures/ssl/pluto.pem
2684
2695
  - spec/fixtures/ssl/request-key.pem
@@ -2689,6 +2700,7 @@ test_files:
2689
2700
  - spec/fixtures/ssl/signed.pem
2690
2701
  - spec/fixtures/ssl/tampered-cert.pem
2691
2702
  - spec/fixtures/ssl/tampered-csr.pem
2703
+ - spec/fixtures/ssl/trusted_oid_mapping.yaml
2692
2704
  - spec/fixtures/ssl/unknown-127.0.0.1-key.pem
2693
2705
  - spec/fixtures/ssl/unknown-127.0.0.1.pem
2694
2706
  - spec/fixtures/ssl/unknown-ca-key.pem
@@ -3039,6 +3051,7 @@ test_files:
3039
3051
  - spec/integration/application/module_spec.rb
3040
3052
  - spec/integration/application/plugin_spec.rb
3041
3053
  - spec/integration/application/resource_spec.rb
3054
+ - spec/integration/application/ssl_spec.rb
3042
3055
  - spec/integration/configurer_spec.rb
3043
3056
  - spec/integration/data_binding_spec.rb
3044
3057
  - spec/integration/defaults_spec.rb