puppet 6.14.0-x64-mingw32 → 6.19.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 (496) hide show
  1. checksums.yaml +4 -4
  2. data/CODEOWNERS +2 -7
  3. data/Gemfile +4 -2
  4. data/Gemfile.lock +36 -34
  5. data/README.md +3 -4
  6. data/Rakefile +4 -12
  7. data/ext/windows/service/daemon.rb +3 -3
  8. data/lib/puppet.rb +33 -9
  9. data/lib/puppet/agent.rb +20 -14
  10. data/lib/puppet/agent/locker.rb +0 -7
  11. data/lib/puppet/application/agent.rb +25 -9
  12. data/lib/puppet/application/apply.rb +18 -20
  13. data/lib/puppet/application/device.rb +1 -1
  14. data/lib/puppet/application/doc.rb +1 -1
  15. data/lib/puppet/application/filebucket.rb +5 -14
  16. data/lib/puppet/application/lookup.rb +16 -4
  17. data/lib/puppet/application/plugin.rb +1 -0
  18. data/lib/puppet/application/ssl.rb +3 -3
  19. data/lib/puppet/configurer.rb +68 -24
  20. data/lib/puppet/configurer/downloader.rb +31 -10
  21. data/lib/puppet/configurer/plugin_handler.rb +1 -1
  22. data/lib/puppet/confine.rb +2 -2
  23. data/lib/puppet/confine/any.rb +1 -1
  24. data/lib/puppet/context/trusted_information.rb +14 -8
  25. data/lib/puppet/daemon.rb +13 -27
  26. data/lib/puppet/defaults.rb +141 -41
  27. data/lib/puppet/environments.rb +55 -15
  28. data/lib/puppet/face/catalog.rb +1 -1
  29. data/lib/puppet/face/config.rb +46 -16
  30. data/lib/puppet/face/facts.rb +1 -1
  31. data/lib/puppet/face/help.rb +29 -3
  32. data/lib/puppet/face/module/search.rb +5 -0
  33. data/lib/puppet/face/node.rb +3 -3
  34. data/lib/puppet/face/node/clean.rb +2 -2
  35. data/lib/puppet/face/plugin.rb +2 -2
  36. data/lib/puppet/face/status.rb +1 -1
  37. data/lib/puppet/feature/base.rb +1 -1
  38. data/lib/puppet/file_bucket/dipper.rb +1 -1
  39. data/lib/puppet/file_serving/http_metadata.rb +14 -2
  40. data/lib/puppet/file_serving/metadata.rb +4 -1
  41. data/lib/puppet/file_serving/mount/locales.rb +1 -2
  42. data/lib/puppet/file_serving/mount/pluginfacts.rb +1 -2
  43. data/lib/puppet/file_serving/mount/plugins.rb +1 -2
  44. data/lib/puppet/file_serving/terminus_selector.rb +7 -8
  45. data/lib/puppet/file_system/file_impl.rb +17 -13
  46. data/lib/puppet/file_system/uniquefile.rb +12 -16
  47. data/lib/puppet/forge.rb +1 -1
  48. data/lib/puppet/forge/cache.rb +1 -1
  49. data/lib/puppet/forge/repository.rb +4 -7
  50. data/lib/puppet/functions/call.rb +1 -1
  51. data/lib/puppet/functions/filter.rb +1 -0
  52. data/lib/puppet/functions/lstrip.rb +4 -4
  53. data/lib/puppet/functions/new.rb +8 -3
  54. data/lib/puppet/functions/reduce.rb +2 -4
  55. data/lib/puppet/functions/reverse_each.rb +1 -1
  56. data/lib/puppet/functions/rstrip.rb +4 -4
  57. data/lib/puppet/functions/step.rb +1 -1
  58. data/lib/puppet/functions/strip.rb +4 -4
  59. data/lib/puppet/gettext/config.rb +5 -5
  60. data/lib/puppet/gettext/module_translations.rb +4 -4
  61. data/lib/puppet/http.rb +3 -0
  62. data/lib/puppet/http/client.rb +215 -60
  63. data/lib/puppet/http/external_client.rb +90 -0
  64. data/lib/puppet/http/redirector.rb +43 -7
  65. data/lib/puppet/http/resolver.rb +43 -3
  66. data/lib/puppet/http/resolver/server_list.rb +66 -24
  67. data/lib/puppet/http/resolver/settings.rb +21 -1
  68. data/lib/puppet/http/resolver/srv.rb +28 -2
  69. data/lib/puppet/http/response.rb +82 -1
  70. data/lib/puppet/http/retry_after_handler.rb +39 -0
  71. data/lib/puppet/http/service.rb +70 -2
  72. data/lib/puppet/http/service/ca.rb +71 -9
  73. data/lib/puppet/http/service/compiler.rb +214 -12
  74. data/lib/puppet/http/service/file_server.rb +106 -5
  75. data/lib/puppet/http/service/puppetserver.rb +39 -0
  76. data/lib/puppet/http/service/report.rb +36 -3
  77. data/lib/puppet/http/session.rb +60 -8
  78. data/lib/puppet/indirector.rb +1 -1
  79. data/lib/puppet/indirector/catalog/compiler.rb +1 -1
  80. data/lib/puppet/indirector/catalog/rest.rb +2 -1
  81. data/lib/puppet/indirector/exec.rb +1 -1
  82. data/lib/puppet/indirector/facts/facter.rb +3 -3
  83. data/lib/puppet/indirector/facts/rest.rb +2 -1
  84. data/lib/puppet/indirector/facts/yaml.rb +1 -1
  85. data/lib/puppet/indirector/file_bucket_file/rest.rb +48 -0
  86. data/lib/puppet/indirector/file_content/http.rb +5 -0
  87. data/lib/puppet/indirector/file_content/rest.rb +1 -1
  88. data/lib/puppet/indirector/file_metadata/http.rb +28 -8
  89. data/lib/puppet/indirector/file_metadata/rest.rb +6 -4
  90. data/lib/puppet/indirector/hiera.rb +4 -0
  91. data/lib/puppet/indirector/indirection.rb +1 -1
  92. data/lib/puppet/indirector/json.rb +1 -1
  93. data/lib/puppet/indirector/msgpack.rb +1 -1
  94. data/lib/puppet/indirector/node/rest.rb +2 -1
  95. data/lib/puppet/indirector/report/processor.rb +2 -2
  96. data/lib/puppet/indirector/report/yaml.rb +23 -0
  97. data/lib/puppet/indirector/request.rb +5 -5
  98. data/lib/puppet/indirector/rest.rb +7 -1
  99. data/lib/puppet/indirector/status/rest.rb +2 -1
  100. data/lib/puppet/indirector/yaml.rb +1 -1
  101. data/lib/puppet/metatype/manager.rb +80 -80
  102. data/lib/puppet/module.rb +1 -2
  103. data/lib/puppet/network/format_support.rb +2 -2
  104. data/lib/puppet/network/http/api/indirected_routes.rb +1 -1
  105. data/lib/puppet/network/http/api/master/v3/environment.rb +3 -0
  106. data/lib/puppet/network/http/api/master/v3/environments.rb +0 -1
  107. data/lib/puppet/network/http/base_pool.rb +6 -1
  108. data/lib/puppet/network/http/compression.rb +7 -0
  109. data/lib/puppet/network/http/connection.rb +2 -0
  110. data/lib/puppet/network/http/connection_adapter.rb +184 -0
  111. data/lib/puppet/network/http/nocache_pool.rb +1 -0
  112. data/lib/puppet/network/http/pool.rb +2 -4
  113. data/lib/puppet/network/http/route.rb +2 -2
  114. data/lib/puppet/network/http_pool.rb +2 -1
  115. data/lib/puppet/node/environment.rb +22 -5
  116. data/lib/puppet/node/facts.rb +17 -0
  117. data/lib/puppet/pal/catalog_compiler.rb +5 -0
  118. data/lib/puppet/pal/pal_impl.rb +30 -31
  119. data/lib/puppet/parameter.rb +1 -1
  120. data/lib/puppet/parser/ast/leaf.rb +5 -5
  121. data/lib/puppet/parser/ast/pops_bridge.rb +0 -4
  122. data/lib/puppet/parser/compiler.rb +43 -33
  123. data/lib/puppet/parser/compiler/catalog_validator/env_relationship_validator.rb +2 -0
  124. data/lib/puppet/parser/compiler/catalog_validator/site_validator.rb +2 -0
  125. data/lib/puppet/parser/environment_compiler.rb +4 -1
  126. data/lib/puppet/parser/functions.rb +18 -9
  127. data/lib/puppet/parser/functions/create_resources.rb +11 -7
  128. data/lib/puppet/parser/functions/filter.rb +1 -0
  129. data/lib/puppet/parser/resource.rb +3 -2
  130. data/lib/puppet/parser/resource/param.rb +6 -0
  131. data/lib/puppet/parser/type_loader.rb +2 -2
  132. data/lib/puppet/pops/adaptable.rb +7 -13
  133. data/lib/puppet/pops/adapters.rb +8 -4
  134. data/lib/puppet/pops/evaluator/collectors/abstract_collector.rb +1 -3
  135. data/lib/puppet/pops/evaluator/evaluator_impl.rb +5 -5
  136. data/lib/puppet/pops/evaluator/runtime3_converter.rb +2 -2
  137. data/lib/puppet/pops/issues.rb +5 -0
  138. data/lib/puppet/pops/loader/runtime3_type_loader.rb +4 -2
  139. data/lib/puppet/pops/loaders.rb +24 -15
  140. data/lib/puppet/pops/lookup/context.rb +1 -1
  141. data/lib/puppet/pops/lookup/hiera_config.rb +14 -1
  142. data/lib/puppet/pops/resource/resource_type_impl.rb +2 -0
  143. data/lib/puppet/pops/types/iterable.rb +34 -8
  144. data/lib/puppet/pops/types/p_meta_type.rb +1 -1
  145. data/lib/puppet/pops/types/p_type_set_type.rb +4 -0
  146. data/lib/puppet/pops/validation/checker4_0.rb +29 -15
  147. data/lib/puppet/pops/validation/validator_factory_4_0.rb +1 -0
  148. data/lib/puppet/provider/file/windows.rb +1 -1
  149. data/lib/puppet/provider/group/windows_adsi.rb +3 -3
  150. data/lib/puppet/provider/package/aix.rb +17 -2
  151. data/lib/puppet/provider/package/apt.rb +98 -1
  152. data/lib/puppet/provider/package/aptitude.rb +1 -1
  153. data/lib/puppet/provider/package/dnfmodule.rb +61 -14
  154. data/lib/puppet/provider/package/dpkg.rb +1 -1
  155. data/lib/puppet/provider/package/gem.rb +45 -9
  156. data/lib/puppet/provider/package/pacman.rb +2 -5
  157. data/lib/puppet/provider/package/pip.rb +143 -48
  158. data/lib/puppet/provider/package/pip2.rb +17 -0
  159. data/lib/puppet/provider/package/pip3.rb +0 -2
  160. data/lib/puppet/provider/package/pkgdmg.rb +1 -1
  161. data/lib/puppet/provider/package/pkgng.rb +16 -4
  162. data/lib/puppet/provider/package/portage.rb +2 -2
  163. data/lib/puppet/provider/package/puppet_gem.rb +11 -2
  164. data/lib/puppet/provider/package/puppetserver_gem.rb +180 -0
  165. data/lib/puppet/provider/package/rpm.rb +6 -213
  166. data/lib/puppet/provider/package/yum.rb +101 -20
  167. data/lib/puppet/provider/package/zypper.rb +62 -1
  168. data/lib/puppet/provider/service/systemd.rb +22 -4
  169. data/lib/puppet/provider/service/windows.rb +23 -7
  170. data/lib/puppet/provider/user/aix.rb +1 -1
  171. data/lib/puppet/provider/user/user_role_add.rb +1 -1
  172. data/lib/puppet/provider/user/useradd.rb +16 -5
  173. data/lib/puppet/provider/user/windows_adsi.rb +18 -1
  174. data/lib/puppet/reports/http.rb +15 -9
  175. data/lib/puppet/resource.rb +2 -1
  176. data/lib/puppet/resource/type.rb +10 -1
  177. data/lib/puppet/resource/type_collection.rb +20 -16
  178. data/lib/puppet/rest/route.rb +2 -2
  179. data/lib/puppet/runtime.rb +25 -2
  180. data/lib/puppet/settings.rb +20 -6
  181. data/lib/puppet/ssl.rb +1 -0
  182. data/lib/puppet/ssl/host.rb +4 -4
  183. data/lib/puppet/ssl/oids.rb +1 -0
  184. data/lib/puppet/ssl/ssl_context.rb +2 -2
  185. data/lib/puppet/ssl/ssl_provider.rb +20 -1
  186. data/lib/puppet/ssl/state_machine.rb +79 -37
  187. data/lib/puppet/ssl/validator/default_validator.rb +1 -1
  188. data/lib/puppet/ssl/verifier_adapter.rb +9 -1
  189. data/lib/puppet/test/test_helper.rb +19 -14
  190. data/lib/puppet/transaction.rb +2 -2
  191. data/lib/puppet/transaction/persistence.rb +1 -1
  192. data/lib/puppet/transaction/report.rb +14 -10
  193. data/lib/puppet/trusted_external.rb +29 -1
  194. data/lib/puppet/type.rb +21 -8
  195. data/lib/puppet/type/file.rb +40 -15
  196. data/lib/puppet/type/file/checksum.rb +4 -4
  197. data/lib/puppet/type/file/source.rb +35 -13
  198. data/lib/puppet/type/filebucket.rb +1 -1
  199. data/lib/puppet/type/notify.rb +2 -2
  200. data/lib/puppet/type/package.rb +41 -3
  201. data/lib/puppet/type/service.rb +59 -8
  202. data/lib/puppet/type/user.rb +19 -29
  203. data/lib/puppet/util.rb +41 -3
  204. data/lib/puppet/util/at_fork.rb +1 -1
  205. data/lib/puppet/util/autoload.rb +13 -25
  206. data/lib/puppet/util/character_encoding.rb +9 -5
  207. data/lib/puppet/util/checksums.rb +19 -4
  208. data/lib/puppet/util/connection.rb +8 -8
  209. data/lib/puppet/util/execution.rb +2 -2
  210. data/lib/puppet/util/fileparsing.rb +2 -2
  211. data/lib/puppet/util/instance_loader.rb +14 -10
  212. data/lib/puppet/util/log/destinations.rb +1 -10
  213. data/lib/puppet/util/package/version/debian.rb +175 -0
  214. data/lib/puppet/util/package/version/gem.rb +15 -0
  215. data/lib/puppet/util/package/version/pip.rb +167 -0
  216. data/lib/puppet/util/package/version/range.rb +53 -0
  217. data/lib/puppet/util/package/version/range/eq.rb +14 -0
  218. data/lib/puppet/util/package/version/range/gt.rb +14 -0
  219. data/lib/puppet/util/package/version/range/gt_eq.rb +14 -0
  220. data/lib/puppet/util/package/version/range/lt.rb +14 -0
  221. data/lib/puppet/util/package/version/range/lt_eq.rb +14 -0
  222. data/lib/puppet/util/package/version/range/min_max.rb +21 -0
  223. data/lib/puppet/util/package/version/range/simple.rb +11 -0
  224. data/lib/puppet/util/package/version/rpm.rb +73 -0
  225. data/lib/puppet/util/pidlock.rb +13 -7
  226. data/lib/puppet/util/platform.rb +5 -0
  227. data/lib/puppet/util/provider_features.rb +1 -1
  228. data/lib/puppet/util/reference.rb +1 -1
  229. data/lib/puppet/util/rpm_compare.rb +193 -0
  230. data/lib/puppet/util/run_mode.rb +5 -1
  231. data/lib/puppet/util/windows.rb +1 -0
  232. data/lib/puppet/util/windows/adsi.rb +2 -2
  233. data/lib/puppet/util/windows/api_types.rb +60 -33
  234. data/lib/puppet/util/windows/eventlog.rb +1 -6
  235. data/lib/puppet/util/windows/monkey_patches/dir.rb +40 -0
  236. data/lib/puppet/util/windows/principal.rb +8 -6
  237. data/lib/puppet/util/windows/process.rb +15 -14
  238. data/lib/puppet/util/windows/registry.rb +11 -11
  239. data/lib/puppet/util/windows/security.rb +5 -4
  240. data/lib/puppet/util/windows/service.rb +43 -26
  241. data/lib/puppet/util/windows/sid.rb +3 -3
  242. data/lib/puppet/util/windows/user.rb +242 -8
  243. data/lib/puppet/version.rb +1 -1
  244. data/locales/puppet.pot +627 -507
  245. data/man/man5/puppet.conf.5 +93 -20
  246. data/man/man8/puppet-agent.8 +7 -4
  247. data/man/man8/puppet-apply.8 +1 -1
  248. data/man/man8/puppet-catalog.8 +1 -1
  249. data/man/man8/puppet-config.8 +6 -6
  250. data/man/man8/puppet-describe.8 +1 -1
  251. data/man/man8/puppet-device.8 +1 -1
  252. data/man/man8/puppet-doc.8 +1 -1
  253. data/man/man8/puppet-epp.8 +1 -1
  254. data/man/man8/puppet-facts.8 +1 -1
  255. data/man/man8/puppet-filebucket.8 +1 -1
  256. data/man/man8/puppet-generate.8 +1 -1
  257. data/man/man8/puppet-help.8 +6 -3
  258. data/man/man8/puppet-key.8 +1 -1
  259. data/man/man8/puppet-lookup.8 +2 -2
  260. data/man/man8/puppet-man.8 +1 -1
  261. data/man/man8/puppet-module.8 +4 -1
  262. data/man/man8/puppet-node.8 +4 -4
  263. data/man/man8/puppet-parser.8 +1 -1
  264. data/man/man8/puppet-plugin.8 +1 -1
  265. data/man/man8/puppet-report.8 +1 -1
  266. data/man/man8/puppet-resource.8 +1 -1
  267. data/man/man8/puppet-script.8 +1 -1
  268. data/man/man8/puppet-ssl.8 +1 -1
  269. data/man/man8/puppet-status.8 +2 -2
  270. data/man/man8/puppet.8 +2 -2
  271. data/spec/fixtures/integration/application/apply/environments/spec/modules/amod/lib/puppet/provider/applytest/applytest.rb +2 -0
  272. data/spec/fixtures/integration/application/apply/environments/spec/modules/amod/lib/puppet/type/applytest.rb +25 -0
  273. data/spec/fixtures/ssl/unknown-127.0.0.1-key.pem +67 -0
  274. data/spec/fixtures/ssl/unknown-127.0.0.1.pem +48 -0
  275. data/spec/fixtures/ssl/unknown-ca-key.pem +67 -0
  276. data/spec/fixtures/ssl/unknown-ca.pem +59 -0
  277. data/spec/fixtures/unit/forge/bacula-releases.json +128 -0
  278. data/spec/fixtures/unit/forge/bacula.tar.gz +0 -0
  279. data/spec/fixtures/unit/provider/package/dnfmodule/{dnf-module-list-installed.txt → dnf-module-list.txt} +8 -0
  280. data/spec/fixtures/unit/provider/package/pkgng/pkg.version +2 -0
  281. data/spec/fixtures/unit/provider/package/puppetserver_gem/gem-list-local-packages +30 -0
  282. data/spec/fixtures/unit/provider/package/yum/yum-check-update-subscription-manager.txt +9 -0
  283. data/spec/fixtures/unit/provider/package/zypper/zypper-search-uninstalled.out +13 -0
  284. data/spec/fixtures/unit/provider/service/systemd/list_unit_files_services +9 -0
  285. data/spec/integration/application/agent_spec.rb +479 -0
  286. data/spec/integration/application/apply_spec.rb +279 -150
  287. data/spec/integration/application/config_spec.rb +74 -0
  288. data/spec/integration/application/doc_spec.rb +16 -6
  289. data/spec/integration/application/filebucket_spec.rb +239 -0
  290. data/spec/integration/application/help_spec.rb +42 -0
  291. data/spec/integration/application/lookup_spec.rb +13 -0
  292. data/spec/integration/application/module_spec.rb +68 -0
  293. data/spec/integration/application/plugin_spec.rb +123 -0
  294. data/spec/integration/configurer_spec.rb +14 -0
  295. data/spec/integration/data_binding_spec.rb +82 -0
  296. data/spec/integration/defaults_spec.rb +27 -3
  297. data/spec/integration/directory_environments_spec.rb +17 -17
  298. data/spec/integration/http/client_spec.rb +39 -40
  299. data/spec/integration/indirector/facts/facter_spec.rb +8 -6
  300. data/spec/integration/indirector/report/yaml.rb +83 -0
  301. data/spec/integration/network/http_pool_spec.rb +84 -19
  302. data/spec/integration/node/environment_spec.rb +15 -0
  303. data/spec/integration/parser/compiler_spec.rb +11 -0
  304. data/spec/integration/type/file_spec.rb +1 -1
  305. data/spec/integration/util/execution_spec.rb +22 -0
  306. data/spec/integration/util/windows/adsi_spec.rb +8 -3
  307. data/spec/integration/util/windows/monkey_patches/dir_spec.rb +11 -0
  308. data/spec/integration/util/windows/process_spec.rb +26 -32
  309. data/spec/integration/util/windows/registry_spec.rb +7 -7
  310. data/spec/integration/util/windows/user_spec.rb +47 -5
  311. data/spec/integration/util_spec.rb +7 -33
  312. data/spec/lib/puppet/test_ca.rb +2 -2
  313. data/spec/lib/puppet_spec/https.rb +16 -7
  314. data/spec/lib/puppet_spec/matchers.rb +0 -80
  315. data/spec/lib/puppet_spec/puppetserver.rb +127 -0
  316. data/spec/shared_contexts/https.rb +29 -0
  317. data/spec/shared_contexts/types_setup.rb +2 -0
  318. data/spec/unit/agent_spec.rb +80 -26
  319. data/spec/unit/application/agent_spec.rb +12 -9
  320. data/spec/unit/application/device_spec.rb +2 -2
  321. data/spec/unit/application/doc_spec.rb +2 -2
  322. data/spec/unit/application/face_base_spec.rb +6 -4
  323. data/spec/unit/application/facts_spec.rb +41 -10
  324. data/spec/unit/application/filebucket_spec.rb +22 -2
  325. data/spec/unit/application/man_spec.rb +52 -0
  326. data/spec/unit/application/resource_spec.rb +3 -1
  327. data/spec/unit/application/ssl_spec.rb +15 -2
  328. data/spec/unit/application_spec.rb +9 -4
  329. data/spec/unit/configurer/downloader_spec.rb +10 -0
  330. data/spec/unit/configurer/fact_handler_spec.rb +4 -4
  331. data/spec/unit/configurer_spec.rb +87 -38
  332. data/spec/unit/confine_spec.rb +2 -1
  333. data/spec/unit/context/trusted_information_spec.rb +25 -2
  334. data/spec/unit/daemon_spec.rb +5 -64
  335. data/spec/unit/defaults_spec.rb +24 -1
  336. data/spec/unit/environments_spec.rb +107 -32
  337. data/spec/unit/face/config_spec.rb +59 -1
  338. data/spec/unit/face/module/search_spec.rb +17 -0
  339. data/spec/unit/face/node_spec.rb +2 -2
  340. data/spec/unit/file_serving/http_metadata_spec.rb +37 -14
  341. data/spec/unit/file_serving/mount/locales_spec.rb +2 -2
  342. data/spec/unit/file_serving/mount/pluginfacts_spec.rb +2 -2
  343. data/spec/unit/file_serving/mount/plugins_spec.rb +2 -2
  344. data/spec/unit/file_serving/terminus_selector_spec.rb +45 -26
  345. data/spec/unit/file_system/uniquefile_spec.rb +29 -0
  346. data/spec/unit/file_system_spec.rb +11 -2
  347. data/spec/unit/http/client_spec.rb +173 -59
  348. data/spec/unit/http/external_client_spec.rb +201 -0
  349. data/spec/unit/http/resolver_spec.rb +44 -5
  350. data/spec/unit/http/response_spec.rb +6 -0
  351. data/spec/unit/http/service/ca_spec.rb +27 -5
  352. data/spec/unit/http/service/compiler_spec.rb +186 -9
  353. data/spec/unit/http/service/file_server_spec.rb +37 -6
  354. data/spec/unit/http/service/puppetserver_spec.rb +82 -0
  355. data/spec/unit/http/service/report_spec.rb +5 -4
  356. data/spec/unit/http/service_spec.rb +3 -4
  357. data/spec/unit/http/session_spec.rb +48 -12
  358. data/spec/unit/indirector/catalog/compiler_spec.rb +1 -0
  359. data/spec/unit/indirector/catalog/json_spec.rb +1 -1
  360. data/spec/unit/indirector/catalog/rest_spec.rb +1 -1
  361. data/spec/unit/indirector/facts/rest_spec.rb +1 -1
  362. data/spec/unit/indirector/file_bucket_file/rest_spec.rb +82 -2
  363. data/spec/unit/indirector/file_metadata/http_spec.rb +194 -0
  364. data/spec/unit/indirector/file_metadata/rest_spec.rb +15 -14
  365. data/spec/unit/indirector/json_spec.rb +8 -8
  366. data/spec/unit/indirector/msgpack_spec.rb +8 -8
  367. data/spec/unit/indirector/node/rest_spec.rb +1 -1
  368. data/spec/unit/indirector/request_spec.rb +5 -5
  369. data/spec/unit/indirector/rest_spec.rb +14 -1
  370. data/spec/unit/indirector/status/rest_spec.rb +1 -1
  371. data/spec/unit/indirector/yaml_spec.rb +7 -7
  372. data/spec/unit/interface_spec.rb +3 -3
  373. data/spec/unit/module_tool/tar/mini_spec.rb +20 -0
  374. data/spec/unit/network/format_support_spec.rb +3 -2
  375. data/spec/unit/network/http/api/indirected_routes_spec.rb +2 -1
  376. data/spec/unit/network/http/api/master/v3/environments_spec.rb +12 -23
  377. data/spec/unit/network/http/connection_spec.rb +552 -190
  378. data/spec/unit/network/http/nocache_pool_spec.rb +22 -0
  379. data/spec/unit/network/http/pool_spec.rb +3 -3
  380. data/spec/unit/network/http_pool_spec.rb +63 -57
  381. data/spec/unit/network/http_spec.rb +1 -1
  382. data/spec/unit/node/environment_spec.rb +33 -0
  383. data/spec/unit/parser/ast/block_expression_spec.rb +1 -1
  384. data/spec/unit/parser/environment_compiler_spec.rb +7 -0
  385. data/spec/unit/parser/scope_spec.rb +1 -1
  386. data/spec/unit/pops/evaluator/evaluating_parser_spec.rb +15 -1
  387. data/spec/unit/pops/loaders/loaders_spec.rb +71 -1
  388. data/spec/unit/pops/lookup/lookup_spec.rb +25 -0
  389. data/spec/unit/pops/types/type_calculator_spec.rb +1 -11
  390. data/spec/unit/provider/exec_spec.rb +4 -3
  391. data/spec/unit/provider/group/windows_adsi_spec.rb +43 -10
  392. data/spec/unit/provider/package/aix_spec.rb +29 -0
  393. data/spec/unit/provider/package/apt_spec.rb +107 -0
  394. data/spec/unit/provider/package/aptitude_spec.rb +1 -0
  395. data/spec/unit/provider/package/dnfmodule_spec.rb +54 -15
  396. data/spec/unit/provider/package/dpkg_spec.rb +22 -7
  397. data/spec/unit/provider/package/gem_spec.rb +40 -0
  398. data/spec/unit/provider/package/openbsd_spec.rb +2 -0
  399. data/spec/unit/provider/package/pacman_spec.rb +6 -21
  400. data/spec/unit/provider/package/pip2_spec.rb +36 -0
  401. data/spec/unit/provider/package/pip_spec.rb +68 -19
  402. data/spec/unit/provider/package/pkgdmg_spec.rb +1 -1
  403. data/spec/unit/provider/package/pkgng_spec.rb +38 -0
  404. data/spec/unit/provider/package/portage_spec.rb +5 -0
  405. data/spec/unit/provider/package/puppet_gem_spec.rb +12 -1
  406. data/spec/unit/provider/package/puppetserver_gem_spec.rb +137 -0
  407. data/spec/unit/provider/package/rpm_spec.rb +0 -212
  408. data/spec/unit/provider/package/yum_spec.rb +274 -1
  409. data/spec/unit/provider/package/zypper_spec.rb +98 -0
  410. data/spec/unit/provider/service/base_spec.rb +2 -4
  411. data/spec/unit/provider/service/bsd_spec.rb +5 -1
  412. data/spec/unit/provider/service/daemontools_spec.rb +1 -1
  413. data/spec/unit/provider/service/debian_spec.rb +3 -5
  414. data/spec/unit/provider/service/freebsd_spec.rb +1 -1
  415. data/spec/unit/provider/service/gentoo_spec.rb +4 -5
  416. data/spec/unit/provider/service/init_spec.rb +46 -5
  417. data/spec/unit/provider/service/launchd_spec.rb +5 -6
  418. data/spec/unit/provider/service/openbsd_spec.rb +9 -0
  419. data/spec/unit/provider/service/openrc_spec.rb +4 -5
  420. data/spec/unit/provider/service/openwrt_spec.rb +2 -1
  421. data/spec/unit/provider/service/redhat_spec.rb +10 -1
  422. data/spec/unit/provider/service/runit_spec.rb +2 -1
  423. data/spec/unit/provider/service/smf_spec.rb +1 -1
  424. data/spec/unit/provider/service/src_spec.rb +3 -5
  425. data/spec/unit/provider/service/systemd_spec.rb +95 -18
  426. data/spec/unit/provider/service/upstart_spec.rb +4 -5
  427. data/spec/unit/provider/service/windows_spec.rb +50 -14
  428. data/spec/unit/provider/user/openbsd_spec.rb +1 -0
  429. data/spec/unit/provider/user/useradd_spec.rb +30 -16
  430. data/spec/unit/provider/user/windows_adsi_spec.rb +85 -3
  431. data/spec/unit/puppet_pal_2pec.rb +11 -0
  432. data/spec/unit/puppet_pal_catalog_spec.rb +43 -0
  433. data/spec/unit/puppet_spec.rb +33 -0
  434. data/spec/unit/reports/http_spec.rb +70 -52
  435. data/spec/unit/reports/store_spec.rb +17 -13
  436. data/spec/unit/resource_spec.rb +3 -3
  437. data/spec/unit/rest/route_spec.rb +4 -4
  438. data/spec/unit/settings_spec.rb +44 -22
  439. data/spec/unit/ssl/host_spec.rb +4 -2
  440. data/spec/unit/ssl/oids_spec.rb +1 -0
  441. data/spec/unit/ssl/ssl_provider_spec.rb +69 -43
  442. data/spec/unit/ssl/state_machine_spec.rb +90 -14
  443. data/spec/unit/test/test_helper_spec.rb +17 -0
  444. data/spec/unit/transaction/persistence_spec.rb +15 -0
  445. data/spec/unit/transaction/report_spec.rb +7 -1
  446. data/spec/unit/type/file/source_spec.rb +4 -4
  447. data/spec/unit/type/file_spec.rb +122 -96
  448. data/spec/unit/type/filebucket_spec.rb +1 -1
  449. data/spec/unit/type/service_spec.rb +218 -8
  450. data/spec/unit/type/user_spec.rb +32 -3
  451. data/spec/unit/type_spec.rb +50 -0
  452. data/spec/unit/util/at_fork_spec.rb +2 -2
  453. data/spec/unit/util/autoload_spec.rb +2 -1
  454. data/spec/unit/util/character_encoding_spec.rb +4 -4
  455. data/spec/unit/util/checksums_spec.rb +16 -0
  456. data/spec/unit/util/command_line_spec.rb +11 -6
  457. data/spec/unit/util/log/destinations_spec.rb +1 -29
  458. data/spec/unit/util/package/version/debian_spec.rb +83 -0
  459. data/spec/unit/util/package/version/pip_spec.rb +464 -0
  460. data/spec/unit/util/package/version/range_spec.rb +175 -0
  461. data/spec/unit/util/package/version/rpm_spec.rb +121 -0
  462. data/spec/unit/util/pidlock_spec.rb +83 -47
  463. data/spec/unit/util/rpm_compare_spec.rb +196 -0
  464. data/spec/unit/util/run_mode_spec.rb +6 -6
  465. data/spec/unit/util/windows/adsi_spec.rb +4 -4
  466. data/spec/unit/util/windows/api_types_spec.rb +104 -40
  467. data/spec/unit/util/windows/service_spec.rb +4 -4
  468. data/spec/unit/util/windows/sid_spec.rb +2 -2
  469. data/spec/unit/util_spec.rb +3 -3
  470. data/spec/unit/x509/cert_provider_spec.rb +1 -1
  471. data/tasks/generate_cert_fixtures.rake +15 -1
  472. data/tasks/manpages.rake +5 -35
  473. metadata +90 -51
  474. data/spec/integration/faces/config_spec.rb +0 -91
  475. data/spec/integration/faces/documentation_spec.rb +0 -57
  476. data/spec/integration/faces/plugin_spec.rb +0 -63
  477. data/spec/integration/file_bucket/file_spec.rb +0 -50
  478. data/spec/integration/file_serving/content_spec.rb +0 -7
  479. data/spec/integration/file_serving/fileset_spec.rb +0 -12
  480. data/spec/integration/file_serving/metadata_spec.rb +0 -8
  481. data/spec/integration/file_serving/terminus_helper_spec.rb +0 -20
  482. data/spec/integration/file_system/uniquefile_spec.rb +0 -26
  483. data/spec/integration/module_tool/forge_spec.rb +0 -64
  484. data/spec/integration/module_tool/tar/mini_spec.rb +0 -28
  485. data/spec/integration/provider/service/init_spec.rb +0 -48
  486. data/spec/integration/provider/service/systemd_spec.rb +0 -25
  487. data/spec/integration/provider/service/windows_spec.rb +0 -50
  488. data/spec/integration/reference/providers_spec.rb +0 -21
  489. data/spec/integration/reports_spec.rb +0 -13
  490. data/spec/integration/ssl/certificate_request_spec.rb +0 -44
  491. data/spec/integration/ssl/host_spec.rb +0 -72
  492. data/spec/integration/ssl/key_spec.rb +0 -99
  493. data/spec/integration/test/test_helper_spec.rb +0 -31
  494. data/spec/shared_behaviours/file_serving_model.rb +0 -51
  495. data/spec/unit/face/man_spec.rb +0 -25
  496. data/spec/unit/man_spec.rb +0 -31
