puppet 6.14.0-universal-darwin → 6.19.0-universal-darwin

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

Potentially problematic release.


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

Files changed (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: universal-darwin
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
@@ -575,6 +575,7 @@ files:
575
575
  - lib/puppet/http.rb
576
576
  - lib/puppet/http/client.rb
577
577
  - lib/puppet/http/errors.rb
578
+ - lib/puppet/http/external_client.rb
578
579
  - lib/puppet/http/redirector.rb
579
580
  - lib/puppet/http/resolver.rb
580
581
  - lib/puppet/http/resolver/server_list.rb
@@ -586,6 +587,7 @@ files:
586
587
  - lib/puppet/http/service/ca.rb
587
588
  - lib/puppet/http/service/compiler.rb
588
589
  - lib/puppet/http/service/file_server.rb
590
+ - lib/puppet/http/service/puppetserver.rb
589
591
  - lib/puppet/http/service/report.rb
590
592
  - lib/puppet/http/session.rb
591
593
  - lib/puppet/indirector.rb
@@ -729,6 +731,7 @@ files:
729
731
  - lib/puppet/network/http/base_pool.rb
730
732
  - lib/puppet/network/http/compression.rb
731
733
  - lib/puppet/network/http/connection.rb
734
+ - lib/puppet/network/http/connection_adapter.rb
732
735
  - lib/puppet/network/http/error.rb
733
736
  - lib/puppet/network/http/factory.rb
734
737
  - lib/puppet/network/http/handler.rb
@@ -1065,6 +1068,7 @@ files:
1065
1068
  - lib/puppet/provider/package/opkg.rb
1066
1069
  - lib/puppet/provider/package/pacman.rb
1067
1070
  - lib/puppet/provider/package/pip.rb
1071
+ - lib/puppet/provider/package/pip2.rb
1068
1072
  - lib/puppet/provider/package/pip3.rb
1069
1073
  - lib/puppet/provider/package/pkg.rb
1070
1074
  - lib/puppet/provider/package/pkgdmg.rb
@@ -1075,6 +1079,7 @@ files:
1075
1079
  - lib/puppet/provider/package/ports.rb
1076
1080
  - lib/puppet/provider/package/portupgrade.rb
1077
1081
  - lib/puppet/provider/package/puppet_gem.rb
1082
+ - lib/puppet/provider/package/puppetserver_gem.rb
1078
1083
  - lib/puppet/provider/package/rpm.rb
1079
1084
  - lib/puppet/provider/package/rug.rb
1080
1085
  - lib/puppet/provider/package/sun.rb
@@ -1287,6 +1292,18 @@ files:
1287
1292
  - lib/puppet/util/network_device/transport.rb
1288
1293
  - lib/puppet/util/network_device/transport/base.rb
1289
1294
  - lib/puppet/util/package.rb
1295
+ - lib/puppet/util/package/version/debian.rb
1296
+ - lib/puppet/util/package/version/gem.rb
1297
+ - lib/puppet/util/package/version/pip.rb
1298
+ - lib/puppet/util/package/version/range.rb
1299
+ - lib/puppet/util/package/version/range/eq.rb
1300
+ - lib/puppet/util/package/version/range/gt.rb
1301
+ - lib/puppet/util/package/version/range/gt_eq.rb
1302
+ - lib/puppet/util/package/version/range/lt.rb
1303
+ - lib/puppet/util/package/version/range/lt_eq.rb
1304
+ - lib/puppet/util/package/version/range/min_max.rb
1305
+ - lib/puppet/util/package/version/range/simple.rb
1306
+ - lib/puppet/util/package/version/rpm.rb
1290
1307
  - lib/puppet/util/pidlock.rb
1291
1308
  - lib/puppet/util/platform.rb
1292
1309
  - lib/puppet/util/plist.rb
@@ -1309,6 +1326,7 @@ files:
1309
1326
  - lib/puppet/util/reference.rb
1310
1327
  - lib/puppet/util/resource_template.rb
1311
1328
  - lib/puppet/util/retry_action.rb
1329
+ - lib/puppet/util/rpm_compare.rb
1312
1330
  - lib/puppet/util/rubygems.rb
1313
1331
  - lib/puppet/util/run_mode.rb
1314
1332
  - lib/puppet/util/selinux.rb
@@ -1337,6 +1355,7 @@ files:
1337
1355
  - lib/puppet/util/windows/error.rb
1338
1356
  - lib/puppet/util/windows/eventlog.rb
1339
1357
  - lib/puppet/util/windows/file.rb
1358
+ - lib/puppet/util/windows/monkey_patches/dir.rb
1340
1359
  - lib/puppet/util/windows/principal.rb
1341
1360
  - lib/puppet/util/windows/process.rb
1342
1361
  - lib/puppet/util/windows/registry.rb
@@ -1396,6 +1415,8 @@ files:
1396
1415
  - man/man8/puppet.8
1397
1416
  - spec/fixtures/faulty_face/puppet/face/syntax.rb
1398
1417
  - spec/fixtures/hiera.yaml
1418
+ - spec/fixtures/integration/application/apply/environments/spec/modules/amod/lib/puppet/provider/applytest/applytest.rb
1419
+ - spec/fixtures/integration/application/apply/environments/spec/modules/amod/lib/puppet/type/applytest.rb
1399
1420
  - spec/fixtures/integration/node/environment/sitedir/00_a.pp
1400
1421
  - spec/fixtures/integration/node/environment/sitedir/01_b.pp
1401
1422
  - spec/fixtures/integration/node/environment/sitedir/03_empty.pp
@@ -1451,6 +1472,10 @@ files:
1451
1472
  - spec/fixtures/ssl/signed.pem
1452
1473
  - spec/fixtures/ssl/tampered-cert.pem
1453
1474
  - spec/fixtures/ssl/tampered-csr.pem
1475
+ - spec/fixtures/ssl/unknown-127.0.0.1-key.pem
1476
+ - spec/fixtures/ssl/unknown-127.0.0.1.pem
1477
+ - spec/fixtures/ssl/unknown-ca-key.pem
1478
+ - spec/fixtures/ssl/unknown-ca.pem
1454
1479
  - spec/fixtures/stdlib.tgz
1455
1480
  - spec/fixtures/unit/application/environments/production/data/common.yaml
1456
1481
  - spec/fixtures/unit/application/environments/production/environment.conf
@@ -1524,7 +1549,9 @@ files:
1524
1549
  - spec/fixtures/unit/data_providers/environments/production/modules/xyz/functions/data.pp
1525
1550
  - spec/fixtures/unit/data_providers/environments/production/modules/xyz/manifests/init.pp
1526
1551
  - spec/fixtures/unit/data_providers/environments/production/modules/xyz/metadata.json
1552
+ - spec/fixtures/unit/forge/bacula-releases.json
1527
1553
  - spec/fixtures/unit/forge/bacula.json
1554
+ - spec/fixtures/unit/forge/bacula.tar.gz
1528
1555
  - spec/fixtures/unit/functions/hiera/hiera/backend/hieraspec_backend.rb
1529
1556
  - spec/fixtures/unit/functions/lookup/data/common.yaml
1530
1557
  - spec/fixtures/unit/functions/lookup/hiera/backend/custom_backend.rb
@@ -1720,7 +1747,7 @@ files:
1720
1747
  - spec/fixtures/unit/provider/cron/crontab/vixie_header.txt
1721
1748
  - spec/fixtures/unit/provider/cron/parsed/managed
1722
1749
  - spec/fixtures/unit/provider/cron/parsed/simple
1723
- - spec/fixtures/unit/provider/package/dnfmodule/dnf-module-list-installed.txt
1750
+ - spec/fixtures/unit/provider/package/dnfmodule/dnf-module-list.txt
1724
1751
  - spec/fixtures/unit/provider/package/gem/gem-list-single-package
1725
1752
  - spec/fixtures/unit/provider/package/gem/line-with-1.8.5-warning
1726
1753
  - spec/fixtures/unit/provider/package/openbsd/pkginfo.detail
@@ -1740,6 +1767,7 @@ files:
1740
1767
  - spec/fixtures/unit/provider/package/pkgng/pkg.query
1741
1768
  - spec/fixtures/unit/provider/package/pkgng/pkg.query.zsh
1742
1769
  - spec/fixtures/unit/provider/package/pkgng/pkg.version
1770
+ - spec/fixtures/unit/provider/package/puppetserver_gem/gem-list-local-packages
1743
1771
  - spec/fixtures/unit/provider/package/sun/dummy.server
1744
1772
  - spec/fixtures/unit/provider/package/sun/simple
1745
1773
  - spec/fixtures/unit/provider/package/yum/yum-check-update-broken-notices.txt
@@ -1748,8 +1776,10 @@ files:
1748
1776
  - spec/fixtures/unit/provider/package/yum/yum-check-update-plugin-output.txt
1749
1777
  - spec/fixtures/unit/provider/package/yum/yum-check-update-security.txt
1750
1778
  - spec/fixtures/unit/provider/package/yum/yum-check-update-simple.txt
1779
+ - spec/fixtures/unit/provider/package/yum/yum-check-update-subscription-manager.txt
1751
1780
  - spec/fixtures/unit/provider/package/zypper/zypper-list-updates-SLES11sp1.out
1752
1781
  - spec/fixtures/unit/provider/package/zypper/zypper-list-updates-empty.out
1782
+ - spec/fixtures/unit/provider/package/zypper/zypper-search-uninstalled.out
1753
1783
  - spec/fixtures/unit/provider/parsedfile/aliases.txt
1754
1784
  - spec/fixtures/unit/provider/parsedfile/simple.txt
1755
1785
  - spec/fixtures/unit/provider/service/base/ps_ef.mixed_encoding
@@ -1782,9 +1812,15 @@ files:
1782
1812
  - spec/fixtures/yaml/report2.6.x.yaml
1783
1813
  - spec/fixtures/yaml/test.local.yaml
1784
1814
  - spec/integration/agent/logging_spec.rb
1815
+ - spec/integration/application/agent_spec.rb
1785
1816
  - spec/integration/application/apply_spec.rb
1817
+ - spec/integration/application/config_spec.rb
1786
1818
  - spec/integration/application/doc_spec.rb
1819
+ - spec/integration/application/filebucket_spec.rb
1820
+ - spec/integration/application/help_spec.rb
1787
1821
  - spec/integration/application/lookup_spec.rb
1822
+ - spec/integration/application/module_spec.rb
1823
+ - spec/integration/application/plugin_spec.rb
1788
1824
  - spec/integration/configurer_spec.rb
1789
1825
  - spec/integration/data_binding_spec.rb
1790
1826
  - spec/integration/defaults_spec.rb
@@ -1793,23 +1829,13 @@ files:
1793
1829
  - spec/integration/environments/setting_hooks_spec.rb
1794
1830
  - spec/integration/environments/settings_interpolation_spec.rb
1795
1831
  - spec/integration/environments/settings_spec.rb
1796
- - spec/integration/faces/config_spec.rb
1797
- - spec/integration/faces/documentation_spec.rb
1798
- - spec/integration/faces/plugin_spec.rb
1799
- - spec/integration/file_bucket/file_spec.rb
1800
- - spec/integration/file_serving/content_spec.rb
1801
- - spec/integration/file_serving/fileset_spec.rb
1802
- - spec/integration/file_serving/metadata_spec.rb
1803
- - spec/integration/file_serving/terminus_helper_spec.rb
1804
- - spec/integration/file_system/uniquefile_spec.rb
1805
1832
  - spec/integration/http/client_spec.rb
1806
1833
  - spec/integration/indirector/catalog/compiler_spec.rb
1807
1834
  - spec/integration/indirector/direct_file_server_spec.rb
1808
1835
  - spec/integration/indirector/facts/facter_spec.rb
1809
1836
  - spec/integration/indirector/file_content/file_server_spec.rb
1810
1837
  - spec/integration/indirector/file_metadata/file_server_spec.rb
1811
- - spec/integration/module_tool/forge_spec.rb
1812
- - spec/integration/module_tool/tar/mini_spec.rb
1838
+ - spec/integration/indirector/report/yaml.rb
1813
1839
  - spec/integration/network/authconfig_spec.rb
1814
1840
  - spec/integration/network/formats_spec.rb
1815
1841
  - spec/integration/network/http/api/indirected_routes_spec.rb
@@ -1832,17 +1858,8 @@ files:
1832
1858
  - spec/integration/parser/script_compiler_spec.rb
1833
1859
  - spec/integration/parser/undef_param_spec.rb
1834
1860
  - spec/integration/provider/file/windows_spec.rb
1835
- - spec/integration/provider/service/init_spec.rb
1836
- - spec/integration/provider/service/systemd_spec.rb
1837
- - spec/integration/provider/service/windows_spec.rb
1838
- - spec/integration/reference/providers_spec.rb
1839
- - spec/integration/reports_spec.rb
1840
1861
  - spec/integration/resource/catalog_spec.rb
1841
1862
  - spec/integration/resource/type_collection_spec.rb
1842
- - spec/integration/ssl/certificate_request_spec.rb
1843
- - spec/integration/ssl/host_spec.rb
1844
- - spec/integration/ssl/key_spec.rb
1845
- - spec/integration/test/test_helper_spec.rb
1846
1863
  - spec/integration/transaction/report_spec.rb
1847
1864
  - spec/integration/transaction_spec.rb
1848
1865
  - spec/integration/type/exec_spec.rb
@@ -1856,6 +1873,7 @@ files:
1856
1873
  - spec/integration/util/rdoc/parser_spec.rb
1857
1874
  - spec/integration/util/settings_spec.rb
1858
1875
  - spec/integration/util/windows/adsi_spec.rb
1876
+ - spec/integration/util/windows/monkey_patches/dir_spec.rb
1859
1877
  - spec/integration/util/windows/principal_spec.rb
1860
1878
  - spec/integration/util/windows/process_spec.rb
1861
1879
  - spec/integration/util/windows/registry_spec.rb
@@ -1896,6 +1914,7 @@ files:
1896
1914
  - spec/lib/puppet_spec/modules.rb
1897
1915
  - spec/lib/puppet_spec/network.rb
1898
1916
  - spec/lib/puppet_spec/pops.rb
1917
+ - spec/lib/puppet_spec/puppetserver.rb
1899
1918
  - spec/lib/puppet_spec/scope.rb
1900
1919
  - spec/lib/puppet_spec/settings.rb
1901
1920
  - spec/lib/puppet_spec/ssl.rb
@@ -1906,7 +1925,6 @@ files:
1906
1925
  - spec/shared_behaviours/documentation_on_faces.rb
1907
1926
  - spec/shared_behaviours/file_server_terminus.rb
1908
1927
  - spec/shared_behaviours/file_serving.rb
1909
- - spec/shared_behaviours/file_serving_model.rb
1910
1928
  - spec/shared_behaviours/hiera_indirections.rb
1911
1929
  - spec/shared_behaviours/iterative_functions.rb
1912
1930
  - spec/shared_behaviours/memory_terminus.rb
@@ -1915,6 +1933,7 @@ files:
1915
1933
  - spec/shared_behaviours/things_that_declare_options.rb
1916
1934
  - spec/shared_contexts/checksum.rb
1917
1935
  - spec/shared_contexts/digests.rb
1936
+ - spec/shared_contexts/https.rb
1918
1937
  - spec/shared_contexts/types_setup.rb
1919
1938
  - spec/shared_examples/rhel_package_provider.rb
1920
1939
  - spec/spec_helper.rb
@@ -1932,6 +1951,7 @@ files:
1932
1951
  - spec/unit/application/filebucket_spec.rb
1933
1952
  - spec/unit/application/indirection_base_spec.rb
1934
1953
  - spec/unit/application/lookup_spec.rb
1954
+ - spec/unit/application/man_spec.rb
1935
1955
  - spec/unit/application/resource_spec.rb
1936
1956
  - spec/unit/application/ssl_spec.rb
1937
1957
  - spec/unit/application_spec.rb
@@ -1968,7 +1988,6 @@ files:
1968
1988
  - spec/unit/face/generate_spec.rb
1969
1989
  - spec/unit/face/help_spec.rb
1970
1990
  - spec/unit/face/key_spec.rb
1971
- - spec/unit/face/man_spec.rb
1972
1991
  - spec/unit/face/module/install_spec.rb
1973
1992
  - spec/unit/face/module/list_spec.rb
1974
1993
  - spec/unit/face/module/search_spec.rb
@@ -2092,11 +2111,13 @@ files:
2092
2111
  - spec/unit/hiera/scope_spec.rb
2093
2112
  - spec/unit/hiera_puppet_spec.rb
2094
2113
  - spec/unit/http/client_spec.rb
2114
+ - spec/unit/http/external_client_spec.rb
2095
2115
  - spec/unit/http/resolver_spec.rb
2096
2116
  - spec/unit/http/response_spec.rb
2097
2117
  - spec/unit/http/service/ca_spec.rb
2098
2118
  - spec/unit/http/service/compiler_spec.rb
2099
2119
  - spec/unit/http/service/file_server_spec.rb
2120
+ - spec/unit/http/service/puppetserver_spec.rb
2100
2121
  - spec/unit/http/service/report_spec.rb
2101
2122
  - spec/unit/http/service_spec.rb
2102
2123
  - spec/unit/http/session_spec.rb
@@ -2130,6 +2151,7 @@ files:
2130
2151
  - spec/unit/indirector/file_content/selector_spec.rb
2131
2152
  - spec/unit/indirector/file_metadata/file_server_spec.rb
2132
2153
  - spec/unit/indirector/file_metadata/file_spec.rb
2154
+ - spec/unit/indirector/file_metadata/http_spec.rb
2133
2155
  - spec/unit/indirector/file_metadata/rest_spec.rb
2134
2156
  - spec/unit/indirector/file_metadata/selector_spec.rb
2135
2157
  - spec/unit/indirector/file_server_spec.rb
@@ -2172,7 +2194,6 @@ files:
2172
2194
  - spec/unit/interface/option_builder_spec.rb
2173
2195
  - spec/unit/interface/option_spec.rb
2174
2196
  - spec/unit/interface_spec.rb
2175
- - spec/unit/man_spec.rb
2176
2197
  - spec/unit/module_spec.rb
2177
2198
  - spec/unit/module_tool/application_spec.rb
2178
2199
  - spec/unit/module_tool/applications/checksummer_spec.rb
@@ -2399,6 +2420,7 @@ files:
2399
2420
  - spec/unit/provider/package/openbsd_spec.rb
2400
2421
  - spec/unit/provider/package/opkg_spec.rb
2401
2422
  - spec/unit/provider/package/pacman_spec.rb
2423
+ - spec/unit/provider/package/pip2_spec.rb
2402
2424
  - spec/unit/provider/package/pip3_spec.rb
2403
2425
  - spec/unit/provider/package/pip_spec.rb
2404
2426
  - spec/unit/provider/package/pkg_spec.rb
@@ -2408,6 +2430,7 @@ files:
2408
2430
  - spec/unit/provider/package/pkgutil_spec.rb
2409
2431
  - spec/unit/provider/package/portage_spec.rb
2410
2432
  - spec/unit/provider/package/puppet_gem_spec.rb
2433
+ - spec/unit/provider/package/puppetserver_gem_spec.rb
2411
2434
  - spec/unit/provider/package/rpm_spec.rb
2412
2435
  - spec/unit/provider/package/sun_spec.rb
2413
2436
  - spec/unit/provider/package/tdnf_spec.rb
@@ -2500,6 +2523,7 @@ files:
2500
2523
  - spec/unit/ssl/verifier_spec.rb
2501
2524
  - spec/unit/status_spec.rb
2502
2525
  - spec/unit/task_spec.rb
2526
+ - spec/unit/test/test_helper_spec.rb
2503
2527
  - spec/unit/transaction/additional_resource_generator_spec.rb
2504
2528
  - spec/unit/transaction/event_manager_spec.rb
2505
2529
  - spec/unit/transaction/event_spec.rb
@@ -2568,6 +2592,10 @@ files:
2568
2592
  - spec/unit/util/network_device/config_spec.rb
2569
2593
  - spec/unit/util/network_device/transport/base_spec.rb
2570
2594
  - spec/unit/util/network_device_spec.rb
2595
+ - spec/unit/util/package/version/debian_spec.rb
2596
+ - spec/unit/util/package/version/pip_spec.rb
2597
+ - spec/unit/util/package/version/range_spec.rb
2598
+ - spec/unit/util/package/version/rpm_spec.rb
2571
2599
  - spec/unit/util/package_spec.rb
2572
2600
  - spec/unit/util/pidlock_spec.rb
2573
2601
  - spec/unit/util/plist_spec.rb
@@ -2582,6 +2610,7 @@ files:
2582
2610
  - spec/unit/util/reference_spec.rb
2583
2611
  - spec/unit/util/resource_template_spec.rb
2584
2612
  - spec/unit/util/retry_action_spec.rb
2613
+ - spec/unit/util/rpm_compare_spec.rb
2585
2614
  - spec/unit/util/rubygems_spec.rb
2586
2615
  - spec/unit/util/run_mode_spec.rb
2587
2616
  - spec/unit/util/selinux_spec.rb
@@ -2648,13 +2677,15 @@ required_rubygems_version: !ruby/object:Gem::Requirement
2648
2677
  - !ruby/object:Gem::Version
2649
2678
  version: 1.3.1
2650
2679
  requirements: []
2651
- rubygems_version: 3.0.6
2680
+ rubygems_version: 3.0.8
2652
2681
  signing_key:
2653
2682
  specification_version: 4
2654
2683
  summary: Puppet, an automated configuration management tool
2655
2684
  test_files:
2656
2685
  - spec/fixtures/faulty_face/puppet/face/syntax.rb
2657
2686
  - spec/fixtures/hiera.yaml
2687
+ - spec/fixtures/integration/application/apply/environments/spec/modules/amod/lib/puppet/provider/applytest/applytest.rb
2688
+ - spec/fixtures/integration/application/apply/environments/spec/modules/amod/lib/puppet/type/applytest.rb
2658
2689
  - spec/fixtures/integration/node/environment/sitedir/00_a.pp
2659
2690
  - spec/fixtures/integration/node/environment/sitedir/01_b.pp
2660
2691
  - spec/fixtures/integration/node/environment/sitedir/03_empty.pp
@@ -2710,6 +2741,10 @@ test_files:
2710
2741
  - spec/fixtures/ssl/signed.pem
2711
2742
  - spec/fixtures/ssl/tampered-cert.pem
2712
2743
  - spec/fixtures/ssl/tampered-csr.pem
2744
+ - spec/fixtures/ssl/unknown-127.0.0.1-key.pem
2745
+ - spec/fixtures/ssl/unknown-127.0.0.1.pem
2746
+ - spec/fixtures/ssl/unknown-ca-key.pem
2747
+ - spec/fixtures/ssl/unknown-ca.pem
2713
2748
  - spec/fixtures/stdlib.tgz
2714
2749
  - spec/fixtures/unit/application/environments/production/data/common.yaml
2715
2750
  - spec/fixtures/unit/application/environments/production/environment.conf
@@ -2783,7 +2818,9 @@ test_files:
2783
2818
  - spec/fixtures/unit/data_providers/environments/production/modules/xyz/functions/data.pp
2784
2819
  - spec/fixtures/unit/data_providers/environments/production/modules/xyz/manifests/init.pp
2785
2820
  - spec/fixtures/unit/data_providers/environments/production/modules/xyz/metadata.json
2821
+ - spec/fixtures/unit/forge/bacula-releases.json
2786
2822
  - spec/fixtures/unit/forge/bacula.json
2823
+ - spec/fixtures/unit/forge/bacula.tar.gz
2787
2824
  - spec/fixtures/unit/functions/hiera/hiera/backend/hieraspec_backend.rb
2788
2825
  - spec/fixtures/unit/functions/lookup/data/common.yaml
2789
2826
  - spec/fixtures/unit/functions/lookup/hiera/backend/custom_backend.rb
@@ -2979,7 +3016,7 @@ test_files:
2979
3016
  - spec/fixtures/unit/provider/cron/crontab/vixie_header.txt
2980
3017
  - spec/fixtures/unit/provider/cron/parsed/managed
2981
3018
  - spec/fixtures/unit/provider/cron/parsed/simple
2982
- - spec/fixtures/unit/provider/package/dnfmodule/dnf-module-list-installed.txt
3019
+ - spec/fixtures/unit/provider/package/dnfmodule/dnf-module-list.txt
2983
3020
  - spec/fixtures/unit/provider/package/gem/gem-list-single-package
2984
3021
  - spec/fixtures/unit/provider/package/gem/line-with-1.8.5-warning
2985
3022
  - spec/fixtures/unit/provider/package/openbsd/pkginfo.detail
@@ -2999,6 +3036,7 @@ test_files:
2999
3036
  - spec/fixtures/unit/provider/package/pkgng/pkg.query
3000
3037
  - spec/fixtures/unit/provider/package/pkgng/pkg.query.zsh
3001
3038
  - spec/fixtures/unit/provider/package/pkgng/pkg.version
3039
+ - spec/fixtures/unit/provider/package/puppetserver_gem/gem-list-local-packages
3002
3040
  - spec/fixtures/unit/provider/package/sun/dummy.server
3003
3041
  - spec/fixtures/unit/provider/package/sun/simple
3004
3042
  - spec/fixtures/unit/provider/package/yum/yum-check-update-broken-notices.txt
@@ -3007,8 +3045,10 @@ test_files:
3007
3045
  - spec/fixtures/unit/provider/package/yum/yum-check-update-plugin-output.txt
3008
3046
  - spec/fixtures/unit/provider/package/yum/yum-check-update-security.txt
3009
3047
  - spec/fixtures/unit/provider/package/yum/yum-check-update-simple.txt
3048
+ - spec/fixtures/unit/provider/package/yum/yum-check-update-subscription-manager.txt
3010
3049
  - spec/fixtures/unit/provider/package/zypper/zypper-list-updates-SLES11sp1.out
3011
3050
  - spec/fixtures/unit/provider/package/zypper/zypper-list-updates-empty.out
3051
+ - spec/fixtures/unit/provider/package/zypper/zypper-search-uninstalled.out
3012
3052
  - spec/fixtures/unit/provider/parsedfile/aliases.txt
3013
3053
  - spec/fixtures/unit/provider/parsedfile/simple.txt
3014
3054
  - spec/fixtures/unit/provider/service/base/ps_ef.mixed_encoding
@@ -3041,9 +3081,15 @@ test_files:
3041
3081
  - spec/fixtures/yaml/report2.6.x.yaml
3042
3082
  - spec/fixtures/yaml/test.local.yaml
3043
3083
  - spec/integration/agent/logging_spec.rb
3084
+ - spec/integration/application/agent_spec.rb
3044
3085
  - spec/integration/application/apply_spec.rb
3086
+ - spec/integration/application/config_spec.rb
3045
3087
  - spec/integration/application/doc_spec.rb
3088
+ - spec/integration/application/filebucket_spec.rb
3089
+ - spec/integration/application/help_spec.rb
3046
3090
  - spec/integration/application/lookup_spec.rb
3091
+ - spec/integration/application/module_spec.rb
3092
+ - spec/integration/application/plugin_spec.rb
3047
3093
  - spec/integration/configurer_spec.rb
3048
3094
  - spec/integration/data_binding_spec.rb
3049
3095
  - spec/integration/defaults_spec.rb
@@ -3052,23 +3098,13 @@ test_files:
3052
3098
  - spec/integration/environments/setting_hooks_spec.rb
3053
3099
  - spec/integration/environments/settings_interpolation_spec.rb
3054
3100
  - spec/integration/environments/settings_spec.rb
3055
- - spec/integration/faces/config_spec.rb
3056
- - spec/integration/faces/documentation_spec.rb
3057
- - spec/integration/faces/plugin_spec.rb
3058
- - spec/integration/file_bucket/file_spec.rb
3059
- - spec/integration/file_serving/content_spec.rb
3060
- - spec/integration/file_serving/fileset_spec.rb
3061
- - spec/integration/file_serving/metadata_spec.rb
3062
- - spec/integration/file_serving/terminus_helper_spec.rb
3063
- - spec/integration/file_system/uniquefile_spec.rb
3064
3101
  - spec/integration/http/client_spec.rb
3065
3102
  - spec/integration/indirector/catalog/compiler_spec.rb
3066
3103
  - spec/integration/indirector/direct_file_server_spec.rb
3067
3104
  - spec/integration/indirector/facts/facter_spec.rb
3068
3105
  - spec/integration/indirector/file_content/file_server_spec.rb
3069
3106
  - spec/integration/indirector/file_metadata/file_server_spec.rb
3070
- - spec/integration/module_tool/forge_spec.rb
3071
- - spec/integration/module_tool/tar/mini_spec.rb
3107
+ - spec/integration/indirector/report/yaml.rb
3072
3108
  - spec/integration/network/authconfig_spec.rb
3073
3109
  - spec/integration/network/formats_spec.rb
3074
3110
  - spec/integration/network/http/api/indirected_routes_spec.rb
@@ -3091,17 +3127,8 @@ test_files:
3091
3127
  - spec/integration/parser/script_compiler_spec.rb
3092
3128
  - spec/integration/parser/undef_param_spec.rb
3093
3129
  - spec/integration/provider/file/windows_spec.rb
3094
- - spec/integration/provider/service/init_spec.rb
3095
- - spec/integration/provider/service/systemd_spec.rb
3096
- - spec/integration/provider/service/windows_spec.rb
3097
- - spec/integration/reference/providers_spec.rb
3098
- - spec/integration/reports_spec.rb
3099
3130
  - spec/integration/resource/catalog_spec.rb
3100
3131
  - spec/integration/resource/type_collection_spec.rb
3101
- - spec/integration/ssl/certificate_request_spec.rb
3102
- - spec/integration/ssl/host_spec.rb
3103
- - spec/integration/ssl/key_spec.rb
3104
- - spec/integration/test/test_helper_spec.rb
3105
3132
  - spec/integration/transaction/report_spec.rb
3106
3133
  - spec/integration/transaction_spec.rb
3107
3134
  - spec/integration/type/exec_spec.rb
@@ -3115,6 +3142,7 @@ test_files:
3115
3142
  - spec/integration/util/rdoc/parser_spec.rb
3116
3143
  - spec/integration/util/settings_spec.rb
3117
3144
  - spec/integration/util/windows/adsi_spec.rb
3145
+ - spec/integration/util/windows/monkey_patches/dir_spec.rb
3118
3146
  - spec/integration/util/windows/principal_spec.rb
3119
3147
  - spec/integration/util/windows/process_spec.rb
3120
3148
  - spec/integration/util/windows/registry_spec.rb
@@ -3155,6 +3183,7 @@ test_files:
3155
3183
  - spec/lib/puppet_spec/modules.rb
3156
3184
  - spec/lib/puppet_spec/network.rb
3157
3185
  - spec/lib/puppet_spec/pops.rb
3186
+ - spec/lib/puppet_spec/puppetserver.rb
3158
3187
  - spec/lib/puppet_spec/scope.rb
3159
3188
  - spec/lib/puppet_spec/settings.rb
3160
3189
  - spec/lib/puppet_spec/ssl.rb
@@ -3165,7 +3194,6 @@ test_files:
3165
3194
  - spec/shared_behaviours/documentation_on_faces.rb
3166
3195
  - spec/shared_behaviours/file_server_terminus.rb
3167
3196
  - spec/shared_behaviours/file_serving.rb
3168
- - spec/shared_behaviours/file_serving_model.rb
3169
3197
  - spec/shared_behaviours/hiera_indirections.rb
3170
3198
  - spec/shared_behaviours/iterative_functions.rb
3171
3199
  - spec/shared_behaviours/memory_terminus.rb
@@ -3174,6 +3202,7 @@ test_files:
3174
3202
  - spec/shared_behaviours/things_that_declare_options.rb
3175
3203
  - spec/shared_contexts/checksum.rb
3176
3204
  - spec/shared_contexts/digests.rb
3205
+ - spec/shared_contexts/https.rb
3177
3206
  - spec/shared_contexts/types_setup.rb
3178
3207
  - spec/shared_examples/rhel_package_provider.rb
3179
3208
  - spec/spec_helper.rb
@@ -3191,6 +3220,7 @@ test_files:
3191
3220
  - spec/unit/application/filebucket_spec.rb
3192
3221
  - spec/unit/application/indirection_base_spec.rb
3193
3222
  - spec/unit/application/lookup_spec.rb
3223
+ - spec/unit/application/man_spec.rb
3194
3224
  - spec/unit/application/resource_spec.rb
3195
3225
  - spec/unit/application/ssl_spec.rb
3196
3226
  - spec/unit/application_spec.rb
@@ -3227,7 +3257,6 @@ test_files:
3227
3257
  - spec/unit/face/generate_spec.rb
3228
3258
  - spec/unit/face/help_spec.rb
3229
3259
  - spec/unit/face/key_spec.rb
3230
- - spec/unit/face/man_spec.rb
3231
3260
  - spec/unit/face/module/install_spec.rb
3232
3261
  - spec/unit/face/module/list_spec.rb
3233
3262
  - spec/unit/face/module/search_spec.rb
@@ -3351,11 +3380,13 @@ test_files:
3351
3380
  - spec/unit/hiera/scope_spec.rb
3352
3381
  - spec/unit/hiera_puppet_spec.rb
3353
3382
  - spec/unit/http/client_spec.rb
3383
+ - spec/unit/http/external_client_spec.rb
3354
3384
  - spec/unit/http/resolver_spec.rb
3355
3385
  - spec/unit/http/response_spec.rb
3356
3386
  - spec/unit/http/service/ca_spec.rb
3357
3387
  - spec/unit/http/service/compiler_spec.rb
3358
3388
  - spec/unit/http/service/file_server_spec.rb
3389
+ - spec/unit/http/service/puppetserver_spec.rb
3359
3390
  - spec/unit/http/service/report_spec.rb
3360
3391
  - spec/unit/http/service_spec.rb
3361
3392
  - spec/unit/http/session_spec.rb
@@ -3389,6 +3420,7 @@ test_files:
3389
3420
  - spec/unit/indirector/file_content/selector_spec.rb
3390
3421
  - spec/unit/indirector/file_metadata/file_server_spec.rb
3391
3422
  - spec/unit/indirector/file_metadata/file_spec.rb
3423
+ - spec/unit/indirector/file_metadata/http_spec.rb
3392
3424
  - spec/unit/indirector/file_metadata/rest_spec.rb
3393
3425
  - spec/unit/indirector/file_metadata/selector_spec.rb
3394
3426
  - spec/unit/indirector/file_server_spec.rb
@@ -3431,7 +3463,6 @@ test_files:
3431
3463
  - spec/unit/interface/option_builder_spec.rb
3432
3464
  - spec/unit/interface/option_spec.rb
3433
3465
  - spec/unit/interface_spec.rb
3434
- - spec/unit/man_spec.rb
3435
3466
  - spec/unit/module_spec.rb
3436
3467
  - spec/unit/module_tool/application_spec.rb
3437
3468
  - spec/unit/module_tool/applications/checksummer_spec.rb
@@ -3658,6 +3689,7 @@ test_files:
3658
3689
  - spec/unit/provider/package/openbsd_spec.rb
3659
3690
  - spec/unit/provider/package/opkg_spec.rb
3660
3691
  - spec/unit/provider/package/pacman_spec.rb
3692
+ - spec/unit/provider/package/pip2_spec.rb
3661
3693
  - spec/unit/provider/package/pip3_spec.rb
3662
3694
  - spec/unit/provider/package/pip_spec.rb
3663
3695
  - spec/unit/provider/package/pkg_spec.rb
@@ -3667,6 +3699,7 @@ test_files:
3667
3699
  - spec/unit/provider/package/pkgutil_spec.rb
3668
3700
  - spec/unit/provider/package/portage_spec.rb
3669
3701
  - spec/unit/provider/package/puppet_gem_spec.rb
3702
+ - spec/unit/provider/package/puppetserver_gem_spec.rb
3670
3703
  - spec/unit/provider/package/rpm_spec.rb
3671
3704
  - spec/unit/provider/package/sun_spec.rb
3672
3705
  - spec/unit/provider/package/tdnf_spec.rb
@@ -3759,6 +3792,7 @@ test_files:
3759
3792
  - spec/unit/ssl/verifier_spec.rb
3760
3793
  - spec/unit/status_spec.rb
3761
3794
  - spec/unit/task_spec.rb
3795
+ - spec/unit/test/test_helper_spec.rb
3762
3796
  - spec/unit/transaction/additional_resource_generator_spec.rb
3763
3797
  - spec/unit/transaction/event_manager_spec.rb
3764
3798
  - spec/unit/transaction/event_spec.rb
@@ -3827,6 +3861,10 @@ test_files:
3827
3861
  - spec/unit/util/network_device/config_spec.rb
3828
3862
  - spec/unit/util/network_device/transport/base_spec.rb
3829
3863
  - spec/unit/util/network_device_spec.rb
3864
+ - spec/unit/util/package/version/debian_spec.rb
3865
+ - spec/unit/util/package/version/pip_spec.rb
3866
+ - spec/unit/util/package/version/range_spec.rb
3867
+ - spec/unit/util/package/version/rpm_spec.rb
3830
3868
  - spec/unit/util/package_spec.rb
3831
3869
  - spec/unit/util/pidlock_spec.rb
3832
3870
  - spec/unit/util/plist_spec.rb
@@ -3841,6 +3879,7 @@ test_files:
3841
3879
  - spec/unit/util/reference_spec.rb
3842
3880
  - spec/unit/util/resource_template_spec.rb
3843
3881
  - spec/unit/util/retry_action_spec.rb
3882
+ - spec/unit/util/rpm_compare_spec.rb
3844
3883
  - spec/unit/util/rubygems_spec.rb
3845
3884
  - spec/unit/util/run_mode_spec.rb
3846
3885
  - spec/unit/util/selinux_spec.rb