puppet 3.5.1-x86-mingw32 → 3.6.0.rc1-x86-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 (342) hide show
  1. data/CONTRIBUTING.md +5 -0
  2. data/Gemfile +17 -9
  3. data/README.md +1 -0
  4. data/conf/fileserver.conf +4 -3
  5. data/ext/README.environment +8 -0
  6. data/ext/build_defaults.yaml +1 -1
  7. data/ext/debian/control +2 -2
  8. data/ext/debian/puppet-common.dirs +4 -0
  9. data/ext/debian/rules +4 -0
  10. data/ext/emacs/puppet-mode-init.el +1 -1
  11. data/ext/emacs/puppet-mode.el +36 -17
  12. data/ext/redhat/client.init +3 -3
  13. data/ext/redhat/puppet.spec.erb +9 -0
  14. data/ext/systemd/puppet.service +3 -4
  15. data/ext/systemd/puppetmaster.service +1 -3
  16. data/install.rb +1 -1
  17. data/lib/puppet.rb +2 -1
  18. data/lib/puppet/agent.rb +1 -1
  19. data/lib/puppet/application.rb +17 -17
  20. data/lib/puppet/application/doc.rb +1 -1
  21. data/lib/puppet/configurer.rb +4 -1
  22. data/lib/puppet/configurer/downloader.rb +13 -12
  23. data/lib/puppet/configurer/plugin_handler.rb +3 -3
  24. data/lib/puppet/context.rb +6 -1
  25. data/lib/puppet/defaults.rb +82 -12
  26. data/lib/puppet/environments.rb +169 -13
  27. data/lib/puppet/external/nagios/grammar.ry +2 -0
  28. data/lib/puppet/external/nagios/parser.rb +28 -19
  29. data/lib/puppet/face/config.rb +19 -6
  30. data/lib/puppet/face/module/generate.rb +209 -7
  31. data/lib/puppet/face/module/install.rb +17 -16
  32. data/lib/puppet/face/module/list.rb +83 -82
  33. data/lib/puppet/face/module/search.rb +1 -1
  34. data/lib/puppet/face/module/upgrade.rb +10 -9
  35. data/lib/puppet/face/parser.rb +3 -2
  36. data/lib/puppet/face/plugin.rb +8 -4
  37. data/lib/puppet/file_bucket/dipper.rb +6 -3
  38. data/lib/puppet/file_bucket/file.rb +4 -2
  39. data/lib/puppet/file_serving/metadata.rb +1 -1
  40. data/lib/puppet/file_system/memory_file.rb +27 -1
  41. data/lib/puppet/file_system/memory_impl.rb +15 -1
  42. data/lib/puppet/forge.rb +148 -52
  43. data/lib/puppet/forge/cache.rb +5 -1
  44. data/lib/puppet/forge/errors.rb +10 -0
  45. data/lib/puppet/forge/repository.rb +61 -26
  46. data/lib/puppet/functions.rb +548 -0
  47. data/lib/puppet/functions/assert_type.rb +42 -0
  48. data/lib/puppet/functions/import.rb +7 -0
  49. data/lib/puppet/indirector/facts/facter.rb +1 -1
  50. data/lib/puppet/indirector/file_bucket_file/file.rb +3 -2
  51. data/lib/puppet/indirector/rest.rb +18 -0
  52. data/lib/puppet/loaders.rb +20 -0
  53. data/lib/puppet/module.rb +2 -2
  54. data/lib/puppet/module_tool.rb +40 -14
  55. data/lib/puppet/module_tool/applications.rb +0 -1
  56. data/lib/puppet/module_tool/applications/application.rb +35 -26
  57. data/lib/puppet/module_tool/applications/builder.rb +16 -6
  58. data/lib/puppet/module_tool/applications/checksummer.rb +25 -19
  59. data/lib/puppet/module_tool/applications/installer.rb +196 -35
  60. data/lib/puppet/module_tool/applications/searcher.rb +1 -0
  61. data/lib/puppet/module_tool/applications/uninstaller.rb +7 -1
  62. data/lib/puppet/module_tool/applications/unpacker.rb +57 -31
  63. data/lib/puppet/module_tool/applications/upgrader.rb +221 -65
  64. data/lib/puppet/module_tool/checksums.rb +5 -8
  65. data/lib/puppet/module_tool/errors/installer.rb +12 -44
  66. data/lib/puppet/module_tool/errors/shared.rb +84 -11
  67. data/lib/puppet/module_tool/errors/upgrader.rb +16 -45
  68. data/lib/puppet/module_tool/install_directory.rb +7 -6
  69. data/lib/puppet/module_tool/installed_modules.rb +92 -0
  70. data/lib/puppet/module_tool/local_tarball.rb +91 -0
  71. data/lib/puppet/module_tool/metadata.rb +119 -115
  72. data/lib/puppet/module_tool/modulefile.rb +9 -9
  73. data/lib/puppet/module_tool/shared_behaviors.rb +19 -7
  74. data/lib/puppet/module_tool/skeleton/templates/generator/README.md.erb +79 -0
  75. data/lib/puppet/module_tool/skeleton/templates/generator/Rakefile +18 -0
  76. data/lib/puppet/module_tool/skeleton/templates/generator/metadata.json.erb +1 -0
  77. data/lib/puppet/module_tool/skeleton/templates/generator/spec/classes/init_spec.rb.erb +7 -0
  78. data/lib/puppet/module_tool/tar.rb +3 -7
  79. data/lib/puppet/module_tool/tar/gnu.rb +21 -9
  80. data/lib/puppet/module_tool/tar/mini.rb +2 -8
  81. data/lib/puppet/network/http/api/v1.rb +1 -1
  82. data/lib/puppet/network/http/api/v2/authorization.rb +4 -2
  83. data/lib/puppet/network/http/issues.rb +1 -0
  84. data/lib/puppet/network/http_pool.rb +15 -6
  85. data/lib/puppet/node/environment.rb +91 -20
  86. data/lib/puppet/parser/ast/pops_bridge.rb +44 -3
  87. data/lib/puppet/parser/collector.rb +1 -1
  88. data/lib/puppet/parser/compiler.rb +50 -7
  89. data/lib/puppet/parser/functions.rb +6 -0
  90. data/lib/puppet/parser/functions/generate.rb +1 -1
  91. data/lib/puppet/parser/resource.rb +1 -1
  92. data/lib/puppet/pops.rb +22 -1
  93. data/lib/puppet/pops/adapters.rb +8 -1
  94. data/lib/puppet/pops/binder/bindings_composer.rb +1 -1
  95. data/lib/puppet/pops/binder/bindings_factory.rb +1 -1
  96. data/lib/puppet/pops/binder/config/binder_config_checker.rb +1 -1
  97. data/lib/puppet/pops/binder/producers.rb +2 -2
  98. data/lib/puppet/pops/evaluator/access_operator.rb +65 -25
  99. data/lib/puppet/pops/evaluator/callable_signature.rb +101 -0
  100. data/lib/puppet/pops/evaluator/closure.rb +57 -2
  101. data/lib/puppet/pops/evaluator/compare_operator.rb +1 -1
  102. data/lib/puppet/pops/evaluator/evaluator_impl.rb +9 -11
  103. data/lib/puppet/pops/evaluator/runtime3_support.rb +72 -21
  104. data/lib/puppet/pops/functions/dispatch.rb +71 -0
  105. data/lib/puppet/pops/functions/dispatcher.rb +237 -0
  106. data/lib/puppet/pops/functions/function.rb +77 -0
  107. data/lib/puppet/pops/issues.rb +12 -0
  108. data/lib/puppet/pops/loader/base_loader.rb +102 -0
  109. data/lib/puppet/pops/loader/dependency_loader.rb +60 -0
  110. data/lib/puppet/pops/loader/gem_support.rb +49 -0
  111. data/lib/puppet/pops/loader/loader.rb +180 -0
  112. data/lib/puppet/pops/loader/loader_paths.rb +137 -0
  113. data/lib/puppet/pops/loader/module_loaders.rb +242 -0
  114. data/lib/puppet/pops/loader/null_loader.rb +44 -0
  115. data/lib/puppet/pops/loader/ruby_function_instantiator.rb +34 -0
  116. data/lib/puppet/pops/loader/ruby_legacy_function_instantiator.rb +109 -0
  117. data/lib/puppet/pops/loader/simple_environment_loader.rb +20 -0
  118. data/lib/puppet/pops/loader/static_loader.rb +69 -0
  119. data/lib/puppet/pops/loader/uri_helper.rb +22 -0
  120. data/lib/puppet/pops/loaders.rb +240 -0
  121. data/lib/puppet/pops/model/factory.rb +13 -5
  122. data/lib/puppet/pops/model/model_tree_dumper.rb +12 -4
  123. data/lib/puppet/pops/parser/egrammar.ra +31 -18
  124. data/lib/puppet/pops/parser/eparser.rb +1137 -1106
  125. data/lib/puppet/pops/parser/lexer2.rb +17 -16
  126. data/lib/puppet/pops/semantic_error.rb +17 -0
  127. data/lib/puppet/pops/types/type_calculator.rb +150 -15
  128. data/lib/puppet/pops/types/type_factory.rb +69 -0
  129. data/lib/puppet/pops/types/type_parser.rb +9 -0
  130. data/lib/puppet/pops/types/types.rb +65 -4
  131. data/lib/puppet/pops/validation/checker4_0.rb +1 -1
  132. data/lib/puppet/pops/validation/validator_factory_4_0.rb +1 -1
  133. data/lib/puppet/property/list.rb +1 -1
  134. data/lib/puppet/provider/augeas/augeas.rb +2 -2
  135. data/lib/puppet/provider/cron/crontab.rb +13 -2
  136. data/lib/puppet/provider/package.rb +24 -0
  137. data/lib/puppet/provider/package/apt.rb +6 -1
  138. data/lib/puppet/provider/package/gem.rb +8 -2
  139. data/lib/puppet/provider/package/msi.rb +0 -15
  140. data/lib/puppet/provider/package/openbsd.rb +0 -24
  141. data/lib/puppet/provider/package/rpm.rb +3 -29
  142. data/lib/puppet/provider/package/windows.rb +0 -15
  143. data/lib/puppet/provider/package/yum.rb +101 -24
  144. data/lib/puppet/provider/package/yumhelper.py +31 -1
  145. data/lib/puppet/provider/package/zypper.rb +10 -28
  146. data/lib/puppet/provider/service/debian.rb +1 -1
  147. data/lib/puppet/provider/service/init.rb +3 -0
  148. data/lib/puppet/provider/service/openbsd.rb +318 -0
  149. data/lib/puppet/provider/service/redhat.rb +6 -3
  150. data/lib/puppet/provider/service/systemd.rb +2 -2
  151. data/lib/puppet/provider/yumrepo/inifile.rb +115 -42
  152. data/lib/puppet/resource.rb +13 -9
  153. data/lib/puppet/resource/catalog.rb +12 -6
  154. data/lib/puppet/resource/type_collection.rb +3 -3
  155. data/lib/puppet/settings.rb +57 -36
  156. data/lib/puppet/settings/config_file.rb +5 -0
  157. data/lib/puppet/settings/environment_conf.rb +147 -0
  158. data/lib/puppet/settings/ttl_setting.rb +48 -0
  159. data/lib/puppet/ssl/certificate_authority.rb +2 -3
  160. data/lib/puppet/ssl/certificate_authority/autosign_command.rb +1 -1
  161. data/lib/puppet/ssl/certificate_request.rb +4 -4
  162. data/lib/puppet/ssl/validator/default_validator.rb +2 -2
  163. data/lib/puppet/status.rb +1 -1
  164. data/lib/puppet/test/test_helper.rb +1 -0
  165. data/lib/puppet/type/augeas.rb +13 -1
  166. data/lib/puppet/type/cron.rb +32 -18
  167. data/lib/puppet/type/file.rb +4 -2
  168. data/lib/puppet/type/file/checksum.rb +15 -5
  169. data/lib/puppet/type/file/content.rb +3 -1
  170. data/lib/puppet/type/file/source.rb +5 -5
  171. data/lib/puppet/type/package.rb +12 -17
  172. data/lib/puppet/type/resources.rb +3 -1
  173. data/lib/puppet/type/scheduled_task.rb +4 -5
  174. data/lib/puppet/type/service.rb +12 -2
  175. data/lib/puppet/type/user.rb +106 -0
  176. data/lib/puppet/type/yumrepo.rb +9 -1
  177. data/lib/puppet/util/checksums.rb +60 -1
  178. data/lib/puppet/util/diff.rb +3 -1
  179. data/lib/puppet/util/execution.rb +20 -16
  180. data/lib/puppet/util/feature.rb +3 -0
  181. data/lib/puppet/util/logging.rb +19 -12
  182. data/lib/puppet/util/rubygems.rb +10 -0
  183. data/lib/puppet/util/watched_file.rb +1 -1
  184. data/lib/puppet/util/windows/security.rb +5 -3
  185. data/lib/puppet/vendor/load_semantic.rb +1 -0
  186. data/lib/puppet/vendor/require_vendored.rb +2 -0
  187. data/lib/puppet/vendor/semantic/Gemfile +20 -0
  188. data/lib/puppet/vendor/semantic/Rakefile +69 -0
  189. data/lib/puppet/vendor/semantic/lib/semantic.rb +7 -0
  190. data/lib/puppet/vendor/semantic/lib/semantic/dependency.rb +181 -0
  191. data/lib/puppet/vendor/semantic/lib/semantic/dependency/graph.rb +60 -0
  192. data/lib/puppet/vendor/semantic/lib/semantic/dependency/graph_node.rb +117 -0
  193. data/lib/puppet/vendor/semantic/lib/semantic/dependency/module_release.rb +46 -0
  194. data/lib/puppet/vendor/semantic/lib/semantic/dependency/source.rb +25 -0
  195. data/lib/puppet/vendor/semantic/lib/semantic/dependency/unsatisfiable_graph.rb +31 -0
  196. data/lib/puppet/vendor/semantic/lib/semantic/version.rb +168 -0
  197. data/lib/puppet/vendor/semantic/lib/semantic/version_range.rb +424 -0
  198. data/lib/puppet/vendor/semantic/spec/spec_helper.rb +24 -0
  199. data/lib/puppet/vendor/semantic/spec/unit/semantic/dependency/graph_node_spec.rb +141 -0
  200. data/lib/puppet/vendor/semantic/spec/unit/semantic/dependency/graph_spec.rb +162 -0
  201. data/lib/puppet/vendor/semantic/spec/unit/semantic/dependency/module_release_spec.rb +143 -0
  202. data/lib/puppet/vendor/semantic/spec/unit/semantic/dependency/source_spec.rb +5 -0
  203. data/lib/puppet/vendor/semantic/spec/unit/semantic/dependency/unsatisfiable_graph_spec.rb +44 -0
  204. data/lib/puppet/vendor/semantic/spec/unit/semantic/dependency_spec.rb +383 -0
  205. data/lib/puppet/vendor/semantic/spec/unit/semantic/version_range_spec.rb +307 -0
  206. data/lib/puppet/vendor/semantic/spec/unit/semantic/version_spec.rb +608 -0
  207. data/lib/puppet/version.rb +1 -1
  208. data/spec/fixtures/java.tgz +0 -0
  209. data/spec/fixtures/stdlib.tgz +0 -0
  210. data/spec/fixtures/unit/pops/loaders/loaders/dependent_modules_with_metadata/usee/lib/puppet/functions/usee/callee.rb +5 -0
  211. data/spec/fixtures/unit/pops/loaders/loaders/dependent_modules_with_metadata/user/lib/puppet/functions/user/caller.rb +5 -0
  212. data/spec/fixtures/unit/pops/loaders/loaders/dependent_modules_with_metadata/user/metadata.json +9 -0
  213. data/spec/fixtures/unit/pops/loaders/loaders/single_module/modules/modulea/lib/puppet/functions/modulea/rb_func_a.rb +5 -0
  214. data/spec/fixtures/unit/pops/loaders/loaders/single_module/modules/modulea/lib/puppet/functions/rb_func_a.rb +5 -0
  215. data/spec/fixtures/unit/pops/loaders/loaders/single_module/modules/modulea/manifests/init.pp +3 -0
  216. data/spec/fixtures/unit/pops/loaders/loaders/single_module/modules/modulea/metadata.json +19 -0
  217. data/spec/fixtures/unit/pops/loaders/loaders/wo_metadata_module/modules/moduleb/lib/puppet/functions/moduleb/rb_func_b.rb +6 -0
  218. data/spec/fixtures/unit/pops/loaders/loaders/wo_metadata_module/modules/moduleb/manifests/init.pp +3 -0
  219. data/spec/fixtures/unit/provider/naginator/define_empty_param +6 -0
  220. data/spec/fixtures/unit/provider/service/systemd/list_unit_files_services +7 -0
  221. data/spec/fixtures/unit/type/user/authorized_keys +5 -0
  222. data/spec/integration/application/apply_spec.rb +1 -2
  223. data/spec/integration/configurer_spec.rb +2 -2
  224. data/spec/integration/faces/plugin_spec.rb +62 -0
  225. data/spec/integration/indirector/catalog/compiler_spec.rb +1 -1
  226. data/spec/integration/indirector/catalog/queue_spec.rb +1 -1
  227. data/spec/integration/node/environment_spec.rb +2 -2
  228. data/spec/integration/parser/future_compiler_spec.rb +96 -142
  229. data/spec/integration/parser/ruby_manifest_spec.rb +0 -5
  230. data/spec/integration/provider/cron/crontab_spec.rb +35 -0
  231. data/spec/integration/type/file_spec.rb +74 -72
  232. data/spec/integration/util/windows/security_spec.rb +17 -0
  233. data/spec/lib/matchers/resource.rb +45 -13
  234. data/spec/lib/puppet_spec/files.rb +18 -0
  235. data/spec/lib/puppet_spec/module_tool/shared_functions.rb +56 -0
  236. data/spec/lib/puppet_spec/module_tool/stub_source.rb +133 -0
  237. data/spec/shared_contexts/checksums.rb +55 -0
  238. data/spec/unit/application/apply_spec.rb +10 -7
  239. data/spec/unit/application/doc_spec.rb +17 -10
  240. data/spec/unit/application/indirection_base_spec.rb +18 -10
  241. data/spec/unit/application/inspect_spec.rb +22 -20
  242. data/spec/unit/configurer/downloader_spec.rb +7 -6
  243. data/spec/unit/configurer/plugin_handler_spec.rb +5 -8
  244. data/spec/unit/configurer_spec.rb +1 -1
  245. data/spec/unit/context_spec.rb +23 -0
  246. data/spec/unit/environments_spec.rb +274 -16
  247. data/spec/unit/face/config_spec.rb +111 -11
  248. data/spec/unit/face/module/install_spec.rb +14 -85
  249. data/spec/unit/face/module/list_spec.rb +108 -62
  250. data/spec/unit/face/module/search_spec.rb +1 -1
  251. data/spec/unit/face/module/uninstall_spec.rb +21 -42
  252. data/spec/unit/face/parser_spec.rb +5 -2
  253. data/spec/unit/file_bucket/dipper_spec.rb +92 -86
  254. data/spec/unit/file_bucket/file_spec.rb +23 -75
  255. data/spec/unit/file_serving/metadata_spec.rb +74 -74
  256. data/spec/unit/forge/module_release_spec.rb +131 -0
  257. data/spec/unit/forge/repository_spec.rb +21 -20
  258. data/spec/unit/forge_spec.rb +99 -23
  259. data/spec/unit/functions/assert_type_spec.rb +59 -0
  260. data/spec/unit/functions4_spec.rb +671 -0
  261. data/spec/unit/indirector/catalog/static_compiler_spec.rb +2 -2
  262. data/spec/unit/indirector/facts/facter_spec.rb +9 -3
  263. data/spec/unit/indirector/file_bucket_file/file_spec.rb +156 -155
  264. data/spec/unit/indirector/rest_spec.rb +8 -0
  265. data/spec/unit/interface/face_collection_spec.rb +35 -23
  266. data/spec/unit/module_spec.rb +20 -8
  267. data/spec/unit/module_tool/applications/builder_spec.rb +40 -12
  268. data/spec/unit/module_tool/applications/checksummer_spec.rb +86 -105
  269. data/spec/unit/module_tool/applications/installer_spec.rb +293 -261
  270. data/spec/unit/module_tool/applications/searcher_spec.rb +1 -1
  271. data/spec/unit/module_tool/applications/uninstaller_spec.rb +90 -154
  272. data/spec/unit/module_tool/applications/unpacker_spec.rb +12 -12
  273. data/spec/unit/module_tool/applications/upgrader_spec.rb +286 -18
  274. data/spec/unit/module_tool/metadata_spec.rb +223 -14
  275. data/spec/unit/module_tool/tar/gnu_spec.rb +12 -9
  276. data/spec/unit/module_tool/tar/mini_spec.rb +1 -1
  277. data/spec/unit/module_tool/tar_spec.rb +4 -18
  278. data/spec/unit/module_tool_spec.rb +123 -27
  279. data/spec/unit/network/formats_spec.rb +2 -2
  280. data/spec/unit/network/http_pool_spec.rb +21 -0
  281. data/spec/unit/network/rights_spec.rb +10 -8
  282. data/spec/unit/node/environment_spec.rb +27 -2
  283. data/spec/unit/parser/collector_spec.rb +1 -1
  284. data/spec/unit/parser/compiler_spec.rb +1 -1
  285. data/spec/unit/parser/functions/generate_spec.rb +4 -0
  286. data/spec/unit/pops/evaluator/access_ops_spec.rb +50 -11
  287. data/spec/unit/pops/evaluator/evaluating_parser_spec.rb +25 -0
  288. data/spec/unit/pops/loaders/dependency_loader_spec.rb +44 -0
  289. data/spec/unit/pops/loaders/loader_paths_spec.rb +66 -0
  290. data/spec/unit/pops/loaders/loaders_spec.rb +105 -0
  291. data/spec/unit/pops/loaders/module_loaders_spec.rb +119 -0
  292. data/spec/unit/pops/loaders/static_loader_spec.rb +46 -0
  293. data/spec/unit/pops/types/type_calculator_spec.rb +145 -10
  294. data/spec/unit/pops/types/type_factory_spec.rb +101 -0
  295. data/spec/unit/pops/types/type_parser_spec.rb +22 -0
  296. data/spec/unit/property/list_spec.rb +9 -1
  297. data/spec/unit/provider/augeas/augeas_spec.rb +58 -11
  298. data/spec/unit/provider/cron/crontab_spec.rb +1 -0
  299. data/spec/unit/provider/cron/parsed_spec.rb +15 -0
  300. data/spec/unit/provider/naginator_spec.rb +14 -0
  301. data/spec/unit/provider/package/apt_spec.rb +78 -64
  302. data/spec/unit/provider/package/gem_spec.rb +15 -0
  303. data/spec/unit/provider/package/rpm_spec.rb +6 -6
  304. data/spec/unit/provider/package/windows_spec.rb +1 -1
  305. data/spec/unit/provider/package/yum_spec.rb +199 -104
  306. data/spec/unit/provider/package/zypper_spec.rb +41 -15
  307. data/spec/unit/provider/service/openbsd_spec.rb +129 -22
  308. data/spec/unit/provider/service/redhat_spec.rb +18 -4
  309. data/spec/unit/provider/service/systemd_spec.rb +5 -9
  310. data/spec/unit/provider/service/upstart_spec.rb +1 -1
  311. data/spec/unit/provider/user/directoryservice_spec.rb +10 -0
  312. data/spec/unit/provider/yumrepo/inifile_spec.rb +171 -15
  313. data/spec/unit/resource/catalog_spec.rb +20 -104
  314. data/spec/unit/resource/type_collection_spec.rb +10 -9
  315. data/spec/unit/settings/config_file_spec.rb +29 -6
  316. data/spec/unit/settings/environment_conf_spec.rb +51 -0
  317. data/spec/unit/settings_spec.rb +97 -12
  318. data/spec/unit/ssl/certificate_authority_spec.rb +2 -0
  319. data/spec/unit/type/augeas_spec.rb +1 -1
  320. data/spec/unit/type/cron_spec.rb +6 -7
  321. data/spec/unit/type/file/checksum_spec.rb +6 -0
  322. data/spec/unit/type/file/content_spec.rb +277 -207
  323. data/spec/unit/type/file_spec.rb +9 -7
  324. data/spec/unit/type/user_spec.rb +106 -18
  325. data/spec/unit/type/yumrepo_spec.rb +8 -0
  326. data/spec/unit/util/checksums_spec.rb +12 -5
  327. data/spec/unit/util/diff_spec.rb +8 -0
  328. data/spec/unit/util/execution_spec.rb +4 -4
  329. data/spec/unit/util/feature_spec.rb +2 -0
  330. data/spec/unit/util/logging_spec.rb +14 -4
  331. data/spec/unit/util/rdoc/parser_spec.rb +5 -4
  332. data/spec/unit/util/rubygems_spec.rb +14 -0
  333. data/tasks/parallel.rake +2 -2
  334. metadata +154 -21
  335. checksums.yaml +0 -7
  336. data/lib/puppet/module_tool/applications/generator.rb +0 -142
  337. data/lib/puppet/module_tool/skeleton.rb +0 -37
  338. data/lib/puppet/module_tool/skeleton/templates/generator/Modulefile.erb +0 -11
  339. data/lib/puppet/module_tool/skeleton/templates/generator/README.erb +0 -16
  340. data/lib/puppet/module_tool/tar/solaris.rb +0 -5
  341. data/spec/fixtures/unit/provider/service/systemd/list_units_services +0 -17
  342. data/spec/unit/module_tool/tar/solaris_spec.rb +0 -22