@@ -599,27 +599,27 @@ describe "Puppet::Util::Windows::Service", :if => Puppet.features.microsoft_wind
599
599
  end
600
600
  end
601
601
 
602
- describe "#set_startup_mode" do
602
+ describe "#set_startup_configuration" do
603
603
  let(:status_checks) { sequence('status_checks') }
604
604
 
605
605
  context "when the service control manager cannot be opened" do
606
606
  let(:scm) { FFI::Pointer::NULL_HANDLE }
607
607
  it "raises a puppet error" do
608
- expect{ subject.set_startup_mode(mock_service_name, :SERVICE_DEMAND_START) }.to raise_error(Puppet::Error)
608
+ expect{ subject.set_startup_configuration(mock_service_name, options: {startup_type: :SERVICE_DEMAND_START}) }.to raise_error(Puppet::Error)
609
609
  end
610
610
  end
611
611
 
612
612
  context "when the service cannot be opened" do
613
613
  let(:service) { FFI::Pointer::NULL_HANDLE }
614
614
  it "raises a puppet error" do
615
- expect{ subject.set_startup_mode(mock_service_name, :SERVICE_DEMAND_START) }.to raise_error(Puppet::Error)
615
+ expect{ subject.set_startup_configuration(mock_service_name, options: {startup_type: :SERVICE_DEMAND_START}) }.to raise_error(Puppet::Error)
616
616
  end
