puppet 6.20.0-x64-mingw32 → 7.0.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 (484) hide show
  1. checksums.yaml +4 -4
  2. data/CODEOWNERS +16 -2
  3. data/Gemfile +0 -2
  4. data/Gemfile.lock +18 -24
  5. data/README.md +1 -1
  6. data/conf/fileserver.conf +5 -10
  7. data/ext/build_defaults.yaml +1 -1
  8. data/ext/osx/file_mapping.yaml +0 -5
  9. data/ext/project_data.yaml +1 -14
  10. data/ext/redhat/puppet.spec.erb +0 -1
  11. data/ext/windows/service/daemon.rb +6 -5
  12. data/install.rb +21 -17
  13. data/lib/puppet.rb +11 -20
  14. data/lib/puppet/application.rb +178 -108
  15. data/lib/puppet/application/agent.rb +0 -1
  16. data/lib/puppet/application/apply.rb +2 -3
  17. data/lib/puppet/application/device.rb +100 -105
  18. data/lib/puppet/application/filebucket.rb +13 -9
  19. data/lib/puppet/application/script.rb +0 -1
  20. data/lib/puppet/application/ssl.rb +1 -1
  21. data/lib/puppet/application_support.rb +0 -7
  22. data/lib/puppet/configurer.rb +30 -45
  23. data/lib/puppet/configurer/plugin_handler.rb +21 -19
  24. data/lib/puppet/defaults.rb +97 -167
  25. data/lib/puppet/environments.rb +59 -58
  26. data/lib/puppet/face/facts.rb +51 -51
  27. data/lib/puppet/face/help.rb +1 -1
  28. data/lib/puppet/face/plugin.rb +5 -8
  29. data/lib/puppet/ffi/windows.rb +12 -0
  30. data/lib/puppet/ffi/windows/api_types.rb +311 -0
  31. data/lib/puppet/ffi/windows/constants.rb +404 -0
  32. data/lib/puppet/ffi/windows/functions.rb +628 -0
  33. data/lib/puppet/ffi/windows/structs.rb +338 -0
  34. data/lib/puppet/file_serving/configuration.rb +0 -5
  35. data/lib/puppet/file_serving/configuration/parser.rb +3 -32
  36. data/lib/puppet/file_serving/http_metadata.rb +1 -1
  37. data/lib/puppet/file_serving/mount.rb +1 -2
  38. data/lib/puppet/forge/repository.rb +0 -1
  39. data/lib/puppet/generate/models/type/type.rb +4 -1
  40. data/lib/puppet/http.rb +22 -13
  41. data/lib/puppet/http/client.rb +164 -114
  42. data/lib/puppet/{network/resolver.rb → http/dns.rb} +2 -2
  43. data/lib/puppet/http/errors.rb +16 -0
  44. data/lib/puppet/http/external_client.rb +5 -7
  45. data/lib/puppet/{network/http → http}/factory.rb +8 -11
  46. data/lib/puppet/{network/http → http}/pool.rb +61 -26
  47. data/lib/puppet/{network/http/session.rb → http/pool_entry.rb} +2 -3
  48. data/lib/puppet/http/proxy.rb +137 -0
  49. data/lib/puppet/http/redirector.rb +4 -12
  50. data/lib/puppet/http/resolver.rb +5 -15
  51. data/lib/puppet/http/resolver/server_list.rb +6 -10
  52. data/lib/puppet/http/resolver/settings.rb +4 -7
  53. data/lib/puppet/http/resolver/srv.rb +7 -11
  54. data/lib/puppet/http/response.rb +36 -54
  55. data/lib/puppet/http/response_converter.rb +24 -0
  56. data/lib/puppet/http/response_net_http.rb +42 -0
  57. data/lib/puppet/http/retry_after_handler.rb +4 -13
  58. data/lib/puppet/http/service.rb +12 -26
  59. data/lib/puppet/http/service/ca.rb +11 -22
  60. data/lib/puppet/http/service/compiler.rb +22 -69
  61. data/lib/puppet/http/service/file_server.rb +18 -27
  62. data/lib/puppet/http/service/puppetserver.rb +26 -12
  63. data/lib/puppet/http/service/report.rb +8 -10
  64. data/lib/puppet/http/session.rb +11 -20
  65. data/lib/puppet/{network/http → http}/site.rb +1 -2
  66. data/lib/puppet/indirector/catalog/rest.rb +2 -4
  67. data/lib/puppet/indirector/facts/facter.rb +24 -3
  68. data/lib/puppet/indirector/facts/rest.rb +3 -22
  69. data/lib/puppet/indirector/file_bucket_file/rest.rb +3 -9
  70. data/lib/puppet/indirector/file_content/rest.rb +2 -6
  71. data/lib/puppet/indirector/file_metadata/rest.rb +3 -9
  72. data/lib/puppet/indirector/file_server.rb +1 -8
  73. data/lib/puppet/indirector/generic_http.rb +0 -11
  74. data/lib/puppet/indirector/node/rest.rb +2 -4
  75. data/lib/puppet/indirector/report/rest.rb +3 -8
  76. data/lib/puppet/indirector/request.rb +0 -101
  77. data/lib/puppet/indirector/rest.rb +12 -263
  78. data/lib/puppet/module_tool/applications.rb +0 -1
  79. data/lib/puppet/module_tool/applications/installer.rb +2 -48
  80. data/lib/puppet/module_tool/errors/shared.rb +2 -17
  81. data/lib/puppet/network/authconfig.rb +2 -96
  82. data/lib/puppet/network/authorization.rb +13 -35
  83. data/lib/puppet/network/http.rb +3 -3
  84. data/lib/puppet/network/http/api/indirected_routes.rb +2 -20
  85. data/lib/puppet/network/http/api/master/v3.rb +11 -13
  86. data/lib/puppet/network/http/connection.rb +247 -316
  87. data/lib/puppet/network/http/handler.rb +0 -1
  88. data/lib/puppet/network/http_pool.rb +16 -34
  89. data/lib/puppet/node.rb +1 -30
  90. data/lib/puppet/pal/json_catalog_encoder.rb +4 -0
  91. data/lib/puppet/pal/pal_impl.rb +3 -1
  92. data/lib/puppet/parser/ast/leaf.rb +2 -3
  93. data/lib/puppet/parser/ast/pops_bridge.rb +0 -38
  94. data/lib/puppet/parser/compiler.rb +0 -198
  95. data/lib/puppet/parser/compiler/catalog_validator/relationship_validator.rb +14 -39
  96. data/lib/puppet/parser/resource.rb +0 -69
  97. data/lib/puppet/parser/templatewrapper.rb +1 -1
  98. data/lib/puppet/pops/evaluator/deferred_resolver.rb +3 -5
  99. data/lib/puppet/pops/evaluator/evaluator_impl.rb +0 -5
  100. data/lib/puppet/pops/evaluator/runtime3_resource_support.rb +3 -3
  101. data/lib/puppet/pops/evaluator/runtime3_support.rb +1 -1
  102. data/lib/puppet/pops/issues.rb +0 -5
  103. data/lib/puppet/pops/loader/ruby_legacy_function_instantiator.rb +6 -8
  104. data/lib/puppet/pops/model/ast.pp +0 -42
  105. data/lib/puppet/pops/model/ast.rb +0 -290
  106. data/lib/puppet/pops/model/ast_transformer.rb +1 -1
  107. data/lib/puppet/pops/model/factory.rb +0 -45
  108. data/lib/puppet/pops/model/model_label_provider.rb +0 -5
  109. data/lib/puppet/pops/model/model_tree_dumper.rb +0 -22
  110. data/lib/puppet/pops/model/pn_transformer.rb +0 -16
  111. data/lib/puppet/pops/parser/egrammar.ra +0 -56
  112. data/lib/puppet/pops/parser/eparser.rb +1520 -1712
  113. data/lib/puppet/pops/parser/lexer2.rb +4 -4
  114. data/lib/puppet/pops/parser/parser_support.rb +0 -5
  115. data/lib/puppet/pops/resource/resource_type_impl.rb +2 -24
  116. data/lib/puppet/pops/types/type_calculator.rb +0 -7
  117. data/lib/puppet/pops/types/type_parser.rb +0 -4
  118. data/lib/puppet/pops/types/types.rb +0 -1
  119. data/lib/puppet/pops/validation/checker4_0.rb +9 -37
  120. data/lib/puppet/pops/validation/tasks_checker.rb +0 -12
  121. data/lib/puppet/pops/validation/validator_factory_4_0.rb +1 -2
  122. data/lib/puppet/provider.rb +0 -13
  123. data/lib/puppet/provider/nameservice.rb +0 -18
  124. data/lib/puppet/provider/package/apt.rb +0 -4
  125. data/lib/puppet/provider/package/dpkg.rb +0 -10
  126. data/lib/puppet/provider/package/gem.rb +23 -3
  127. data/lib/puppet/provider/package/pip.rb +0 -1
  128. data/lib/puppet/provider/package/pkg.rb +0 -4
  129. data/lib/puppet/provider/package/portage.rb +1 -1
  130. data/lib/puppet/provider/package/puppet_gem.rb +1 -4
  131. data/lib/puppet/provider/service/smf.rb +191 -73
  132. data/lib/puppet/provider/user/aix.rb +2 -2
  133. data/lib/puppet/provider/user/directoryservice.rb +0 -10
  134. data/lib/puppet/reference/configuration.rb +7 -6
  135. data/lib/puppet/reference/indirection.rb +1 -1
  136. data/lib/puppet/resource.rb +1 -89
  137. data/lib/puppet/resource/catalog.rb +1 -14
  138. data/lib/puppet/resource/type.rb +3 -119
  139. data/lib/puppet/resource/type_collection.rb +3 -48
  140. data/lib/puppet/runtime.rb +1 -2
  141. data/lib/puppet/settings.rb +73 -66
  142. data/lib/puppet/settings/integer_setting.rb +17 -0
  143. data/lib/puppet/settings/port_setting.rb +15 -0
  144. data/lib/puppet/settings/priority_setting.rb +5 -4
  145. data/lib/puppet/ssl.rb +10 -6
  146. data/lib/puppet/ssl/base.rb +3 -5
  147. data/lib/puppet/ssl/certificate.rb +0 -6
  148. data/lib/puppet/ssl/certificate_request.rb +1 -12
  149. data/lib/puppet/ssl/certificate_signer.rb +6 -0
  150. data/lib/puppet/ssl/oids.rb +3 -1
  151. data/lib/puppet/ssl/ssl_provider.rb +17 -0
  152. data/lib/puppet/ssl/state_machine.rb +3 -1
  153. data/lib/puppet/ssl/verifier.rb +2 -0
  154. data/lib/puppet/test/test_helper.rb +1 -3
  155. data/lib/puppet/transaction.rb +1 -7
  156. data/lib/puppet/transaction/report.rb +2 -4
  157. data/lib/puppet/type.rb +0 -76
  158. data/lib/puppet/type/file.rb +5 -7
  159. data/lib/puppet/type/file/checksum.rb +1 -1
  160. data/lib/puppet/type/file/source.rb +1 -1
  161. data/lib/puppet/type/filebucket.rb +3 -3
  162. data/lib/puppet/type/package.rb +5 -13
  163. data/lib/puppet/util/autoload.rb +8 -1
  164. data/lib/puppet/util/execution.rb +0 -11
  165. data/lib/puppet/util/http_proxy.rb +2 -215
  166. data/lib/puppet/util/monkey_patches.rb +0 -46
  167. data/lib/puppet/util/posix.rb +5 -54
  168. data/lib/puppet/util/rdoc.rb +0 -7
  169. data/lib/puppet/util/retry_action.rb +1 -1
  170. data/lib/puppet/util/run_mode.rb +9 -1
  171. data/lib/puppet/util/windows.rb +3 -8
  172. data/lib/puppet/util/windows/daemon.rb +360 -0
  173. data/lib/puppet/util/windows/error.rb +1 -0
  174. data/lib/puppet/util/windows/eventlog.rb +4 -9
  175. data/lib/puppet/util/windows/file.rb +8 -242
  176. data/lib/puppet/util/windows/monkey_patches/process.rb +414 -0
  177. data/lib/puppet/util/windows/process.rb +4 -226
  178. data/lib/puppet/util/windows/service.rb +9 -460
  179. data/lib/puppet/util/windows/string.rb +12 -13
  180. data/lib/puppet/util/yaml.rb +0 -22
  181. data/lib/puppet/vendor/require_vendored.rb +0 -1
  182. data/lib/puppet/version.rb +1 -1
  183. data/lib/puppet/x509.rb +5 -1
  184. data/lib/puppet/x509/cert_provider.rb +29 -1
  185. data/locales/puppet.pot +587 -1312
  186. data/man/man5/puppet.conf.5 +39 -99
  187. data/man/man8/puppet-agent.8 +2 -2
  188. data/man/man8/puppet-apply.8 +2 -2
  189. data/man/man8/puppet-catalog.8 +1 -1
  190. data/man/man8/puppet-config.8 +1 -1
  191. data/man/man8/puppet-describe.8 +1 -1
  192. data/man/man8/puppet-device.8 +2 -2
  193. data/man/man8/puppet-doc.8 +1 -1
  194. data/man/man8/puppet-epp.8 +1 -1
  195. data/man/man8/puppet-facts.8 +51 -36
  196. data/man/man8/puppet-filebucket.8 +4 -4
  197. data/man/man8/puppet-generate.8 +1 -1
  198. data/man/man8/puppet-help.8 +1 -1
  199. data/man/man8/puppet-lookup.8 +1 -1
  200. data/man/man8/puppet-module.8 +1 -58
  201. data/man/man8/puppet-node.8 +1 -1
  202. data/man/man8/puppet-parser.8 +1 -1
  203. data/man/man8/puppet-plugin.8 +1 -1
  204. data/man/man8/puppet-report.8 +1 -1
  205. data/man/man8/puppet-resource.8 +1 -1
  206. data/man/man8/puppet-script.8 +2 -2
  207. data/man/man8/puppet-ssl.8 +1 -1
  208. data/man/man8/puppet.8 +2 -2
  209. data/spec/fixtures/unit/provider/service/smf/{svcs.out → svcs_instances.out} +0 -0
  210. data/spec/fixtures/unit/provider/user/aix/aix_passwd_file.out +0 -4
  211. data/spec/integration/application/agent_spec.rb +27 -138
  212. data/spec/integration/application/apply_spec.rb +1 -20
  213. data/spec/integration/application/filebucket_spec.rb +16 -16
  214. data/spec/integration/application/help_spec.rb +2 -0
  215. data/spec/integration/application/plugin_spec.rb +23 -1
  216. data/spec/integration/defaults_spec.rb +14 -3
  217. data/spec/integration/network/http_pool_spec.rb +3 -21
  218. data/spec/integration/parser/catalog_spec.rb +0 -38
  219. data/spec/integration/parser/node_spec.rb +0 -9
  220. data/spec/integration/parser/pcore_resource_spec.rb +0 -37
  221. data/spec/integration/resource/type_collection_spec.rb +6 -2
  222. data/spec/integration/transaction_spec.rb +9 -4
  223. data/spec/integration/type/file_spec.rb +5 -4
  224. data/spec/integration/util/windows/adsi_spec.rb +1 -3
  225. data/spec/integration/util/windows/monkey_patches/process_spec.rb +231 -0
  226. data/spec/integration/util/windows/registry_spec.rb +10 -0
  227. data/spec/integration/util/windows/security_spec.rb +1 -1
  228. data/spec/lib/puppet_spec/puppetserver.rb +1 -1
  229. data/spec/lib/puppet_spec/settings.rb +1 -0
  230. data/spec/spec_helper.rb +6 -1
  231. data/spec/unit/agent_spec.rb +6 -10
  232. data/spec/unit/application/agent_spec.rb +1 -0
  233. data/spec/unit/application/facts_spec.rb +35 -0
  234. data/spec/unit/application/filebucket_spec.rb +43 -39
  235. data/spec/unit/application/ssl_spec.rb +2 -2
  236. data/spec/unit/application_spec.rb +9 -51
  237. data/spec/unit/certificate_factory_spec.rb +1 -1
  238. data/spec/unit/configurer/downloader_spec.rb +6 -2
  239. data/spec/unit/configurer/plugin_handler_spec.rb +56 -18
  240. data/spec/unit/configurer_spec.rb +12 -9
  241. data/spec/unit/confine/feature_spec.rb +1 -1
  242. data/spec/unit/confine_spec.rb +2 -8
  243. data/spec/unit/context/trusted_information_spec.rb +2 -6
  244. data/spec/unit/defaults_spec.rb +72 -42
  245. data/spec/unit/environments_spec.rb +19 -99
  246. data/spec/unit/face/facts_spec.rb +4 -0
  247. data/spec/unit/face/node_spec.rb +11 -0
  248. data/spec/unit/face/plugin_spec.rb +73 -33
  249. data/spec/unit/file_bucket/file_spec.rb +1 -1
  250. data/spec/unit/file_serving/configuration/parser_spec.rb +15 -18
  251. data/spec/unit/file_serving/configuration_spec.rb +6 -12
  252. data/spec/unit/file_serving/metadata_spec.rb +3 -3
  253. data/spec/unit/file_serving/terminus_helper_spec.rb +4 -11
  254. data/spec/unit/forge/module_release_spec.rb +7 -2
  255. data/spec/unit/functions/camelcase_spec.rb +1 -1
  256. data/spec/unit/functions/capitalize_spec.rb +1 -1
  257. data/spec/unit/functions/downcase_spec.rb +1 -1
  258. data/spec/unit/functions/upcase_spec.rb +1 -1
  259. data/spec/unit/http/client_spec.rb +7 -8
  260. data/spec/unit/{network/resolver_spec.rb → http/dns_spec.rb} +3 -3
  261. data/spec/unit/http/external_client_spec.rb +4 -4
  262. data/spec/unit/{network/http → http}/factory_spec.rb +5 -11
  263. data/spec/unit/{network/http/session_spec.rb → http/pool_entry_spec.rb} +3 -3
  264. data/spec/unit/{network/http → http}/pool_spec.rb +12 -17
  265. data/spec/unit/{util/http_proxy_spec.rb → http/proxy_spec.rb} +2 -69
  266. data/spec/unit/http/resolver_spec.rb +13 -13
  267. data/spec/unit/http/service/compiler_spec.rb +0 -62
  268. data/spec/unit/http/service/file_server_spec.rb +3 -3
  269. data/spec/unit/http/service/puppetserver_spec.rb +34 -4
  270. data/spec/unit/http/service_spec.rb +0 -1
  271. data/spec/unit/http/session_spec.rb +16 -14
  272. data/spec/unit/{network/http → http}/site_spec.rb +3 -3
  273. data/spec/unit/indirector/face_spec.rb +1 -0
  274. data/spec/unit/indirector/facts/facter_spec.rb +98 -0
  275. data/spec/unit/indirector/file_bucket_file/file_spec.rb +5 -3
  276. data/spec/unit/indirector/file_bucket_file/selector_spec.rb +8 -26
  277. data/spec/unit/indirector/file_content/rest_spec.rb +0 -4
  278. data/spec/unit/indirector/file_metadata/rest_spec.rb +0 -4
  279. data/spec/unit/indirector/file_server_spec.rb +1 -15
  280. data/spec/unit/indirector/indirection_spec.rb +12 -8
  281. data/spec/unit/indirector/report/rest_spec.rb +2 -17
  282. data/spec/unit/indirector/request_spec.rb +0 -264
  283. data/spec/unit/indirector/rest_spec.rb +98 -752
  284. data/spec/unit/indirector_spec.rb +2 -2
  285. data/spec/unit/module_tool/applications/installer_spec.rb +0 -66
  286. data/spec/unit/network/authconfig_spec.rb +2 -129
  287. data/spec/unit/network/authorization_spec.rb +2 -55
  288. data/spec/unit/network/formats_spec.rb +4 -4
  289. data/spec/unit/network/http/api/indirected_routes_spec.rb +5 -92
  290. data/spec/unit/network/http/api/master/v3_spec.rb +28 -7
  291. data/spec/unit/network/http/api_spec.rb +10 -0
  292. data/spec/unit/network/http/connection_spec.rb +19 -41
  293. data/spec/unit/network/http/handler_spec.rb +0 -1
  294. data/spec/unit/network/http_pool_spec.rb +0 -4
  295. data/spec/unit/node/environment_spec.rb +33 -21
  296. data/spec/unit/node_spec.rb +2 -54
  297. data/spec/unit/parser/compiler_spec.rb +19 -3
  298. data/spec/unit/parser/functions/create_resources_spec.rb +2 -20
  299. data/spec/unit/parser/resource_spec.rb +8 -14
  300. data/spec/unit/parser/templatewrapper_spec.rb +3 -4
  301. data/spec/unit/pops/evaluator/evaluating_parser_spec.rb +4 -7
  302. data/spec/unit/pops/loaders/loaders_spec.rb +6 -21
  303. data/spec/unit/pops/parser/parse_application_spec.rb +4 -22
  304. data/spec/unit/pops/parser/parse_basic_expressions_spec.rb +0 -1
  305. data/spec/unit/pops/parser/parse_capabilities_spec.rb +8 -21
  306. data/spec/unit/pops/parser/parse_site_spec.rb +20 -24
  307. data/spec/unit/pops/resource/resource_type_impl_spec.rb +0 -71
  308. data/spec/unit/pops/serialization/to_from_hr_spec.rb +1 -1
  309. data/spec/unit/pops/types/type_calculator_spec.rb +6 -6
  310. data/spec/unit/pops/types/type_factory_spec.rb +1 -1
  311. data/spec/unit/pops/validator/validator_spec.rb +61 -46
  312. data/spec/unit/pops/visitor_spec.rb +1 -1
  313. data/spec/unit/property_spec.rb +0 -1
  314. data/spec/unit/provider/nameservice_spec.rb +64 -122
  315. data/spec/unit/provider/package/apt_spec.rb +8 -4
  316. data/spec/unit/provider/package/base_spec.rb +5 -6
  317. data/spec/unit/provider/package/dpkg_spec.rb +0 -48
  318. data/spec/unit/provider/package/gem_spec.rb +32 -0
  319. data/spec/unit/provider/package/pacman_spec.rb +12 -18
  320. data/spec/unit/provider/package/pip_spec.rb +11 -6
  321. data/spec/unit/provider/package/pkgdmg_spec.rb +4 -0
  322. data/spec/unit/provider/package/puppet_gem_spec.rb +3 -2
  323. data/spec/unit/provider/service/smf_spec.rb +401 -165
  324. data/spec/unit/provider/service/windows_spec.rb +0 -1
  325. data/spec/unit/provider/user/aix_spec.rb +0 -5
  326. data/spec/unit/provider/user/hpux_spec.rb +1 -1
  327. data/spec/unit/provider/user/pw_spec.rb +0 -2
  328. data/spec/unit/provider/user/useradd_spec.rb +0 -1
  329. data/spec/unit/provider_spec.rb +8 -18
  330. data/spec/unit/resource/type_collection_spec.rb +2 -22
  331. data/spec/unit/resource/type_spec.rb +1 -1
  332. data/spec/unit/resource_spec.rb +10 -67
  333. data/spec/unit/settings/http_extra_headers_spec.rb +2 -4
  334. data/spec/unit/settings/integer_setting_spec.rb +42 -0
  335. data/spec/unit/settings/port_setting_spec.rb +31 -0
  336. data/spec/unit/settings/priority_setting_spec.rb +4 -4
  337. data/spec/unit/settings_spec.rb +23 -13
  338. data/spec/unit/ssl/base_spec.rb +37 -3
  339. data/spec/unit/ssl/certificate_request_spec.rb +15 -45
  340. data/spec/unit/ssl/certificate_spec.rb +2 -11
  341. data/spec/unit/ssl/ssl_provider_spec.rb +2 -5
  342. data/spec/unit/ssl/state_machine_spec.rb +0 -1
  343. data/spec/unit/ssl/verifier_spec.rb +0 -21
  344. data/spec/unit/transaction/additional_resource_generator_spec.rb +7 -3
  345. data/spec/unit/transaction/event_manager_spec.rb +11 -14
  346. data/spec/unit/transaction/report_spec.rb +0 -2
  347. data/spec/unit/transaction/resource_harness_spec.rb +2 -2
  348. data/spec/unit/transaction_spec.rb +48 -91
  349. data/spec/unit/type/file/checksum_spec.rb +6 -6
  350. data/spec/unit/type/file/content_spec.rb +2 -1
  351. data/spec/unit/type/file/ensure_spec.rb +1 -1
  352. data/spec/unit/type/file/mode_spec.rb +1 -1
  353. data/spec/unit/type/file/selinux_spec.rb +2 -0
  354. data/spec/unit/type/file/source_spec.rb +0 -1
  355. data/spec/unit/type/file_spec.rb +18 -6
  356. data/spec/unit/type/group_spec.rb +6 -13
  357. data/spec/unit/type/package_spec.rb +1 -1
  358. data/spec/unit/type/resources_spec.rb +7 -7
  359. data/spec/unit/type/service_spec.rb +1 -1
  360. data/spec/unit/type/tidy_spec.rb +1 -0
  361. data/spec/unit/type_spec.rb +22 -2
  362. data/spec/unit/util/at_fork_spec.rb +2 -2
  363. data/spec/unit/util/autoload_spec.rb +1 -5
  364. data/spec/unit/util/backups_spec.rb +2 -3
  365. data/spec/unit/util/execution_spec.rb +11 -44
  366. data/spec/unit/util/inifile_spec.rb +14 -6
  367. data/spec/unit/util/log_spec.rb +7 -8
  368. data/spec/unit/util/logging_spec.rb +3 -3
  369. data/spec/unit/util/monkey_patches_spec.rb +0 -6
  370. data/spec/unit/util/posix_spec.rb +15 -363
  371. data/spec/unit/util/run_mode_spec.rb +21 -121
  372. data/spec/unit/util/selinux_spec.rb +52 -76
  373. data/spec/unit/util/storage_spec.rb +1 -3
  374. data/spec/unit/util/suidmanager_spec.rb +41 -44
  375. data/spec/unit/util/windows/string_spec.rb +1 -3
  376. data/spec/unit/util/yaml_spec.rb +0 -54
  377. data/spec/unit/util_spec.rb +6 -31
  378. metadata +40 -233
  379. data/conf/auth.conf +0 -150
  380. data/lib/puppet/application/cert.rb +0 -76
  381. data/lib/puppet/application/key.rb +0 -4
  382. data/lib/puppet/application/man.rb +0 -4
  383. data/lib/puppet/application/status.rb +0 -4
  384. data/lib/puppet/face/key.rb +0 -16
  385. data/lib/puppet/face/man.rb +0 -145
  386. data/lib/puppet/face/module/build.rb +0 -14
  387. data/lib/puppet/face/module/generate.rb +0 -14
  388. data/lib/puppet/face/module/search.rb +0 -103
  389. data/lib/puppet/face/status.rb +0 -51
  390. data/lib/puppet/ffi/posix.rb +0 -10
  391. data/lib/puppet/ffi/posix/constants.rb +0 -14
  392. data/lib/puppet/ffi/posix/functions.rb +0 -24
  393. data/lib/puppet/indirector/certificate/file.rb +0 -9
  394. data/lib/puppet/indirector/certificate/rest.rb +0 -18
  395. data/lib/puppet/indirector/certificate_request/file.rb +0 -9
  396. data/lib/puppet/indirector/certificate_request/memory.rb +0 -7
  397. data/lib/puppet/indirector/certificate_request/rest.rb +0 -11
  398. data/lib/puppet/indirector/file_content/http.rb +0 -22
  399. data/lib/puppet/indirector/key/file.rb +0 -46
  400. data/lib/puppet/indirector/key/memory.rb +0 -7
  401. data/lib/puppet/indirector/ssl_file.rb +0 -162
  402. data/lib/puppet/indirector/status.rb +0 -3
  403. data/lib/puppet/indirector/status/local.rb +0 -12
  404. data/lib/puppet/indirector/status/rest.rb +0 -27
  405. data/lib/puppet/module_tool/applications/searcher.rb +0 -29
  406. data/lib/puppet/network/auth_config_parser.rb +0 -90
  407. data/lib/puppet/network/authstore.rb +0 -283
  408. data/lib/puppet/network/http/api/master/v3/authorization.rb +0 -18
  409. data/lib/puppet/network/http/api/master/v3/environment.rb +0 -88
  410. data/lib/puppet/network/http/base_pool.rb +0 -36
  411. data/lib/puppet/network/http/compression.rb +0 -127
  412. data/lib/puppet/network/http/connection_adapter.rb +0 -184
  413. data/lib/puppet/network/http/nocache_pool.rb +0 -28
  414. data/lib/puppet/network/rest_controller.rb +0 -2
  415. data/lib/puppet/network/rights.rb +0 -210
  416. data/lib/puppet/parser/compiler/catalog_validator/env_relationship_validator.rb +0 -66
  417. data/lib/puppet/parser/compiler/catalog_validator/site_validator.rb +0 -22
  418. data/lib/puppet/parser/environment_compiler.rb +0 -202
  419. data/lib/puppet/pops/types/enumeration.rb +0 -16
  420. data/lib/puppet/resource/capability_finder.rb +0 -154
  421. data/lib/puppet/rest/errors.rb +0 -15
  422. data/lib/puppet/rest/response.rb +0 -35
  423. data/lib/puppet/rest/route.rb +0 -85
  424. data/lib/puppet/rest/routes.rb +0 -135
  425. data/lib/puppet/settings/alias_setting.rb +0 -37
  426. data/lib/puppet/ssl/host.rb +0 -505
  427. data/lib/puppet/ssl/key.rb +0 -61
  428. data/lib/puppet/ssl/validator.rb +0 -61
  429. data/lib/puppet/ssl/validator/default_validator.rb +0 -209
  430. data/lib/puppet/ssl/validator/no_validator.rb +0 -22
  431. data/lib/puppet/ssl/verifier_adapter.rb +0 -58
  432. data/lib/puppet/status.rb +0 -40
  433. data/lib/puppet/util/connection.rb +0 -88
  434. data/lib/puppet/util/fact_dif.rb +0 -62
  435. data/lib/puppet/util/ssl.rb +0 -83
  436. data/lib/puppet/util/windows/api_types.rb +0 -309
  437. data/lib/puppet/util/windows/monkey_patches/dir.rb +0 -40
  438. data/lib/puppet/vendor/load_pathspec.rb +0 -1
  439. data/lib/puppet/vendor/pathspec/CHANGELOG.md +0 -2
  440. data/lib/puppet/vendor/pathspec/LICENSE +0 -201
  441. data/lib/puppet/vendor/pathspec/PUPPET_README.md +0 -6
  442. data/lib/puppet/vendor/pathspec/README.md +0 -53
  443. data/lib/puppet/vendor/pathspec/lib/pathspec.rb +0 -122
  444. data/lib/puppet/vendor/pathspec/lib/pathspec/gitignorespec.rb +0 -275
  445. data/lib/puppet/vendor/pathspec/lib/pathspec/regexspec.rb +0 -17
  446. data/lib/puppet/vendor/pathspec/lib/pathspec/spec.rb +0 -14
  447. data/man/man8/puppet-key.8 +0 -126
  448. data/man/man8/puppet-man.8 +0 -76
  449. data/man/man8/puppet-status.8 +0 -108
  450. data/spec/fixtures/integration/application/agent/cached_deferred_catalog.json +0 -91
  451. data/spec/integration/network/authconfig_spec.rb +0 -256
  452. data/spec/integration/util/windows/monkey_patches/dir_spec.rb +0 -11
  453. data/spec/unit/application/man_spec.rb +0 -52
  454. data/spec/unit/capability_spec.rb +0 -414
  455. data/spec/unit/face/key_spec.rb +0 -9
  456. data/spec/unit/face/module/search_spec.rb +0 -231
  457. data/spec/unit/face/status_spec.rb +0 -9
  458. data/spec/unit/indirector/certificate/file_spec.rb +0 -14
  459. data/spec/unit/indirector/certificate/rest_spec.rb +0 -61
  460. data/spec/unit/indirector/certificate_request/file_spec.rb +0 -14
  461. data/spec/unit/indirector/certificate_request/rest_spec.rb +0 -25
  462. data/spec/unit/indirector/key/file_spec.rb +0 -78
  463. data/spec/unit/indirector/ssl_file_spec.rb +0 -305
  464. data/spec/unit/indirector/status/local_spec.rb +0 -10
  465. data/spec/unit/indirector/status/rest_spec.rb +0 -50
  466. data/spec/unit/module_tool/applications/searcher_spec.rb +0 -38
  467. data/spec/unit/network/auth_config_parser_spec.rb +0 -115
  468. data/spec/unit/network/authstore_spec.rb +0 -422
  469. data/spec/unit/network/http/api/master/v3/authorization_spec.rb +0 -57
  470. data/spec/unit/network/http/api/master/v3/environment_spec.rb +0 -185
  471. data/spec/unit/network/http/compression_spec.rb +0 -240
  472. data/spec/unit/network/http/nocache_pool_spec.rb +0 -64
  473. data/spec/unit/network/http_spec.rb +0 -9
  474. data/spec/unit/network/rights_spec.rb +0 -439
  475. data/spec/unit/parser/environment_compiler_spec.rb +0 -730
  476. data/spec/unit/pops/evaluator/deferred_resolver_spec.rb +0 -20
  477. data/spec/unit/pops/types/enumeration_spec.rb +0 -51
  478. data/spec/unit/resource/capability_finder_spec.rb +0 -148
  479. data/spec/unit/rest/route_spec.rb +0 -132
  480. data/spec/unit/ssl/host_spec.rb +0 -645
  481. data/spec/unit/ssl/key_spec.rb +0 -173
  482. data/spec/unit/ssl/validator_spec.rb +0 -278
  483. data/spec/unit/status_spec.rb +0 -45
  484. data/spec/unit/util/ssl_spec.rb +0 -91