@@ -664,7 +664,7 @@ describe Puppet::Type.type(:file) do
664
664
  end
665
665
  end
666
666
 
667
- describe "#recurse_remote" do
667
+ describe "#recurse_remote", :uses_checksums => true do
668
668
  let(:my) { File.expand_path('/my') }
669
669
 
670
670
  before do
@@ -722,12 +722,14 @@ describe Puppet::Type.type(:file) do
722
722
 
723
723
  # LAK:FIXME This is a bug, but I can't think of a fix for it. Fortunately it's already
724
724
  # filed, and when it's fixed, we'll just fix the whole flow.
725
- it "should set the checksum type to :md5 if the remote file is a file" do
726
- @first.stubs(:ftype).returns "file"
727
- file.stubs(:perform_recursion).returns [@first]
728
- @resource.stubs(:[]=)
729
- @resource.expects(:[]=).with(:checksum, :md5)
730
- file.recurse_remote("first" => @resource)
725
+ with_digest_algorithms do
726
+ it "it should set the checksum type to #{metadata[:digest_algorithm]} if the remote file is a file" do
727
+ @first.stubs(:ftype).returns "file"
728
+ file.stubs(:perform_recursion).returns [@first]
729
+ @resource.stubs(:[]=)
730
+ @resource.expects(:[]=).with(:checksum, digest_algorithm.intern)
731
+ file.recurse_remote("first" => @resource)
732
+ end
731
733
  end