617
617
  end
618
618
 
619
619
  context "when the service can be opened" do
620
620
  it "Raises an error on an unsuccessful change" do
621
621
  expect(subject).to receive(:ChangeServiceConfigW).and_return(FFI::WIN32_FALSE)
622
- expect{ subject.set_startup_mode(mock_service_name, :SERVICE_DEMAND_START) }.to raise_error(Puppet::Error)
622
+ expect{ subject.set_startup_configuration(mock_service_name, options: {startup_type: :SERVICE_DEMAND_START}) }.to raise_error(Puppet::Error)
623
623
  end
624
624
  end
625
625
  end
@@ -201,9 +201,9 @@ describe "Puppet::Util::Windows::SID", :if => Puppet::Util::Platform.windows? do
201
201
  principal = subject.ads_to_principal(unresolvable_user)
202
202
 
203
203
  expect(principal).to be_an_instance_of(Puppet::Util::Windows::SID::Principal)
204
- expect(principal.account).to eq('S-1-1-1 (unresolvable)')
204
+ expect(principal.account).to eq('S-1-1-1')
205
205
  expect(principal.domain).to eq(nil)
206
- expect(principal.domain_account).to eq('S-1-1-1 (unresolvable)')
206
+ expect(principal.domain_account).to eq('S-1-1-1')
207
207
  expect(principal.sid).to eq('S-1-1-1')