@@ -4,15 +4,13 @@ require 'spec_helper'
4
4
  require 'puppet/util/windows'
5
5
 
6
6
  describe "Puppet::Util::Windows::String", :if => Puppet::Util::Platform.windows? do
7
- UTF16_NULL = [0, 0]
8
-
9
7
  def wide_string(str)
10
8
  Puppet::Util::Windows::String.wide_string(str)
11
9
  end
12
10
 
13
11
  def converts_to_wide_string(string_value)
14
12
  expected = string_value.encode(Encoding::UTF_16LE)
15
- expected_bytes = expected.bytes.to_a + UTF16_NULL
13
+ expected_bytes = expected.bytes.to_a
16
14
 
17
15
  expect(wide_string(string_value).bytes.to_a).to eq(expected_bytes)
18
16
  end
@@ -139,60 +139,6 @@ FACTS
139
139
  end
140
140
  end
141
141
 
142
- context '#load_file' do
143
- it_should_behave_like 'yaml file loader', Puppet::Util::Yaml.method(:load_file)
144
-
145
- it 'raises an error when the file is invalid YAML' do
146
- write_file(filename, '{ invalid')
147
-
148
- expect {
149
- Puppet::Util::Yaml.load_file(filename)
150
- }.to raise_error(Puppet::Util::Yaml::YamlLoadError, %r{\(#{filename}\): .* at line \d+ column \d+})
151
- end
152
-
153
- it 'raises an error when the filename is illegal' do
154
- expect {
155
- Puppet::Util::Yaml.load_file("not\0allowed")
156
- }.to raise_error(Puppet::Util::Yaml::YamlLoadError, /null byte/)
157
- end
158
-
159
- it 'raises an error when the file does not exist' do
160
- expect {
161
- Puppet::Util::Yaml.load_file('does/not/exist.yaml')
162
- }.to raise_error(Puppet::Util::Yaml::YamlLoadError, /No such file or directory/)
163
- end
164
-
165
- it 'allows return value to be overridden' do
166
- Puppet::FileSystem.touch(filename)
167
-
168
- expect(Puppet::Util::Yaml.load_file(filename, {})).to eq({})
169
- end
170
-
171
- it 'loads arbitrary objects' do
172
- write_file(filename, "--- !ruby/object {}\n")
173
-
174
- expect(Puppet::Util::Yaml.load_file(filename, {})).to be_instance_of(Object)
175
- end
176
-
177
- it 'should allow one to strip ruby tags that would otherwise not parse' do
178
- write_file(filename, "---\nweirddata: !ruby/hash:Not::A::Valid::Class {}")
179
-
180
- expect(Puppet::Util::Yaml.load_file(filename, {}, true)).to eq({"weirddata" => {}})
181
- end
182
-
183
- it 'should not strip non-ruby tags' do
184
- write_file(filename, "---\nweirddata: !binary |-\n e21kNX04MTE4ZGY2NmM5MTc3OTg4ZWE4Y2JiOWEzMjMyNzFkYg==")
185
-
186
- expect(Puppet::Util::Yaml.load_file(filename, {}, true)).to eq({"weirddata" => "{md5}8118df66c9177988ea8cbb9a323271db"})
187
- end
188
-
189
- it 'writes data formatted as YAML to disk' do
190
- Puppet::Util::Yaml.dump({ "my" => "data" }, filename)
191
-
192
- expect(Puppet::Util::Yaml.load_file(filename)).to eq({ "my" => "data" })
193
- end
194
- end
195
-
196
142
  def write_file(name, contents)
197
143
  File.open(name, "w:UTF-8") do |fh|
198
144
  fh.write(contents)
@@ -3,12 +3,6 @@ require 'spec_helper'
3
3
  describe Puppet::Util do
4
4
  include PuppetSpec::Files
5
5
 
6
- # Discriminator for tests that attempts to unset HOME since that, for reasons currently unknown,
7
- # doesn't work in Ruby >= 2.4.0
8
- def self.gte_ruby_2_4
9
- @gte_ruby_2_4 ||= SemanticPuppet::Version.parse(RUBY_VERSION) >= SemanticPuppet::Version.parse('2.4.0')
10
- end
11
-
12
6
  if Puppet::Util::Platform.windows?
13
7
  def set_mode(mode, file)
14
8
  Puppet::Util::Windows::Security.set_mode(mode, file)
@@ -315,7 +309,7 @@ describe Puppet::Util do
315
309
 
316
310
  describe "when using platform :posix" do
317
311
  before :each do
318
- allow(Puppet.features).to receive(:posix?).and_return(true)
312
+ allow(Puppet.features).to receive(:posix).and_return(true)
319
313
  allow(Puppet::Util::Platform).to receive(:windows?).and_return(false)
320
314
  end
321
315
 
@@ -328,7 +322,7 @@ describe Puppet::Util do
328
322
 
329
323
  describe "when using platform :windows" do
330
324
  before :each do
331
- allow(Puppet.features).to receive(:posix?).and_return(false)
325
+ allow(Puppet.features).to receive(:posix).and_return(false)
332
326
  allow(Puppet::Util::Platform).to receive(:windows?).and_return(true)
333
327
  end
334
328
 
@@ -462,7 +456,7 @@ describe Puppet::Util do
462
456
 
463
457
  describe "when using platform :posix" do
464
458
  before :each do
465
- allow(Puppet.features).to receive(:posix?).and_return(true)
459
+ allow(Puppet.features).to receive(:posix).and_return(true)
466
460
  allow(Puppet::Util::Platform).to receive(:windows?).and_return(false)
467
461
  end
468
462
 
@@ -501,7 +495,7 @@ describe Puppet::Util do
501
495
 
502
496
  describe "when using platform :windows" do
503
497
  before :each do
504
- allow(Puppet.features).to receive(:posix?).and_return(false)
498
+ allow(Puppet.features).to receive(:posix).and_return(false)
505
499
  allow(Puppet::Util::Platform).to receive(:windows?).and_return(true)
506
500
  end
507
501
 
@@ -539,6 +533,7 @@ describe Puppet::Util do
539
533
  expect(Puppet::Util.uri_to_path(URI.parse('http://foo/bar%20baz'))).to eq('/bar baz')
540
534
  end
541
535
 
536
+
542
537
  [
543
538
  "http://foo/A%DB%BF%E1%9A%A0%F0%A0%9C%8E",
544
539
  "http://foo/A%DB%BF%E1%9A%A0%F0%A0%9C%8E".force_encoding(Encoding::ASCII)
@@ -588,15 +583,7 @@ describe Puppet::Util do
588
583
  end
589
584
  end
590
585
 
591
- describe "safe_posix_fork on Windows and JRuby", if: Puppet::Util::Platform.windows? || Puppet::Util::Platform.jruby? do
592
- it "raises not implemented error" do
593
- expect {
594
- Puppet::Util.safe_posix_fork
595
- }.to raise_error(NotImplementedError, /fork/)
596
- end
597
- end
598
-
599
- describe "safe_posix_fork", unless: Puppet::Util::Platform.windows? || Puppet::Util::Platform.jruby? do
586
+ describe "safe_posix_fork" do
600
587
  let(:pid) { 5501 }
601
588
 
602
589
  before :each do
@@ -676,18 +663,6 @@ describe Puppet::Util do
676
663
  expect(Puppet::Util.which('doesnotexist')).to be_nil
677
664
  end
678
665
 
679
- it "should warn if the user's HOME is not set but their PATH contains a ~", :unless => gte_ruby_2_4 do
680
- env_path = %w[~/bin /usr/bin /bin].join(File::PATH_SEPARATOR)
681
-
682
- env = {:HOME => nil, :PATH => env_path}
683
- env.merge!({:HOMEDRIVE => nil, :USERPROFILE => nil}) if Puppet::Util::Platform.windows?
684
-
685
- expect(Puppet::Util::Warnings).to receive(:warnonce).once
686
- Puppet::Util.withenv(env) do
687
- Puppet::Util.which('foo')
688
- end
689
- end
690
-
691
666
  it "should reject directories" do
692
667
  expect(Puppet::Util.which(base)).to be_nil
693
668
  end
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: 6.20.0
4
+ version: 7.0.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-01-18 00:00:00.000000000 Z
11
+ date: 2020-11-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: facter
@@ -106,20 +106,6 @@ dependencies:
106
106
  - - "~>"
107
107
  - !ruby/object:Gem::Version
108
108
  version: '1.10'
109
- - !ruby/object:Gem::Dependency
110
- name: httpclient
111
- requirement: !ruby/object:Gem::Requirement
112
- requirements:
113
- - - "~>"
114
- - !ruby/object:Gem::Version
115
- version: '2.8'
116
- type: :runtime
117
- prerelease: false
118
- version_requirements: !ruby/object:Gem::Requirement
119
- requirements:
120
- - - "~>"
121
- - !ruby/object:Gem::Version
122
- version: '2.8'
123
109
  - !ruby/object:Gem::Dependency
124
110
  name: puppet-resource_api
125
111
  requirement: !ruby/object:Gem::Requirement
@@ -182,62 +168,6 @@ dependencies:
182
168
  - - "<"
183
169
  - !ruby/object:Gem::Version
184
170
  version: '2'
185
- - !ruby/object:Gem::Dependency
186
- name: win32-dir
187
- requirement: !ruby/object:Gem::Requirement
188
- requirements:
189
- - - '='
190
- - !ruby/object:Gem::Version
191
- version: 0.4.9
192
- type: :runtime
193
- prerelease: false
194
- version_requirements: !ruby/object:Gem::Requirement
195
- requirements:
196
- - - '='
197
- - !ruby/object:Gem::Version
198
- version: 0.4.9
199
- - !ruby/object:Gem::Dependency
200
- name: win32-process
201
- requirement: !ruby/object:Gem::Requirement
202
- requirements:
203
- - - '='
204
- - !ruby/object:Gem::Version
205
- version: 0.7.5
206
- type: :runtime
207
- prerelease: false
208
- version_requirements: !ruby/object:Gem::Requirement
209
- requirements:
210
- - - '='
211
- - !ruby/object:Gem::Version
212
- version: 0.7.5
213
- - !ruby/object:Gem::Dependency
214
- name: win32-security
215
- requirement: !ruby/object:Gem::Requirement
216
- requirements:
217
- - - '='
218
- - !ruby/object:Gem::Version
219
- version: 0.2.5
220
- type: :runtime
221
- prerelease: false
222
- version_requirements: !ruby/object:Gem::Requirement
223
- requirements:
224
- - - '='
225
- - !ruby/object:Gem::Version
226
- version: 0.2.5
227
- - !ruby/object:Gem::Dependency
228
- name: win32-service
229
- requirement: !ruby/object:Gem::Requirement
230
- requirements:
231
- - - '='
232
- - !ruby/object:Gem::Version
233
- version: 0.8.8
234
- type: :runtime
235
- prerelease: false
236
- version_requirements: !ruby/object:Gem::Requirement
237
- requirements:
238
- - - '='
239
- - !ruby/object:Gem::Version
240
- version: 0.8.8
241
171
  - !ruby/object:Gem::Dependency
242
172
  name: minitar
243
173
  requirement: !ruby/object:Gem::Requirement
@@ -269,7 +199,6 @@ files:
269
199
  - README.md
270
200
  - Rakefile
271
201
  - bin/puppet
272
- - conf/auth.conf
273
202
  - conf/environment.conf
274
203
  - conf/fileserver.conf
275
204
  - conf/hiera.yaml
@@ -407,7 +336,6 @@ files:
407
336
  - lib/puppet/application/agent.rb
408
337
  - lib/puppet/application/apply.rb
409
338
  - lib/puppet/application/catalog.rb
410
- - lib/puppet/application/cert.rb
411
339
  - lib/puppet/application/config.rb
412
340
  - lib/puppet/application/describe.rb
413
341
  - lib/puppet/application/device.rb
@@ -419,9 +347,7 @@ files:
419
347
  - lib/puppet/application/generate.rb
420
348
  - lib/puppet/application/help.rb
421
349
  - lib/puppet/application/indirection_base.rb
422
- - lib/puppet/application/key.rb
423
350
  - lib/puppet/application/lookup.rb
424
- - lib/puppet/application/man.rb
425
351
  - lib/puppet/application/module.rb
426
352
  - lib/puppet/application/node.rb
427
353
  - lib/puppet/application/parser.rb
@@ -430,7 +356,6 @@ files:
430
356
  - lib/puppet/application/resource.rb
431
357
  - lib/puppet/application/script.rb
432
358
  - lib/puppet/application/ssl.rb
433
- - lib/puppet/application/status.rb
434
359
  - lib/puppet/application_support.rb
435
360
  - lib/puppet/coercion.rb
436
361
  - lib/puppet/compilable_resource_type.rb
@@ -481,15 +406,10 @@ files:
481
406
  - lib/puppet/face/help/face.erb
482
407
  - lib/puppet/face/help/global.erb
483
408
  - lib/puppet/face/help/man.erb
484
- - lib/puppet/face/key.rb
485
- - lib/puppet/face/man.rb
486
409
  - lib/puppet/face/module.rb
487
- - lib/puppet/face/module/build.rb
488
410
  - lib/puppet/face/module/changes.rb
489
- - lib/puppet/face/module/generate.rb
490
411
  - lib/puppet/face/module/install.rb
491
412
  - lib/puppet/face/module/list.rb
492
- - lib/puppet/face/module/search.rb
493
413
  - lib/puppet/face/module/uninstall.rb
494
414
  - lib/puppet/face/module/upgrade.rb
495
415
  - lib/puppet/face/node.rb
@@ -498,7 +418,6 @@ files:
498
418
  - lib/puppet/face/plugin.rb
499
419
  - lib/puppet/face/report.rb
500
420
  - lib/puppet/face/resource.rb
501
- - lib/puppet/face/status.rb
502
421
  - lib/puppet/feature/base.rb
503
422
  - lib/puppet/feature/bolt.rb
504
423
  - lib/puppet/feature/cfpropertylist.rb
@@ -512,9 +431,11 @@ files:
512
431
  - lib/puppet/feature/ssh.rb
513
432
  - lib/puppet/feature/telnet.rb
514
433
  - lib/puppet/feature/zlib.rb
515
- - lib/puppet/ffi/posix.rb
516
- - lib/puppet/ffi/posix/constants.rb
517
- - lib/puppet/ffi/posix/functions.rb
434
+ - lib/puppet/ffi/windows.rb
435
+ - lib/puppet/ffi/windows/api_types.rb
436
+ - lib/puppet/ffi/windows/constants.rb
437
+ - lib/puppet/ffi/windows/functions.rb
438
+ - lib/puppet/ffi/windows/structs.rb
518
439
  - lib/puppet/file_bucket.rb
519
440
  - lib/puppet/file_bucket/dipper.rb
520
441
  - lib/puppet/file_bucket/file.rb
@@ -653,14 +574,21 @@ files:
653
574
  - lib/puppet/graph/simple_graph.rb
654
575
  - lib/puppet/http.rb
655
576
  - lib/puppet/http/client.rb
577
+ - lib/puppet/http/dns.rb
656
578
  - lib/puppet/http/errors.rb
657
579
  - lib/puppet/http/external_client.rb
580
+ - lib/puppet/http/factory.rb
581
+ - lib/puppet/http/pool.rb
582
+ - lib/puppet/http/pool_entry.rb
583
+ - lib/puppet/http/proxy.rb
658
584
  - lib/puppet/http/redirector.rb
659
585
  - lib/puppet/http/resolver.rb
660
586
  - lib/puppet/http/resolver/server_list.rb
661
587
  - lib/puppet/http/resolver/settings.rb
662
588
  - lib/puppet/http/resolver/srv.rb
663
589
  - lib/puppet/http/response.rb
590
+ - lib/puppet/http/response_converter.rb
591
+ - lib/puppet/http/response_net_http.rb
664
592
  - lib/puppet/http/retry_after_handler.rb
665
593
  - lib/puppet/http/service.rb
666
594
  - lib/puppet/http/service/ca.rb
@@ -669,6 +597,7 @@ files:
669
597
  - lib/puppet/http/service/puppetserver.rb
670
598
  - lib/puppet/http/service/report.rb
671
599
  - lib/puppet/http/session.rb
600
+ - lib/puppet/http/site.rb
672
601
  - lib/puppet/indirector.rb
673
602
  - lib/puppet/indirector/catalog/compiler.rb
674
603
  - lib/puppet/indirector/catalog/json.rb
@@ -676,11 +605,6 @@ files:
676
605
  - lib/puppet/indirector/catalog/rest.rb
677
606
  - lib/puppet/indirector/catalog/store_configs.rb
678
607
  - lib/puppet/indirector/catalog/yaml.rb
679
- - lib/puppet/indirector/certificate/file.rb
680
- - lib/puppet/indirector/certificate/rest.rb
681
- - lib/puppet/indirector/certificate_request/file.rb
682
- - lib/puppet/indirector/certificate_request/memory.rb
683
- - lib/puppet/indirector/certificate_request/rest.rb
684
608
  - lib/puppet/indirector/code.rb
685
609
  - lib/puppet/indirector/data_binding/hiera.rb
686
610
  - lib/puppet/indirector/data_binding/none.rb
@@ -703,7 +627,6 @@ files:
703
627
  - lib/puppet/indirector/file_content.rb
704
628
  - lib/puppet/indirector/file_content/file.rb
705
629
  - lib/puppet/indirector/file_content/file_server.rb
706
- - lib/puppet/indirector/file_content/http.rb
707
630
  - lib/puppet/indirector/file_content/rest.rb
708
631
  - lib/puppet/indirector/file_content/selector.rb
709
632
  - lib/puppet/indirector/file_metadata.rb
@@ -717,8 +640,6 @@ files:
717
640
  - lib/puppet/indirector/hiera.rb
718
641
  - lib/puppet/indirector/indirection.rb
719
642
  - lib/puppet/indirector/json.rb
720
- - lib/puppet/indirector/key/file.rb
721
- - lib/puppet/indirector/key/memory.rb
722
643
  - lib/puppet/indirector/memory.rb
723
644
  - lib/puppet/indirector/msgpack.rb
724
645
  - lib/puppet/indirector/node/exec.rb
@@ -741,10 +662,6 @@ files:
741
662
  - lib/puppet/indirector/resource/store_configs.rb
742
663
  - lib/puppet/indirector/resource/validator.rb
743
664
  - lib/puppet/indirector/rest.rb
744
- - lib/puppet/indirector/ssl_file.rb
745
- - lib/puppet/indirector/status.rb
746
- - lib/puppet/indirector/status/local.rb
747
- - lib/puppet/indirector/status/rest.rb
748
665
  - lib/puppet/indirector/store_configs.rb
749
666
  - lib/puppet/indirector/terminus.rb
750
667
  - lib/puppet/indirector/yaml.rb
@@ -771,7 +688,6 @@ files:
771
688
  - lib/puppet/module_tool/applications/application.rb
772
689
  - lib/puppet/module_tool/applications/checksummer.rb
773
690
  - lib/puppet/module_tool/applications/installer.rb
774
- - lib/puppet/module_tool/applications/searcher.rb
775
691
  - lib/puppet/module_tool/applications/uninstaller.rb
776
692
  - lib/puppet/module_tool/applications/unpacker.rb
777
693
  - lib/puppet/module_tool/applications/upgrader.rb
@@ -793,10 +709,8 @@ files:
793
709
  - lib/puppet/module_tool/tar/gnu.rb
794
710
  - lib/puppet/module_tool/tar/mini.rb
795
711
  - lib/puppet/network.rb
796
- - lib/puppet/network/auth_config_parser.rb
797
712
  - lib/puppet/network/authconfig.rb
798
713
  - lib/puppet/network/authorization.rb
799
- - lib/puppet/network/authstore.rb
800
714
  - lib/puppet/network/client_request.rb
801
715
  - lib/puppet/network/format.rb
802
716
  - lib/puppet/network/format_handler.rb
@@ -808,29 +722,16 @@ files:
808
722
  - lib/puppet/network/http/api/indirection_type.rb
809
723
  - lib/puppet/network/http/api/master.rb
810
724
  - lib/puppet/network/http/api/master/v3.rb
811
- - lib/puppet/network/http/api/master/v3/authorization.rb
812
- - lib/puppet/network/http/api/master/v3/environment.rb
813
725
  - lib/puppet/network/http/api/master/v3/environments.rb
814
- - lib/puppet/network/http/base_pool.rb
815
- - lib/puppet/network/http/compression.rb
816
726
  - lib/puppet/network/http/connection.rb
817
- - lib/puppet/network/http/connection_adapter.rb
818
727
  - lib/puppet/network/http/error.rb
819
- - lib/puppet/network/http/factory.rb
820
728
  - lib/puppet/network/http/handler.rb
821
729
  - lib/puppet/network/http/issues.rb
822
730
  - lib/puppet/network/http/memory_response.rb
823
- - lib/puppet/network/http/nocache_pool.rb
824
- - lib/puppet/network/http/pool.rb
825
731
  - lib/puppet/network/http/request.rb
826
732
  - lib/puppet/network/http/response.rb
827
733
  - lib/puppet/network/http/route.rb
828
- - lib/puppet/network/http/session.rb
829
- - lib/puppet/network/http/site.rb
830
734
  - lib/puppet/network/http_pool.rb
831
- - lib/puppet/network/resolver.rb
832
- - lib/puppet/network/rest_controller.rb
833
- - lib/puppet/network/rights.rb
834
735
  - lib/puppet/network/uri.rb
835
736
  - lib/puppet/node.rb
836
737
  - lib/puppet/node/environment.rb
@@ -866,11 +767,8 @@ files:
866
767
  - lib/puppet/parser/catalog_compiler.rb
867
768
  - lib/puppet/parser/compiler.rb
868
769
  - lib/puppet/parser/compiler/catalog_validator.rb
869
- - lib/puppet/parser/compiler/catalog_validator/env_relationship_validator.rb
870
770
  - lib/puppet/parser/compiler/catalog_validator/relationship_validator.rb
871
- - lib/puppet/parser/compiler/catalog_validator/site_validator.rb
872
771
  - lib/puppet/parser/e4_parser_adapter.rb
873
- - lib/puppet/parser/environment_compiler.rb
874
772
  - lib/puppet/parser/files.rb
875
773
  - lib/puppet/parser/functions.rb
876
774
  - lib/puppet/parser/functions/assert_type.rb
@@ -1061,7 +959,6 @@ files:
1061
959
  - lib/puppet/pops/types/annotatable.rb
1062
960
  - lib/puppet/pops/types/annotation.rb
1063
961
  - lib/puppet/pops/types/class_loader.rb
1064
- - lib/puppet/pops/types/enumeration.rb
1065
962
  - lib/puppet/pops/types/implementation_registry.rb
1066
963
  - lib/puppet/pops/types/iterable.rb
1067
964
  - lib/puppet/pops/types/p_binary_type.rb
@@ -1220,15 +1117,10 @@ files:
1220
1117
  - lib/puppet/reports/log.rb
1221
1118
  - lib/puppet/reports/store.rb
1222
1119
  - lib/puppet/resource.rb
1223
- - lib/puppet/resource/capability_finder.rb
1224
1120
  - lib/puppet/resource/catalog.rb
1225
1121
  - lib/puppet/resource/status.rb
1226
1122
  - lib/puppet/resource/type.rb
1227
1123
  - lib/puppet/resource/type_collection.rb
1228
- - lib/puppet/rest/errors.rb
1229
- - lib/puppet/rest/response.rb
1230
- - lib/puppet/rest/route.rb
1231
- - lib/puppet/rest/routes.rb
1232
1124
  - lib/puppet/runtime.rb
1233
1125
  - lib/puppet/scheduler.rb
1234
1126
  - lib/puppet/scheduler/job.rb
@@ -1236,7 +1128,6 @@ files:
1236
1128
  - lib/puppet/scheduler/splay_job.rb
1237
1129
  - lib/puppet/scheduler/timer.rb
1238
1130
  - lib/puppet/settings.rb
1239
- - lib/puppet/settings/alias_setting.rb
1240
1131
  - lib/puppet/settings/array_setting.rb
1241
1132
  - lib/puppet/settings/autosign_setting.rb
1242
1133
  - lib/puppet/settings/base_setting.rb
@@ -1252,7 +1143,9 @@ files:
1252
1143
  - lib/puppet/settings/file_setting.rb
1253
1144
  - lib/puppet/settings/http_extra_headers_setting.rb
1254
1145
  - lib/puppet/settings/ini_file.rb
1146
+ - lib/puppet/settings/integer_setting.rb
1255
1147
  - lib/puppet/settings/path_setting.rb
1148
+ - lib/puppet/settings/port_setting.rb
1256
1149
  - lib/puppet/settings/priority_setting.rb
1257
1150
  - lib/puppet/settings/server_list_setting.rb
1258
1151
  - lib/puppet/settings/string_setting.rb
@@ -1268,19 +1161,12 @@ files:
1268
1161
  - lib/puppet/ssl/certificate_signer.rb
1269
1162
  - lib/puppet/ssl/digest.rb
1270
1163
  - lib/puppet/ssl/error.rb
1271
- - lib/puppet/ssl/host.rb
1272
- - lib/puppet/ssl/key.rb
1273
1164
  - lib/puppet/ssl/oids.rb
1274
1165
  - lib/puppet/ssl/openssl_loader.rb
1275
1166
  - lib/puppet/ssl/ssl_context.rb
1276
1167
  - lib/puppet/ssl/ssl_provider.rb
1277
1168
  - lib/puppet/ssl/state_machine.rb
1278
- - lib/puppet/ssl/validator.rb
1279
- - lib/puppet/ssl/validator/default_validator.rb
1280
- - lib/puppet/ssl/validator/no_validator.rb
1281
1169
  - lib/puppet/ssl/verifier.rb
1282
- - lib/puppet/ssl/verifier_adapter.rb
1283
- - lib/puppet/status.rb
1284
1170
  - lib/puppet/syntax_checkers.rb
1285
1171
  - lib/puppet/syntax_checkers/base64.rb
1286
1172
  - lib/puppet/syntax_checkers/epp.rb
@@ -1338,14 +1224,12 @@ files:
1338
1224
  - lib/puppet/util/command_line.rb
1339
1225
  - lib/puppet/util/command_line/puppet_option_parser.rb
1340
1226
  - lib/puppet/util/command_line/trollop.rb
1341
- - lib/puppet/util/connection.rb
1342
1227
  - lib/puppet/util/constant_inflector.rb
1343
1228
  - lib/puppet/util/diff.rb
1344
1229
  - lib/puppet/util/docs.rb
1345
1230
  - lib/puppet/util/errors.rb
1346
1231
  - lib/puppet/util/execution.rb
1347
1232
  - lib/puppet/util/execution_stub.rb
1348
- - lib/puppet/util/fact_dif.rb
1349
1233
  - lib/puppet/util/feature.rb
1350
1234
  - lib/puppet/util/file_watcher.rb
1351
1235
  - lib/puppet/util/fileparsing.rb
@@ -1417,7 +1301,6 @@ files:
1417
1301
  - lib/puppet/util/selinux.rb
1418
1302
  - lib/puppet/util/skip_tags.rb
1419
1303
  - lib/puppet/util/splayer.rb
1420
- - lib/puppet/util/ssl.rb
1421
1304
  - lib/puppet/util/storage.rb
1422
1305
  - lib/puppet/util/suidmanager.rb
1423
1306
  - lib/puppet/util/symbolic_file_mode.rb
@@ -1435,12 +1318,12 @@ files:
1435
1318
  - lib/puppet/util/windows/access_control_entry.rb
1436
1319
  - lib/puppet/util/windows/access_control_list.rb
1437
1320
  - lib/puppet/util/windows/adsi.rb
1438
- - lib/puppet/util/windows/api_types.rb
1439
1321
  - lib/puppet/util/windows/com.rb
1322
+ - lib/puppet/util/windows/daemon.rb
1440
1323
  - lib/puppet/util/windows/error.rb
1441
1324
  - lib/puppet/util/windows/eventlog.rb
1442
1325
  - lib/puppet/util/windows/file.rb
1443
- - lib/puppet/util/windows/monkey_patches/dir.rb
1326
+ - lib/puppet/util/windows/monkey_patches/process.rb
1444
1327
  - lib/puppet/util/windows/principal.rb
1445
1328
  - lib/puppet/util/windows/process.rb
1446
1329
  - lib/puppet/util/windows/registry.rb
@@ -1453,15 +1336,6 @@ files:
1453
1336
  - lib/puppet/util/windows/user.rb
1454
1337
  - lib/puppet/util/yaml.rb
1455
1338
  - lib/puppet/vendor.rb
1456
- - lib/puppet/vendor/load_pathspec.rb
1457
- - lib/puppet/vendor/pathspec/CHANGELOG.md
1458
- - lib/puppet/vendor/pathspec/LICENSE
1459
- - lib/puppet/vendor/pathspec/PUPPET_README.md
1460
- - lib/puppet/vendor/pathspec/README.md
1461
- - lib/puppet/vendor/pathspec/lib/pathspec.rb
1462
- - lib/puppet/vendor/pathspec/lib/pathspec/gitignorespec.rb
1463
- - lib/puppet/vendor/pathspec/lib/pathspec/regexspec.rb
1464
- - lib/puppet/vendor/pathspec/lib/pathspec/spec.rb
1465
1339
  - lib/puppet/vendor/require_vendored.rb
1466
1340
  - lib/puppet/version.rb
1467
1341
  - lib/puppet/x509.rb
@@ -1485,9 +1359,7 @@ files:
1485
1359
  - man/man8/puppet-filebucket.8
1486
1360
  - man/man8/puppet-generate.8
1487
1361
  - man/man8/puppet-help.8
1488
- - man/man8/puppet-key.8
1489
1362
  - man/man8/puppet-lookup.8
1490
- - man/man8/puppet-man.8
1491
1363
  - man/man8/puppet-module.8
1492
1364
  - man/man8/puppet-node.8
1493
1365
  - man/man8/puppet-parser.8
@@ -1496,11 +1368,9 @@ files:
1496
1368
  - man/man8/puppet-resource.8
1497
1369
  - man/man8/puppet-script.8
1498
1370
  - man/man8/puppet-ssl.8
1499
- - man/man8/puppet-status.8
1500
1371
  - man/man8/puppet.8
1501
1372
  - spec/fixtures/faulty_face/puppet/face/syntax.rb
1502
1373
  - spec/fixtures/hiera.yaml
1503
- - spec/fixtures/integration/application/agent/cached_deferred_catalog.json
1504
1374
  - spec/fixtures/integration/application/apply/environments/spec/modules/amod/lib/puppet/provider/applytest/applytest.rb
1505
1375
  - spec/fixtures/integration/application/apply/environments/spec/modules/amod/lib/puppet/type/applytest.rb
1506
1376
  - spec/fixtures/integration/node/environment/sitedir/00_a.pp
@@ -1873,8 +1743,8 @@ files:
1873
1743
  - spec/fixtures/unit/provider/service/openbsd/rcctl_getall
1874
1744
  - spec/fixtures/unit/provider/service/openrc/rcservice_list
1875
1745
  - spec/fixtures/unit/provider/service/openrc/rcstatus
1876
- - spec/fixtures/unit/provider/service/smf/svcs.out
1877
1746
  - spec/fixtures/unit/provider/service/smf/svcs_fmri.out
1747
+ - spec/fixtures/unit/provider/service/smf/svcs_instances.out
1878
1748
  - spec/fixtures/unit/provider/service/smf/svcs_multiple_fmris.out
1879
1749
  - spec/fixtures/unit/provider/service/systemd/list_unit_files_services
1880
1750
  - spec/fixtures/unit/provider/user/aix/aix_passwd_file.out
@@ -1920,7 +1790,6 @@ files:
1920
1790
  - spec/integration/indirector/facts/facter_spec.rb
1921
1791
  - spec/integration/indirector/file_content/file_server_spec.rb
1922
1792
  - spec/integration/indirector/file_metadata/file_server_spec.rb
1923
- - spec/integration/network/authconfig_spec.rb
1924
1793
  - spec/integration/network/formats_spec.rb
1925
1794
  - spec/integration/network/http/api/indirected_routes_spec.rb
1926
1795
  - spec/integration/network/http_pool_spec.rb
@@ -1957,7 +1826,7 @@ files:
1957
1826
  - spec/integration/util/rdoc/parser_spec.rb
1958
1827
  - spec/integration/util/settings_spec.rb
1959
1828
  - spec/integration/util/windows/adsi_spec.rb
1960
- - spec/integration/util/windows/monkey_patches/dir_spec.rb
1829
+ - spec/integration/util/windows/monkey_patches/process_spec.rb
1961
1830
  - spec/integration/util/windows/principal_spec.rb
1962
1831
  - spec/integration/util/windows/process_spec.rb
1963
1832
  - spec/integration/util/windows/registry_spec.rb
@@ -2035,11 +1904,9 @@ files:
2035
1904
  - spec/unit/application/filebucket_spec.rb
2036
1905
  - spec/unit/application/indirection_base_spec.rb
2037
1906
  - spec/unit/application/lookup_spec.rb
2038
- - spec/unit/application/man_spec.rb
2039
1907
  - spec/unit/application/resource_spec.rb
2040
1908
  - spec/unit/application/ssl_spec.rb
2041
1909
  - spec/unit/application_spec.rb
2042
- - spec/unit/capability_spec.rb
2043
1910
  - spec/unit/certificate_factory_spec.rb
2044
1911
  - spec/unit/concurrent/lock_spec.rb
2045
1912
  - spec/unit/configurer/downloader_spec.rb
@@ -2070,16 +1937,13 @@ files:
2070
1937
  - spec/unit/face/facts_spec.rb
2071
1938
  - spec/unit/face/generate_spec.rb
2072
1939
  - spec/unit/face/help_spec.rb
2073
- - spec/unit/face/key_spec.rb
2074
1940
  - spec/unit/face/module/install_spec.rb
2075
1941
  - spec/unit/face/module/list_spec.rb
2076
- - spec/unit/face/module/search_spec.rb
2077
1942
  - spec/unit/face/module/uninstall_spec.rb
2078
1943
  - spec/unit/face/module/upgrade_spec.rb
2079
1944
  - spec/unit/face/node_spec.rb
2080
1945
  - spec/unit/face/parser_spec.rb
2081
1946
  - spec/unit/face/plugin_spec.rb
2082
- - spec/unit/face/status_spec.rb
2083
1947
  - spec/unit/face_spec.rb
2084
1948
  - spec/unit/file_bucket/dipper_spec.rb
2085
1949
  - spec/unit/file_bucket/file_spec.rb
@@ -2193,7 +2057,12 @@ files:
2193
2057
  - spec/unit/hiera/scope_spec.rb
2194
2058
  - spec/unit/hiera_puppet_spec.rb
2195
2059
  - spec/unit/http/client_spec.rb
2060
+ - spec/unit/http/dns_spec.rb
2196
2061
  - spec/unit/http/external_client_spec.rb
2062
+ - spec/unit/http/factory_spec.rb
2063
+ - spec/unit/http/pool_entry_spec.rb
2064
+ - spec/unit/http/pool_spec.rb
2065
+ - spec/unit/http/proxy_spec.rb
2197
2066
  - spec/unit/http/resolver_spec.rb
2198
2067
  - spec/unit/http/response_spec.rb
2199
2068
  - spec/unit/http/service/ca_spec.rb
@@ -2203,16 +2072,13 @@ files:
2203
2072
  - spec/unit/http/service/report_spec.rb
2204
2073
  - spec/unit/http/service_spec.rb
2205
2074
  - spec/unit/http/session_spec.rb
2075
+ - spec/unit/http/site_spec.rb
2206
2076
  - spec/unit/indirector/catalog/compiler_spec.rb
2207
2077
  - spec/unit/indirector/catalog/json_spec.rb
2208
2078
  - spec/unit/indirector/catalog/msgpack_spec.rb
2209
2079
  - spec/unit/indirector/catalog/rest_spec.rb
2210
2080
  - spec/unit/indirector/catalog/store_configs_spec.rb
2211
2081
  - spec/unit/indirector/catalog/yaml_spec.rb
2212
- - spec/unit/indirector/certificate/file_spec.rb
2213
- - spec/unit/indirector/certificate/rest_spec.rb
2214
- - spec/unit/indirector/certificate_request/file_spec.rb
2215
- - spec/unit/indirector/certificate_request/rest_spec.rb
2216
2082
  - spec/unit/indirector/data_binding/hiera_spec.rb
2217
2083
  - spec/unit/indirector/data_binding/none_spec.rb
2218
2084
  - spec/unit/indirector/direct_file_server_spec.rb
@@ -2241,7 +2107,6 @@ files:
2241
2107
  - spec/unit/indirector/hiera_spec.rb
2242
2108
  - spec/unit/indirector/indirection_spec.rb
2243
2109
  - spec/unit/indirector/json_spec.rb
2244
- - spec/unit/indirector/key/file_spec.rb
2245
2110
  - spec/unit/indirector/memory_spec.rb
2246
2111
  - spec/unit/indirector/msgpack_spec.rb
2247
2112
  - spec/unit/indirector/node/exec_spec.rb
@@ -2263,9 +2128,6 @@ files:
2263
2128
  - spec/unit/indirector/resource/ral_spec.rb
2264
2129
  - spec/unit/indirector/resource/store_configs_spec.rb
2265
2130
  - spec/unit/indirector/rest_spec.rb
2266
- - spec/unit/indirector/ssl_file_spec.rb
2267
- - spec/unit/indirector/status/local_spec.rb
2268
- - spec/unit/indirector/status/rest_spec.rb
2269
2131
  - spec/unit/indirector/store_configs_spec.rb
2270
2132
  - spec/unit/indirector/terminus_spec.rb
2271
2133
  - spec/unit/indirector/yaml_spec.rb
@@ -2283,7 +2145,6 @@ files:
2283
2145
  - spec/unit/module_tool/application_spec.rb
2284
2146
  - spec/unit/module_tool/applications/checksummer_spec.rb
2285
2147
  - spec/unit/module_tool/applications/installer_spec.rb
2286
- - spec/unit/module_tool/applications/searcher_spec.rb
2287
2148
  - spec/unit/module_tool/applications/uninstaller_spec.rb
2288
2149
  - spec/unit/module_tool/applications/unpacker_spec.rb
2289
2150
  - spec/unit/module_tool/applications/upgrader_spec.rb
@@ -2294,36 +2155,23 @@ files:
2294
2155
  - spec/unit/module_tool/tar/mini_spec.rb
2295
2156
  - spec/unit/module_tool/tar_spec.rb
2296
2157
  - spec/unit/module_tool_spec.rb
2297
- - spec/unit/network/auth_config_parser_spec.rb
2298
2158
  - spec/unit/network/authconfig_spec.rb
2299
2159
  - spec/unit/network/authorization_spec.rb
2300
- - spec/unit/network/authstore_spec.rb
2301
2160
  - spec/unit/network/format_handler_spec.rb
2302
2161
  - spec/unit/network/format_spec.rb
2303
2162
  - spec/unit/network/format_support_spec.rb
2304
2163
  - spec/unit/network/formats_spec.rb
2305
2164
  - spec/unit/network/http/api/indirected_routes_spec.rb
2306
- - spec/unit/network/http/api/master/v3/authorization_spec.rb
2307
- - spec/unit/network/http/api/master/v3/environment_spec.rb
2308
2165
  - spec/unit/network/http/api/master/v3/environments_spec.rb
2309
2166
  - spec/unit/network/http/api/master/v3_spec.rb
2310
2167
  - spec/unit/network/http/api_spec.rb
2311
- - spec/unit/network/http/compression_spec.rb
2312
2168
  - spec/unit/network/http/connection_spec.rb
2313
2169
  - spec/unit/network/http/error_spec.rb
2314
- - spec/unit/network/http/factory_spec.rb
2315
2170
  - spec/unit/network/http/handler_spec.rb
2316
- - spec/unit/network/http/nocache_pool_spec.rb
2317
- - spec/unit/network/http/pool_spec.rb
2318
2171
  - spec/unit/network/http/request_spec.rb
2319
2172
  - spec/unit/network/http/response_spec.rb
2320
2173
  - spec/unit/network/http/route_spec.rb
2321
- - spec/unit/network/http/session_spec.rb
2322
- - spec/unit/network/http/site_spec.rb
2323
2174
  - spec/unit/network/http_pool_spec.rb
2324
- - spec/unit/network/http_spec.rb
2325
- - spec/unit/network/resolver_spec.rb
2326
- - spec/unit/network/rights_spec.rb
2327
2175
  - spec/unit/network/uri_spec.rb
2328
2176
  - spec/unit/node/environment_spec.rb
2329
2177
  - spec/unit/node/facts_spec.rb
@@ -2338,7 +2186,6 @@ files:
2338
2186
  - spec/unit/parser/ast/block_expression_spec.rb
2339
2187
  - spec/unit/parser/ast/leaf_spec.rb
2340
2188
  - spec/unit/parser/compiler_spec.rb
2341
- - spec/unit/parser/environment_compiler_spec.rb
2342
2189
  - spec/unit/parser/files_spec.rb
2343
2190
  - spec/unit/parser/functions/create_resources_spec.rb
2344
2191
  - spec/unit/parser/functions/digest_spec.rb
@@ -2379,7 +2226,6 @@ files:
2379
2226
  - spec/unit/pops/evaluator/collections_ops_spec.rb
2380
2227
  - spec/unit/pops/evaluator/comparison_ops_spec.rb
2381
2228
  - spec/unit/pops/evaluator/conditionals_spec.rb
2382
- - spec/unit/pops/evaluator/deferred_resolver_spec.rb
2383
2229
  - spec/unit/pops/evaluator/evaluating_parser_spec.rb
2384
2230
  - spec/unit/pops/evaluator/evaluator_rspec_helper.rb
2385
2231
  - spec/unit/pops/evaluator/json_strict_literal_evaluator_spec.rb
@@ -2437,7 +2283,6 @@ files:
2437
2283
  - spec/unit/pops/time/timestamp_spec.rb
2438
2284
  - spec/unit/pops/types/class_loader_spec.rb
2439
2285
  - spec/unit/pops/types/deferred_spec.rb
2440
- - spec/unit/pops/types/enumeration_spec.rb
2441
2286
  - spec/unit/pops/types/error_spec.rb
2442
2287
  - spec/unit/pops/types/iterable_spec.rb
2443
2288
  - spec/unit/pops/types/p_binary_type_spec.rb
@@ -2567,13 +2412,11 @@ files:
2567
2412
  - spec/unit/reports/http_spec.rb
2568
2413
  - spec/unit/reports/store_spec.rb
2569
2414
  - spec/unit/reports_spec.rb
2570
- - spec/unit/resource/capability_finder_spec.rb
2571
2415
  - spec/unit/resource/catalog_spec.rb
2572
2416
  - spec/unit/resource/status_spec.rb
2573
2417
  - spec/unit/resource/type_collection_spec.rb
2574
2418
  - spec/unit/resource/type_spec.rb
2575
2419
  - spec/unit/resource_spec.rb
2576
- - spec/unit/rest/route_spec.rb
2577
2420
  - spec/unit/scheduler/job_spec.rb
2578
2421
  - spec/unit/scheduler/scheduler_spec.rb
2579
2422
  - spec/unit/scheduler/splay_job_spec.rb
@@ -2588,7 +2431,9 @@ files:
2588
2431
  - spec/unit/settings/file_setting_spec.rb
2589
2432
  - spec/unit/settings/http_extra_headers_spec.rb
2590
2433
  - spec/unit/settings/ini_file_spec.rb
2434
+ - spec/unit/settings/integer_setting_spec.rb
2591
2435
  - spec/unit/settings/path_setting_spec.rb
2436
+ - spec/unit/settings/port_setting_spec.rb
2592
2437
  - spec/unit/settings/priority_setting_spec.rb
2593
2438
  - spec/unit/settings/server_list_setting_spec.rb
2594
2439
  - spec/unit/settings/string_setting_spec.rb
@@ -2600,14 +2445,10 @@ files:
2600
2445
  - spec/unit/ssl/certificate_request_spec.rb
2601
2446
  - spec/unit/ssl/certificate_spec.rb
2602
2447
  - spec/unit/ssl/digest_spec.rb
2603
- - spec/unit/ssl/host_spec.rb
2604
- - spec/unit/ssl/key_spec.rb
2605
2448
  - spec/unit/ssl/oids_spec.rb
2606
2449
  - spec/unit/ssl/ssl_provider_spec.rb
2607
2450
  - spec/unit/ssl/state_machine_spec.rb
2608
- - spec/unit/ssl/validator_spec.rb
2609
2451
  - spec/unit/ssl/verifier_spec.rb
2610
- - spec/unit/status_spec.rb
2611
2452
  - spec/unit/task_spec.rb
2612
2453
  - spec/unit/test/test_helper_spec.rb
2613
2454
  - spec/unit/transaction/additional_resource_generator_spec.rb
@@ -2662,7 +2503,6 @@ files:
2662
2503
  - spec/unit/util/execution_stub_spec.rb
2663
2504
  - spec/unit/util/feature_spec.rb
2664
2505
  - spec/unit/util/filetype_spec.rb
2665
- - spec/unit/util/http_proxy_spec.rb
2666
2506
  - spec/unit/util/inifile_spec.rb
2667
2507
  - spec/unit/util/json_lockfile_spec.rb
2668
2508
  - spec/unit/util/ldap/connection_spec.rb
@@ -2702,7 +2542,6 @@ files:
2702
2542
  - spec/unit/util/selinux_spec.rb
2703
2543
  - spec/unit/util/skip_tags_spec.rb
2704
2544
  - spec/unit/util/splayer_spec.rb
2705
- - spec/unit/util/ssl_spec.rb
2706
2545
  - spec/unit/util/storage_spec.rb
2707
2546
  - spec/unit/util/suidmanager_spec.rb
2708
2547
  - spec/unit/util/symbolic_file_mode_spec.rb
@@ -2756,7 +2595,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
2756
2595
  requirements:
2757
2596
  - - ">="
2758
2597
  - !ruby/object:Gem::Version
2759
- version: 2.3.0
2598
+ version: 2.5.0
2760
2599
  required_rubygems_version: !ruby/object:Gem::Requirement
2761
2600
  requirements:
2762
2601
  - - ">"
@@ -2770,7 +2609,6 @@ summary: Puppet, an automated configuration management tool
2770
2609
  test_files:
2771
2610
  - spec/fixtures/faulty_face/puppet/face/syntax.rb
2772
2611
  - spec/fixtures/hiera.yaml
2773
- - spec/fixtures/integration/application/agent/cached_deferred_catalog.json
2774
2612
  - spec/fixtures/integration/application/apply/environments/spec/modules/amod/lib/puppet/provider/applytest/applytest.rb
2775
2613
  - spec/fixtures/integration/application/apply/environments/spec/modules/amod/lib/puppet/type/applytest.rb
2776
2614
  - spec/fixtures/integration/node/environment/sitedir/00_a.pp
@@ -3143,8 +2981,8 @@ test_files:
3143
2981
  - spec/fixtures/unit/provider/service/openbsd/rcctl_getall
3144
2982
  - spec/fixtures/unit/provider/service/openrc/rcservice_list
3145
2983
  - spec/fixtures/unit/provider/service/openrc/rcstatus
3146
- - spec/fixtures/unit/provider/service/smf/svcs.out
3147
2984
  - spec/fixtures/unit/provider/service/smf/svcs_fmri.out
2985
+ - spec/fixtures/unit/provider/service/smf/svcs_instances.out
3148
2986
  - spec/fixtures/unit/provider/service/smf/svcs_multiple_fmris.out
3149
2987
  - spec/fixtures/unit/provider/service/systemd/list_unit_files_services
3150
2988
  - spec/fixtures/unit/provider/user/aix/aix_passwd_file.out
@@ -3190,7 +3028,6 @@ test_files:
3190
3028
  - spec/integration/indirector/facts/facter_spec.rb
3191
3029
  - spec/integration/indirector/file_content/file_server_spec.rb
3192
3030
  - spec/integration/indirector/file_metadata/file_server_spec.rb
3193
- - spec/integration/network/authconfig_spec.rb
3194
3031
  - spec/integration/network/formats_spec.rb
3195
3032
  - spec/integration/network/http/api/indirected_routes_spec.rb
3196
3033
  - spec/integration/network/http_pool_spec.rb
@@ -3227,7 +3064,7 @@ test_files:
3227
3064
  - spec/integration/util/rdoc/parser_spec.rb
3228
3065
  - spec/integration/util/settings_spec.rb
3229
3066
  - spec/integration/util/windows/adsi_spec.rb
3230
- - spec/integration/util/windows/monkey_patches/dir_spec.rb
3067
+ - spec/integration/util/windows/monkey_patches/process_spec.rb
3231
3068
  - spec/integration/util/windows/principal_spec.rb
3232
3069
  - spec/integration/util/windows/process_spec.rb
3233
3070
  - spec/integration/util/windows/registry_spec.rb
@@ -3305,11 +3142,9 @@ test_files:
3305
3142
  - spec/unit/application/filebucket_spec.rb
3306
3143
  - spec/unit/application/indirection_base_spec.rb
3307
3144
  - spec/unit/application/lookup_spec.rb
3308
- - spec/unit/application/man_spec.rb
3309
3145
  - spec/unit/application/resource_spec.rb
3310
3146
  - spec/unit/application/ssl_spec.rb
3311
3147
  - spec/unit/application_spec.rb
3312
- - spec/unit/capability_spec.rb
3313
3148
  - spec/unit/certificate_factory_spec.rb
3314
3149
  - spec/unit/concurrent/lock_spec.rb
3315
3150
  - spec/unit/configurer/downloader_spec.rb
@@ -3340,16 +3175,13 @@ test_files:
3340
3175
  - spec/unit/face/facts_spec.rb
3341
3176
  - spec/unit/face/generate_spec.rb
3342
3177
  - spec/unit/face/help_spec.rb
3343
- - spec/unit/face/key_spec.rb
3344
3178
  - spec/unit/face/module/install_spec.rb
3345
3179
  - spec/unit/face/module/list_spec.rb
3346
- - spec/unit/face/module/search_spec.rb
3347
3180
  - spec/unit/face/module/uninstall_spec.rb
3348
3181
  - spec/unit/face/module/upgrade_spec.rb
3349
3182
  - spec/unit/face/node_spec.rb
3350
3183
  - spec/unit/face/parser_spec.rb
3351
3184
  - spec/unit/face/plugin_spec.rb
3352
- - spec/unit/face/status_spec.rb
3353
3185
  - spec/unit/face_spec.rb
3354
3186
  - spec/unit/file_bucket/dipper_spec.rb
3355
3187
  - spec/unit/file_bucket/file_spec.rb
@@ -3463,7 +3295,12 @@ test_files:
3463
3295
  - spec/unit/hiera/scope_spec.rb
3464
3296
  - spec/unit/hiera_puppet_spec.rb
3465
3297
  - spec/unit/http/client_spec.rb
3298
+ - spec/unit/http/dns_spec.rb
3466
3299
  - spec/unit/http/external_client_spec.rb
3300
+ - spec/unit/http/factory_spec.rb
3301
+ - spec/unit/http/pool_entry_spec.rb
3302
+ - spec/unit/http/pool_spec.rb
3303
+ - spec/unit/http/proxy_spec.rb
3467
3304
  - spec/unit/http/resolver_spec.rb
3468
3305
  - spec/unit/http/response_spec.rb
3469
3306
  - spec/unit/http/service/ca_spec.rb
@@ -3473,16 +3310,13 @@ test_files:
3473
3310
  - spec/unit/http/service/report_spec.rb
3474
3311
  - spec/unit/http/service_spec.rb
3475
3312
  - spec/unit/http/session_spec.rb
3313
+ - spec/unit/http/site_spec.rb
3476
3314
  - spec/unit/indirector/catalog/compiler_spec.rb
3477
3315
  - spec/unit/indirector/catalog/json_spec.rb
3478
3316
  - spec/unit/indirector/catalog/msgpack_spec.rb
3479
3317
  - spec/unit/indirector/catalog/rest_spec.rb
3480
3318
  - spec/unit/indirector/catalog/store_configs_spec.rb
3481
3319
  - spec/unit/indirector/catalog/yaml_spec.rb
3482
- - spec/unit/indirector/certificate/file_spec.rb
3483
- - spec/unit/indirector/certificate/rest_spec.rb
3484
- - spec/unit/indirector/certificate_request/file_spec.rb
3485
- - spec/unit/indirector/certificate_request/rest_spec.rb
3486
3320
  - spec/unit/indirector/data_binding/hiera_spec.rb
3487
3321
  - spec/unit/indirector/data_binding/none_spec.rb
3488
3322
  - spec/unit/indirector/direct_file_server_spec.rb
@@ -3511,7 +3345,6 @@ test_files:
3511
3345
  - spec/unit/indirector/hiera_spec.rb
3512
3346
  - spec/unit/indirector/indirection_spec.rb
3513
3347
  - spec/unit/indirector/json_spec.rb
3514
- - spec/unit/indirector/key/file_spec.rb
3515
3348
  - spec/unit/indirector/memory_spec.rb
3516
3349
  - spec/unit/indirector/msgpack_spec.rb
3517
3350
  - spec/unit/indirector/node/exec_spec.rb
@@ -3533,9 +3366,6 @@ test_files:
3533
3366
  - spec/unit/indirector/resource/ral_spec.rb
3534
3367
  - spec/unit/indirector/resource/store_configs_spec.rb
3535
3368
  - spec/unit/indirector/rest_spec.rb
3536
- - spec/unit/indirector/ssl_file_spec.rb
3537
- - spec/unit/indirector/status/local_spec.rb
3538
- - spec/unit/indirector/status/rest_spec.rb
3539
3369
  - spec/unit/indirector/store_configs_spec.rb
3540
3370
  - spec/unit/indirector/terminus_spec.rb
3541
3371
  - spec/unit/indirector/yaml_spec.rb
@@ -3553,7 +3383,6 @@ test_files:
3553
3383
  - spec/unit/module_tool/application_spec.rb
3554
3384
  - spec/unit/module_tool/applications/checksummer_spec.rb
3555
3385
  - spec/unit/module_tool/applications/installer_spec.rb
3556
- - spec/unit/module_tool/applications/searcher_spec.rb
3557
3386
  - spec/unit/module_tool/applications/uninstaller_spec.rb
3558
3387
  - spec/unit/module_tool/applications/unpacker_spec.rb
3559
3388
  - spec/unit/module_tool/applications/upgrader_spec.rb
@@ -3564,36 +3393,23 @@ test_files:
3564
3393
  - spec/unit/module_tool/tar/mini_spec.rb
3565
3394
  - spec/unit/module_tool/tar_spec.rb
3566
3395
  - spec/unit/module_tool_spec.rb
3567
- - spec/unit/network/auth_config_parser_spec.rb
3568
3396
  - spec/unit/network/authconfig_spec.rb
3569
3397
  - spec/unit/network/authorization_spec.rb
3570
- - spec/unit/network/authstore_spec.rb
3571
3398
  - spec/unit/network/format_handler_spec.rb
3572
3399
  - spec/unit/network/format_spec.rb
3573
3400
  - spec/unit/network/format_support_spec.rb
3574
3401
  - spec/unit/network/formats_spec.rb
3575
3402
  - spec/unit/network/http/api/indirected_routes_spec.rb
3576
- - spec/unit/network/http/api/master/v3/authorization_spec.rb
3577
- - spec/unit/network/http/api/master/v3/environment_spec.rb
3578
3403
  - spec/unit/network/http/api/master/v3/environments_spec.rb
3579
3404
  - spec/unit/network/http/api/master/v3_spec.rb
3580
3405
  - spec/unit/network/http/api_spec.rb
3581
- - spec/unit/network/http/compression_spec.rb
3582
3406
  - spec/unit/network/http/connection_spec.rb
3583
3407
  - spec/unit/network/http/error_spec.rb
3584
- - spec/unit/network/http/factory_spec.rb
3585
3408
  - spec/unit/network/http/handler_spec.rb
3586
- - spec/unit/network/http/nocache_pool_spec.rb
3587
- - spec/unit/network/http/pool_spec.rb
3588
3409
  - spec/unit/network/http/request_spec.rb
3589
3410
  - spec/unit/network/http/response_spec.rb
3590
3411
  - spec/unit/network/http/route_spec.rb
3591
- - spec/unit/network/http/session_spec.rb
3592
- - spec/unit/network/http/site_spec.rb
3593
3412
  - spec/unit/network/http_pool_spec.rb
3594
- - spec/unit/network/http_spec.rb
3595
- - spec/unit/network/resolver_spec.rb
3596
- - spec/unit/network/rights_spec.rb
3597
3413
  - spec/unit/network/uri_spec.rb
3598
3414
  - spec/unit/node/environment_spec.rb
3599
3415
  - spec/unit/node/facts_spec.rb
@@ -3608,7 +3424,6 @@ test_files:
3608
3424
  - spec/unit/parser/ast/block_expression_spec.rb
3609
3425
  - spec/unit/parser/ast/leaf_spec.rb
3610
3426
  - spec/unit/parser/compiler_spec.rb
3611
- - spec/unit/parser/environment_compiler_spec.rb
3612
3427
  - spec/unit/parser/files_spec.rb
3613
3428
  - spec/unit/parser/functions/create_resources_spec.rb
3614
3429
  - spec/unit/parser/functions/digest_spec.rb
@@ -3649,7 +3464,6 @@ test_files:
3649
3464
  - spec/unit/pops/evaluator/collections_ops_spec.rb
3650
3465
  - spec/unit/pops/evaluator/comparison_ops_spec.rb
3651
3466
  - spec/unit/pops/evaluator/conditionals_spec.rb
3652
- - spec/unit/pops/evaluator/deferred_resolver_spec.rb
3653
3467
  - spec/unit/pops/evaluator/evaluating_parser_spec.rb
3654
3468
  - spec/unit/pops/evaluator/evaluator_rspec_helper.rb
3655
3469
  - spec/unit/pops/evaluator/json_strict_literal_evaluator_spec.rb
@@ -3707,7 +3521,6 @@ test_files:
3707
3521
  - spec/unit/pops/time/timestamp_spec.rb
3708
3522
  - spec/unit/pops/types/class_loader_spec.rb
3709
3523
  - spec/unit/pops/types/deferred_spec.rb
3710
- - spec/unit/pops/types/enumeration_spec.rb
3711
3524
  - spec/unit/pops/types/error_spec.rb
3712
3525
  - spec/unit/pops/types/iterable_spec.rb
3713
3526
  - spec/unit/pops/types/p_binary_type_spec.rb
@@ -3837,13 +3650,11 @@ test_files:
3837
3650
  - spec/unit/reports/http_spec.rb
3838
3651
  - spec/unit/reports/store_spec.rb
3839
3652
  - spec/unit/reports_spec.rb
3840
- - spec/unit/resource/capability_finder_spec.rb
3841
3653
  - spec/unit/resource/catalog_spec.rb
3842
3654
  - spec/unit/resource/status_spec.rb
3843
3655
  - spec/unit/resource/type_collection_spec.rb
3844
3656
  - spec/unit/resource/type_spec.rb
3845
3657
  - spec/unit/resource_spec.rb
3846
- - spec/unit/rest/route_spec.rb
3847
3658
  - spec/unit/scheduler/job_spec.rb
3848
3659
  - spec/unit/scheduler/scheduler_spec.rb
3849
3660
  - spec/unit/scheduler/splay_job_spec.rb
@@ -3858,7 +3669,9 @@ test_files:
3858
3669
  - spec/unit/settings/file_setting_spec.rb
3859
3670
  - spec/unit/settings/http_extra_headers_spec.rb
3860
3671
  - spec/unit/settings/ini_file_spec.rb
3672
+ - spec/unit/settings/integer_setting_spec.rb
3861
3673
  - spec/unit/settings/path_setting_spec.rb
3674
+ - spec/unit/settings/port_setting_spec.rb
3862
3675
  - spec/unit/settings/priority_setting_spec.rb
3863
3676
  - spec/unit/settings/server_list_setting_spec.rb
3864
3677
  - spec/unit/settings/string_setting_spec.rb
@@ -3870,14 +3683,10 @@ test_files:
3870
3683
  - spec/unit/ssl/certificate_request_spec.rb
3871
3684
  - spec/unit/ssl/certificate_spec.rb
3872
3685
  - spec/unit/ssl/digest_spec.rb
3873
- - spec/unit/ssl/host_spec.rb
3874
- - spec/unit/ssl/key_spec.rb
3875
3686
  - spec/unit/ssl/oids_spec.rb
3876
3687
  - spec/unit/ssl/ssl_provider_spec.rb
3877
3688
  - spec/unit/ssl/state_machine_spec.rb
3878
- - spec/unit/ssl/validator_spec.rb
3879
3689
  - spec/unit/ssl/verifier_spec.rb
3880
- - spec/unit/status_spec.rb
3881
3690
  - spec/unit/task_spec.rb
3882
3691
  - spec/unit/test/test_helper_spec.rb
3883
3692
  - spec/unit/transaction/additional_resource_generator_spec.rb
@@ -3932,7 +3741,6 @@ test_files:
3932
3741
  - spec/unit/util/execution_stub_spec.rb
3933
3742
  - spec/unit/util/feature_spec.rb
3934
3743
  - spec/unit/util/filetype_spec.rb
3935
- - spec/unit/util/http_proxy_spec.rb
3936
3744
  - spec/unit/util/inifile_spec.rb
3937
3745
  - spec/unit/util/json_lockfile_spec.rb
3938
3746
  - spec/unit/util/ldap/connection_spec.rb
@@ -3972,7 +3780,6 @@ test_files:
3972
3780
  - spec/unit/util/selinux_spec.rb
3973
3781
  - spec/unit/util/skip_tags_spec.rb
3974
3782
  - spec/unit/util/splayer_spec.rb
3975
- - spec/unit/util/ssl_spec.rb
3976
3783
  - spec/unit/util/storage_spec.rb
3977
3784
  - spec/unit/util/suidmanager_spec.rb
3978
3785
  - spec/unit/util/symbolic_file_mode_spec.rb