732
734
 
733
735
  it "should store the metadata in the source property for each resource so the source does not have to requery the metadata" do
@@ -393,27 +393,115 @@ describe Puppet::Type.type(:user) do
393
393
  described_class.stubs(:defaultprovider).returns @shell_provider_class
394
394
  end
395
395
 
396
- it "should call :check_valid_shell on the provider when changing shell value" do
397
- @provider = @shell_provider_class.new(:name => 'foo', :shell => '/bin/bash', :ensure => :present)
398
- @provider.expects(:check_valid_shell)
399
- resource = described_class.new(:name => 'foo', :shell => '/bin/zsh', :provider => @provider)
400
- Puppet::Util::Storage.stubs(:load)
401
- Puppet::Util::Storage.stubs(:store)
402
- catalog = Puppet::Resource::Catalog.new
403
- catalog.add_resource resource
404
- catalog.apply
396
+ it "should call :check_valid_shell on the provider when changing shell value" do
397
+ @provider = @shell_provider_class.new(:name => 'foo', :shell => '/bin/bash', :ensure => :present)
398
+ @provider.expects(:check_valid_shell)
399
+ resource = described_class.new(:name => 'foo', :shell => '/bin/zsh', :provider => @provider)
400
+ Puppet::Util::Storage.stubs(:load)
401
+ Puppet::Util::Storage.stubs(:store)
402
+ catalog = Puppet::Resource::Catalog.new
403
+ catalog.add_resource resource
404
+ catalog.apply
405
+ end
406
+
407
+ it "should call :check_valid_shell on the provider when changing ensure from present to absent" do
408
+ @provider = @shell_provider_class.new(:name => 'foo', :shell => '/bin/bash', :ensure => :absent)
409
+ @provider.expects(:check_valid_shell)
410
+ resource = described_class.new(:name => 'foo', :shell => '/bin/zsh', :provider => @provider)
411
+ Puppet::Util::Storage.stubs(:load)
412
+ Puppet::Util::Storage.stubs(:store)
413
+ catalog = Puppet::Resource::Catalog.new
414
+ catalog.add_resource resource
415
+ catalog.apply
416
+ end
417
+ end
418
+
419
+ describe "when purging ssh keys" do
420
+ it "should not accept a keyfile with a relative path" do
421
+ expect {
422
+ described_class.new(:name => "a", :purge_ssh_keys => "keys")
423
+ }.to raise_error(Puppet::Error, /Paths to keyfiles must be absolute, not keys/)
424
+ end
425
+
426
+ context "with a home directory specified" do
427
+ it "should accept true" do
428
+ described_class.new(:name => "a", :home => "/tmp", :purge_ssh_keys => true)
429
+ end
430
+ it "should accept the ~ wildcard" do
431
+ described_class.new(:name => "a", :home => "/tmp", :purge_ssh_keys => "~/keys")
432
+ end
433
+ it "should accept the %h wildcard" do
434
+ described_class.new(:name => "a", :home => "/tmp", :purge_ssh_keys => "%h/keys")
405
435
  end
436
+ it "raises when given a relative path" do
437
+ expect {
438
+ described_class.new(:name => "a", :home => "/tmp", :purge_ssh_keys => "keys")
439
+ }.to raise_error(Puppet::Error, /Paths to keyfiles must be absolute/)
440
+ end
441
+ end
406
442
 
407
- it "should call :check_valid_shell on the provider when changing ensure from present to absent" do
408
- @provider = @shell_provider_class.new(:name => 'foo', :shell => '/bin/bash', :ensure => :absent)
409
- @provider.expects(:check_valid_shell)
410
- resource = described_class.new(:name => 'foo', :shell => '/bin/zsh', :provider => @provider)
411
- Puppet::Util::Storage.stubs(:load)
412
- Puppet::Util::Storage.stubs(:store)
413
- catalog = Puppet::Resource::Catalog.new
414
- catalog.add_resource resource
415
- catalog.apply
443
+ context "with no home directory specified" do
444
+ it "should not accept true" do
445
+ expect {
446
+ described_class.new(:name => "a", :purge_ssh_keys => true)
447
+ }.to raise_error(Puppet::Error, /purge_ssh_keys can only be true for users with a defined home directory/)
448
+ end
449
+ it "should not accept the ~ wildcard" do
450
+ expect {
451
+ described_class.new(:name => "a", :purge_ssh_keys => "~/keys")
452
+ }.to raise_error(Puppet::Error, /meta character ~ or %h only allowed for users with a defined home directory/)
416
453
  end
454
+ it "should not accept the %h wildcard" do
455
+ expect {
456
+ described_class.new(:name => "a", :purge_ssh_keys => "%h/keys")
457
+ }.to raise_error(Puppet::Error, /meta character ~ or %h only allowed for users with a defined home directory/)
458
+ end
459
+ end
417
460
 
461
+ context "with a valid parameter" do
462
+ let(:paths) do
463
+ [ "/dev/null", "/tmp/keyfile" ].map { |path| File.expand_path(path) }
464
+ end
465
+ subject do
466
+ res = described_class.new(:name => "test", :purge_ssh_keys => paths)
467
+ res.catalog = Puppet::Resource::Catalog.new
468
+ res
469
+ end
470
+ it "should not just return from eval_generate" do
471
+ subject.expects :find_unmanaged_keys
472
+ subject.eval_generate
473
+ end
474
+ it "should check each keyfile for readability" do
475
+ paths.each do |path|
476
+ File.expects(:readable?).with(path)
477
+ end
478
+ subject.eval_generate
479
+ end
480
+ end
481
+
482
+ describe "generated keys" do
483
+ subject do
484
+ res = described_class.new(:name => "test", :purge_ssh_keys => purge_param)
485
+ res.catalog = Puppet::Resource::Catalog.new
486
+ res
487
+ end
488
+ context "when purging is disabled" do
489
+ let(:purge_param) { false }
490
+ its(:eval_generate) { should be_empty }
491
+ end
492
+ context "when purging is enabled" do
493
+ let(:purge_param) { my_fixture('authorized_keys') }
494
+ let(:resources) { subject.eval_generate }
495
+ it "should contain a resource for each key" do
496
+ names = resources.collect { |res| res.name }
497
+ names.should include("keyname1")
498
+ names.should include("keyname2")
499
+ end
500
+ it "should not include keys in comment lines" do
501
+ names = resources.collect { |res| res.name }
502
+ names.should_not include("keyname3")
503
+ end
504
+ end
505
+ end
418
506
  end