208
208
  expect(principal.sid_bytes).to eq(valid_octet_invalid_user)
209
209
  expect(principal.account_type).to eq(:SidTypeUnknown)
@@ -299,11 +299,11 @@ describe Puppet::Util do
299
299
  expect(uri.to_s.encoding).to eq(expected_encoding)
300
300
  expect(uri.path).to eq("/foo+foo%20bar")
301
301
  # either + or %20 is correct for an encoded space in query
302
- # + is usually used for backward compatibility, but %20 is preferred for compat with Uri.unescape
302
+ # + is usually used for backward compatibility, but %20 is preferred for compat with Puppet::Util.uri_unescape
303
303
  expect(uri.query).to eq("foo%2Bfoo%20bar")
304
304
  # complete roundtrip
305
- expect(URI.unescape(uri.to_s).sub(%r{^file:(//)?}, '')).to eq(path)
306
- expect(URI.unescape(uri.to_s).encoding).to eq(expected_encoding)
305
+ expect(Puppet::Util.uri_unescape(uri.to_s).sub(%r{^file:(//)?}, '')).to eq(path)
306
+ expect(Puppet::Util.uri_unescape(uri.to_s).encoding).to eq(expected_encoding)
307
307
  end
308
308
 
309
309
  it "should perform UTF-8 URI escaping" do
@@ -5,7 +5,7 @@ describe Puppet::X509::CertProvider do
5
5
  include PuppetSpec::Files
6
6
 
7
7
  def create_provider(options)
8
- described_class.new(options)
8
+ described_class.new(**options)
9
9
  end
10
10
 
11
11
  def expects_public_file(path)
@@ -49,6 +49,10 @@ task(:gen_cert_fixtures) do
49
49
  #
50
50
  # bad-basic-constraints.pem /CN=Test CA (bad isCA constraint)
51
51
  #
52
+ # unknown-ca.pemm /CN=Unknown CA
53
+ # |
54
+ # unknown-127.0.0.1.pem +- /CN=127.0.0.1
55
+ #
52
56
  # Keys
53
57
  # ====
54
58
  #
@@ -61,10 +65,20 @@ task(:gen_cert_fixtures) do
61
65
  # `request.pem` contains a valid CSR for /CN=pending, while `tampered_csr.pem`
62
66
  # is the same as `request.pem`, but it's public key has been replaced.
63
67
  #
64
- ca = Puppet::TestCa.new
65
68
  dir = File.join(RAKE_ROOT, 'spec/fixtures/ssl')
66
69
 
70
+ # Create self-signed CA & key
71
+ unknown_ca = Puppet::TestCa.new('Unknown CA')
72
+ save(dir, 'unknown-ca.pem', unknown_ca.ca_cert)
73
+ save(dir, 'unknown-ca-key.pem', unknown_ca.key)
74
+
75
+ # Create an SSL cert for 127.0.0.1
76
+ signed = unknown_ca.create_cert('127.0.0.1', unknown_ca.ca_cert, unknown_ca.key, subject_alt_names: 'DNS:127.0.0.1,DNS:127.0.0.2')
77
+ save(dir, 'unknown-127.0.0.1.pem', signed[:cert])
78
+ save(dir, 'unknown-127.0.0.1-key.pem', signed[:private_key])
79
+
67
80
  # Create Test CA & CRL
81
+ ca = Puppet::TestCa.new
68
82
  save(dir, 'ca.pem', ca.ca_cert)
69
83
  save(dir, 'crl.pem', ca.ca_crl)
70
84
 
@@ -1,27 +1,17 @@
1
- # require 'fileutils'
2
-
3
1
  desc "Build Puppet manpages"
4
2
  task :gen_manpages do
5
3
  require 'puppet/face'
6
4
  require 'fileutils'
7
5
 
8
- # TODO: this line is unfortunate. In an ideal world, faces would serve
9
- # as a clear, well-defined entry-point into the code and could be
10
- # responsible for state management all on their own; this really should
11
- # not be necessary. When we can, we should get rid of it.
12
- # --cprice 2012-05-16
13
- Puppet.initialize_settings()
14
-
6
+ Puppet.initialize_settings
15
7
  helpface = Puppet::Face[:help, '0.0.1']
16
- manface = Puppet::Face[:man, '0.0.1']
17
8
 
18
- sbins = Dir.glob(%w{sbin/*})
19
9
  bins = Dir.glob(%w{bin/*})
20
10
  non_face_applications = helpface.legacy_applications
21
11
  faces = Puppet::Face.faces.map(&:to_s)
22
12
  apps = non_face_applications + faces
23
13
 
24
- ronn_args = '--manual="Puppet manual" --organization="Puppet, Inc." -r'
14
+ ronn_args = '--manual="Puppet manual" --organization="Puppet, Inc." --roff'
25
15
 
26
16
  # Locate ronn
27
17
  begin
@@ -35,14 +25,6 @@ task :gen_manpages do
35
25
  abort("Ronn does not appear to be installed")
36
26
  end
37
27
 
38
- # def write_manpage(text, filename)
39
- # IO.popen("#{ronn} #{ronn_args} -r > #{filename}") do |fh| fh.write text end
40
- # end
41
-
42
- # Create puppet.conf.5 man page
43
- # IO.popen("#{ronn} #{ronn_args} > ./man/man5/puppet.conf.5", 'w') do |fh|
44
- # fh.write %x{RUBYLIB=./lib:$RUBYLIB bin/puppetdoc --reference configuration}
45
- # end
46
28
  %x{mkdir -p ./man/man5 ./man/man8}
47
29
  %x{RUBYLIB=./lib:$RUBYLIB bin/puppet doc --reference configuration > ./man/man5/puppetconf.5.ronn}
48
30
  %x{#{ronn} #{ronn_args} ./man/man5/puppetconf.5.ronn}
@@ -50,31 +32,19 @@ task :gen_manpages do
50
32
  FileUtils.rm("./man/man5/puppetconf.5.ronn")
51
33
 
52
34
  # Create LEGACY binary man pages (i.e. delete me for 2.8.0)
53
- binary = bins + sbins
54
- binary.each do |bin|
35
+ bins.each do |bin|
55
36
  b = bin.gsub( /^s?bin\//, "")
56
37
  %x{RUBYLIB=./lib:$RUBYLIB #{bin} --help > ./man/man8/#{b}.8.ronn}
57
38
  %x{#{ronn} #{ronn_args} ./man/man8/#{b}.8.ronn}
58
39
  FileUtils.rm("./man/man8/#{b}.8.ronn")
59
40
  end
60
41
 
61
- # Create regular non-face man pages
62
- non_face_applications.each do |app|
63
- %x{RUBYLIB=./lib:$RUBYLIB bin/puppet #{app} --help > ./man/man8/puppet-#{app}.8.ronn}
42
+ apps.each do |app|
43
+ %x{RUBYLIB=./lib:$RUBYLIB bin/puppet help #{app} --ronn > ./man/man8/puppet-#{app}.8.ronn}
64
44
  %x{#{ronn} #{ronn_args} ./man/man8/puppet-#{app}.8.ronn}
65
45
  FileUtils.rm("./man/man8/puppet-#{app}.8.ronn")
66
46
  end
67
47
 
68
- # Create face man pages
69
- faces.each do |face|
70
- File.open("./man/man8/puppet-#{face}.8.ronn", 'w') do |fh|
71
- fh.write manface.man("#{face}")
72
- end
73
-
74
- %x{#{ronn} #{ronn_args} ./man/man8/puppet-#{face}.8.ronn}
75
- FileUtils.rm("./man/man8/puppet-#{face}.8.ronn")
76
- end
77
-
78
48
  # Delete orphaned manpages if binary was deleted
79
49
  Dir.glob(%w{./man/man8/puppet-*.8}) do |app|
80
50
  appname = app.match(/puppet-(.*)\.8/)[1]
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.14.0
4
+ version: 6.19.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: 2020-03-07 00:00:00.000000000 Z
11
+ date: 2020-10-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: facter
@@ -651,6 +651,7 @@ files:
651
651
  - lib/puppet/http.rb
652
652
  - lib/puppet/http/client.rb
653
653
  - lib/puppet/http/errors.rb
654
+ - lib/puppet/http/external_client.rb
654
655
  - lib/puppet/http/redirector.rb
655
656
  - lib/puppet/http/resolver.rb
656
657
  - lib/puppet/http/resolver/server_list.rb
@@ -662,6 +663,7 @@ files:
662
663
  - lib/puppet/http/service/ca.rb
663
664
  - lib/puppet/http/service/compiler.rb
664
665
  - lib/puppet/http/service/file_server.rb
666
+ - lib/puppet/http/service/puppetserver.rb
665
667
  - lib/puppet/http/service/report.rb
666
668
  - lib/puppet/http/session.rb
667
669
  - lib/puppet/indirector.rb
@@ -805,6 +807,7 @@ files:
805
807
  - lib/puppet/network/http/base_pool.rb
806
808
  - lib/puppet/network/http/compression.rb
807
809
  - lib/puppet/network/http/connection.rb
810
+ - lib/puppet/network/http/connection_adapter.rb
808
811
  - lib/puppet/network/http/error.rb
809
812
  - lib/puppet/network/http/factory.rb
810
813
  - lib/puppet/network/http/handler.rb
@@ -1141,6 +1144,7 @@ files:
1141
1144
  - lib/puppet/provider/package/opkg.rb
1142
1145
  - lib/puppet/provider/package/pacman.rb
1143
1146
  - lib/puppet/provider/package/pip.rb
1147
+ - lib/puppet/provider/package/pip2.rb
1144
1148
  - lib/puppet/provider/package/pip3.rb
1145
1149
  - lib/puppet/provider/package/pkg.rb
1146
1150
  - lib/puppet/provider/package/pkgdmg.rb
@@ -1151,6 +1155,7 @@ files:
1151
1155
  - lib/puppet/provider/package/ports.rb
1152
1156
  - lib/puppet/provider/package/portupgrade.rb
1153
1157
  - lib/puppet/provider/package/puppet_gem.rb
1158
+ - lib/puppet/provider/package/puppetserver_gem.rb
1154
1159
  - lib/puppet/provider/package/rpm.rb
1155
1160
  - lib/puppet/provider/package/rug.rb
1156
1161
  - lib/puppet/provider/package/sun.rb
@@ -1363,6 +1368,18 @@ files:
1363
1368
  - lib/puppet/util/network_device/transport.rb
1364
1369
  - lib/puppet/util/network_device/transport/base.rb
1365
1370
  - lib/puppet/util/package.rb
1371
+ - lib/puppet/util/package/version/debian.rb
1372
+ - lib/puppet/util/package/version/gem.rb
1373
+ - lib/puppet/util/package/version/pip.rb
1374
+ - lib/puppet/util/package/version/range.rb
1375
+ - lib/puppet/util/package/version/range/eq.rb
1376
+ - lib/puppet/util/package/version/range/gt.rb
1377
+ - lib/puppet/util/package/version/range/gt_eq.rb
1378
+ - lib/puppet/util/package/version/range/lt.rb
1379
+ - lib/puppet/util/package/version/range/lt_eq.rb
1380
+ - lib/puppet/util/package/version/range/min_max.rb
1381
+ - lib/puppet/util/package/version/range/simple.rb
1382
+ - lib/puppet/util/package/version/rpm.rb
1366
1383
  - lib/puppet/util/pidlock.rb
1367
1384
  - lib/puppet/util/platform.rb
1368
1385
  - lib/puppet/util/plist.rb
@@ -1385,6 +1402,7 @@ files:
1385
1402
  - lib/puppet/util/reference.rb
1386
1403
  - lib/puppet/util/resource_template.rb
1387
1404
  - lib/puppet/util/retry_action.rb
1405
+ - lib/puppet/util/rpm_compare.rb
1388
1406
  - lib/puppet/util/rubygems.rb
1389
1407
  - lib/puppet/util/run_mode.rb
1390
1408
  - lib/puppet/util/selinux.rb
@@ -1413,6 +1431,7 @@ files:
1413
1431
  - lib/puppet/util/windows/error.rb
1414
1432
  - lib/puppet/util/windows/eventlog.rb
1415
1433
  - lib/puppet/util/windows/file.rb
1434
+ - lib/puppet/util/windows/monkey_patches/dir.rb
1416
1435
  - lib/puppet/util/windows/principal.rb
1417
1436
  - lib/puppet/util/windows/process.rb
1418
1437
  - lib/puppet/util/windows/registry.rb
@@ -1472,6 +1491,8 @@ files:
1472
1491
  - man/man8/puppet.8
1473
1492
  - spec/fixtures/faulty_face/puppet/face/syntax.rb
1474
1493
  - spec/fixtures/hiera.yaml
1494
+ - spec/fixtures/integration/application/apply/environments/spec/modules/amod/lib/puppet/provider/applytest/applytest.rb
1495
+ - spec/fixtures/integration/application/apply/environments/spec/modules/amod/lib/puppet/type/applytest.rb
1475
1496
  - spec/fixtures/integration/node/environment/sitedir/00_a.pp
1476
1497
  - spec/fixtures/integration/node/environment/sitedir/01_b.pp
1477
1498
  - spec/fixtures/integration/node/environment/sitedir/03_empty.pp
@@ -1527,6 +1548,10 @@ files:
1527
1548
  - spec/fixtures/ssl/signed.pem
1528
1549
  - spec/fixtures/ssl/tampered-cert.pem
1529
1550
  - spec/fixtures/ssl/tampered-csr.pem
1551
+ - spec/fixtures/ssl/unknown-127.0.0.1-key.pem
1552
+ - spec/fixtures/ssl/unknown-127.0.0.1.pem
1553
+ - spec/fixtures/ssl/unknown-ca-key.pem
1554
+ - spec/fixtures/ssl/unknown-ca.pem
1530
1555
  - spec/fixtures/stdlib.tgz
1531
1556
  - spec/fixtures/unit/application/environments/production/data/common.yaml
1532
1557
  - spec/fixtures/unit/application/environments/production/environment.conf
@@ -1600,7 +1625,9 @@ files:
1600
1625
  - spec/fixtures/unit/data_providers/environments/production/modules/xyz/functions/data.pp
1601
1626
  - spec/fixtures/unit/data_providers/environments/production/modules/xyz/manifests/init.pp
1602
1627
  - spec/fixtures/unit/data_providers/environments/production/modules/xyz/metadata.json
1628
+ - spec/fixtures/unit/forge/bacula-releases.json
1603
1629
  - spec/fixtures/unit/forge/bacula.json
1630
+ - spec/fixtures/unit/forge/bacula.tar.gz
1604
1631
  - spec/fixtures/unit/functions/hiera/hiera/backend/hieraspec_backend.rb
1605
1632
  - spec/fixtures/unit/functions/lookup/data/common.yaml
1606
1633
  - spec/fixtures/unit/functions/lookup/hiera/backend/custom_backend.rb
@@ -1796,7 +1823,7 @@ files:
1796
1823
  - spec/fixtures/unit/provider/cron/crontab/vixie_header.txt
1797
1824
  - spec/fixtures/unit/provider/cron/parsed/managed
1798
1825
  - spec/fixtures/unit/provider/cron/parsed/simple
1799
- - spec/fixtures/unit/provider/package/dnfmodule/dnf-module-list-installed.txt
1826
+ - spec/fixtures/unit/provider/package/dnfmodule/dnf-module-list.txt
1800
1827
  - spec/fixtures/unit/provider/package/gem/gem-list-single-package
1801
1828
  - spec/fixtures/unit/provider/package/gem/line-with-1.8.5-warning
1802
1829
  - spec/fixtures/unit/provider/package/openbsd/pkginfo.detail
@@ -1816,6 +1843,7 @@ files:
1816
1843
  - spec/fixtures/unit/provider/package/pkgng/pkg.query
1817
1844
  - spec/fixtures/unit/provider/package/pkgng/pkg.query.zsh
1818
1845
  - spec/fixtures/unit/provider/package/pkgng/pkg.version
1846
+ - spec/fixtures/unit/provider/package/puppetserver_gem/gem-list-local-packages
1819
1847
  - spec/fixtures/unit/provider/package/sun/dummy.server
1820
1848
  - spec/fixtures/unit/provider/package/sun/simple
1821
1849
  - spec/fixtures/unit/provider/package/yum/yum-check-update-broken-notices.txt
@@ -1824,8 +1852,10 @@ files:
1824
1852
  - spec/fixtures/unit/provider/package/yum/yum-check-update-plugin-output.txt
1825
1853
  - spec/fixtures/unit/provider/package/yum/yum-check-update-security.txt
1826
1854
  - spec/fixtures/unit/provider/package/yum/yum-check-update-simple.txt
1855
+ - spec/fixtures/unit/provider/package/yum/yum-check-update-subscription-manager.txt
1827
1856
  - spec/fixtures/unit/provider/package/zypper/zypper-list-updates-SLES11sp1.out
1828
1857
  - spec/fixtures/unit/provider/package/zypper/zypper-list-updates-empty.out
1858
+ - spec/fixtures/unit/provider/package/zypper/zypper-search-uninstalled.out
1829
1859
  - spec/fixtures/unit/provider/parsedfile/aliases.txt
1830
1860
  - spec/fixtures/unit/provider/parsedfile/simple.txt
1831
1861
  - spec/fixtures/unit/provider/service/base/ps_ef.mixed_encoding
@@ -1858,9 +1888,15 @@ files:
1858
1888
  - spec/fixtures/yaml/report2.6.x.yaml
1859
1889
  - spec/fixtures/yaml/test.local.yaml
1860
1890
  - spec/integration/agent/logging_spec.rb
1891
+ - spec/integration/application/agent_spec.rb
1861
1892
  - spec/integration/application/apply_spec.rb
1893
+ - spec/integration/application/config_spec.rb
1862
1894
  - spec/integration/application/doc_spec.rb
1895
+ - spec/integration/application/filebucket_spec.rb
1896
+ - spec/integration/application/help_spec.rb
1863
1897
  - spec/integration/application/lookup_spec.rb
1898
+ - spec/integration/application/module_spec.rb
1899
+ - spec/integration/application/plugin_spec.rb
1864
1900
  - spec/integration/configurer_spec.rb
1865
1901
  - spec/integration/data_binding_spec.rb
1866
1902
  - spec/integration/defaults_spec.rb
@@ -1869,23 +1905,13 @@ files:
1869
1905
  - spec/integration/environments/setting_hooks_spec.rb
1870
1906
  - spec/integration/environments/settings_interpolation_spec.rb
1871
1907
  - spec/integration/environments/settings_spec.rb
1872
- - spec/integration/faces/config_spec.rb
1873
- - spec/integration/faces/documentation_spec.rb
1874
- - spec/integration/faces/plugin_spec.rb
1875
- - spec/integration/file_bucket/file_spec.rb
1876
- - spec/integration/file_serving/content_spec.rb
1877
- - spec/integration/file_serving/fileset_spec.rb
1878
- - spec/integration/file_serving/metadata_spec.rb
1879
- - spec/integration/file_serving/terminus_helper_spec.rb
1880
- - spec/integration/file_system/uniquefile_spec.rb
1881
1908
  - spec/integration/http/client_spec.rb
1882
1909
  - spec/integration/indirector/catalog/compiler_spec.rb
1883
1910
  - spec/integration/indirector/direct_file_server_spec.rb
1884
1911
  - spec/integration/indirector/facts/facter_spec.rb
1885
1912
  - spec/integration/indirector/file_content/file_server_spec.rb
1886
1913
  - spec/integration/indirector/file_metadata/file_server_spec.rb
1887
- - spec/integration/module_tool/forge_spec.rb
1888
- - spec/integration/module_tool/tar/mini_spec.rb
1914
+ - spec/integration/indirector/report/yaml.rb
1889
1915
  - spec/integration/network/authconfig_spec.rb
1890
1916
  - spec/integration/network/formats_spec.rb
1891
1917
  - spec/integration/network/http/api/indirected_routes_spec.rb
@@ -1908,17 +1934,8 @@ files:
1908
1934
  - spec/integration/parser/script_compiler_spec.rb
1909
1935
  - spec/integration/parser/undef_param_spec.rb
1910
1936
  - spec/integration/provider/file/windows_spec.rb
1911
- - spec/integration/provider/service/init_spec.rb
1912
- - spec/integration/provider/service/systemd_spec.rb
1913
- - spec/integration/provider/service/windows_spec.rb
1914
- - spec/integration/reference/providers_spec.rb
1915
- - spec/integration/reports_spec.rb
1916
1937
  - spec/integration/resource/catalog_spec.rb
1917
1938
  - spec/integration/resource/type_collection_spec.rb
1918
- - spec/integration/ssl/certificate_request_spec.rb
1919
- - spec/integration/ssl/host_spec.rb
1920
- - spec/integration/ssl/key_spec.rb
1921
- - spec/integration/test/test_helper_spec.rb
1922
1939
  - spec/integration/transaction/report_spec.rb
1923
1940
  - spec/integration/transaction_spec.rb
1924
1941
  - spec/integration/type/exec_spec.rb
@@ -1932,6 +1949,7 @@ files:
1932
1949
  - spec/integration/util/rdoc/parser_spec.rb
1933
1950
  - spec/integration/util/settings_spec.rb
1934
1951
  - spec/integration/util/windows/adsi_spec.rb
1952
+ - spec/integration/util/windows/monkey_patches/dir_spec.rb
1935
1953
  - spec/integration/util/windows/principal_spec.rb
1936
1954
  - spec/integration/util/windows/process_spec.rb
1937
1955
  - spec/integration/util/windows/registry_spec.rb
@@ -1972,6 +1990,7 @@ files:
1972
1990
  - spec/lib/puppet_spec/modules.rb
1973
1991
  - spec/lib/puppet_spec/network.rb
1974
1992
  - spec/lib/puppet_spec/pops.rb
1993
+ - spec/lib/puppet_spec/puppetserver.rb
1975
1994
  - spec/lib/puppet_spec/scope.rb
1976
1995
  - spec/lib/puppet_spec/settings.rb
1977
1996
  - spec/lib/puppet_spec/ssl.rb
@@ -1982,7 +2001,6 @@ files:
1982
2001
  - spec/shared_behaviours/documentation_on_faces.rb
1983
2002
  - spec/shared_behaviours/file_server_terminus.rb
1984
2003
  - spec/shared_behaviours/file_serving.rb
1985
- - spec/shared_behaviours/file_serving_model.rb
1986
2004
  - spec/shared_behaviours/hiera_indirections.rb
1987
2005
  - spec/shared_behaviours/iterative_functions.rb
1988
2006
  - spec/shared_behaviours/memory_terminus.rb
@@ -1991,6 +2009,7 @@ files:
1991
2009
  - spec/shared_behaviours/things_that_declare_options.rb
1992
2010
  - spec/shared_contexts/checksum.rb
1993
2011
  - spec/shared_contexts/digests.rb
2012
+ - spec/shared_contexts/https.rb
1994
2013
  - spec/shared_contexts/types_setup.rb
1995
2014
  - spec/shared_examples/rhel_package_provider.rb
1996
2015
  - spec/spec_helper.rb
@@ -2008,6 +2027,7 @@ files:
2008
2027
  - spec/unit/application/filebucket_spec.rb
2009
2028
  - spec/unit/application/indirection_base_spec.rb
2010
2029
  - spec/unit/application/lookup_spec.rb
2030
+ - spec/unit/application/man_spec.rb
2011
2031
  - spec/unit/application/resource_spec.rb
2012
2032
  - spec/unit/application/ssl_spec.rb
2013
2033
  - spec/unit/application_spec.rb
@@ -2044,7 +2064,6 @@ files:
2044
2064
  - spec/unit/face/generate_spec.rb
2045
2065
  - spec/unit/face/help_spec.rb
2046
2066
  - spec/unit/face/key_spec.rb
2047
- - spec/unit/face/man_spec.rb
2048
2067
  - spec/unit/face/module/install_spec.rb
2049
2068
  - spec/unit/face/module/list_spec.rb
2050
2069
  - spec/unit/face/module/search_spec.rb
@@ -2168,11 +2187,13 @@ files:
2168
2187
  - spec/unit/hiera/scope_spec.rb
2169
2188
  - spec/unit/hiera_puppet_spec.rb
2170
2189
  - spec/unit/http/client_spec.rb
2190
+ - spec/unit/http/external_client_spec.rb
2171
2191
  - spec/unit/http/resolver_spec.rb
2172
2192
  - spec/unit/http/response_spec.rb
2173
2193
  - spec/unit/http/service/ca_spec.rb
2174
2194
  - spec/unit/http/service/compiler_spec.rb
2175
2195
  - spec/unit/http/service/file_server_spec.rb
2196
+ - spec/unit/http/service/puppetserver_spec.rb
2176
2197
  - spec/unit/http/service/report_spec.rb
2177
2198
  - spec/unit/http/service_spec.rb
2178
2199
  - spec/unit/http/session_spec.rb
@@ -2206,6 +2227,7 @@ files:
2206
2227
  - spec/unit/indirector/file_content/selector_spec.rb
2207
2228
  - spec/unit/indirector/file_metadata/file_server_spec.rb
2208
2229
  - spec/unit/indirector/file_metadata/file_spec.rb
2230
+ - spec/unit/indirector/file_metadata/http_spec.rb
2209
2231
  - spec/unit/indirector/file_metadata/rest_spec.rb
2210
2232
  - spec/unit/indirector/file_metadata/selector_spec.rb
2211
2233
  - spec/unit/indirector/file_server_spec.rb
@@ -2248,7 +2270,6 @@ files:
2248
2270
  - spec/unit/interface/option_builder_spec.rb
2249
2271
  - spec/unit/interface/option_spec.rb
2250
2272
  - spec/unit/interface_spec.rb
2251
- - spec/unit/man_spec.rb
2252
2273
  - spec/unit/module_spec.rb
2253
2274
  - spec/unit/module_tool/application_spec.rb
2254
2275
  - spec/unit/module_tool/applications/checksummer_spec.rb
@@ -2475,6 +2496,7 @@ files:
2475
2496
  - spec/unit/provider/package/openbsd_spec.rb
2476
2497
  - spec/unit/provider/package/opkg_spec.rb
2477
2498
  - spec/unit/provider/package/pacman_spec.rb
2499
+ - spec/unit/provider/package/pip2_spec.rb
2478
2500
  - spec/unit/provider/package/pip3_spec.rb
2479
2501
  - spec/unit/provider/package/pip_spec.rb
2480
2502
  - spec/unit/provider/package/pkg_spec.rb
@@ -2484,6 +2506,7 @@ files:
2484
2506
  - spec/unit/provider/package/pkgutil_spec.rb
2485
2507
  - spec/unit/provider/package/portage_spec.rb
2486
2508
  - spec/unit/provider/package/puppet_gem_spec.rb
2509
+ - spec/unit/provider/package/puppetserver_gem_spec.rb
2487
2510
  - spec/unit/provider/package/rpm_spec.rb
2488
2511
  - spec/unit/provider/package/sun_spec.rb
2489
2512
  - spec/unit/provider/package/tdnf_spec.rb
@@ -2576,6 +2599,7 @@ files:
2576
2599
  - spec/unit/ssl/verifier_spec.rb
2577
2600
  - spec/unit/status_spec.rb
2578
2601
  - spec/unit/task_spec.rb
2602
+ - spec/unit/test/test_helper_spec.rb
2579
2603
  - spec/unit/transaction/additional_resource_generator_spec.rb
2580
2604
  - spec/unit/transaction/event_manager_spec.rb
2581
2605
  - spec/unit/transaction/event_spec.rb
@@ -2644,6 +2668,10 @@ files:
2644
2668
  - spec/unit/util/network_device/config_spec.rb
2645
2669
  - spec/unit/util/network_device/transport/base_spec.rb
2646
2670
  - spec/unit/util/network_device_spec.rb
2671
+ - spec/unit/util/package/version/debian_spec.rb
2672
+ - spec/unit/util/package/version/pip_spec.rb
2673
+ - spec/unit/util/package/version/range_spec.rb
2674
+ - spec/unit/util/package/version/rpm_spec.rb
2647
2675
  - spec/unit/util/package_spec.rb
2648
2676
  - spec/unit/util/pidlock_spec.rb
2649
2677
  - spec/unit/util/plist_spec.rb
@@ -2658,6 +2686,7 @@ files:
2658
2686
  - spec/unit/util/reference_spec.rb
2659
2687
  - spec/unit/util/resource_template_spec.rb
2660
2688
  - spec/unit/util/retry_action_spec.rb
2689
+ - spec/unit/util/rpm_compare_spec.rb
2661
2690
  - spec/unit/util/rubygems_spec.rb
2662
2691
  - spec/unit/util/run_mode_spec.rb
2663
2692
  - spec/unit/util/selinux_spec.rb
@@ -2724,13 +2753,15 @@ required_rubygems_version: !ruby/object:Gem::Requirement
2724
2753
  - !ruby/object:Gem::Version
2725
2754
  version: 1.3.1
2726
2755
  requirements: []
2727
- rubygems_version: 3.0.6
2756
+ rubygems_version: 3.0.8
2728
2757
  signing_key:
2729
2758
  specification_version: 4
2730
2759
  summary: Puppet, an automated configuration management tool
2731
2760
  test_files:
2732
2761
  - spec/fixtures/faulty_face/puppet/face/syntax.rb
2733
2762
  - spec/fixtures/hiera.yaml
2763
+ - spec/fixtures/integration/application/apply/environments/spec/modules/amod/lib/puppet/provider/applytest/applytest.rb
2764
+ - spec/fixtures/integration/application/apply/environments/spec/modules/amod/lib/puppet/type/applytest.rb
2734
2765
  - spec/fixtures/integration/node/environment/sitedir/00_a.pp
2735
2766
  - spec/fixtures/integration/node/environment/sitedir/01_b.pp
2736
2767
  - spec/fixtures/integration/node/environment/sitedir/03_empty.pp
@@ -2786,6 +2817,10 @@ test_files:
2786
2817
  - spec/fixtures/ssl/signed.pem
2787
2818
  - spec/fixtures/ssl/tampered-cert.pem
2788
2819
  - spec/fixtures/ssl/tampered-csr.pem
2820
+ - spec/fixtures/ssl/unknown-127.0.0.1-key.pem
2821
+ - spec/fixtures/ssl/unknown-127.0.0.1.pem
2822
+ - spec/fixtures/ssl/unknown-ca-key.pem
2823
+ - spec/fixtures/ssl/unknown-ca.pem
2789
2824
  - spec/fixtures/stdlib.tgz
2790
2825
  - spec/fixtures/unit/application/environments/production/data/common.yaml
2791
2826
  - spec/fixtures/unit/application/environments/production/environment.conf
@@ -2859,7 +2894,9 @@ test_files:
2859
2894
  - spec/fixtures/unit/data_providers/environments/production/modules/xyz/functions/data.pp
2860
2895
  - spec/fixtures/unit/data_providers/environments/production/modules/xyz/manifests/init.pp
2861
2896
  - spec/fixtures/unit/data_providers/environments/production/modules/xyz/metadata.json
2897
+ - spec/fixtures/unit/forge/bacula-releases.json
2862
2898
  - spec/fixtures/unit/forge/bacula.json
2899
+ - spec/fixtures/unit/forge/bacula.tar.gz
2863
2900
  - spec/fixtures/unit/functions/hiera/hiera/backend/hieraspec_backend.rb
2864
2901
  - spec/fixtures/unit/functions/lookup/data/common.yaml
2865
2902
  - spec/fixtures/unit/functions/lookup/hiera/backend/custom_backend.rb
@@ -3055,7 +3092,7 @@ test_files:
3055
3092
  - spec/fixtures/unit/provider/cron/crontab/vixie_header.txt
3056
3093
  - spec/fixtures/unit/provider/cron/parsed/managed
3057
3094
  - spec/fixtures/unit/provider/cron/parsed/simple
3058
- - spec/fixtures/unit/provider/package/dnfmodule/dnf-module-list-installed.txt
3095
+ - spec/fixtures/unit/provider/package/dnfmodule/dnf-module-list.txt
3059
3096
  - spec/fixtures/unit/provider/package/gem/gem-list-single-package
3060
3097
  - spec/fixtures/unit/provider/package/gem/line-with-1.8.5-warning
3061
3098
  - spec/fixtures/unit/provider/package/openbsd/pkginfo.detail
@@ -3075,6 +3112,7 @@ test_files:
3075
3112
  - spec/fixtures/unit/provider/package/pkgng/pkg.query
3076
3113
  - spec/fixtures/unit/provider/package/pkgng/pkg.query.zsh
3077
3114
  - spec/fixtures/unit/provider/package/pkgng/pkg.version
3115
+ - spec/fixtures/unit/provider/package/puppetserver_gem/gem-list-local-packages
3078
3116
  - spec/fixtures/unit/provider/package/sun/dummy.server
3079
3117
  - spec/fixtures/unit/provider/package/sun/simple
3080
3118
  - spec/fixtures/unit/provider/package/yum/yum-check-update-broken-notices.txt
@@ -3083,8 +3121,10 @@ test_files:
3083
3121
  - spec/fixtures/unit/provider/package/yum/yum-check-update-plugin-output.txt
3084
3122
  - spec/fixtures/unit/provider/package/yum/yum-check-update-security.txt
3085
3123
  - spec/fixtures/unit/provider/package/yum/yum-check-update-simple.txt
3124
+ - spec/fixtures/unit/provider/package/yum/yum-check-update-subscription-manager.txt
3086
3125
  - spec/fixtures/unit/provider/package/zypper/zypper-list-updates-SLES11sp1.out
3087
3126
  - spec/fixtures/unit/provider/package/zypper/zypper-list-updates-empty.out
3127
+ - spec/fixtures/unit/provider/package/zypper/zypper-search-uninstalled.out
3088
3128
  - spec/fixtures/unit/provider/parsedfile/aliases.txt
3089
3129
  - spec/fixtures/unit/provider/parsedfile/simple.txt
3090
3130
  - spec/fixtures/unit/provider/service/base/ps_ef.mixed_encoding
@@ -3117,9 +3157,15 @@ test_files:
3117
3157
  - spec/fixtures/yaml/report2.6.x.yaml
3118
3158
  - spec/fixtures/yaml/test.local.yaml
3119
3159
  - spec/integration/agent/logging_spec.rb
3160
+ - spec/integration/application/agent_spec.rb
3120
3161
  - spec/integration/application/apply_spec.rb
3162
+ - spec/integration/application/config_spec.rb
3121
3163
  - spec/integration/application/doc_spec.rb
3164
+ - spec/integration/application/filebucket_spec.rb
3165
+ - spec/integration/application/help_spec.rb
3122
3166
  - spec/integration/application/lookup_spec.rb
3167
+ - spec/integration/application/module_spec.rb
3168
+ - spec/integration/application/plugin_spec.rb
3123
3169
  - spec/integration/configurer_spec.rb
3124
3170
  - spec/integration/data_binding_spec.rb
3125
3171
  - spec/integration/defaults_spec.rb
@@ -3128,23 +3174,13 @@ test_files:
3128
3174
  - spec/integration/environments/setting_hooks_spec.rb
3129
3175
  - spec/integration/environments/settings_interpolation_spec.rb
3130
3176
  - spec/integration/environments/settings_spec.rb
3131
- - spec/integration/faces/config_spec.rb
3132
- - spec/integration/faces/documentation_spec.rb
3133
- - spec/integration/faces/plugin_spec.rb
3134
- - spec/integration/file_bucket/file_spec.rb
3135
- - spec/integration/file_serving/content_spec.rb
3136
- - spec/integration/file_serving/fileset_spec.rb
3137
- - spec/integration/file_serving/metadata_spec.rb
3138
- - spec/integration/file_serving/terminus_helper_spec.rb
3139
- - spec/integration/file_system/uniquefile_spec.rb
3140
3177
  - spec/integration/http/client_spec.rb
3141
3178
  - spec/integration/indirector/catalog/compiler_spec.rb
3142
3179
  - spec/integration/indirector/direct_file_server_spec.rb
3143
3180
  - spec/integration/indirector/facts/facter_spec.rb
3144
3181
  - spec/integration/indirector/file_content/file_server_spec.rb
3145
3182
  - spec/integration/indirector/file_metadata/file_server_spec.rb
3146
- - spec/integration/module_tool/forge_spec.rb
3147
- - spec/integration/module_tool/tar/mini_spec.rb
3183
+ - spec/integration/indirector/report/yaml.rb
3148
3184
  - spec/integration/network/authconfig_spec.rb
3149
3185
  - spec/integration/network/formats_spec.rb
3150
3186
  - spec/integration/network/http/api/indirected_routes_spec.rb
@@ -3167,17 +3203,8 @@ test_files:
3167
3203
  - spec/integration/parser/script_compiler_spec.rb
3168
3204
  - spec/integration/parser/undef_param_spec.rb
3169
3205
  - spec/integration/provider/file/windows_spec.rb
3170
- - spec/integration/provider/service/init_spec.rb
3171
- - spec/integration/provider/service/systemd_spec.rb
3172
- - spec/integration/provider/service/windows_spec.rb
3173
- - spec/integration/reference/providers_spec.rb
3174
- - spec/integration/reports_spec.rb
3175
3206
  - spec/integration/resource/catalog_spec.rb
3176
3207
  - spec/integration/resource/type_collection_spec.rb
3177
- - spec/integration/ssl/certificate_request_spec.rb
3178
- - spec/integration/ssl/host_spec.rb
3179
- - spec/integration/ssl/key_spec.rb
3180
- - spec/integration/test/test_helper_spec.rb
3181
3208
  - spec/integration/transaction/report_spec.rb
3182
3209
  - spec/integration/transaction_spec.rb
3183
3210
  - spec/integration/type/exec_spec.rb
@@ -3191,6 +3218,7 @@ test_files:
3191
3218
  - spec/integration/util/rdoc/parser_spec.rb
3192
3219
  - spec/integration/util/settings_spec.rb
3193
3220
  - spec/integration/util/windows/adsi_spec.rb
3221
+ - spec/integration/util/windows/monkey_patches/dir_spec.rb
3194
3222
  - spec/integration/util/windows/principal_spec.rb
3195
3223
  - spec/integration/util/windows/process_spec.rb
3196
3224
  - spec/integration/util/windows/registry_spec.rb
@@ -3231,6 +3259,7 @@ test_files:
3231
3259
  - spec/lib/puppet_spec/modules.rb
3232
3260
  - spec/lib/puppet_spec/network.rb
3233
3261
  - spec/lib/puppet_spec/pops.rb
3262
+ - spec/lib/puppet_spec/puppetserver.rb
3234
3263
  - spec/lib/puppet_spec/scope.rb
3235
3264
  - spec/lib/puppet_spec/settings.rb
3236
3265
  - spec/lib/puppet_spec/ssl.rb
@@ -3241,7 +3270,6 @@ test_files:
3241
3270
  - spec/shared_behaviours/documentation_on_faces.rb
3242
3271
  - spec/shared_behaviours/file_server_terminus.rb
3243
3272
  - spec/shared_behaviours/file_serving.rb
3244
- - spec/shared_behaviours/file_serving_model.rb
3245
3273
  - spec/shared_behaviours/hiera_indirections.rb
3246
3274
  - spec/shared_behaviours/iterative_functions.rb
3247
3275
  - spec/shared_behaviours/memory_terminus.rb
@@ -3250,6 +3278,7 @@ test_files:
3250
3278
  - spec/shared_behaviours/things_that_declare_options.rb
3251
3279
  - spec/shared_contexts/checksum.rb
3252
3280
  - spec/shared_contexts/digests.rb
3281
+ - spec/shared_contexts/https.rb
3253
3282
  - spec/shared_contexts/types_setup.rb
3254
3283
  - spec/shared_examples/rhel_package_provider.rb
3255
3284
  - spec/spec_helper.rb
@@ -3267,6 +3296,7 @@ test_files:
3267
3296
  - spec/unit/application/filebucket_spec.rb
3268
3297
  - spec/unit/application/indirection_base_spec.rb
3269
3298
  - spec/unit/application/lookup_spec.rb
3299
+ - spec/unit/application/man_spec.rb
3270
3300
  - spec/unit/application/resource_spec.rb
3271
3301
  - spec/unit/application/ssl_spec.rb
3272
3302
  - spec/unit/application_spec.rb
@@ -3303,7 +3333,6 @@ test_files:
3303
3333
  - spec/unit/face/generate_spec.rb
3304
3334
  - spec/unit/face/help_spec.rb
3305
3335
  - spec/unit/face/key_spec.rb
3306
- - spec/unit/face/man_spec.rb
3307
3336
  - spec/unit/face/module/install_spec.rb
3308
3337
  - spec/unit/face/module/list_spec.rb
3309
3338
  - spec/unit/face/module/search_spec.rb
@@ -3427,11 +3456,13 @@ test_files:
3427
3456
  - spec/unit/hiera/scope_spec.rb
3428
3457
  - spec/unit/hiera_puppet_spec.rb
3429
3458
  - spec/unit/http/client_spec.rb
3459
+ - spec/unit/http/external_client_spec.rb
3430
3460
  - spec/unit/http/resolver_spec.rb
3431
3461
  - spec/unit/http/response_spec.rb
3432
3462
  - spec/unit/http/service/ca_spec.rb
3433
3463
  - spec/unit/http/service/compiler_spec.rb
3434
3464
  - spec/unit/http/service/file_server_spec.rb
3465
+ - spec/unit/http/service/puppetserver_spec.rb
3435
3466
  - spec/unit/http/service/report_spec.rb
3436
3467
  - spec/unit/http/service_spec.rb
3437
3468
  - spec/unit/http/session_spec.rb
@@ -3465,6 +3496,7 @@ test_files:
3465
3496
  - spec/unit/indirector/file_content/selector_spec.rb
3466
3497
  - spec/unit/indirector/file_metadata/file_server_spec.rb
3467
3498
  - spec/unit/indirector/file_metadata/file_spec.rb
3499
+ - spec/unit/indirector/file_metadata/http_spec.rb
3468
3500
  - spec/unit/indirector/file_metadata/rest_spec.rb
3469
3501
  - spec/unit/indirector/file_metadata/selector_spec.rb
3470
3502
  - spec/unit/indirector/file_server_spec.rb
@@ -3507,7 +3539,6 @@ test_files:
3507
3539
  - spec/unit/interface/option_builder_spec.rb
3508
3540
  - spec/unit/interface/option_spec.rb
3509
3541
  - spec/unit/interface_spec.rb
3510
- - spec/unit/man_spec.rb
3511
3542
  - spec/unit/module_spec.rb
3512
3543
  - spec/unit/module_tool/application_spec.rb
3513
3544
  - spec/unit/module_tool/applications/checksummer_spec.rb
@@ -3734,6 +3765,7 @@ test_files:
3734
3765
  - spec/unit/provider/package/openbsd_spec.rb
3735
3766
  - spec/unit/provider/package/opkg_spec.rb
3736
3767
  - spec/unit/provider/package/pacman_spec.rb
3768
+ - spec/unit/provider/package/pip2_spec.rb
3737
3769
  - spec/unit/provider/package/pip3_spec.rb
3738
3770
  - spec/unit/provider/package/pip_spec.rb
3739
3771
  - spec/unit/provider/package/pkg_spec.rb
@@ -3743,6 +3775,7 @@ test_files:
3743
3775
  - spec/unit/provider/package/pkgutil_spec.rb
3744
3776
  - spec/unit/provider/package/portage_spec.rb
3745
3777
  - spec/unit/provider/package/puppet_gem_spec.rb
3778
+ - spec/unit/provider/package/puppetserver_gem_spec.rb
3746
3779
  - spec/unit/provider/package/rpm_spec.rb
3747
3780
  - spec/unit/provider/package/sun_spec.rb
3748
3781
  - spec/unit/provider/package/tdnf_spec.rb
@@ -3835,6 +3868,7 @@ test_files:
3835
3868
  - spec/unit/ssl/verifier_spec.rb
3836
3869
  - spec/unit/status_spec.rb
3837
3870
  - spec/unit/task_spec.rb
3871
+ - spec/unit/test/test_helper_spec.rb
3838
3872
  - spec/unit/transaction/additional_resource_generator_spec.rb
3839
3873
  - spec/unit/transaction/event_manager_spec.rb
3840
3874
  - spec/unit/transaction/event_spec.rb
@@ -3903,6 +3937,10 @@ test_files:
3903
3937
  - spec/unit/util/network_device/config_spec.rb
3904
3938
  - spec/unit/util/network_device/transport/base_spec.rb
3905
3939
  - spec/unit/util/network_device_spec.rb
3940
+ - spec/unit/util/package/version/debian_spec.rb
3941
+ - spec/unit/util/package/version/pip_spec.rb
3942
+ - spec/unit/util/package/version/range_spec.rb
3943
+ - spec/unit/util/package/version/rpm_spec.rb
3906
3944
  - spec/unit/util/package_spec.rb
3907
3945
  - spec/unit/util/pidlock_spec.rb
3908
3946
  - spec/unit/util/plist_spec.rb
@@ -3917,6 +3955,7 @@ test_files:
3917
3955
  - spec/unit/util/reference_spec.rb
3918
3956
  - spec/unit/util/resource_template_spec.rb
3919
3957
  - spec/unit/util/retry_action_spec.rb
3958
+ - spec/unit/util/rpm_compare_spec.rb
3920
3959
  - spec/unit/util/rubygems_spec.rb
3921
3960
  - spec/unit/util/run_mode_spec.rb
3922
3961
  - spec/unit/util/selinux_spec.rb