419
507
  end
@@ -5,6 +5,9 @@ shared_examples_for "a yumrepo parameter that can be absent" do |param|
5
5
  it "can be set as :absent" do
6
6
  described_class.new(:name => 'puppetlabs', param => :absent)
7
7
  end
8
+ it "can be set as \"absent\"" do
9
+ described_class.new(:name => 'puppetlabs', param => 'absent')
10
+ end
8
11
  end
9
12
 
10
13
  shared_examples_for "a yumrepo parameter that expects a boolean parameter" do |param|
@@ -218,6 +221,11 @@ describe Puppet::Type.type(:yumrepo) do
218
221
  it_behaves_like "a yumrepo parameter that can be absent", :s3_enabled
219
222
  end
220
223
 
224
+ describe "skip_if_unavailable" do
225
+ it_behaves_like "a yumrepo parameter that expects a boolean parameter", :skip_if_unavailable
226
+ it_behaves_like "a yumrepo parameter that can be absent", :skip_if_unavailable
227
+ end
228
+
221
229
  describe "sslcacert" do
222
230
  it_behaves_like "a yumrepo parameter that can be absent", :sslcacert
223
231
  end
@@ -11,7 +11,7 @@ describe Puppet::Util::Checksums do
11
11
  @summer.extend(Puppet::Util::Checksums)
12
12
  end
13
13
 
14
- content_sums = [:md5, :md5lite, :sha1, :sha1lite]
14
+ content_sums = [:md5, :md5lite, :sha1, :sha1lite, :sha256, :sha256lite]
15
15
  file_only = [:ctime, :mtime, :none]
16
16
 
17
17
  content_sums.each do |sumtype|
@@ -20,6 +20,12 @@ describe Puppet::Util::Checksums do
20
20
  end
21
21
  end
22
22
 
23
+ content_sums.each do |sumtype|
24
+ it "should know the expected length of #{sumtype} sums" do
25
+ @summer.should be_respond_to(sumtype.to_s + "_hex_length")
26
+ end
27
+ end
28
+
23
29
  [content_sums, file_only].flatten.each do |sumtype|
24
30
  it "should be able to calculate #{sumtype} sums from files" do
25
31
  @summer.should be_respond_to(sumtype.to_s + "_file")
@@ -36,13 +42,14 @@ describe Puppet::Util::Checksums do
36
42
  @summer.should respond_to(:checksum?)
37
43
  end
38
44
 
39
- %w{{md5}asdfasdf {sha1}asdfasdf {ctime}asdasdf {mtime}asdfasdf}.each do |sum|
45
+ %w{{md5}asdfasdf {sha1}asdfasdf {ctime}asdasdf {mtime}asdfasdf
46
+ {sha256}asdfasdf {sha256lite}asdfasdf}.each do |sum|
40
47
  it "should consider #{sum} to be a checksum" do
41
48
  @summer.should be_checksum(sum)
42
49
  end
43
50
  end
44
51
 
45
- %w{{nosuchsum}asdfasdf {a}asdfasdf {ctime}}.each do |sum|
52
+ %w{{nosuchsumthislong}asdfasdf {a}asdfasdf {ctime}}.each do |sum|
46
53
  it "should not consider #{sum} to be a checksum" do
47
54
  @summer.should_not be_checksum(sum)
48
55
  end
@@ -60,7 +67,7 @@ describe Puppet::Util::Checksums do
60
67
  @summer.sumtype("asdfasdfa").should be_nil
61
68
  end
62
69
 
63
- {:md5 => Digest::MD5, :sha1 => Digest::SHA1}.each do |sum, klass|
70
+ {:md5 => Digest::MD5, :sha1 => Digest::SHA1, :sha256 => Digest::SHA256}.each do |sum, klass|
64
71
  describe("when using #{sum}") do
65
72
  it "should use #{klass} to calculate string checksums" do
66
73
  klass.expects(:hexdigest).with("mycontent").returns "whatever"
@@ -99,7 +106,7 @@ describe Puppet::Util::Checksums do
99
106
  end
100
107
  end
101
108
 
102
- {:md5lite => Digest::MD5, :sha1lite => Digest::SHA1}.each do |sum, klass|
109
+ {:md5lite => Digest::MD5, :sha1lite => Digest::SHA1, :sha256lite => Digest::SHA256}.each do |sum, klass|
103
110
  describe("when using #{sum}") do
104
111
  it "should use #{klass} to calculate string checksums from the first 512 characters of the string" do
105
112
  content = "this is a test" * 100
@@ -13,6 +13,14 @@ describe Puppet::Util::Diff do
13
13
  subject.diff('a', 'b').should == 'baz'
14
14
  end
15
15
 
16
+ it "should execute the diff command with multiple arguments" do
17
+ Puppet[:diff] = 'foo'
18
+ Puppet[:diff_args] = 'bar qux'
19
+
20
+ Puppet::Util::Execution.expects(:execute).with(['foo', 'bar', 'qux', 'a', 'b'], anything).returns('baz')
21
+ subject.diff('a', 'b').should == 'baz'
22
+ end
23
+
16
24
  it "should omit diff arguments if none are specified" do
17
25
  Puppet[:diff] = 'foo'
18
26
  Puppet[:diff_args] = ''
@@ -596,27 +596,27 @@ describe Puppet::Util::Execution do
596
596
 
597
597
  describe "#execpipe" do
598
598
  it "should execute a string as a string" do
599
- Puppet::Util::Execution.expects(:open).with('| echo hello 2>&1').returns('hello')
599
+ Puppet::Util::Execution.expects(:open).with('| echo hello 2>&1', 'r').returns('hello')
600
600
  $CHILD_STATUS.expects(:==).with(0).returns(true)
601
601
  Puppet::Util::Execution.execpipe('echo hello').should == 'hello'
602
602
  end
603
603
 
604
604
  it "should print meaningful debug message for string argument" do
605
605
  Puppet::Util::Execution.expects(:debug).with("Executing 'echo hello'")
606
- Puppet::Util::Execution.expects(:open).with('| echo hello 2>&1').returns('hello')
606
+ Puppet::Util::Execution.expects(:open).with('| echo hello 2>&1', 'r').returns('hello')
607
607
  $CHILD_STATUS.expects(:==).with(0).returns(true)
608
608
  Puppet::Util::Execution.execpipe('echo hello')
609
609
  end
610
610
 
611
611
  it "should print meaningful debug message for array argument" do
612
612
  Puppet::Util::Execution.expects(:debug).with("Executing 'echo hello'")
613
- Puppet::Util::Execution.expects(:open).with('| echo hello 2>&1').returns('hello')
613
+ Puppet::Util::Execution.expects(:open).with('| echo hello 2>&1', 'r').returns('hello')
614
614
  $CHILD_STATUS.expects(:==).with(0).returns(true)
615
615
  Puppet::Util::Execution.execpipe(['echo','hello'])
616
616
  end
617
617
 
618
618
  it "should execute an array by pasting together with spaces" do
619
- Puppet::Util::Execution.expects(:open).with('| echo hello 2>&1').returns('hello')
619
+ Puppet::Util::Execution.expects(:open).with('| echo hello 2>&1', 'r').returns('hello')
620
620
  $CHILD_STATUS.expects(:==).with(0).returns(true)
621
621
  Puppet::Util::Execution.execpipe(['echo', 'hello']).should == 'hello'
622
622
  end
@@ -83,6 +83,8 @@ describe Puppet::Util::Feature do
83
83
  @features.add(:myfeature, :libs => %w{foo bar})
84
84
  @features.expects(:require).twice().with("foo").raises(LoadError).then.returns(nil)
85
85
  @features.stubs(:require).with("bar")
86
+ Puppet::Util::RubyGems::Source.stubs(:source).returns(Puppet::Util::RubyGems::OldGemsSource)
87
+ Puppet::Util::RubyGems::OldGemsSource.any_instance.expects(:clear_paths).times(3)
86
88
 
87
89
  Puppet.expects(:debug)
88
90
 
@@ -93,21 +93,31 @@ describe Puppet::Util::Logging do
93
93
  end
94
94
 
95
95
  describe "when sending a deprecation warning" do
96
- it "should log the message with warn" do
96
+ it "logs the message with warn" do
97
97
  @logger.expects(:warning).with do |msg|
98
98
  msg =~ /^foo\n/
99
99
  end
100
100
  @logger.deprecation_warning 'foo'
101
101
  end
102
102
 
103
- it "should only log each offending line once" do
103
+ it "only logs each offending line once" do
104
104
  @logger.expects(:warning).with do |msg|
105
105
  msg =~ /^foo\n/
106
106
  end .once
107
107
  5.times { @logger.deprecation_warning 'foo' }
108
108
  end
109
109
 
110
- it "should only log the first 100 messages" do
110
+ it "ensures that deprecations from same origin are logged if their keys differ" do
111
+ @logger.expects(:warning).with(regexp_matches(/deprecated foo/)).times(5)
112
+ 5.times { |i| @logger.deprecation_warning('deprecated foo', :key => "foo#{i}") }
113
+ end
114
+
115
+ it "does not duplicate deprecations for a given key" do
116
+ @logger.expects(:warning).with(regexp_matches(/deprecated foo/)).once
117
+ 5.times { @logger.deprecation_warning('deprecated foo', :key => 'foo-msg') }
118
+ end
119
+
120
+ it "only logs the first 100 messages" do
111
121
  (1..100).each { |i|
112
122
  @logger.expects(:warning).with do |msg|
113
123
  msg =~ /^#{i}\n/
@@ -115,7 +125,7 @@ describe Puppet::Util::Logging do
115
125
  # since the deprecation warning will only log each offending line once, we have to do some tomfoolery
116
126
  # here in order to make it think each of these calls is coming from a unique call stack; we're basically
117
127
  # mocking the method that it would normally use to find the call stack.
118
- @logger.expects(:get_deprecation_offender).returns("deprecation log count test ##{i}")
128
+ @logger.expects(:get_deprecation_offender).returns(["deprecation log count test ##{i}"])
119
129
  @logger.deprecation_warning i
120
130
  }
121
131
  @logger.expects(:warning).with(101).never
@@ -56,14 +56,15 @@ describe "RDoc::Parser", :if => Puppet.features.rdoc1? do
56
56
 
57
57
  it "should scan the top level even if the file has already parsed" do
58
58
  known_type = stub 'known_types'
59
- env = stub 'env'
60
- Puppet::Node::Environment.stubs(:new).returns(env)
59
+ env = Puppet::Node::Environment.create(Puppet[:environment].to_sym, [])
61
60
  env.stubs(:known_resource_types).returns(known_type)
62
61
  known_type.expects(:watching_file?).with("module/manifests/init.pp").returns(true)
62
+ Puppet.override(:environments => Puppet::Environments::Static.new(env)) do
63
63
 
64
- @parser.expects(:scan_top_level)
64
+ @parser.expects(:scan_top_level)
65
65
 
66
- @parser.scan
66
+ @parser.scan
67
+ end
67
68
  end
68
69
  end
69
70
 
@@ -31,6 +31,10 @@ describe Puppet::Util::RubyGems::Source do
31
31
  it "#directories returns an empty list" do
32
32
  described_class.new.directories.should == []
33
33
  end
34
+
35
+ it "#clear_paths returns nil" do
36
+ described_class.new.clear_paths.should be_nil
37
+ end
34
38
  end
35
39
 
36
40
  describe '::Gems18Source' do
@@ -41,6 +45,11 @@ describe Puppet::Util::RubyGems::Source do
41
45
 
42
46
  described_class.new.directories.should == [gem_lib]
43
47
  end
48
+
49
+ it "#clear_paths calls Gem.clear_paths" do
50
+ Gem.expects(:clear_paths)
51
+ described_class.new.clear_paths
52
+ end
44
53
  end
45
54
 
46
55
  describe '::OldGemsSource' do
@@ -63,6 +72,11 @@ describe Puppet::Util::RubyGems::Source do
63
72
 
64
73
  source.directories.should == [gem_lib]
65
74
  end
75
+
76
+ it "#clear_paths calls Gem.clear_paths" do
77
+ Gem.expects(:clear_paths)
78
+ described_class.new.clear_paths
79
+ end
66
80
  end
67
81
  end
68
82
 
@@ -399,10 +399,10 @@ else
399
399
  # Default group size in rspec examples
400
400
  DEFAULT_GROUP_SIZE = 1000
401
401
 
402
- process_count = [(args[:process_count] || Facter.processorcount).to_i, 1].max
402
+ process_count = [(args[:process_count] || Facter["processorcount"].value).to_i, 1].max
403
403
  group_size = [(args[:group_size] || DEFAULT_GROUP_SIZE).to_i, 1].max
404
404
 
405
405
  abort unless Parallel::RSpec::Parallelizer.new(process_count, group_size, color_output?).run
406
406
  end
407
407
  end
408
- end
408
+ end
metadata CHANGED
@@ -1,20 +1,22 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: puppet
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.5.1
4
+ version: 3.6.0.rc1
5
+ prerelease: 6
5
6
  platform: x86-mingw32
6
7
  authors:
7
8
  - Puppet Labs
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2014-04-15 00:00:00.000000000 Z
12
+ date: 2014-05-01 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: facter
15
16
  requirement: !ruby/object:Gem::Requirement
17
+ none: false
16
18
  requirements:
17
- - - '>'
19
+ - - ! '>'
18
20
  - !ruby/object:Gem::Version
19
21
  version: '1.6'
20
22
  - - <
@@ -23,8 +25,9 @@ dependencies:
23
25
  type: :runtime
24
26
  prerelease: false
25
27
  version_requirements: !ruby/object:Gem::Requirement
28
+ none: false
26
29
  requirements:
27
- - - '>'
30
+ - - ! '>'
28
31
  - !ruby/object:Gem::Version
29
32
  version: '1.6'
30
33
  - - <
@@ -33,6 +36,7 @@ dependencies:
33
36
  - !ruby/object:Gem::Dependency
34
37
  name: hiera
35
38
  requirement: !ruby/object:Gem::Requirement
39
+ none: false
36
40
  requirements:
37
41
  - - ~>
38
42
  - !ruby/object:Gem::Version
@@ -40,6 +44,7 @@ dependencies:
40
44
  type: :runtime
41
45
  prerelease: false
42
46
  version_requirements: !ruby/object:Gem::Requirement
47
+ none: false
43
48
  requirements:
44
49
  - - ~>
45
50
  - !ruby/object:Gem::Version
@@ -47,6 +52,7 @@ dependencies:
47
52
  - !ruby/object:Gem::Dependency
48
53
  name: rgen
49
54
  requirement: !ruby/object:Gem::Requirement
55
+ none: false
50
56
  requirements:
51
57
  - - ~>
52
58
  - !ruby/object:Gem::Version
@@ -54,6 +60,7 @@ dependencies:
54
60
  type: :runtime
55
61
  prerelease: false
56
62
  version_requirements: !ruby/object:Gem::Requirement
63
+ none: false
57
64
  requirements:
58
65
  - - ~>
59
66
  - !ruby/object:Gem::Version
@@ -61,20 +68,23 @@ dependencies:
61
68
  - !ruby/object:Gem::Dependency
62
69
  name: json_pure
63
70
  requirement: !ruby/object:Gem::Requirement
71
+ none: false
64
72
  requirements:
65
- - - '>='
73
+ - - ! '>='
66
74
  - !ruby/object:Gem::Version
67
75
  version: '0'
68
76
  type: :runtime
69
77
  prerelease: false
70
78
  version_requirements: !ruby/object:Gem::Requirement
79
+ none: false
71
80
  requirements:
72
- - - '>='
81
+ - - ! '>='
73
82
  - !ruby/object:Gem::Version
74
83
  version: '0'
75
84
  - !ruby/object:Gem::Dependency
76
85
  name: ffi
77
86
  requirement: !ruby/object:Gem::Requirement
87
+ none: false
78
88
  requirements:
79
89
  - - '='
80
90
  - !ruby/object:Gem::Version
@@ -82,6 +92,7 @@ dependencies:
82
92
  type: :runtime
83
93
  prerelease: false
84
94
  version_requirements: !ruby/object:Gem::Requirement
95
+ none: false
85
96
  requirements:
86
97
  - - '='
87
98
  - !ruby/object:Gem::Version
@@ -89,6 +100,7 @@ dependencies:
89
100
  - !ruby/object:Gem::Dependency
90
101
  name: sys-admin
91
102
  requirement: !ruby/object:Gem::Requirement
103
+ none: false
92
104
  requirements:
93
105
  - - '='
94
106
  - !ruby/object:Gem::Version
@@ -96,6 +108,7 @@ dependencies:
96
108
  type: :runtime
97
109
  prerelease: false
98
110
  version_requirements: !ruby/object:Gem::Requirement
111
+ none: false
99
112
  requirements:
100
113
  - - '='
101
114
  - !ruby/object:Gem::Version
@@ -103,6 +116,7 @@ dependencies:
103
116
  - !ruby/object:Gem::Dependency
104
117
  name: win32-api
105
118
  requirement: !ruby/object:Gem::Requirement
119
+ none: false
106
120
  requirements:
107
121
  - - '='
108
122
  - !ruby/object:Gem::Version
@@ -110,6 +124,7 @@ dependencies:
110
124
  type: :runtime
111
125
  prerelease: false
112
126
  version_requirements: !ruby/object:Gem::Requirement
127
+ none: false
113
128
  requirements:
114
129
  - - '='
115
130
  - !ruby/object:Gem::Version
@@ -117,6 +132,7 @@ dependencies:
117
132
  - !ruby/object:Gem::Dependency
118
133
  name: win32-dir
119
134
  requirement: !ruby/object:Gem::Requirement
135
+ none: false
120
136
  requirements:
121
137
  - - ~>
122
138
  - !ruby/object:Gem::Version
@@ -124,6 +140,7 @@ dependencies:
124
140
  type: :runtime
125
141
  prerelease: false
126
142
  version_requirements: !ruby/object:Gem::Requirement
143
+ none: false
127
144
  requirements:
128
145
  - - ~>
129
146
  - !ruby/object:Gem::Version
@@ -131,6 +148,7 @@ dependencies:
131
148
  - !ruby/object:Gem::Dependency
132
149
  name: win32-eventlog
133
150
  requirement: !ruby/object:Gem::Requirement
151
+ none: false
134
152
  requirements:
135
153
  - - ~>
136
154
  - !ruby/object:Gem::Version
@@ -138,6 +156,7 @@ dependencies:
138
156
  type: :runtime
139
157
  prerelease: false
140
158
  version_requirements: !ruby/object:Gem::Requirement
159
+ none: false
141
160
  requirements:
142
161
  - - ~>
143
162
  - !ruby/object:Gem::Version
@@ -145,6 +164,7 @@ dependencies:
145
164
  - !ruby/object:Gem::Dependency
146
165
  name: win32-process
147
166
  requirement: !ruby/object:Gem::Requirement
167
+ none: false
148
168
  requirements:
149
169
  - - ~>
150
170
  - !ruby/object:Gem::Version
@@ -152,6 +172,7 @@ dependencies:
152
172
  type: :runtime
153
173
  prerelease: false
154
174
  version_requirements: !ruby/object:Gem::Requirement
175
+ none: false
155
176
  requirements:
156
177
  - - ~>
157
178
  - !ruby/object:Gem::Version
@@ -159,6 +180,7 @@ dependencies:
159
180
  - !ruby/object:Gem::Dependency
160
181
  name: win32-security
161
182
  requirement: !ruby/object:Gem::Requirement
183
+ none: false
162
184
  requirements:
163
185
  - - ~>
164
186
  - !ruby/object:Gem::Version
@@ -166,6 +188,7 @@ dependencies:
166
188
  type: :runtime
167
189
  prerelease: false
168
190
  version_requirements: !ruby/object:Gem::Requirement
191
+ none: false
169
192
  requirements:
170
193
  - - ~>
171
194
  - !ruby/object:Gem::Version
@@ -173,6 +196,7 @@ dependencies:
173
196
  - !ruby/object:Gem::Dependency
174
197
  name: win32-service
175
198
  requirement: !ruby/object:Gem::Requirement
199
+ none: false
176
200
  requirements:
177
201
  - - '='
178
202
  - !ruby/object:Gem::Version
@@ -180,6 +204,7 @@ dependencies:
180
204
  type: :runtime
181
205
  prerelease: false
182
206
  version_requirements: !ruby/object:Gem::Requirement
207
+ none: false
183
208
  requirements:
184
209
  - - '='
185
210
  - !ruby/object:Gem::Version
@@ -187,6 +212,7 @@ dependencies:
187
212
  - !ruby/object:Gem::Dependency
188
213
  name: win32-taskscheduler
189
214
  requirement: !ruby/object:Gem::Requirement
215
+ none: false
190
216
  requirements:
191
217
  - - ~>
192
218
  - !ruby/object:Gem::Version
@@ -194,6 +220,7 @@ dependencies:
194
220
  type: :runtime
195
221
  prerelease: false
196
222
  version_requirements: !ruby/object:Gem::Requirement
223
+ none: false
197
224
  requirements:
198
225
  - - ~>
199
226
  - !ruby/object:Gem::Version
@@ -201,6 +228,7 @@ dependencies:
201
228
  - !ruby/object:Gem::Dependency
202
229
  name: win32console
203
230
  requirement: !ruby/object:Gem::Requirement
231
+ none: false
204
232
  requirements:
205
233
  - - '='
206
234
  - !ruby/object:Gem::Version
@@ -208,6 +236,7 @@ dependencies:
208
236
  type: :runtime
209
237
  prerelease: false
210
238
  version_requirements: !ruby/object:Gem::Requirement
239
+ none: false
211
240
  requirements:
212
241
  - - '='
213
242
  - !ruby/object:Gem::Version
@@ -215,6 +244,7 @@ dependencies:
215
244
  - !ruby/object:Gem::Dependency
216
245
  name: windows-api
217
246
  requirement: !ruby/object:Gem::Requirement
247
+ none: false
218
248
  requirements:
219
249
  - - ~>
220
250
  - !ruby/object:Gem::Version
@@ -222,6 +252,7 @@ dependencies:
222
252
  type: :runtime
223
253
  prerelease: false
224
254
  version_requirements: !ruby/object:Gem::Requirement
255
+ none: false
225
256
  requirements:
226
257
  - - ~>
227
258
  - !ruby/object:Gem::Version
@@ -229,6 +260,7 @@ dependencies:
229
260
  - !ruby/object:Gem::Dependency
230
261
  name: windows-pr
231
262
  requirement: !ruby/object:Gem::Requirement
263
+ none: false
232
264
  requirements:
233
265
  - - ~>
234
266
  - !ruby/object:Gem::Version
@@ -236,6 +268,7 @@ dependencies:
236
268
  type: :runtime
237
269
  prerelease: false
238
270
  version_requirements: !ruby/object:Gem::Requirement
271
+ none: false
239
272
  requirements:
240
273
  - - ~>
241
274
  - !ruby/object:Gem::Version
@@ -243,6 +276,7 @@ dependencies:
243
276
  - !ruby/object:Gem::Dependency
244
277
  name: minitar
245
278
  requirement: !ruby/object:Gem::Requirement
279
+ none: false
246
280
  requirements:
247
281
  - - ~>
248
282
  - !ruby/object:Gem::Version
@@ -250,6 +284,7 @@ dependencies:
250
284
  type: :runtime
251
285
  prerelease: false
252
286
  version_requirements: !ruby/object:Gem::Requirement
287
+ none: false
253
288
  requirements:
254
289
  - - ~>
255
290
  - !ruby/object:Gem::Version
@@ -436,6 +471,9 @@ files:
436
471
  - lib/puppet/forge/cache.rb
437
472
  - lib/puppet/forge/errors.rb
438
473
  - lib/puppet/forge/repository.rb
474
+ - lib/puppet/functions.rb
475
+ - lib/puppet/functions/assert_type.rb
476
+ - lib/puppet/functions/import.rb
439
477
  - lib/puppet/graph.rb
440
478
  - lib/puppet/graph/key.rb
441
479
  - lib/puppet/graph/prioritizer.rb
@@ -568,6 +606,7 @@ files:
568
606
  - lib/puppet/interface/option.rb
569
607
  - lib/puppet/interface/option_builder.rb
570
608
  - lib/puppet/interface/option_manager.rb
609
+ - lib/puppet/loaders.rb
571
610
  - lib/puppet/metatype/manager.rb
572
611
  - lib/puppet/module.rb
573
612
  - lib/puppet/module_tool.rb
@@ -575,7 +614,6 @@ files:
575
614
  - lib/puppet/module_tool/applications/application.rb
576
615
  - lib/puppet/module_tool/applications/builder.rb
577
616
  - lib/puppet/module_tool/applications/checksummer.rb
578
- - lib/puppet/module_tool/applications/generator.rb
579
617
  - lib/puppet/module_tool/applications/installer.rb
580
618
  - lib/puppet/module_tool/applications/searcher.rb
581
619
  - lib/puppet/module_tool/applications/uninstaller.rb
@@ -591,19 +629,21 @@ files:
591
629
  - lib/puppet/module_tool/errors/uninstaller.rb
592
630
  - lib/puppet/module_tool/errors/upgrader.rb
593
631
  - lib/puppet/module_tool/install_directory.rb
632
+ - lib/puppet/module_tool/installed_modules.rb
633
+ - lib/puppet/module_tool/local_tarball.rb
594
634
  - lib/puppet/module_tool/metadata.rb
595
635
  - lib/puppet/module_tool/modulefile.rb
596
636
  - lib/puppet/module_tool/shared_behaviors.rb
597
- - lib/puppet/module_tool/skeleton.rb
598
- - lib/puppet/module_tool/skeleton/templates/generator/Modulefile.erb
599
- - lib/puppet/module_tool/skeleton/templates/generator/README.erb
637
+ - lib/puppet/module_tool/skeleton/templates/generator/README.md.erb
638
+ - lib/puppet/module_tool/skeleton/templates/generator/Rakefile
600
639
  - lib/puppet/module_tool/skeleton/templates/generator/manifests/init.pp.erb
640
+ - lib/puppet/module_tool/skeleton/templates/generator/metadata.json.erb
641
+ - lib/puppet/module_tool/skeleton/templates/generator/spec/classes/init_spec.rb.erb
601
642
  - lib/puppet/module_tool/skeleton/templates/generator/spec/spec_helper.rb
602
643
  - lib/puppet/module_tool/skeleton/templates/generator/tests/init.pp.erb
603
644
  - lib/puppet/module_tool/tar.rb
604
645
  - lib/puppet/module_tool/tar/gnu.rb
605
646
  - lib/puppet/module_tool/tar/mini.rb
606
- - lib/puppet/module_tool/tar/solaris.rb
607
647
  - lib/puppet/network.rb
608
648
  - lib/puppet/network/auth_config_parser.rb
609
649
  - lib/puppet/network/authconfig.rb
@@ -773,6 +813,7 @@ files:
773
813
  - lib/puppet/pops/binder/system_bindings.rb
774
814
  - lib/puppet/pops/containment.rb
775
815
  - lib/puppet/pops/evaluator/access_operator.rb
816
+ - lib/puppet/pops/evaluator/callable_signature.rb
776
817
  - lib/puppet/pops/evaluator/closure.rb
777
818
  - lib/puppet/pops/evaluator/compare_operator.rb
778
819
  - lib/puppet/pops/evaluator/epp_evaluator.rb
@@ -780,9 +821,25 @@ files:
780
821
  - lib/puppet/pops/evaluator/external_syntax_support.rb
781
822
  - lib/puppet/pops/evaluator/relationship_operator.rb
782
823
  - lib/puppet/pops/evaluator/runtime3_support.rb
824
+ - lib/puppet/pops/functions/dispatch.rb
825
+ - lib/puppet/pops/functions/dispatcher.rb
826
+ - lib/puppet/pops/functions/function.rb
783
827
  - lib/puppet/pops/issue_reporter.rb
784
828
  - lib/puppet/pops/issues.rb
785
829
  - lib/puppet/pops/label_provider.rb
830
+ - lib/puppet/pops/loader/base_loader.rb
831
+ - lib/puppet/pops/loader/dependency_loader.rb
832
+ - lib/puppet/pops/loader/gem_support.rb
833
+ - lib/puppet/pops/loader/loader.rb
834
+ - lib/puppet/pops/loader/loader_paths.rb
835
+ - lib/puppet/pops/loader/module_loaders.rb
836
+ - lib/puppet/pops/loader/null_loader.rb
837
+ - lib/puppet/pops/loader/ruby_function_instantiator.rb
838
+ - lib/puppet/pops/loader/ruby_legacy_function_instantiator.rb
839
+ - lib/puppet/pops/loader/simple_environment_loader.rb
840
+ - lib/puppet/pops/loader/static_loader.rb
841
+ - lib/puppet/pops/loader/uri_helper.rb
842
+ - lib/puppet/pops/loaders.rb
786
843
  - lib/puppet/pops/model/ast_transformer.rb
787
844
  - lib/puppet/pops/model/ast_tree_dumper.rb
788
845
  - lib/puppet/pops/model/factory.rb
@@ -807,6 +864,7 @@ files:
807
864
  - lib/puppet/pops/parser/parser_support.rb
808
865
  - lib/puppet/pops/parser/slurp_support.rb
809
866
  - lib/puppet/pops/patterns.rb
867
+ - lib/puppet/pops/semantic_error.rb
810
868
  - lib/puppet/pops/types/class_loader.rb
811
869
  - lib/puppet/pops/types/enumeration.rb
812
870
  - lib/puppet/pops/types/type_calculator.rb
@@ -992,6 +1050,7 @@ files:
992
1050
  - lib/puppet/settings/directory_setting.rb
993
1051
  - lib/puppet/settings/duration_setting.rb
994
1052
  - lib/puppet/settings/enum_setting.rb
1053
+ - lib/puppet/settings/environment_conf.rb
995
1054
  - lib/puppet/settings/errors.rb
996
1055
  - lib/puppet/settings/file_or_directory_setting.rb
997
1056
  - lib/puppet/settings/file_setting.rb
@@ -1000,6 +1059,7 @@ files:
1000
1059
  - lib/puppet/settings/priority_setting.rb
1001
1060
  - lib/puppet/settings/string_setting.rb
1002
1061
  - lib/puppet/settings/terminus_setting.rb
1062
+ - lib/puppet/settings/ttl_setting.rb
1003
1063
  - lib/puppet/settings/value_translator.rb
1004
1064
  - lib/puppet/ssl.rb
1005
1065
  - lib/puppet/ssl/base.rb
@@ -1218,6 +1278,7 @@ files:
1218
1278
  - lib/puppet/util/zaml.rb
1219
1279
  - lib/puppet/vendor.rb
1220
1280
  - lib/puppet/vendor/load_safe_yaml.rb
1281
+ - lib/puppet/vendor/load_semantic.rb
1221
1282
  - lib/puppet/vendor/require_vendored.rb
1222
1283
  - lib/puppet/vendor/safe_yaml/CHANGES.md
1223
1284
  - lib/puppet/vendor/safe_yaml/Gemfile
@@ -1261,6 +1322,26 @@ files:
1261
1322
  - lib/puppet/vendor/safe_yaml/spec/transform/to_integer_spec.rb
1262
1323
  - lib/puppet/vendor/safe_yaml/spec/transform/to_symbol_spec.rb
1263
1324
  - lib/puppet/vendor/safe_yaml_patches.rb
1325
+ - lib/puppet/vendor/semantic/Gemfile
1326
+ - lib/puppet/vendor/semantic/Rakefile
1327
+ - lib/puppet/vendor/semantic/lib/semantic.rb
1328
+ - lib/puppet/vendor/semantic/lib/semantic/dependency.rb
1329
+ - lib/puppet/vendor/semantic/lib/semantic/dependency/graph.rb
1330
+ - lib/puppet/vendor/semantic/lib/semantic/dependency/graph_node.rb
1331
+ - lib/puppet/vendor/semantic/lib/semantic/dependency/module_release.rb
1332
+ - lib/puppet/vendor/semantic/lib/semantic/dependency/source.rb
1333
+ - lib/puppet/vendor/semantic/lib/semantic/dependency/unsatisfiable_graph.rb
1334
+ - lib/puppet/vendor/semantic/lib/semantic/version.rb
1335
+ - lib/puppet/vendor/semantic/lib/semantic/version_range.rb
1336
+ - lib/puppet/vendor/semantic/spec/spec_helper.rb
1337
+ - lib/puppet/vendor/semantic/spec/unit/semantic/dependency/graph_node_spec.rb
1338
+ - lib/puppet/vendor/semantic/spec/unit/semantic/dependency/graph_spec.rb
1339
+ - lib/puppet/vendor/semantic/spec/unit/semantic/dependency/module_release_spec.rb
1340
+ - lib/puppet/vendor/semantic/spec/unit/semantic/dependency/source_spec.rb
1341
+ - lib/puppet/vendor/semantic/spec/unit/semantic/dependency/unsatisfiable_graph_spec.rb
1342
+ - lib/puppet/vendor/semantic/spec/unit/semantic/dependency_spec.rb
1343
+ - lib/puppet/vendor/semantic/spec/unit/semantic/version_range_spec.rb
1344
+ - lib/puppet/vendor/semantic/spec/unit/semantic/version_spec.rb
1264
1345
  - lib/puppet/version.rb
1265
1346
  - lib/puppetx.rb
1266
1347
  - lib/puppetx/puppet/bindings_scheme_handler.rb
@@ -1321,6 +1402,7 @@ files:
1321
1402
  - examples/hiera/modules/users/manifests/dc1.pp
1322
1403
  - examples/hiera/modules/users/manifests/development.pp
1323
1404
  - examples/hiera/site.pp
1405
+ - ext/README.environment
1324
1406
  - ext/autotest/Rakefile
1325
1407
  - ext/autotest/config
1326
1408
  - ext/autotest/readme.rst
@@ -1477,6 +1559,7 @@ files:
1477
1559
  - spec/fixtures/integration/provider/cron/crontab/remove_unnamed_resource
1478
1560
  - spec/fixtures/integration/provider/cron/crontab/unspecialized
1479
1561
  - spec/fixtures/integration/provider/mailalias/aliases/test1
1562
+ - spec/fixtures/java.tgz
1480
1563
  - spec/fixtures/manifests/site.pp
1481
1564
  - spec/fixtures/releases/jamtur01-apache/Modulefile
1482
1565
  - spec/fixtures/releases/jamtur01-apache/files/httpd
@@ -1497,6 +1580,7 @@ files:
1497
1580
  - spec/fixtures/releases/jamtur01-apache/tests/php.pp
1498
1581
  - spec/fixtures/releases/jamtur01-apache/tests/ssl.pp
1499
1582
  - spec/fixtures/releases/jamtur01-apache/tests/vhost.pp
1583
+ - spec/fixtures/stdlib.tgz
1500
1584
  - spec/fixtures/unit/indirector/data_binding/hiera/global.yaml
1501
1585
  - spec/fixtures/unit/indirector/data_binding/hiera/invalid.yaml
1502
1586
  - spec/fixtures/unit/module/trailing-comma.json
@@ -1550,6 +1634,15 @@ files:
1550
1634
  - spec/fixtures/unit/pops/binder/bindings_composer/ok/modules/bad/lib/puppet/bindings/bad/default.rb
1551
1635
  - spec/fixtures/unit/pops/binder/bindings_composer/ok/modules/good/lib/puppet/bindings/good/default.rb
1552
1636
  - spec/fixtures/unit/pops/binder/config/binder_config/ok/binder_config.yaml
1637
+ - spec/fixtures/unit/pops/loaders/loaders/dependent_modules_with_metadata/usee/lib/puppet/functions/usee/callee.rb
1638
+ - spec/fixtures/unit/pops/loaders/loaders/dependent_modules_with_metadata/user/lib/puppet/functions/user/caller.rb
1639
+ - spec/fixtures/unit/pops/loaders/loaders/dependent_modules_with_metadata/user/metadata.json
1640
+ - spec/fixtures/unit/pops/loaders/loaders/single_module/modules/modulea/lib/puppet/functions/modulea/rb_func_a.rb
1641
+ - spec/fixtures/unit/pops/loaders/loaders/single_module/modules/modulea/lib/puppet/functions/rb_func_a.rb
1642
+ - spec/fixtures/unit/pops/loaders/loaders/single_module/modules/modulea/manifests/init.pp
1643
+ - spec/fixtures/unit/pops/loaders/loaders/single_module/modules/modulea/metadata.json
1644
+ - spec/fixtures/unit/pops/loaders/loaders/wo_metadata_module/modules/moduleb/lib/puppet/functions/moduleb/rb_func_b.rb
1645
+ - spec/fixtures/unit/pops/loaders/loaders/wo_metadata_module/modules/moduleb/manifests/init.pp
1553
1646
  - spec/fixtures/unit/pops/parser/lexer/aliastest.pp
1554
1647
  - spec/fixtures/unit/pops/parser/lexer/append.pp
1555
1648
  - spec/fixtures/unit/pops/parser/lexer/argumentdefaults.pp
@@ -1618,6 +1711,7 @@ files:
1618
1711
  - spec/fixtures/unit/provider/mount/parsed/openbsd.mount
1619
1712
  - spec/fixtures/unit/provider/mount/parsed/solaris.fstab
1620
1713
  - spec/fixtures/unit/provider/mount/parsed/solaris.mount
1714
+ - spec/fixtures/unit/provider/naginator/define_empty_param
1621
1715
  - spec/fixtures/unit/provider/package/gem/line-with-1.8.5-warning
1622
1716
  - spec/fixtures/unit/provider/package/openbsd/pkginfo.detail
1623
1717
  - spec/fixtures/unit/provider/package/openbsd/pkginfo.list
@@ -1641,7 +1735,7 @@ files:
1641
1735
  - spec/fixtures/unit/provider/service/openrc/rcservice_list
1642
1736
  - spec/fixtures/unit/provider/service/openrc/rcstatus
1643
1737
  - spec/fixtures/unit/provider/service/smf/svcs.out
1644
- - spec/fixtures/unit/provider/service/systemd/list_units_services
1738
+ - spec/fixtures/unit/provider/service/systemd/list_unit_files_services
1645
1739
  - spec/fixtures/unit/provider/ssh_authorized_key/parsed/authorized_keys
1646
1740
  - spec/fixtures/unit/provider/ssh_authorized_key/parsed/authorized_keys1
1647
1741
  - spec/fixtures/unit/provider/ssh_authorized_key/parsed/authorized_keys2
@@ -1651,6 +1745,7 @@ files:
1651
1745
  - spec/fixtures/unit/reports/tagmail/tagmail_email.conf
1652
1746
  - spec/fixtures/unit/reports/tagmail/tagmail_failers.conf
1653
1747
  - spec/fixtures/unit/reports/tagmail/tagmail_passers.conf
1748
+ - spec/fixtures/unit/type/user/authorized_keys
1654
1749
  - spec/fixtures/unit/util/filetype/aixtab_output
1655
1750
  - spec/fixtures/unit/util/filetype/suntab_output
1656
1751
  - spec/fixtures/unit/util/monkey_patches/x509.pem
@@ -1667,6 +1762,7 @@ files:
1667
1762
  - spec/integration/directory_environments_spec.rb
1668
1763
  - spec/integration/faces/ca_spec.rb
1669
1764
  - spec/integration/faces/documentation_spec.rb
1765
+ - spec/integration/faces/plugin_spec.rb
1670
1766
  - spec/integration/file_bucket/file_spec.rb
1671
1767
  - spec/integration/file_serving/content_spec.rb
1672
1768
  - spec/integration/file_serving/fileset_spec.rb
@@ -1749,6 +1845,8 @@ files:
1749
1845
  - spec/lib/puppet_spec/files.rb
1750
1846
  - spec/lib/puppet_spec/fixtures.rb
1751
1847
  - spec/lib/puppet_spec/matchers.rb
1848
+ - spec/lib/puppet_spec/module_tool/shared_functions.rb
1849
+ - spec/lib/puppet_spec/module_tool/stub_source.rb
1752
1850
  - spec/lib/puppet_spec/modules.rb
1753
1851
  - spec/lib/puppet_spec/pops.rb
1754
1852
  - spec/lib/puppet_spec/scope.rb
@@ -1765,6 +1863,7 @@ files:
1765
1863
  - spec/shared_behaviours/path_parameters.rb
1766
1864
  - spec/shared_behaviours/store_configs_terminus.rb
1767
1865
  - spec/shared_behaviours/things_that_declare_options.rb
1866
+ - spec/shared_contexts/checksums.rb
1768
1867
  - spec/shared_contexts/platform.rb
1769
1868
  - spec/spec_helper.rb
1770
1869
  - spec/unit/agent/disabler_spec.rb
@@ -1855,8 +1954,11 @@ files:
1855
1954
  - spec/unit/file_system/tempfile_spec.rb
1856
1955
  - spec/unit/file_system_spec.rb
1857
1956
  - spec/unit/forge/errors_spec.rb
1957
+ - spec/unit/forge/module_release_spec.rb
1858
1958
  - spec/unit/forge/repository_spec.rb
1859
1959
  - spec/unit/forge_spec.rb
1960
+ - spec/unit/functions/assert_type_spec.rb
1961
+ - spec/unit/functions4_spec.rb
1860
1962
  - spec/unit/graph/key_spec.rb
1861
1963
  - spec/unit/graph/rb_tree_map_spec.rb
1862
1964
  - spec/unit/graph/relationship_graph_spec.rb
@@ -1987,7 +2089,6 @@ files:
1987
2089
  - spec/unit/module_tool/metadata_spec.rb
1988
2090
  - spec/unit/module_tool/tar/gnu_spec.rb
1989
2091
  - spec/unit/module_tool/tar/mini_spec.rb
1990
- - spec/unit/module_tool/tar/solaris_spec.rb
1991
2092
  - spec/unit/module_tool/tar_spec.rb
1992
2093
  - spec/unit/module_tool_spec.rb
1993
2094
  - spec/unit/network/auth_config_parser_spec.rb
@@ -2125,6 +2226,11 @@ files:
2125
2226
  - spec/unit/pops/factory_spec.rb
2126
2227
  - spec/unit/pops/issues_spec.rb
2127
2228
  - spec/unit/pops/label_provider_spec.rb
2229
+ - spec/unit/pops/loaders/dependency_loader_spec.rb
2230
+ - spec/unit/pops/loaders/loader_paths_spec.rb
2231
+ - spec/unit/pops/loaders/loaders_spec.rb
2232
+ - spec/unit/pops/loaders/module_loaders_spec.rb
2233
+ - spec/unit/pops/loaders/static_loader_spec.rb
2128
2234
  - spec/unit/pops/model/ast_transformer_spec.rb
2129
2235
  - spec/unit/pops/model/model_spec.rb
2130
2236
  - spec/unit/pops/parser/epp_parser_spec.rb
@@ -2282,6 +2388,7 @@ files:
2282
2388
  - spec/unit/settings/directory_setting_spec.rb
2283
2389
  - spec/unit/settings/duration_setting_spec.rb
2284
2390
  - spec/unit/settings/enum_setting_spec.rb
2391
+ - spec/unit/settings/environment_conf_spec.rb
2285
2392
  - spec/unit/settings/file_setting_spec.rb
2286
2393
  - spec/unit/settings/ini_file_spec.rb
2287
2394
  - spec/unit/settings/path_setting_spec.rb
@@ -2457,7 +2564,6 @@ files:
2457
2564
  - spec/watchr.rb
2458
2565
  homepage: https://github.com/puppetlabs/puppet
2459
2566
  licenses: []
2460
- metadata: {}
2461
2567
  post_install_message:
2462
2568
  rdoc_options:
2463
2569
  - --title
@@ -2468,20 +2574,22 @@ rdoc_options:
2468
2574
  require_paths:
2469
2575
  - lib
2470
2576
  required_ruby_version: !ruby/object:Gem::Requirement
2577
+ none: false
2471
2578
  requirements:
2472
- - - '>='
2579
+ - - ! '>='
2473
2580
  - !ruby/object:Gem::Version
2474
2581
  version: '0'
2475
2582
  required_rubygems_version: !ruby/object:Gem::Requirement
2583
+ none: false
2476
2584
  requirements:
2477
- - - '>='
2585
+ - - ! '>'
2478
2586
  - !ruby/object:Gem::Version
2479
- version: '0'
2587
+ version: 1.3.1
2480
2588
  requirements: []
2481
2589
  rubyforge_project: puppet
2482
- rubygems_version: 2.0.3
2590
+ rubygems_version: 1.8.23
2483
2591
  signing_key:
2484
- specification_version: 4
2592
+ specification_version: 3
2485
2593
  summary: Puppet, an automated configuration management tool
2486
2594
  test_files:
2487
2595
  - spec/fixtures/faulty_face/puppet/face/syntax.rb
@@ -2502,6 +2610,7 @@ test_files:
2502
2610
  - spec/fixtures/integration/provider/cron/crontab/remove_unnamed_resource
2503
2611
  - spec/fixtures/integration/provider/cron/crontab/unspecialized
2504
2612
  - spec/fixtures/integration/provider/mailalias/aliases/test1
2613
+ - spec/fixtures/java.tgz
2505
2614
  - spec/fixtures/manifests/site.pp
2506
2615
  - spec/fixtures/releases/jamtur01-apache/Modulefile
2507
2616
  - spec/fixtures/releases/jamtur01-apache/files/httpd
@@ -2522,6 +2631,7 @@ test_files:
2522
2631
  - spec/fixtures/releases/jamtur01-apache/tests/php.pp
2523
2632
  - spec/fixtures/releases/jamtur01-apache/tests/ssl.pp
2524
2633
  - spec/fixtures/releases/jamtur01-apache/tests/vhost.pp
2634
+ - spec/fixtures/stdlib.tgz
2525
2635
  - spec/fixtures/unit/indirector/data_binding/hiera/global.yaml
2526
2636
  - spec/fixtures/unit/indirector/data_binding/hiera/invalid.yaml
2527
2637
  - spec/fixtures/unit/module/trailing-comma.json
@@ -2575,6 +2685,15 @@ test_files:
2575
2685
  - spec/fixtures/unit/pops/binder/bindings_composer/ok/modules/bad/lib/puppet/bindings/bad/default.rb
2576
2686
  - spec/fixtures/unit/pops/binder/bindings_composer/ok/modules/good/lib/puppet/bindings/good/default.rb
2577
2687
  - spec/fixtures/unit/pops/binder/config/binder_config/ok/binder_config.yaml
2688
+ - spec/fixtures/unit/pops/loaders/loaders/dependent_modules_with_metadata/usee/lib/puppet/functions/usee/callee.rb
2689
+ - spec/fixtures/unit/pops/loaders/loaders/dependent_modules_with_metadata/user/lib/puppet/functions/user/caller.rb
2690
+ - spec/fixtures/unit/pops/loaders/loaders/dependent_modules_with_metadata/user/metadata.json
2691
+ - spec/fixtures/unit/pops/loaders/loaders/single_module/modules/modulea/lib/puppet/functions/modulea/rb_func_a.rb
2692
+ - spec/fixtures/unit/pops/loaders/loaders/single_module/modules/modulea/lib/puppet/functions/rb_func_a.rb
2693
+ - spec/fixtures/unit/pops/loaders/loaders/single_module/modules/modulea/manifests/init.pp
2694
+ - spec/fixtures/unit/pops/loaders/loaders/single_module/modules/modulea/metadata.json
2695
+ - spec/fixtures/unit/pops/loaders/loaders/wo_metadata_module/modules/moduleb/lib/puppet/functions/moduleb/rb_func_b.rb
2696
+ - spec/fixtures/unit/pops/loaders/loaders/wo_metadata_module/modules/moduleb/manifests/init.pp
2578
2697
  - spec/fixtures/unit/pops/parser/lexer/aliastest.pp
2579
2698
  - spec/fixtures/unit/pops/parser/lexer/append.pp
2580
2699
  - spec/fixtures/unit/pops/parser/lexer/argumentdefaults.pp
@@ -2643,6 +2762,7 @@ test_files:
2643
2762
  - spec/fixtures/unit/provider/mount/parsed/openbsd.mount
2644
2763
  - spec/fixtures/unit/provider/mount/parsed/solaris.fstab
2645
2764
  - spec/fixtures/unit/provider/mount/parsed/solaris.mount
2765
+ - spec/fixtures/unit/provider/naginator/define_empty_param
2646
2766
  - spec/fixtures/unit/provider/package/gem/line-with-1.8.5-warning
2647
2767
  - spec/fixtures/unit/provider/package/openbsd/pkginfo.detail
2648
2768
  - spec/fixtures/unit/provider/package/openbsd/pkginfo.list
@@ -2666,7 +2786,7 @@ test_files:
2666
2786
  - spec/fixtures/unit/provider/service/openrc/rcservice_list
2667
2787
  - spec/fixtures/unit/provider/service/openrc/rcstatus
2668
2788
  - spec/fixtures/unit/provider/service/smf/svcs.out
2669
- - spec/fixtures/unit/provider/service/systemd/list_units_services
2789
+ - spec/fixtures/unit/provider/service/systemd/list_unit_files_services
2670
2790
  - spec/fixtures/unit/provider/ssh_authorized_key/parsed/authorized_keys
2671
2791
  - spec/fixtures/unit/provider/ssh_authorized_key/parsed/authorized_keys1
2672
2792
  - spec/fixtures/unit/provider/ssh_authorized_key/parsed/authorized_keys2
@@ -2676,6 +2796,7 @@ test_files:
2676
2796
  - spec/fixtures/unit/reports/tagmail/tagmail_email.conf
2677
2797
  - spec/fixtures/unit/reports/tagmail/tagmail_failers.conf
2678
2798
  - spec/fixtures/unit/reports/tagmail/tagmail_passers.conf
2799
+ - spec/fixtures/unit/type/user/authorized_keys
2679
2800
  - spec/fixtures/unit/util/filetype/aixtab_output
2680
2801
  - spec/fixtures/unit/util/filetype/suntab_output
2681
2802
  - spec/fixtures/unit/util/monkey_patches/x509.pem
@@ -2692,6 +2813,7 @@ test_files:
2692
2813
  - spec/integration/directory_environments_spec.rb
2693
2814
  - spec/integration/faces/ca_spec.rb
2694
2815
  - spec/integration/faces/documentation_spec.rb
2816
+ - spec/integration/faces/plugin_spec.rb
2695
2817
  - spec/integration/file_bucket/file_spec.rb
2696
2818
  - spec/integration/file_serving/content_spec.rb
2697
2819
  - spec/integration/file_serving/fileset_spec.rb
@@ -2774,6 +2896,8 @@ test_files:
2774
2896
  - spec/lib/puppet_spec/files.rb
2775
2897
  - spec/lib/puppet_spec/fixtures.rb
2776
2898
  - spec/lib/puppet_spec/matchers.rb
2899
+ - spec/lib/puppet_spec/module_tool/shared_functions.rb
2900
+ - spec/lib/puppet_spec/module_tool/stub_source.rb
2777
2901
  - spec/lib/puppet_spec/modules.rb
2778
2902
  - spec/lib/puppet_spec/pops.rb
2779
2903
  - spec/lib/puppet_spec/scope.rb
@@ -2790,6 +2914,7 @@ test_files:
2790
2914
  - spec/shared_behaviours/path_parameters.rb
2791
2915
  - spec/shared_behaviours/store_configs_terminus.rb
2792
2916
  - spec/shared_behaviours/things_that_declare_options.rb
2917
+ - spec/shared_contexts/checksums.rb
2793
2918
  - spec/shared_contexts/platform.rb
2794
2919
  - spec/spec_helper.rb
2795
2920
  - spec/unit/agent/disabler_spec.rb
@@ -2880,8 +3005,11 @@ test_files:
2880
3005
  - spec/unit/file_system/tempfile_spec.rb
2881
3006
  - spec/unit/file_system_spec.rb
2882
3007
  - spec/unit/forge/errors_spec.rb
3008
+ - spec/unit/forge/module_release_spec.rb
2883
3009
  - spec/unit/forge/repository_spec.rb
2884
3010
  - spec/unit/forge_spec.rb
3011
+ - spec/unit/functions/assert_type_spec.rb
3012
+ - spec/unit/functions4_spec.rb
2885
3013
  - spec/unit/graph/key_spec.rb
2886
3014
  - spec/unit/graph/rb_tree_map_spec.rb
2887
3015
  - spec/unit/graph/relationship_graph_spec.rb
@@ -3012,7 +3140,6 @@ test_files:
3012
3140
  - spec/unit/module_tool/metadata_spec.rb
3013
3141
  - spec/unit/module_tool/tar/gnu_spec.rb
3014
3142
  - spec/unit/module_tool/tar/mini_spec.rb
3015
- - spec/unit/module_tool/tar/solaris_spec.rb
3016
3143
  - spec/unit/module_tool/tar_spec.rb
3017
3144
  - spec/unit/module_tool_spec.rb
3018
3145
  - spec/unit/network/auth_config_parser_spec.rb
@@ -3150,6 +3277,11 @@ test_files:
3150
3277
  - spec/unit/pops/factory_spec.rb
3151
3278
  - spec/unit/pops/issues_spec.rb
3152
3279
  - spec/unit/pops/label_provider_spec.rb
3280
+ - spec/unit/pops/loaders/dependency_loader_spec.rb
3281
+ - spec/unit/pops/loaders/loader_paths_spec.rb
3282
+ - spec/unit/pops/loaders/loaders_spec.rb
3283
+ - spec/unit/pops/loaders/module_loaders_spec.rb
3284
+ - spec/unit/pops/loaders/static_loader_spec.rb
3153
3285
  - spec/unit/pops/model/ast_transformer_spec.rb
3154
3286
  - spec/unit/pops/model/model_spec.rb
3155
3287
  - spec/unit/pops/parser/epp_parser_spec.rb
@@ -3307,6 +3439,7 @@ test_files:
3307
3439
  - spec/unit/settings/directory_setting_spec.rb
3308
3440
  - spec/unit/settings/duration_setting_spec.rb
3309
3441
  - spec/unit/settings/enum_setting_spec.rb
3442
+ - spec/unit/settings/environment_conf_spec.rb
3310
3443
  - spec/unit/settings/file_setting_spec.rb
3311
3444
  - spec/unit/settings/ini_file_spec.rb
3312
3445
  - spec/unit/settings/path_setting_spec.rb