puppet 3.8.7-x64-mingw32 → 4.0.0.rc1-x64-mingw32

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

Potentially problematic release.


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

Files changed (1586) hide show
  1. data/CONTRIBUTING.md +26 -11
  2. data/Gemfile +13 -25
  3. data/LICENSE +1 -1
  4. data/Rakefile +9 -0
  5. data/bin/puppet +7 -6
  6. data/conf/auth.conf +30 -26
  7. data/conf/environment.conf +16 -0
  8. data/conf/fileserver.conf +2 -2
  9. data/conf/puppet.conf +6 -0
  10. data/ext/README.environment +1 -1
  11. data/ext/build_defaults.yaml +16 -7
  12. data/ext/debian/control +5 -5
  13. data/ext/debian/puppet-common.manpages +0 -5
  14. data/ext/debian/puppet-common.postinst +3 -3
  15. data/ext/debian/puppet.init +23 -12
  16. data/ext/debian/puppet.logrotate +1 -2
  17. data/ext/debian/puppetmaster-common.postinst +6 -0
  18. data/ext/debian/puppetmaster.init +5 -5
  19. data/ext/debian/rules +4 -1
  20. data/ext/debian/vim-puppet.dirs +2 -0
  21. data/ext/debian/vim-puppet.yaml +2 -0
  22. data/ext/emacs/puppet-mode.el +0 -1
  23. data/ext/gentoo/conf.d/puppet +1 -1
  24. data/ext/gentoo/conf.d/puppetmaster +1 -1
  25. data/ext/nagios/check_puppet.rb +1 -1
  26. data/ext/project_data.yaml +6 -7
  27. data/ext/puppet-nm-dispatcher +13 -0
  28. data/ext/puppet-test +0 -66
  29. data/ext/puppetlisten/puppetlisten.rb +7 -5
  30. data/ext/rack/config.ru +12 -5
  31. data/ext/redhat/client.init +3 -3
  32. data/ext/redhat/logrotate +1 -2
  33. data/ext/redhat/puppet.spec.erb +12 -8
  34. data/ext/redhat/server.init +1 -1
  35. data/ext/regexp_nodes/regexp_nodes.rb +1 -1
  36. data/ext/solaris/smf/svc-puppetd +1 -1
  37. data/ext/solaris/smf/svc-puppetmasterd +1 -1
  38. data/ext/suse/client.init +1 -1
  39. data/ext/suse/server.init +1 -1
  40. data/ext/systemd/puppet.service +1 -3
  41. data/ext/vim/syntax/puppet.vim +1 -1
  42. data/ext/windows/service/daemon.rb +19 -2
  43. data/install.rb +63 -7
  44. data/lib/hiera/puppet_function.rb +7 -18
  45. data/lib/hiera/scope.rb +4 -1
  46. data/lib/puppet.rb +19 -51
  47. data/lib/puppet/agent.rb +2 -6
  48. data/lib/puppet/application.rb +14 -65
  49. data/lib/puppet/application/agent.rb +7 -56
  50. data/lib/puppet/application/apply.rb +1 -6
  51. data/lib/puppet/application/ca.rb +5 -0
  52. data/lib/puppet/application/cert.rb +7 -3
  53. data/lib/puppet/application/certificate.rb +2 -0
  54. data/lib/puppet/application/device.rb +10 -36
  55. data/lib/puppet/application/doc.rb +16 -63
  56. data/lib/puppet/application/epp.rb +5 -0
  57. data/lib/puppet/application/face_base.rb +24 -5
  58. data/lib/puppet/application/master.rb +2 -5
  59. data/lib/puppet/application/resource.rb +17 -17
  60. data/lib/puppet/application_support.rb +57 -0
  61. data/lib/puppet/configurer.rb +3 -7
  62. data/lib/puppet/configurer/downloader.rb +1 -0
  63. data/lib/puppet/configurer/fact_handler.rb +1 -1
  64. data/lib/puppet/daemon.rb +6 -15
  65. data/lib/puppet/data_providers.rb +28 -0
  66. data/lib/puppet/data_providers/data_adapter.rb +86 -0
  67. data/lib/puppet/data_providers/data_function_support.rb +32 -0
  68. data/lib/puppet/data_providers/function_env_data_provider.rb +28 -0
  69. data/lib/puppet/data_providers/function_module_data_provider.rb +44 -0
  70. data/lib/puppet/defaults.rb +135 -530
  71. data/lib/puppet/environments.rb +10 -156
  72. data/lib/puppet/error.rb +4 -30
  73. data/lib/puppet/external/nagios/base.rb +2 -2
  74. data/lib/puppet/external/pson/common.rb +2 -17
  75. data/lib/puppet/external/pson/pure/generator.rb +1 -0
  76. data/lib/puppet/external/pson/pure/parser.rb +0 -11
  77. data/lib/puppet/face/catalog.rb +4 -4
  78. data/lib/puppet/face/certificate.rb +2 -3
  79. data/lib/puppet/face/certificate_request.rb +4 -3
  80. data/lib/puppet/face/certificate_revocation_list.rb +5 -9
  81. data/lib/puppet/face/config.rb +2 -2
  82. data/lib/puppet/face/epp.rb +479 -0
  83. data/lib/puppet/face/facts.rb +6 -49
  84. data/lib/puppet/face/file.rb +2 -2
  85. data/lib/puppet/face/file/download.rb +1 -2
  86. data/lib/puppet/face/help.rb +2 -3
  87. data/lib/puppet/face/module/build.rb +5 -5
  88. data/lib/puppet/face/module/changes.rb +1 -1
  89. data/lib/puppet/face/module/generate.rb +6 -6
  90. data/lib/puppet/face/module/install.rb +16 -16
  91. data/lib/puppet/face/module/list.rb +9 -9
  92. data/lib/puppet/face/module/uninstall.rb +5 -5
  93. data/lib/puppet/face/module/upgrade.rb +3 -3
  94. data/lib/puppet/face/node.rb +3 -4
  95. data/lib/puppet/face/node/clean.rb +5 -68
  96. data/lib/puppet/face/parser.rb +6 -8
  97. data/lib/puppet/face/report.rb +4 -4
  98. data/lib/puppet/face/resource.rb +1 -1
  99. data/lib/puppet/face/resource_type.rb +7 -4
  100. data/lib/puppet/face/status.rb +6 -12
  101. data/lib/puppet/feature/base.rb +0 -7
  102. data/lib/puppet/file_bucket/dipper.rb +1 -2
  103. data/lib/puppet/file_bucket/file.rb +12 -25
  104. data/lib/puppet/file_serving/base.rb +1 -11
  105. data/lib/puppet/file_serving/content.rb +5 -7
  106. data/lib/puppet/file_serving/metadata.rb +4 -61
  107. data/lib/puppet/file_serving/mount/pluginfacts.rb +1 -1
  108. data/lib/puppet/file_serving/mount/plugins.rb +1 -1
  109. data/lib/puppet/file_serving/terminus_helper.rb +16 -5
  110. data/lib/puppet/file_system.rb +6 -22
  111. data/lib/puppet/file_system/file_impl.rb +0 -4
  112. data/lib/puppet/file_system/memory_file.rb +0 -5
  113. data/lib/puppet/file_system/memory_impl.rb +0 -4
  114. data/lib/puppet/file_system/{file19.rb → posix.rb} +1 -1
  115. data/lib/puppet/file_system/{file19windows.rb → windows.rb} +2 -10
  116. data/lib/puppet/forge/repository.rb +12 -8
  117. data/lib/puppet/functions.rb +17 -51
  118. data/lib/puppet/functions/assert_type.rb +7 -7
  119. data/lib/puppet/functions/each.rb +1 -3
  120. data/lib/puppet/functions/epp.rb +3 -3
  121. data/lib/puppet/functions/filter.rb +3 -5
  122. data/lib/puppet/functions/hiera.rb +2 -23
  123. data/lib/puppet/functions/hiera_array.rb +3 -25
  124. data/lib/puppet/functions/hiera_hash.rb +2 -26
  125. data/lib/puppet/functions/hiera_include.rb +4 -37
  126. data/lib/puppet/functions/inline_epp.rb +1 -2
  127. data/lib/puppet/functions/lookup.rb +234 -0
  128. data/lib/puppet/functions/map.rb +1 -3
  129. data/lib/puppet/functions/match.rb +5 -5
  130. data/lib/puppet/functions/reduce.rb +1 -3
  131. data/lib/puppet/functions/regsubst.rb +79 -0
  132. data/lib/puppet/functions/scanf.rb +4 -3
  133. data/lib/puppet/functions/slice.rb +1 -3
  134. data/lib/puppet/functions/split.rb +47 -0
  135. data/lib/puppet/functions/with.rb +1 -1
  136. data/lib/puppet/graph/relationship_graph.rb +41 -13
  137. data/lib/puppet/graph/simple_graph.rb +6 -10
  138. data/lib/puppet/indirector/catalog/compiler.rb +0 -2
  139. data/lib/puppet/indirector/catalog/static_compiler.rb +4 -5
  140. data/lib/puppet/indirector/direct_file_server.rb +1 -3
  141. data/lib/puppet/indirector/face.rb +11 -2
  142. data/lib/puppet/indirector/facts/facter.rb +5 -1
  143. data/lib/puppet/indirector/facts/network_device.rb +5 -2
  144. data/lib/puppet/indirector/facts/store_configs.rb +3 -0
  145. data/lib/puppet/indirector/facts/yaml.rb +4 -0
  146. data/lib/puppet/indirector/file_metadata/file.rb +0 -15
  147. data/lib/puppet/indirector/file_server.rb +2 -16
  148. data/lib/puppet/indirector/hiera.rb +39 -1
  149. data/lib/puppet/indirector/indirection.rb +2 -9
  150. data/lib/puppet/indirector/node/ldap.rb +1 -1
  151. data/lib/puppet/indirector/request.rb +21 -81
  152. data/lib/puppet/indirector/resource/ral.rb +1 -2
  153. data/lib/puppet/indirector/resource/store_configs.rb +1 -2
  154. data/lib/puppet/indirector/resource_type/parser.rb +1 -1
  155. data/lib/puppet/indirector/rest.rb +21 -33
  156. data/lib/puppet/interface.rb +0 -7
  157. data/lib/puppet/interface/action_builder.rb +1 -1
  158. data/lib/puppet/interface/action_manager.rb +9 -13
  159. data/lib/puppet/interface/face_collection.rb +2 -2
  160. data/lib/puppet/interface/option_builder.rb +1 -3
  161. data/lib/puppet/metatype/manager.rb +1 -7
  162. data/lib/puppet/module.rb +42 -35
  163. data/lib/puppet/module_tool.rb +5 -7
  164. data/lib/puppet/module_tool/applications/application.rb +3 -10
  165. data/lib/puppet/module_tool/applications/installer.rb +13 -15
  166. data/lib/puppet/module_tool/applications/unpacker.rb +1 -1
  167. data/lib/puppet/module_tool/applications/upgrader.rb +9 -11
  168. data/lib/puppet/module_tool/contents_description.rb +17 -13
  169. data/lib/puppet/module_tool/installed_modules.rb +4 -6
  170. data/lib/puppet/module_tool/metadata.rb +3 -14
  171. data/lib/puppet/module_tool/skeleton/templates/generator/Gemfile +3 -3
  172. data/lib/puppet/module_tool/skeleton/templates/generator/Rakefile +0 -1
  173. data/lib/puppet/module_tool/skeleton/templates/generator/manifests/init.pp.erb +1 -1
  174. data/lib/puppet/module_tool/tar/gnu.rb +1 -1
  175. data/lib/puppet/module_tool/tar/mini.rb +2 -2
  176. data/lib/puppet/network/auth_config_parser.rb +2 -2
  177. data/lib/puppet/network/authconfig.rb +32 -16
  178. data/lib/puppet/network/format_handler.rb +7 -7
  179. data/lib/puppet/network/format_support.rb +4 -0
  180. data/lib/puppet/network/formats.rb +6 -62
  181. data/lib/puppet/network/http.rb +12 -2
  182. data/lib/puppet/network/http/api.rb +42 -0
  183. data/lib/puppet/network/http/api/ca.rb +2 -0
  184. data/lib/puppet/network/http/api/ca/v1.rb +11 -0
  185. data/lib/puppet/network/http/api/{v1.rb → indirected_routes.rb} +57 -29
  186. data/lib/puppet/network/http/api/indirection_type.rb +32 -0
  187. data/lib/puppet/network/http/api/master.rb +2 -0
  188. data/lib/puppet/network/http/api/master/v3.rb +22 -0
  189. data/lib/puppet/network/http/api/master/v3/authorization.rb +18 -0
  190. data/lib/puppet/network/http/api/{v2 → master/v3}/environments.rb +2 -2
  191. data/lib/puppet/network/http/compression.rb +3 -5
  192. data/lib/puppet/network/http/connection.rb +1 -8
  193. data/lib/puppet/network/http/factory.rb +2 -3
  194. data/lib/puppet/network/http/handler.rb +3 -11
  195. data/lib/puppet/network/http/rack/rest.rb +4 -4
  196. data/lib/puppet/network/http/request.rb +4 -4
  197. data/lib/puppet/network/http/webrick.rb +1 -6
  198. data/lib/puppet/network/http/webrick/rest.rb +15 -8
  199. data/lib/puppet/network/resolver.rb +2 -2
  200. data/lib/puppet/network/rights.rb +2 -2
  201. data/lib/puppet/node.rb +2 -29
  202. data/lib/puppet/node/environment.rb +92 -184
  203. data/lib/puppet/node/facts.rb +22 -44
  204. data/lib/puppet/parameter.rb +3 -16
  205. data/lib/puppet/parameter/value.rb +1 -3
  206. data/lib/puppet/parameter/value_collection.rb +12 -11
  207. data/lib/puppet/parser.rb +12 -2
  208. data/lib/puppet/parser/ast.rb +9 -78
  209. data/lib/puppet/parser/ast/block_expression.rb +11 -36
  210. data/lib/puppet/parser/ast/branch.rb +15 -18
  211. data/lib/puppet/parser/ast/hostclass.rb +1 -3
  212. data/lib/puppet/parser/ast/leaf.rb +55 -212
  213. data/lib/puppet/parser/ast/node.rb +3 -11
  214. data/lib/puppet/parser/ast/pops_bridge.rb +2 -7
  215. data/lib/puppet/parser/ast/resource.rb +14 -20
  216. data/lib/puppet/parser/ast/resource_instance.rb +4 -7
  217. data/lib/puppet/parser/ast/resourceparam.rb +21 -22
  218. data/lib/puppet/parser/compiler.rb +41 -70
  219. data/lib/puppet/parser/e4_parser_adapter.rb +2 -23
  220. data/lib/puppet/parser/files.rb +22 -67
  221. data/lib/puppet/parser/functions.rb +1 -3
  222. data/lib/puppet/parser/functions/assert_type.rb +1 -2
  223. data/lib/puppet/parser/functions/contain.rb +5 -3
  224. data/lib/puppet/parser/functions/create_resources.rb +9 -1
  225. data/lib/puppet/parser/functions/defined.rb +33 -61
  226. data/lib/puppet/parser/functions/each.rb +1 -3
  227. data/lib/puppet/parser/functions/epp.rb +1 -2
  228. data/lib/puppet/parser/functions/file.rb +1 -3
  229. data/lib/puppet/parser/functions/filter.rb +1 -3
  230. data/lib/puppet/parser/functions/hiera.rb +4 -6
  231. data/lib/puppet/parser/functions/hiera_array.rb +4 -6
  232. data/lib/puppet/parser/functions/hiera_hash.rb +6 -8
  233. data/lib/puppet/parser/functions/hiera_include.rb +2 -10
  234. data/lib/puppet/parser/functions/include.rb +4 -2
  235. data/lib/puppet/parser/functions/lookup.rb +115 -105
  236. data/lib/puppet/parser/functions/map.rb +1 -3
  237. data/lib/puppet/parser/functions/match.rb +1 -2
  238. data/lib/puppet/parser/functions/realize.rb +1 -6
  239. data/lib/puppet/parser/functions/reduce.rb +1 -3
  240. data/lib/puppet/parser/functions/regsubst.rb +1 -57
  241. data/lib/puppet/parser/functions/require.rb +6 -4
  242. data/lib/puppet/parser/functions/scanf.rb +1 -1
  243. data/lib/puppet/parser/functions/slice.rb +1 -3
  244. data/lib/puppet/parser/functions/split.rb +1 -1
  245. data/lib/puppet/parser/functions/with.rb +1 -2
  246. data/lib/puppet/parser/parser_factory.rb +5 -21
  247. data/lib/puppet/parser/relationship.rb +14 -37
  248. data/lib/puppet/parser/resource.rb +11 -22
  249. data/lib/puppet/parser/scope.rb +45 -135
  250. data/lib/puppet/parser/templatewrapper.rb +1 -29
  251. data/lib/puppet/parser/type_loader.rb +12 -15
  252. data/lib/puppet/plugins.rb +9 -0
  253. data/lib/{puppetx/puppet/bindings_scheme_handler.rb → puppet/plugins/binding_schemes.rb} +14 -4
  254. data/lib/puppet/plugins/configuration.rb +68 -0
  255. data/lib/puppet/plugins/data_providers.rb +90 -0
  256. data/lib/{puppetx/puppet/syntax_checker.rb → puppet/plugins/syntax_checkers.rb} +14 -2
  257. data/lib/puppet/pops.rb +6 -7
  258. data/lib/puppet/pops/adaptable.rb +16 -5
  259. data/lib/puppet/pops/binder/binder.rb +5 -4
  260. data/lib/puppet/pops/binder/bindings_composer.rb +6 -4
  261. data/lib/puppet/pops/binder/bindings_factory.rb +4 -0
  262. data/lib/puppet/pops/binder/bindings_label_provider.rb +1 -1
  263. data/lib/puppet/pops/binder/bindings_loader.rb +3 -8
  264. data/lib/puppet/pops/binder/bindings_model_dumper.rb +36 -8
  265. data/lib/puppet/pops/binder/config/binder_config.rb +2 -2
  266. data/lib/puppet/pops/binder/config/binder_config_checker.rb +1 -1
  267. data/lib/puppet/pops/binder/config/issues.rb +4 -0
  268. data/lib/puppet/pops/binder/injector.rb +0 -1
  269. data/lib/puppet/pops/binder/scheme_handler/symbolic_scheme.rb +1 -1
  270. data/lib/puppet/pops/evaluator/access_operator.rb +18 -50
  271. data/lib/puppet/pops/evaluator/callable_mismatch_describer.rb +5 -5
  272. data/lib/puppet/pops/evaluator/callable_signature.rb +2 -2
  273. data/lib/puppet/pops/evaluator/closure.rb +16 -21
  274. data/lib/puppet/pops/evaluator/collector_transformer.rb +11 -1
  275. data/lib/puppet/pops/evaluator/compare_operator.rb +0 -43
  276. data/lib/puppet/pops/evaluator/epp_evaluator.rb +1 -1
  277. data/lib/puppet/pops/evaluator/evaluator_impl.rb +36 -152
  278. data/lib/puppet/pops/evaluator/external_syntax_support.rb +6 -3
  279. data/lib/puppet/pops/evaluator/relationship_operator.rb +1 -1
  280. data/lib/puppet/pops/evaluator/runtime3_converter.rb +1 -1
  281. data/lib/puppet/pops/evaluator/runtime3_support.rb +9 -57
  282. data/lib/puppet/pops/functions/dispatch.rb +1 -6
  283. data/lib/puppet/pops/issue_reporter.rb +16 -42
  284. data/lib/puppet/pops/issues.rb +13 -128
  285. data/lib/puppet/pops/loader/dependency_loader.rb +3 -3
  286. data/lib/puppet/pops/loader/loader.rb +21 -20
  287. data/lib/puppet/pops/loaders.rb +13 -8
  288. data/lib/puppet/pops/lookup.rb +96 -0
  289. data/lib/puppet/pops/merge_strategy.rb +283 -0
  290. data/lib/puppet/pops/model/ast_transformer.rb +4 -522
  291. data/lib/puppet/pops/model/factory.rb +20 -21
  292. data/lib/puppet/pops/model/model.rb +1 -1
  293. data/lib/puppet/pops/model/model_label_provider.rb +1 -1
  294. data/lib/puppet/pops/model/model_meta.rb +10 -7
  295. data/lib/puppet/pops/model/tree_dumper.rb +1 -1
  296. data/lib/puppet/pops/parser/egrammar.ra +1 -13
  297. data/lib/puppet/pops/parser/eparser.rb +1132 -1272
  298. data/lib/puppet/pops/parser/epp_support.rb +11 -22
  299. data/lib/puppet/pops/parser/evaluating_parser.rb +11 -10
  300. data/lib/puppet/pops/parser/heredoc_support.rb +12 -13
  301. data/lib/puppet/pops/parser/interpolation_support.rb +1 -7
  302. data/lib/puppet/pops/parser/lexer2.rb +33 -36
  303. data/lib/puppet/pops/parser/lexer_support.rb +20 -46
  304. data/lib/puppet/pops/parser/locator.rb +6 -30
  305. data/lib/puppet/pops/parser/parser_support.rb +14 -11
  306. data/lib/puppet/pops/parser/slurp_support.rb +6 -22
  307. data/lib/puppet/pops/patterns.rb +0 -3
  308. data/lib/puppet/pops/types/class_loader.rb +8 -8
  309. data/lib/puppet/pops/types/enumeration.rb +1 -1
  310. data/lib/puppet/pops/types/type_asserter.rb +45 -0
  311. data/lib/puppet/pops/types/type_assertion_error.rb +26 -0
  312. data/lib/puppet/pops/types/type_calculator.rb +110 -212
  313. data/lib/puppet/pops/types/type_factory.rb +15 -74
  314. data/lib/puppet/pops/types/type_parser.rb +15 -24
  315. data/lib/puppet/pops/types/types.rb +25 -35
  316. data/lib/puppet/pops/types/types_meta.rb +2 -13
  317. data/lib/puppet/pops/utils.rb +1 -1
  318. data/lib/puppet/pops/validation.rb +3 -26
  319. data/lib/puppet/pops/validation/checker4_0.rb +6 -56
  320. data/lib/puppet/pops/validation/validator_factory_4_0.rb +1 -3
  321. data/lib/puppet/pops/visitor.rb +10 -7
  322. data/lib/puppet/property.rb +44 -124
  323. data/lib/puppet/provider.rb +0 -52
  324. data/lib/puppet/provider/aixobject.rb +2 -2
  325. data/lib/puppet/provider/augeas/augeas.rb +9 -6
  326. data/lib/puppet/provider/command.rb +1 -1
  327. data/lib/puppet/provider/cron/crontab.rb +37 -0
  328. data/lib/puppet/provider/exec.rb +2 -16
  329. data/lib/puppet/provider/file/posix.rb +1 -1
  330. data/lib/puppet/provider/file/windows.rb +1 -1
  331. data/lib/puppet/provider/group/aix.rb +1 -1
  332. data/lib/puppet/provider/group/pw.rb +0 -1
  333. data/lib/puppet/provider/group/windows_adsi.rb +4 -18
  334. data/lib/puppet/provider/host/parsed.rb +4 -2
  335. data/lib/puppet/provider/macauthorization/macauthorization.rb +0 -12
  336. data/lib/puppet/provider/mailalias/aliases.rb +23 -12
  337. data/lib/puppet/provider/mount/parsed.rb +2 -145
  338. data/lib/puppet/provider/nameservice/directoryservice.rb +57 -131
  339. data/lib/puppet/provider/network_device.rb +3 -0
  340. data/lib/puppet/provider/package/appdmg.rb +5 -2
  341. data/lib/puppet/provider/package/apt.rb +1 -1
  342. data/lib/puppet/provider/package/fink.rb +1 -1
  343. data/lib/puppet/provider/package/openbsd.rb +26 -12
  344. data/lib/puppet/provider/package/opkg.rb +6 -1
  345. data/lib/puppet/provider/package/pacman.rb +159 -127
  346. data/lib/puppet/provider/package/pip.rb +1 -11
  347. data/lib/puppet/provider/package/pkg.rb +73 -29
  348. data/lib/puppet/provider/package/pkgdmg.rb +2 -2
  349. data/lib/puppet/provider/package/pkgin.rb +1 -1
  350. data/lib/puppet/provider/package/portage.rb +5 -1
  351. data/lib/puppet/provider/package/portupgrade.rb +0 -2
  352. data/lib/puppet/provider/package/rpm.rb +109 -0
  353. data/lib/puppet/provider/package/rug.rb +0 -1
  354. data/lib/puppet/provider/package/windows/package.rb +1 -1
  355. data/lib/puppet/provider/package/yum.rb +121 -30
  356. data/lib/puppet/provider/package/zypper.rb +8 -17
  357. data/lib/puppet/provider/scheduled_task/win32_taskscheduler.rb +7 -32
  358. data/lib/puppet/provider/service/base.rb +17 -3
  359. data/lib/puppet/provider/service/bsd.rb +1 -1
  360. data/lib/puppet/provider/service/daemontools.rb +1 -1
  361. data/lib/puppet/provider/service/init.rb +0 -7
  362. data/lib/puppet/provider/service/launchd.rb +11 -89
  363. data/lib/puppet/provider/service/openbsd.rb +56 -298
  364. data/lib/puppet/provider/service/runit.rb +1 -1
  365. data/lib/puppet/provider/service/systemd.rb +1 -0
  366. data/lib/puppet/provider/service/upstart.rb +4 -2
  367. data/lib/puppet/provider/ssh_authorized_key/parsed.rb +1 -1
  368. data/lib/puppet/provider/user/aix.rb +1 -1
  369. data/lib/puppet/provider/user/directoryservice.rb +40 -70
  370. data/lib/puppet/provider/user/hpux.rb +31 -2
  371. data/lib/puppet/provider/user/openbsd.rb +74 -0
  372. data/lib/puppet/provider/user/pw.rb +0 -1
  373. data/lib/puppet/provider/user/user_role_add.rb +1 -3
  374. data/lib/puppet/provider/user/windows_adsi.rb +2 -9
  375. data/lib/puppet/provider/yumrepo/inifile.rb +1 -3
  376. data/lib/puppet/provider/zfs/zfs.rb +3 -2
  377. data/lib/puppet/provider/zone/solaris.rb +3 -3
  378. data/lib/puppet/reference/configuration.rb +4 -3
  379. data/lib/puppet/reference/metaparameter.rb +0 -9
  380. data/lib/puppet/reference/providers.rb +1 -1
  381. data/lib/puppet/reference/type.rb +8 -10
  382. data/lib/puppet/relationship.rb +4 -17
  383. data/lib/puppet/resource.rb +132 -114
  384. data/lib/puppet/resource/catalog.rb +23 -30
  385. data/lib/puppet/resource/status.rb +74 -22
  386. data/lib/puppet/resource/type.rb +12 -52
  387. data/lib/puppet/resource/type_collection.rb +26 -73
  388. data/lib/puppet/settings.rb +94 -153
  389. data/lib/puppet/settings/base_setting.rb +6 -30
  390. data/lib/puppet/settings/config_file.rb +14 -11
  391. data/lib/puppet/settings/duration_setting.rb +1 -1
  392. data/lib/puppet/settings/environment_conf.rb +14 -12
  393. data/lib/puppet/settings/file_setting.rb +9 -10
  394. data/lib/puppet/settings/ttl_setting.rb +1 -3
  395. data/lib/puppet/ssl/certificate.rb +38 -8
  396. data/lib/puppet/ssl/certificate_authority/interface.rb +7 -1
  397. data/lib/puppet/ssl/certificate_factory.rb +3 -3
  398. data/lib/puppet/ssl/certificate_request.rb +36 -8
  399. data/lib/puppet/ssl/configuration.rb +2 -8
  400. data/lib/puppet/ssl/host.rb +1 -8
  401. data/lib/puppet/ssl/inventory.rb +0 -7
  402. data/lib/puppet/ssl/oids.rb +72 -3
  403. data/lib/puppet/ssl/validator/default_validator.rb +0 -1
  404. data/lib/puppet/status.rb +0 -5
  405. data/lib/puppet/syntax_checkers.rb +3 -0
  406. data/lib/{puppetx/puppetlabs → puppet}/syntax_checkers/json.rb +2 -2
  407. data/lib/puppet/test/test_helper.rb +11 -12
  408. data/lib/puppet/transaction.rb +12 -9
  409. data/lib/puppet/transaction/event.rb +4 -5
  410. data/lib/puppet/transaction/event_manager.rb +50 -5
  411. data/lib/puppet/transaction/report.rb +5 -10
  412. data/lib/puppet/transaction/resource_harness.rb +7 -2
  413. data/lib/puppet/type.rb +113 -29
  414. data/lib/puppet/type/augeas.rb +1 -0
  415. data/lib/puppet/type/exec.rb +2 -2
  416. data/lib/puppet/type/file.rb +8 -9
  417. data/lib/puppet/type/file/content.rb +19 -15
  418. data/lib/puppet/type/file/mode.rb +16 -11
  419. data/lib/puppet/type/file/selcontext.rb +1 -1
  420. data/lib/puppet/type/file/source.rb +15 -15
  421. data/lib/puppet/type/filebucket.rb +2 -2
  422. data/lib/puppet/type/group.rb +5 -17
  423. data/lib/puppet/type/host.rb +12 -3
  424. data/lib/puppet/type/k5login.rb +1 -1
  425. data/lib/puppet/type/mailalias.rb +20 -6
  426. data/lib/puppet/type/maillist.rb +1 -1
  427. data/lib/puppet/type/mount.rb +6 -16
  428. data/lib/puppet/type/notify.rb +1 -1
  429. data/lib/puppet/type/package.rb +91 -16
  430. data/lib/puppet/type/resources.rb +0 -7
  431. data/lib/puppet/type/router.rb +1 -1
  432. data/lib/puppet/type/schedule.rb +1 -1
  433. data/lib/puppet/type/scheduled_task.rb +0 -13
  434. data/lib/puppet/type/selboolean.rb +2 -2
  435. data/lib/puppet/type/service.rb +1 -1
  436. data/lib/puppet/type/ssh_authorized_key.rb +1 -1
  437. data/lib/puppet/type/sshkey.rb +1 -1
  438. data/lib/puppet/type/tidy.rb +4 -1
  439. data/lib/puppet/type/user.rb +16 -3
  440. data/lib/puppet/type/yumrepo.rb +26 -0
  441. data/lib/puppet/type/zfs.rb +1 -1
  442. data/lib/puppet/type/zpool.rb +1 -1
  443. data/lib/puppet/util.rb +2 -85
  444. data/lib/puppet/util/autoload.rb +3 -13
  445. data/lib/puppet/util/checksums.rb +59 -22
  446. data/lib/puppet/util/classgen.rb +1 -9
  447. data/lib/puppet/util/colors.rb +0 -117
  448. data/lib/puppet/util/command_line.rb +1 -23
  449. data/lib/puppet/util/errors.rb +2 -4
  450. data/lib/puppet/util/execution.rb +19 -22
  451. data/lib/puppet/util/feature.rb +2 -4
  452. data/lib/puppet/util/fileparsing.rb +3 -2
  453. data/lib/puppet/util/log.rb +13 -56
  454. data/lib/puppet/util/log/destinations.rb +17 -36
  455. data/lib/puppet/util/logging.rb +52 -37
  456. data/lib/puppet/util/metric.rb +0 -149
  457. data/lib/puppet/util/monkey_patches.rb +1 -94
  458. data/lib/puppet/util/network_device/base.rb +1 -5
  459. data/lib/puppet/util/network_device/cisco/interface.rb +2 -2
  460. data/lib/puppet/util/network_device/config.rb +0 -5
  461. data/lib/puppet/util/network_device/transport/ssh.rb +2 -2
  462. data/lib/puppet/util/profiler.rb +1 -1
  463. data/lib/puppet/util/profiler/aggregate.rb +1 -1
  464. data/lib/puppet/util/profiler/around_profiler.rb +1 -1
  465. data/lib/puppet/util/psych_support.rb +38 -0
  466. data/lib/puppet/util/rdoc.rb +6 -42
  467. data/lib/puppet/util/rdoc/code_objects.rb +5 -45
  468. data/lib/puppet/util/rdoc/generators/puppet_generator.rb +1 -1
  469. data/lib/puppet/util/rdoc/parser.rb +5 -15
  470. data/lib/puppet/util/rdoc/parser/puppet_parser_core.rb +8 -227
  471. data/lib/puppet/util/retry_action.rb +46 -0
  472. data/lib/puppet/util/run_mode.rb +31 -7
  473. data/lib/puppet/util/selinux.rb +2 -2
  474. data/lib/puppet/util/ssl.rb +11 -11
  475. data/lib/puppet/util/suidmanager.rb +4 -31
  476. data/lib/puppet/util/tag_set.rb +0 -11
  477. data/lib/puppet/util/tagging.rb +50 -19
  478. data/lib/puppet/util/warnings.rb +1 -0
  479. data/lib/puppet/util/windows/adsi.rb +13 -60
  480. data/lib/puppet/util/windows/api_types.rb +16 -2
  481. data/lib/puppet/util/windows/file.rb +2 -8
  482. data/lib/puppet/util/windows/process.rb +58 -0
  483. data/lib/puppet/util/windows/registry.rb +319 -31
  484. data/lib/puppet/util/windows/security.rb +1 -68
  485. data/lib/puppet/util/windows/taskscheduler.rb +0 -21
  486. data/lib/puppet/util/windows/user.rb +2 -3
  487. data/lib/puppet/vendor/deep_merge/CHANGELOG +45 -0
  488. data/lib/puppet/vendor/deep_merge/Gemfile +3 -0
  489. data/lib/puppet/vendor/deep_merge/LICENSE +21 -0
  490. data/lib/puppet/vendor/deep_merge/README.md +113 -0
  491. data/lib/puppet/vendor/deep_merge/Rakefile +19 -0
  492. data/lib/puppet/vendor/deep_merge/deep_merge.gemspec +35 -0
  493. data/lib/puppet/vendor/deep_merge/lib/deep_merge.rb +2 -0
  494. data/lib/puppet/vendor/deep_merge/lib/deep_merge/core.rb +210 -0
  495. data/lib/puppet/vendor/deep_merge/lib/deep_merge/deep_merge_hash.rb +28 -0
  496. data/lib/puppet/vendor/deep_merge/lib/deep_merge/rails_compat.rb +27 -0
  497. data/lib/puppet/vendor/deep_merge/test/test_deep_merge.rb +608 -0
  498. data/lib/puppet/vendor/load_deep_merge.rb +1 -0
  499. data/lib/puppet/vendor/load_rgen.rb +1 -0
  500. data/lib/puppet/vendor/require_vendored.rb +1 -3
  501. data/lib/puppet/vendor/rgen_patch.rb +132 -0
  502. data/lib/puppet/version.rb +1 -1
  503. data/lib/puppet_x.rb +8 -0
  504. data/lib/semver.rb +0 -1
  505. data/man/man5/puppet.conf.5 +432 -287
  506. data/man/man8/extlookup2hiera.8 +2 -15
  507. data/man/man8/puppet-agent.8 +14 -14
  508. data/man/man8/puppet-apply.8 +29 -30
  509. data/man/man8/puppet-ca.8 +29 -17
  510. data/man/man8/puppet-catalog.8 +5 -34
  511. data/man/man8/puppet-cert.8 +8 -4
  512. data/man/man8/puppet-certificate.8 +15 -29
  513. data/man/man8/puppet-certificate_request.8 +9 -16
  514. data/man/man8/puppet-certificate_revocation_list.8 +5 -31
  515. data/man/man8/puppet-config.8 +52 -11
  516. data/man/man8/puppet-describe.8 +1 -1
  517. data/man/man8/puppet-device.8 +5 -16
  518. data/man/man8/puppet-doc.8 +7 -80
  519. data/man/man8/puppet-epp.8 +349 -0
  520. data/man/man8/puppet-facts.8 +5 -95
  521. data/man/man8/puppet-file.8 +2 -28
  522. data/man/man8/puppet-filebucket.8 +2 -2
  523. data/man/man8/puppet-help.8 +2 -2
  524. data/man/man8/puppet-inspect.8 +1 -1
  525. data/man/man8/puppet-key.8 +6 -3
  526. data/man/man8/puppet-man.8 +2 -2
  527. data/man/man8/puppet-master.8 +11 -7
  528. data/man/man8/puppet-module.8 +75 -49
  529. data/man/man8/puppet-node.8 +8 -56
  530. data/man/man8/puppet-parser.8 +38 -4
  531. data/man/man8/puppet-plugin.8 +2 -2
  532. data/man/man8/puppet-report.8 +8 -70
  533. data/man/man8/puppet-resource.8 +7 -3
  534. data/man/man8/puppet-resource_type.8 +2 -28
  535. data/man/man8/puppet-status.8 +5 -47
  536. data/man/man8/puppet.8 +2 -2
  537. data/spec/fixtures/integration/provider/mailalias/aliases/test1 +3 -0
  538. data/spec/fixtures/integration/provider/sshkey/sample +21 -0
  539. data/spec/fixtures/unit/data_providers/environments/production/environment.conf +2 -0
  540. data/spec/fixtures/unit/data_providers/environments/production/lib/puppet/functions/environment/data.rb +7 -0
  541. data/spec/fixtures/unit/data_providers/environments/production/modules/abc/lib/puppet/bindings/abc/default.rb +9 -0
  542. data/spec/fixtures/unit/data_providers/environments/production/modules/abc/lib/puppet/functions/abc/data.rb +8 -0
  543. data/spec/fixtures/unit/data_providers/environments/production/modules/abc/manifests/init.pp +9 -0
  544. data/spec/fixtures/unit/data_providers/environments/sample/environment.conf +2 -0
  545. data/spec/fixtures/unit/data_providers/environments/sample/manifests/site.pp +6 -0
  546. data/spec/fixtures/unit/data_providers/environments/sample/modules/dataprovider/lib/puppet/bindings/dataprovider/default.rb +54 -0
  547. data/spec/fixtures/unit/data_providers/environments/sample/modules/dataprovider/lib/puppet_x/helindbe/sample_env_data.rb +31 -0
  548. data/spec/fixtures/unit/data_providers/environments/sample/modules/dataprovider/lib/puppet_x/helindbe/sample_module_data.rb +32 -0
  549. data/spec/fixtures/unit/data_providers/environments/sample/modules/dataprovider/manifests/init.pp +5 -0
  550. data/spec/fixtures/unit/functions/lookup/environments/production/environment.conf +2 -0
  551. data/spec/fixtures/unit/functions/lookup/environments/production/lib/puppet/functions/environment/data.rb +11 -0
  552. data/spec/fixtures/unit/functions/lookup/environments/production/modules/abc/lib/puppet/bindings/abc/default.rb +9 -0
  553. data/spec/fixtures/unit/functions/lookup/environments/production/modules/abc/lib/puppet/functions/abc/data.rb +9 -0
  554. data/spec/fixtures/unit/functions/lookup/environments/production/modules/abc/manifests/init.pp +8 -0
  555. data/spec/fixtures/unit/parser/lexer/subclass_name_duplication.pp +0 -0
  556. data/spec/fixtures/unit/pops/binder/bindings_composer/ok/binder_config.yaml +1 -1
  557. data/spec/fixtures/unit/pops/binder/bindings_composer/ok/modules/awesome2/lib/{puppetx → puppet_x}/awesome2/echo_scheme_handler.rb +3 -3
  558. data/spec/fixtures/unit/pops/binder/config/binder_config/nolayer/binder_config.yaml +6 -0
  559. data/spec/fixtures/unit/pops/parser/lexer/subclass_name_duplication.pp +0 -0
  560. data/spec/fixtures/unit/provider/mount/parsed/aix.filesystems +85 -93
  561. data/spec/fixtures/unit/provider/mount/parsed/aix.mount +7 -11
  562. data/spec/fixtures/unit/provider/package/pkg/dummy_implicit_version +3 -0
  563. data/spec/fixtures/unit/provider/package/pkg/dummy_solaris10 +1 -1
  564. data/spec/fixtures/unit/provider/package/pkg/dummy_solaris11.certificate_warning +1 -1
  565. data/spec/fixtures/unit/provider/package/pkg/dummy_solaris11.ifo.installed +1 -1
  566. data/spec/fixtures/unit/provider/package/pkg/dummy_solaris11.ifo.known +1 -1
  567. data/spec/fixtures/unit/provider/package/pkg/dummy_solaris11.installed +1 -1
  568. data/spec/fixtures/unit/provider/package/pkg/dummy_solaris11.known +1 -1
  569. data/spec/fixtures/unit/provider/package/pkg/incomplete +1 -1
  570. data/spec/fixtures/unit/provider/package/pkg/solaris11 +2 -2
  571. data/spec/fixtures/unit/provider/package/pkg/unknown_status +12 -12
  572. data/spec/fixtures/unit/provider/package/yum/yum-check-update-multiline.txt +201 -0
  573. data/spec/fixtures/unit/provider/package/yum/yum-check-update-simple.txt +12 -0
  574. data/spec/fixtures/unit/provider/parsedfile/simple.txt +3 -0
  575. data/spec/fixtures/unit/provider/service/openbsd/rcctl_getall +6 -0
  576. data/spec/fixtures/unit/ssl/certificate/old-style-cert-exts.pem +33 -0
  577. data/spec/fixtures/unit/ssl/certificate_request/old-style-cert-request.pem +28 -0
  578. data/spec/integration/agent/logging_spec.rb +1 -5
  579. data/spec/integration/application/apply_spec.rb +1 -1
  580. data/spec/integration/application/doc_spec.rb +1 -43
  581. data/spec/integration/configurer_spec.rb +5 -5
  582. data/spec/integration/data_binding.rb +4 -0
  583. data/spec/integration/defaults_spec.rb +42 -143
  584. data/spec/integration/directory_environments_spec.rb +3 -3
  585. data/spec/integration/environments/default_manifest_spec.rb +3 -51
  586. data/spec/integration/environments/setting_hooks_spec.rb +1 -1
  587. data/spec/integration/environments/settings_interpolation_spec.rb +50 -105
  588. data/spec/integration/environments/settings_spec.rb +100 -0
  589. data/spec/integration/faces/ca_spec.rb +51 -51
  590. data/spec/integration/faces/documentation_spec.rb +6 -6
  591. data/spec/integration/file_bucket/file_spec.rb +5 -16
  592. data/spec/integration/file_serving/fileset_spec.rb +1 -1
  593. data/spec/integration/file_serving/terminus_helper_spec.rb +1 -1
  594. data/spec/integration/indirector/catalog/compiler_spec.rb +6 -6
  595. data/spec/integration/indirector/direct_file_server_spec.rb +40 -12
  596. data/spec/integration/indirector/facts/facter_spec.rb +1 -1
  597. data/spec/integration/indirector/file_content/file_server_spec.rb +23 -21
  598. data/spec/integration/indirector/file_metadata/file_server_spec.rb +53 -0
  599. data/spec/integration/indirector/node/ldap_spec.rb +0 -0
  600. data/spec/integration/network/authconfig_spec.rb +26 -26
  601. data/spec/integration/network/formats_spec.rb +12 -12
  602. data/spec/integration/network/http/api/indirected_routes_spec.rb +56 -0
  603. data/spec/integration/node/environment_spec.rb +12 -15
  604. data/spec/integration/node/facts_spec.rb +3 -3
  605. data/spec/integration/node_spec.rb +8 -8
  606. data/spec/integration/parser/catalog_spec.rb +1 -32
  607. data/spec/integration/parser/class_spec.rb +0 -4
  608. data/spec/integration/parser/{collector_spec.rb → collection_spec.rb} +3 -27
  609. data/spec/integration/parser/compiler_spec.rb +769 -385
  610. data/spec/integration/parser/conditionals_spec.rb +2 -27
  611. data/spec/integration/parser/functions/require_spec.rb +8 -8
  612. data/spec/integration/parser/node_spec.rb +29 -42
  613. data/spec/integration/parser/resource_expressions_spec.rb +125 -210
  614. data/spec/integration/parser/scope_spec.rb +168 -319
  615. data/spec/integration/parser/undef_param_spec.rb +5 -5
  616. data/spec/integration/provider/cron/crontab_spec.rb +3 -3
  617. data/spec/integration/provider/mailalias/aliases_spec.rb +0 -0
  618. data/spec/integration/provider/mount_spec.rb +33 -28
  619. data/spec/integration/provider/package_spec.rb +3 -14
  620. data/spec/integration/provider/service/init_spec.rb +4 -4
  621. data/spec/integration/provider/service/systemd_spec.rb +3 -3
  622. data/spec/integration/provider/ssh_authorized_key_spec.rb +12 -12
  623. data/spec/integration/provider/sshkey_spec.rb +159 -0
  624. data/spec/integration/reference/providers_spec.rb +1 -1
  625. data/spec/integration/reports_spec.rb +1 -1
  626. data/spec/integration/resource/catalog_spec.rb +3 -3
  627. data/spec/integration/resource/type_collection_spec.rb +10 -25
  628. data/spec/integration/ssl/autosign_spec.rb +1 -1
  629. data/spec/integration/ssl/certificate_authority_spec.rb +8 -8
  630. data/spec/integration/ssl/certificate_request_spec.rb +2 -2
  631. data/spec/integration/ssl/certificate_revocation_list_spec.rb +0 -0
  632. data/spec/integration/ssl/host_spec.rb +7 -7
  633. data/spec/integration/transaction/report_spec.rb +0 -0
  634. data/spec/integration/transaction_spec.rb +86 -50
  635. data/spec/integration/type/exec_spec.rb +5 -5
  636. data/spec/integration/type/file_spec.rb +277 -280
  637. data/spec/integration/type/package_spec.rb +105 -6
  638. data/spec/integration/type/tidy_spec.rb +1 -1
  639. data/spec/integration/type/user_spec.rb +4 -4
  640. data/spec/integration/type_spec.rb +2 -2
  641. data/spec/integration/util/autoload_spec.rb +7 -12
  642. data/spec/integration/util/rdoc/parser_spec.rb +13 -99
  643. data/spec/integration/util/settings_spec.rb +1 -1
  644. data/spec/integration/util/windows/process_spec.rb +6 -6
  645. data/spec/integration/util/windows/security_spec.rb +79 -105
  646. data/spec/integration/util/windows/user_spec.rb +12 -12
  647. data/spec/integration/util_spec.rb +8 -8
  648. data/spec/lib/matchers/containment_matchers.rb +1 -1
  649. data/spec/lib/matchers/include.rb +3 -3
  650. data/spec/lib/matchers/include_in_order.rb +2 -2
  651. data/spec/lib/matchers/json.rb +5 -35
  652. data/spec/lib/matchers/match_tokens2.rb +1 -1
  653. data/spec/lib/matchers/relationship_graph_matchers.rb +1 -1
  654. data/spec/lib/matchers/resource.rb +8 -23
  655. data/spec/lib/puppet/face/1.0.0/huzzah.rb +2 -2
  656. data/spec/lib/puppet/face/basetest.rb +0 -0
  657. data/spec/lib/puppet/face/huzzah.rb +2 -2
  658. data/spec/lib/puppet/face/version_matching.rb +1 -1
  659. data/spec/lib/puppet/indirector_proxy.rb +34 -0
  660. data/spec/lib/puppet/indirector_testing.rb +1 -11
  661. data/spec/lib/puppet_spec/files.rb +1 -1
  662. data/spec/lib/puppet_spec/fixtures.rb +0 -0
  663. data/spec/lib/puppet_spec/handler.rb +53 -0
  664. data/spec/lib/puppet_spec/matchers.rb +12 -5
  665. data/spec/lib/puppet_spec/module_tool/shared_functions.rb +3 -3
  666. data/spec/lib/puppet_spec/modules.rb +11 -0
  667. data/spec/lib/puppet_spec/network.rb +101 -0
  668. data/spec/lib/puppet_spec/pops.rb +2 -2
  669. data/spec/lib/puppet_spec/settings.rb +17 -0
  670. data/spec/lib/puppet_spec/verbose.rb +0 -0
  671. data/spec/shared_behaviours/all_parsedfile_providers.rb +1 -1
  672. data/spec/shared_behaviours/an_indirector_face.rb +2 -2
  673. data/spec/shared_behaviours/documentation_on_faces.rb +46 -46
  674. data/spec/shared_behaviours/file_server_terminus.rb +1 -1
  675. data/spec/shared_behaviours/file_serving.rb +0 -0
  676. data/spec/shared_behaviours/hiera_indirections.rb +10 -10
  677. data/spec/shared_behaviours/iterative_functions.rb +1 -1
  678. data/spec/shared_behaviours/memory_terminus.rb +5 -5
  679. data/spec/shared_behaviours/path_parameters.rb +8 -8
  680. data/spec/shared_behaviours/store_configs_terminus.rb +3 -3
  681. data/spec/shared_behaviours/things_that_declare_options.rb +25 -25
  682. data/spec/shared_contexts/checksum.rb +62 -0
  683. data/spec/shared_contexts/{checksums.rb → digests.rb} +2 -2
  684. data/spec/spec_helper.rb +14 -5
  685. data/spec/unit/agent/disabler_spec.rb +3 -3
  686. data/spec/unit/agent/locker_spec.rb +9 -9
  687. data/spec/unit/agent_spec.rb +18 -18
  688. data/spec/unit/application/agent_spec.rb +25 -92
  689. data/spec/unit/application/apply_spec.rb +16 -16
  690. data/spec/unit/application/cert_spec.rb +15 -15
  691. data/spec/unit/application/certificate_spec.rb +2 -2
  692. data/spec/unit/application/config_spec.rb +1 -1
  693. data/spec/unit/application/describe_spec.rb +6 -6
  694. data/spec/unit/application/device_spec.rb +25 -63
  695. data/spec/unit/application/doc_spec.rb +22 -31
  696. data/spec/unit/application/face_base_spec.rb +88 -59
  697. data/spec/unit/application/facts_spec.rb +2 -11
  698. data/spec/unit/application/filebucket_spec.rb +7 -7
  699. data/spec/unit/application/indirection_base_spec.rb +0 -4
  700. data/spec/unit/application/inspect_spec.rb +21 -21
  701. data/spec/unit/application/master_spec.rb +8 -9
  702. data/spec/unit/application/resource_spec.rb +27 -79
  703. data/spec/unit/application_spec.rb +54 -58
  704. data/spec/unit/configurer/downloader_factory_spec.rb +0 -0
  705. data/spec/unit/configurer/downloader_spec.rb +26 -20
  706. data/spec/unit/configurer/fact_handler_spec.rb +19 -12
  707. data/spec/unit/configurer/plugin_handler_spec.rb +0 -0
  708. data/spec/unit/configurer_spec.rb +44 -44
  709. data/spec/unit/confine/exists_spec.rb +10 -10
  710. data/spec/unit/confine/false_spec.rb +7 -7
  711. data/spec/unit/confine/feature_spec.rb +7 -7
  712. data/spec/unit/confine/true_spec.rb +7 -7
  713. data/spec/unit/confine/variable_spec.rb +13 -13
  714. data/spec/unit/confine_collection_spec.rb +12 -12
  715. data/spec/unit/confine_spec.rb +10 -10
  716. data/spec/unit/confiner_spec.rb +8 -8
  717. data/spec/unit/context/trusted_information_spec.rb +9 -2
  718. data/spec/unit/daemon_spec.rb +10 -21
  719. data/spec/unit/data_binding_spec.rb +1 -1
  720. data/spec/unit/data_providers/function_data_provider_spec.rb +96 -0
  721. data/spec/unit/data_providers/sample_data_provider_spec.rb +52 -0
  722. data/spec/unit/defaults_spec.rb +6 -6
  723. data/spec/unit/environments_spec.rb +4 -6
  724. data/spec/unit/{util → external}/pson_spec.rb +15 -25
  725. data/spec/unit/face/catalog_spec.rb +0 -0
  726. data/spec/unit/face/certificate_spec.rb +19 -19
  727. data/spec/unit/face/config_spec.rb +2 -7
  728. data/spec/unit/face/epp_face_spec.rb +303 -0
  729. data/spec/unit/face/facts_spec.rb +1 -15
  730. data/spec/unit/face/file_spec.rb +3 -5
  731. data/spec/unit/face/help_spec.rb +17 -16
  732. data/spec/unit/face/module/build_spec.rb +2 -2
  733. data/spec/unit/face/module/list_spec.rb +11 -11
  734. data/spec/unit/face/module/search_spec.rb +17 -17
  735. data/spec/unit/face/node_spec.rb +4 -122
  736. data/spec/unit/face/parser_spec.rb +1 -1
  737. data/spec/unit/face/plugin_spec.rb +2 -2
  738. data/spec/unit/face_spec.rb +0 -0
  739. data/spec/unit/file_bucket/dipper_spec.rb +23 -23
  740. data/spec/unit/file_bucket/file_spec.rb +12 -28
  741. data/spec/unit/file_serving/base_spec.rb +26 -26
  742. data/spec/unit/file_serving/configuration/parser_spec.rb +10 -10
  743. data/spec/unit/file_serving/configuration_spec.rb +17 -17
  744. data/spec/unit/file_serving/content_spec.rb +19 -31
  745. data/spec/unit/file_serving/fileset_spec.rb +32 -33
  746. data/spec/unit/file_serving/metadata_spec.rb +115 -71
  747. data/spec/unit/file_serving/mount/file_spec.rb +15 -15
  748. data/spec/unit/file_serving/mount/modules_spec.rb +2 -2
  749. data/spec/unit/file_serving/mount/pluginfacts_spec.rb +5 -5
  750. data/spec/unit/file_serving/mount/plugins_spec.rb +5 -5
  751. data/spec/unit/file_serving/mount_spec.rb +5 -5
  752. data/spec/unit/file_serving/terminus_helper_spec.rb +19 -0
  753. data/spec/unit/file_serving/terminus_selector_spec.rb +6 -6
  754. data/spec/unit/file_system/uniquefile_spec.rb +2 -2
  755. data/spec/unit/file_system_spec.rb +79 -117
  756. data/spec/unit/forge/errors_spec.rb +8 -8
  757. data/spec/unit/forge/module_release_spec.rb +2 -4
  758. data/spec/unit/forge/repository_spec.rb +38 -44
  759. data/spec/unit/forge_spec.rb +1 -1
  760. data/spec/unit/functions/assert_type_spec.rb +1 -1
  761. data/spec/unit/functions/each_spec.rb +19 -23
  762. data/spec/unit/functions/epp_spec.rb +9 -17
  763. data/spec/unit/functions/filter_spec.rb +0 -22
  764. data/spec/unit/functions/hiera_spec.rb +18 -24
  765. data/spec/unit/functions/inline_epp_spec.rb +8 -16
  766. data/spec/unit/functions/lookup_spec.rb +324 -0
  767. data/spec/unit/functions/map_spec.rb +1 -7
  768. data/spec/unit/functions/reduce_spec.rb +0 -11
  769. data/spec/unit/functions/regsubst_spec.rb +94 -0
  770. data/spec/unit/functions/scanf_spec.rb +0 -4
  771. data/spec/unit/functions/slice_spec.rb +0 -12
  772. data/spec/unit/functions/split_spec.rb +46 -0
  773. data/spec/unit/functions/with_spec.rb +4 -13
  774. data/spec/unit/functions4_spec.rb +57 -162
  775. data/spec/unit/graph/rb_tree_map_spec.rb +78 -78
  776. data/spec/unit/graph/relationship_graph_spec.rb +17 -17
  777. data/spec/unit/graph/{simple_graph.rb → simple_graph_spec.rb} +122 -126
  778. data/spec/unit/hiera/scope_spec.rb +13 -12
  779. data/spec/unit/hiera_puppet_spec.rb +12 -12
  780. data/spec/unit/indirector/catalog/compiler_spec.rb +10 -15
  781. data/spec/unit/indirector/catalog/json_spec.rb +2 -2
  782. data/spec/unit/indirector/catalog/msgpack_spec.rb +2 -2
  783. data/spec/unit/indirector/catalog/rest_spec.rb +1 -1
  784. data/spec/unit/indirector/catalog/static_compiler_spec.rb +14 -14
  785. data/spec/unit/indirector/catalog/store_configs_spec.rb +0 -0
  786. data/spec/unit/indirector/catalog/yaml_spec.rb +4 -4
  787. data/spec/unit/indirector/certificate/ca_spec.rb +3 -3
  788. data/spec/unit/indirector/certificate/disabled_ca_spec.rb +0 -0
  789. data/spec/unit/indirector/certificate/file_spec.rb +3 -3
  790. data/spec/unit/indirector/certificate/rest_spec.rb +6 -6
  791. data/spec/unit/indirector/certificate_request/ca_spec.rb +8 -8
  792. data/spec/unit/indirector/certificate_request/disabled_ca_spec.rb +0 -0
  793. data/spec/unit/indirector/certificate_request/file_spec.rb +2 -2
  794. data/spec/unit/indirector/certificate_request/rest_spec.rb +4 -4
  795. data/spec/unit/indirector/certificate_revocation_list/ca_spec.rb +2 -2
  796. data/spec/unit/indirector/certificate_revocation_list/disabled_ca_spec.rb +0 -0
  797. data/spec/unit/indirector/certificate_revocation_list/file_spec.rb +2 -2
  798. data/spec/unit/indirector/certificate_revocation_list/rest_spec.rb +4 -4
  799. data/spec/unit/indirector/certificate_status/file_spec.rb +18 -18
  800. data/spec/unit/indirector/certificate_status/rest_spec.rb +2 -2
  801. data/spec/unit/indirector/code_spec.rb +3 -3
  802. data/spec/unit/indirector/data_binding/hiera_spec.rb +3 -3
  803. data/spec/unit/indirector/data_binding/none_spec.rb +5 -5
  804. data/spec/unit/indirector/direct_file_server_spec.rb +14 -4
  805. data/spec/unit/indirector/envelope_spec.rb +4 -4
  806. data/spec/unit/indirector/exec_spec.rb +4 -4
  807. data/spec/unit/indirector/face_spec.rb +13 -8
  808. data/spec/unit/indirector/facts/facter_spec.rb +10 -20
  809. data/spec/unit/indirector/facts/network_device_spec.rb +10 -20
  810. data/spec/unit/indirector/facts/store_configs_spec.rb +0 -0
  811. data/spec/unit/indirector/facts/yaml_spec.rb +6 -6
  812. data/spec/unit/indirector/file_bucket_file/file_spec.rb +34 -34
  813. data/spec/unit/indirector/file_bucket_file/rest_spec.rb +1 -1
  814. data/spec/unit/indirector/file_content/file_server_spec.rb +2 -2
  815. data/spec/unit/indirector/file_content/file_spec.rb +2 -2
  816. data/spec/unit/indirector/file_content/rest_spec.rb +1 -1
  817. data/spec/unit/indirector/file_metadata/file_server_spec.rb +2 -2
  818. data/spec/unit/indirector/file_metadata/file_spec.rb +13 -5
  819. data/spec/unit/indirector/file_metadata/rest_spec.rb +1 -1
  820. data/spec/unit/indirector/file_server_spec.rb +35 -17
  821. data/spec/unit/indirector/indirection_spec.rb +56 -56
  822. data/spec/unit/indirector/json_spec.rb +15 -16
  823. data/spec/unit/indirector/key/ca_spec.rb +3 -3
  824. data/spec/unit/indirector/key/disabled_ca_spec.rb +0 -0
  825. data/spec/unit/indirector/key/file_spec.rb +5 -5
  826. data/spec/unit/indirector/ldap_spec.rb +13 -13
  827. data/spec/unit/indirector/memory_spec.rb +0 -0
  828. data/spec/unit/indirector/msgpack_spec.rb +15 -15
  829. data/spec/unit/indirector/node/exec_spec.rb +20 -9
  830. data/spec/unit/indirector/node/ldap_spec.rb +48 -48
  831. data/spec/unit/indirector/node/memory_spec.rb +0 -0
  832. data/spec/unit/indirector/node/msgpack_spec.rb +4 -4
  833. data/spec/unit/indirector/node/plain_spec.rb +2 -2
  834. data/spec/unit/indirector/node/rest_spec.rb +0 -0
  835. data/spec/unit/indirector/node/store_configs_spec.rb +0 -0
  836. data/spec/unit/indirector/node/yaml_spec.rb +4 -4
  837. data/spec/unit/indirector/none_spec.rb +2 -2
  838. data/spec/unit/indirector/plain_spec.rb +1 -1
  839. data/spec/unit/indirector/report/msgpack_spec.rb +5 -5
  840. data/spec/unit/indirector/report/processor_spec.rb +4 -4
  841. data/spec/unit/indirector/report/rest_spec.rb +8 -8
  842. data/spec/unit/indirector/report/yaml_spec.rb +5 -5
  843. data/spec/unit/indirector/request_spec.rb +103 -206
  844. data/spec/unit/indirector/resource/ral_spec.rb +8 -10
  845. data/spec/unit/indirector/resource/store_configs_spec.rb +2 -4
  846. data/spec/unit/indirector/resource_type/parser_spec.rb +37 -37
  847. data/spec/unit/indirector/resource_type/rest_spec.rb +2 -2
  848. data/spec/unit/indirector/rest_spec.rb +70 -55
  849. data/spec/unit/indirector/ssl_file_spec.rb +13 -13
  850. data/spec/unit/indirector/status/rest_spec.rb +1 -1
  851. data/spec/unit/indirector/store_configs_spec.rb +0 -0
  852. data/spec/unit/indirector/terminus_spec.rb +17 -17
  853. data/spec/unit/indirector/yaml_spec.rb +12 -12
  854. data/spec/unit/indirector_spec.rb +7 -7
  855. data/spec/unit/interface/action_builder_spec.rb +15 -15
  856. data/spec/unit/interface/action_manager_spec.rb +31 -56
  857. data/spec/unit/interface/action_spec.rb +62 -65
  858. data/spec/unit/interface/documentation_spec.rb +2 -2
  859. data/spec/unit/interface/face_collection_spec.rb +33 -33
  860. data/spec/unit/interface/option_builder_spec.rb +8 -8
  861. data/spec/unit/interface/option_spec.rb +23 -23
  862. data/spec/unit/interface_spec.rb +19 -24
  863. data/spec/unit/man_spec.rb +0 -0
  864. data/spec/unit/module_spec.rb +163 -115
  865. data/spec/unit/module_tool/applications/builder_spec.rb +0 -19
  866. data/spec/unit/module_tool/applications/installer_spec.rb +29 -29
  867. data/spec/unit/module_tool/applications/searcher_spec.rb +4 -4
  868. data/spec/unit/module_tool/applications/uninstaller_spec.rb +15 -15
  869. data/spec/unit/module_tool/applications/unpacker_spec.rb +3 -3
  870. data/spec/unit/module_tool/applications/upgrader_spec.rb +28 -28
  871. data/spec/unit/module_tool/install_directory_spec.rb +3 -3
  872. data/spec/unit/module_tool/metadata_spec.rb +26 -26
  873. data/spec/unit/module_tool/tar/gnu_spec.rb +1 -1
  874. data/spec/unit/module_tool/tar/mini_spec.rb +2 -2
  875. data/spec/unit/module_tool/tar_spec.rb +2 -2
  876. data/spec/unit/module_tool_spec.rb +13 -34
  877. data/spec/unit/network/auth_config_parser_spec.rb +7 -7
  878. data/spec/unit/network/authconfig_spec.rb +9 -9
  879. data/spec/unit/network/authstore_spec.rb +38 -39
  880. data/spec/unit/network/format_handler_spec.rb +14 -14
  881. data/spec/unit/network/format_spec.rb +34 -34
  882. data/spec/unit/network/format_support_spec.rb +10 -10
  883. data/spec/unit/network/formats_spec.rb +50 -136
  884. data/spec/unit/network/http/api/ca/v1_spec.rb +26 -0
  885. data/spec/unit/network/http/api/{v1_spec.rb → indirected_routes_spec.rb} +128 -184
  886. data/spec/unit/network/http/api/{v2 → master/v3}/authorization_spec.rb +23 -21
  887. data/spec/unit/network/http/api/{v2 → master/v3}/environments_spec.rb +5 -5
  888. data/spec/unit/network/http/api/master/v3_spec.rb +39 -0
  889. data/spec/unit/network/http/api_spec.rb +127 -0
  890. data/spec/unit/network/http/compression_spec.rb +20 -26
  891. data/spec/unit/network/http/connection_spec.rb +2 -5
  892. data/spec/unit/network/http/factory_spec.rb +6 -8
  893. data/spec/unit/network/http/handler_spec.rb +31 -84
  894. data/spec/unit/network/http/nocache_pool_spec.rb +0 -0
  895. data/spec/unit/network/http/pool_spec.rb +0 -0
  896. data/spec/unit/network/http/rack/rest_spec.rb +38 -39
  897. data/spec/unit/network/http/rack_spec.rb +1 -1
  898. data/spec/unit/network/http/route_spec.rb +3 -3
  899. data/spec/unit/network/http/session_spec.rb +4 -4
  900. data/spec/unit/network/http/site_spec.rb +1 -1
  901. data/spec/unit/network/http/webrick/rest_spec.rb +36 -55
  902. data/spec/unit/network/http/webrick_spec.rb +16 -27
  903. data/spec/unit/network/http_pool_spec.rb +11 -11
  904. data/spec/unit/network/http_spec.rb +0 -0
  905. data/spec/unit/network/resolver_spec.rb +10 -10
  906. data/spec/unit/network/rights_spec.rb +67 -67
  907. data/spec/unit/network/server_spec.rb +3 -3
  908. data/spec/unit/node/environment_spec.rb +177 -273
  909. data/spec/unit/node/facts_spec.rb +71 -33
  910. data/spec/unit/node_spec.rb +150 -158
  911. data/spec/unit/other/selinux_spec.rb +6 -6
  912. data/spec/unit/parameter/boolean_spec.rb +4 -3
  913. data/spec/unit/parameter/package_options_spec.rb +5 -5
  914. data/spec/unit/parameter/path_spec.rb +1 -1
  915. data/spec/unit/parameter/value_collection_spec.rb +23 -28
  916. data/spec/unit/parameter/value_spec.rb +20 -24
  917. data/spec/unit/parameter_spec.rb +26 -26
  918. data/spec/unit/parser/ast/block_expression_spec.rb +3 -2
  919. data/spec/unit/parser/ast/leaf_spec.rb +5 -378
  920. data/spec/unit/parser/compiler_spec.rb +84 -74
  921. data/spec/unit/parser/files_spec.rb +55 -121
  922. data/spec/unit/parser/functions/contain_spec.rb +8 -11
  923. data/spec/unit/parser/functions/create_resources_spec.rb +29 -29
  924. data/spec/unit/parser/functions/defined_spec.rb +52 -51
  925. data/spec/unit/parser/functions/digest_spec.rb +2 -2
  926. data/spec/unit/parser/functions/fail_spec.rb +1 -1
  927. data/spec/unit/parser/functions/file_spec.rb +7 -13
  928. data/spec/unit/parser/functions/fqdn_rand_spec.rb +5 -5
  929. data/spec/unit/parser/functions/generate_spec.rb +20 -20
  930. data/spec/unit/parser/functions/hiera_array_spec.rb +2 -16
  931. data/spec/unit/parser/functions/hiera_hash_spec.rb +2 -12
  932. data/spec/unit/parser/functions/hiera_include_spec.rb +2 -29
  933. data/spec/unit/parser/functions/hiera_spec.rb +2 -12
  934. data/spec/unit/parser/functions/include_spec.rb +9 -19
  935. data/spec/unit/parser/functions/inline_template_spec.rb +3 -3
  936. data/spec/unit/parser/functions/lookup_spec.rb +3 -140
  937. data/spec/unit/parser/functions/realize_spec.rb +0 -0
  938. data/spec/unit/parser/functions/regsubst_spec.rb +7 -179
  939. data/spec/unit/parser/functions/require_spec.rb +14 -21
  940. data/spec/unit/parser/functions/scanf_spec.rb +0 -0
  941. data/spec/unit/parser/functions/shellquote_spec.rb +20 -20
  942. data/spec/unit/parser/functions/split_spec.rb +2 -37
  943. data/spec/unit/parser/functions/sprintf_spec.rb +7 -11
  944. data/spec/unit/parser/functions/tag_spec.rb +3 -3
  945. data/spec/unit/parser/functions/template_spec.rb +10 -10
  946. data/spec/unit/parser/functions/versioncmp_spec.rb +3 -3
  947. data/spec/unit/parser/functions_spec.rb +8 -8
  948. data/spec/unit/parser/relationship_spec.rb +14 -32
  949. data/spec/unit/parser/resource/param_spec.rb +0 -0
  950. data/spec/unit/parser/resource_spec.rb +57 -57
  951. data/spec/unit/parser/scope_spec.rb +89 -101
  952. data/spec/unit/parser/templatewrapper_spec.rb +15 -32
  953. data/spec/unit/parser/type_loader_spec.rb +53 -73
  954. data/spec/unit/pops/adaptable_spec.rb +22 -22
  955. data/spec/unit/pops/binder/bindings_checker_spec.rb +14 -14
  956. data/spec/unit/pops/binder/bindings_composer_spec.rb +4 -6
  957. data/spec/unit/pops/binder/bindings_validator_factory_spec.rb +3 -3
  958. data/spec/unit/pops/binder/config/binder_config_spec.rb +8 -1
  959. data/spec/unit/pops/binder/injector_spec.rb +92 -92
  960. data/spec/unit/pops/containment_spec.rb +4 -4
  961. data/spec/unit/pops/evaluator/access_ops_spec.rb +5 -24
  962. data/spec/unit/pops/evaluator/arithmetic_ops_spec.rb +23 -23
  963. data/spec/unit/pops/evaluator/basic_expressions_spec.rb +22 -22
  964. data/spec/unit/pops/evaluator/collections_ops_spec.rb +1 -3
  965. data/spec/unit/pops/evaluator/comparison_ops_spec.rb +104 -107
  966. data/spec/unit/pops/evaluator/conditionals_spec.rb +39 -39
  967. data/spec/unit/pops/evaluator/evaluating_parser_spec.rb +75 -143
  968. data/spec/unit/pops/evaluator/evaluator_rspec_helper.rb +1 -5
  969. data/spec/unit/pops/evaluator/logical_ops_spec.rb +15 -15
  970. data/spec/unit/pops/evaluator/string_interpolation_spec.rb +5 -5
  971. data/spec/unit/pops/evaluator/variables_spec.rb +18 -18
  972. data/spec/unit/pops/factory_rspec_helper.rb +0 -8
  973. data/spec/unit/pops/factory_spec.rb +104 -104
  974. data/spec/unit/pops/issues_spec.rb +21 -21
  975. data/spec/unit/pops/label_provider_spec.rb +6 -6
  976. data/spec/unit/pops/loaders/loaders_spec.rb +3 -3
  977. data/spec/unit/pops/model/model_spec.rb +10 -10
  978. data/spec/unit/pops/parser/epp_parser_spec.rb +20 -20
  979. data/spec/unit/pops/parser/evaluating_parser_spec.rb +2 -2
  980. data/spec/unit/pops/parser/lexer2_spec.rb +65 -276
  981. data/spec/unit/pops/parser/parse_basic_expressions_spec.rb +91 -91
  982. data/spec/unit/pops/parser/parse_calls_spec.rb +19 -19
  983. data/spec/unit/pops/parser/parse_conditionals_spec.rb +38 -22
  984. data/spec/unit/pops/parser/parse_containers_spec.rb +47 -47
  985. data/spec/unit/pops/parser/parse_heredoc_spec.rb +15 -62
  986. data/spec/unit/pops/parser/parse_resource_spec.rb +75 -70
  987. data/spec/unit/pops/parser/parser_rspec_helper.rb +0 -5
  988. data/spec/unit/pops/parser/parser_spec.rb +7 -7
  989. data/spec/unit/pops/parser/parsing_typed_parameters_spec.rb +0 -7
  990. data/spec/unit/pops/parser/rgen_sanitycheck_spec.rb +2 -2
  991. data/spec/unit/pops/types/class_loader_spec.rb +10 -0
  992. data/spec/unit/pops/types/type_calculator_spec.rb +456 -651
  993. data/spec/unit/pops/types/type_factory_spec.rb +59 -59
  994. data/spec/unit/pops/types/type_parser_spec.rb +2 -10
  995. data/spec/unit/pops/validator/validator_spec.rb +3 -57
  996. data/spec/unit/pops/visitor_spec.rb +4 -4
  997. data/spec/unit/property/boolean_spec.rb +2 -2
  998. data/spec/unit/property/ensure_spec.rb +1 -1
  999. data/spec/unit/property/keyvalue_spec.rb +16 -16
  1000. data/spec/unit/property/list_spec.rb +18 -18
  1001. data/spec/unit/property/ordered_list_spec.rb +7 -7
  1002. data/spec/unit/property_spec.rb +72 -96
  1003. data/spec/unit/provider/aixobject_spec.rb +12 -12
  1004. data/spec/unit/provider/augeas/augeas_spec.rb +171 -149
  1005. data/spec/unit/provider/cisco_spec.rb +2 -2
  1006. data/spec/unit/provider/command_spec.rb +1 -1
  1007. data/spec/unit/provider/cron/crontab_spec.rb +9 -9
  1008. data/spec/unit/provider/cron/parsed_spec.rb +59 -38
  1009. data/spec/unit/provider/exec/posix_spec.rb +9 -19
  1010. data/spec/unit/provider/exec/shell_spec.rb +13 -13
  1011. data/spec/unit/provider/exec/windows_spec.rb +10 -10
  1012. data/spec/unit/provider/exec_spec.rb +2 -2
  1013. data/spec/unit/provider/file/posix_spec.rb +27 -27
  1014. data/spec/unit/provider/file/windows_spec.rb +15 -15
  1015. data/spec/unit/provider/group/groupadd_spec.rb +1 -1
  1016. data/spec/unit/provider/group/ldap_spec.rb +11 -11
  1017. data/spec/unit/provider/group/pw_spec.rb +3 -3
  1018. data/spec/unit/provider/group/windows_adsi_spec.rb +48 -62
  1019. data/spec/unit/provider/host/parsed_spec.rb +58 -22
  1020. data/spec/unit/provider/interface/cisco_spec.rb +3 -3
  1021. data/spec/unit/provider/ldap_spec.rb +23 -23
  1022. data/spec/unit/provider/macauthorization_spec.rb +6 -6
  1023. data/spec/unit/provider/mcx/mcxcontent_spec.rb +6 -6
  1024. data/spec/unit/provider/mount/parsed_spec.rb +101 -119
  1025. data/spec/unit/provider/mount_spec.rb +0 -0
  1026. data/spec/unit/provider/naginator_spec.rb +8 -8
  1027. data/spec/unit/provider/nameservice/directoryservice_spec.rb +5 -27
  1028. data/spec/unit/provider/nameservice_spec.rb +26 -26
  1029. data/spec/unit/provider/network_device_spec.rb +11 -11
  1030. data/spec/unit/provider/package/aix_spec.rb +3 -3
  1031. data/spec/unit/provider/package/appdmg_spec.rb +1 -1
  1032. data/spec/unit/provider/package/apt_spec.rb +4 -4
  1033. data/spec/unit/provider/package/aptitude_spec.rb +1 -1
  1034. data/spec/unit/provider/package/aptrpm_spec.rb +3 -3
  1035. data/spec/unit/provider/package/dpkg_spec.rb +0 -0
  1036. data/spec/unit/provider/package/freebsd_spec.rb +1 -1
  1037. data/spec/unit/provider/package/gem_spec.rb +12 -12
  1038. data/spec/unit/provider/package/hpux_spec.rb +3 -3
  1039. data/spec/unit/provider/package/macports_spec.rb +15 -15
  1040. data/spec/unit/provider/package/nim_spec.rb +11 -11
  1041. data/spec/unit/provider/package/openbsd_spec.rb +72 -37
  1042. data/spec/unit/provider/package/opkg_spec.rb +14 -11
  1043. data/spec/unit/provider/package/pacman_spec.rb +185 -86
  1044. data/spec/unit/provider/package/pip_spec.rb +25 -54
  1045. data/spec/unit/provider/package/pkg_spec.rb +145 -71
  1046. data/spec/unit/provider/package/pkgdmg_spec.rb +9 -9
  1047. data/spec/unit/provider/package/pkgin_spec.rb +18 -18
  1048. data/spec/unit/provider/package/pkgutil_spec.rb +19 -19
  1049. data/spec/unit/provider/package/portage_spec.rb +8 -4
  1050. data/spec/unit/provider/package/rpm_spec.rb +103 -9
  1051. data/spec/unit/provider/package/sun_spec.rb +14 -14
  1052. data/spec/unit/provider/package/up2date_spec.rb +1 -1
  1053. data/spec/unit/provider/package/{urpmi.rb → urpmi_spec.rb} +3 -3
  1054. data/spec/unit/provider/package/windows/exe_package_spec.rb +15 -13
  1055. data/spec/unit/provider/package/windows/msi_package_spec.rb +16 -16
  1056. data/spec/unit/provider/package/windows/package_spec.rb +14 -14
  1057. data/spec/unit/provider/package/windows_spec.rb +26 -26
  1058. data/spec/unit/provider/package/yum_spec.rb +292 -98
  1059. data/spec/unit/provider/package/zypper_spec.rb +20 -31
  1060. data/spec/unit/provider/parsedfile_spec.rb +9 -9
  1061. data/spec/unit/provider/scheduled_task/win32_taskscheduler_spec.rb +192 -434
  1062. data/spec/unit/provider/selboolean_spec.rb +2 -2
  1063. data/spec/unit/provider/selmodule_spec.rb +8 -8
  1064. data/spec/unit/provider/service/base_spec.rb +27 -38
  1065. data/spec/unit/provider/service/daemontools_spec.rb +11 -11
  1066. data/spec/unit/provider/service/debian_spec.rb +8 -8
  1067. data/spec/unit/provider/service/freebsd_spec.rb +7 -8
  1068. data/spec/unit/provider/service/gentoo_spec.rb +12 -13
  1069. data/spec/unit/provider/service/init_spec.rb +25 -38
  1070. data/spec/unit/provider/service/launchd_spec.rb +19 -125
  1071. data/spec/unit/provider/service/openbsd_spec.rb +90 -144
  1072. data/spec/unit/provider/service/openrc_spec.rb +14 -14
  1073. data/spec/unit/provider/service/openwrt_spec.rb +9 -9
  1074. data/spec/unit/provider/service/redhat_spec.rb +14 -15
  1075. data/spec/unit/provider/service/runit_spec.rb +11 -11
  1076. data/spec/unit/provider/service/smf_spec.rb +19 -19
  1077. data/spec/unit/provider/service/src_spec.rb +9 -9
  1078. data/spec/unit/provider/service/systemd_spec.rb +33 -15
  1079. data/spec/unit/provider/service/upstart_spec.rb +59 -59
  1080. data/spec/unit/provider/service/windows_spec.rb +6 -6
  1081. data/spec/unit/provider/ssh_authorized_key/parsed_spec.rb +18 -18
  1082. data/spec/unit/provider/sshkey/parsed_spec.rb +11 -11
  1083. data/spec/unit/provider/user/aix_spec.rb +19 -19
  1084. data/spec/unit/provider/user/directoryservice_spec.rb +51 -95
  1085. data/spec/unit/provider/user/hpux_spec.rb +24 -3
  1086. data/spec/unit/provider/user/ldap_spec.rb +12 -12
  1087. data/spec/unit/provider/user/openbsd_spec.rb +77 -0
  1088. data/spec/unit/provider/user/pw_spec.rb +5 -5
  1089. data/spec/unit/provider/user/user_role_add_spec.rb +20 -20
  1090. data/spec/unit/provider/user/useradd_spec.rb +48 -32
  1091. data/spec/unit/provider/user/windows_adsi_spec.rb +9 -31
  1092. data/spec/unit/provider/vlan/cisco_spec.rb +3 -3
  1093. data/spec/unit/provider/yumrepo/inifile_spec.rb +3 -3
  1094. data/spec/unit/provider/zfs/zfs_spec.rb +11 -11
  1095. data/spec/unit/provider/zone/solaris_spec.rb +22 -55
  1096. data/spec/unit/provider/zpool/zpool_spec.rb +22 -22
  1097. data/spec/unit/provider_spec.rb +110 -102
  1098. data/spec/unit/puppet_spec.rb +15 -8
  1099. data/spec/unit/relationship_spec.rb +37 -41
  1100. data/spec/unit/reports/http_spec.rb +0 -0
  1101. data/spec/unit/reports/store_spec.rb +3 -3
  1102. data/spec/unit/reports_spec.rb +5 -5
  1103. data/spec/unit/resource/catalog_spec.rb +93 -111
  1104. data/spec/unit/resource/status_spec.rb +49 -75
  1105. data/spec/unit/resource/type_collection_helper_spec.rb +1 -1
  1106. data/spec/unit/resource/type_collection_spec.rb +59 -164
  1107. data/spec/unit/resource/type_spec.rb +115 -120
  1108. data/spec/unit/resource_spec.rb +176 -159
  1109. data/spec/unit/scheduler/job_spec.rb +12 -12
  1110. data/spec/unit/scheduler/scheduler_spec.rb +8 -8
  1111. data/spec/unit/scheduler/splay_job_spec.rb +4 -4
  1112. data/spec/unit/semver_spec.rb +66 -64
  1113. data/spec/unit/settings/autosign_setting_spec.rb +1 -0
  1114. data/spec/unit/settings/config_file_spec.rb +13 -40
  1115. data/spec/unit/settings/directory_setting_spec.rb +1 -1
  1116. data/spec/unit/settings/duration_setting_spec.rb +9 -5
  1117. data/spec/unit/settings/environment_conf_spec.rb +0 -11
  1118. data/spec/unit/settings/file_setting_spec.rb +38 -69
  1119. data/spec/unit/settings/ini_file_spec.rb +2 -2
  1120. data/spec/unit/settings/path_setting_spec.rb +5 -5
  1121. data/spec/unit/settings/priority_setting_spec.rb +7 -7
  1122. data/spec/unit/settings/string_setting_spec.rb +7 -7
  1123. data/spec/unit/settings/terminus_setting_spec.rb +4 -4
  1124. data/spec/unit/settings/value_translator_spec.rb +22 -22
  1125. data/spec/unit/settings_spec.rb +189 -338
  1126. data/spec/unit/ssl/base_spec.rb +5 -5
  1127. data/spec/unit/ssl/certificate_authority/autosign_command_spec.rb +2 -2
  1128. data/spec/unit/ssl/certificate_authority/interface_spec.rb +40 -13
  1129. data/spec/unit/ssl/certificate_authority_spec.rb +23 -23
  1130. data/spec/unit/ssl/certificate_factory_spec.rb +39 -26
  1131. data/spec/unit/ssl/certificate_request_attributes_spec.rb +2 -2
  1132. data/spec/unit/ssl/certificate_request_spec.rb +52 -40
  1133. data/spec/unit/ssl/certificate_revocation_list_spec.rb +10 -10
  1134. data/spec/unit/ssl/certificate_spec.rb +35 -38
  1135. data/spec/unit/ssl/configuration_spec.rb +12 -14
  1136. data/spec/unit/ssl/digest_spec.rb +5 -5
  1137. data/spec/unit/ssl/host_spec.rb +91 -91
  1138. data/spec/unit/ssl/inventory_spec.rb +11 -34
  1139. data/spec/unit/ssl/key_spec.rb +23 -23
  1140. data/spec/unit/ssl/oids_spec.rb +28 -15
  1141. data/spec/unit/ssl/validator_spec.rb +16 -17
  1142. data/spec/unit/status_spec.rb +6 -12
  1143. data/spec/unit/transaction/additional_resource_generator_spec.rb +2 -2
  1144. data/spec/unit/transaction/event_manager_spec.rb +38 -8
  1145. data/spec/unit/transaction/event_spec.rb +29 -29
  1146. data/spec/unit/transaction/report_spec.rb +76 -90
  1147. data/spec/unit/transaction/resource_harness_spec.rb +42 -42
  1148. data/spec/unit/transaction_spec.rb +66 -59
  1149. data/spec/unit/type/augeas_spec.rb +20 -20
  1150. data/spec/unit/type/component_spec.rb +10 -10
  1151. data/spec/unit/type/computer_spec.rb +10 -10
  1152. data/spec/unit/type/cron_spec.rb +21 -21
  1153. data/spec/unit/type/exec_spec.rb +65 -73
  1154. data/spec/unit/type/file/checksum_spec.rb +8 -8
  1155. data/spec/unit/type/file/content_spec.rb +144 -85
  1156. data/spec/unit/type/file/ctime_spec.rb +4 -4
  1157. data/spec/unit/type/file/ensure_spec.rb +11 -11
  1158. data/spec/unit/type/file/group_spec.rb +5 -5
  1159. data/spec/unit/type/file/mode_spec.rb +30 -28
  1160. data/spec/unit/type/file/mtime_spec.rb +4 -4
  1161. data/spec/unit/type/file/owner_spec.rb +5 -5
  1162. data/spec/unit/type/file/selinux_spec.rb +8 -8
  1163. data/spec/unit/type/file/source_spec.rb +118 -135
  1164. data/spec/unit/type/file/type_spec.rb +2 -2
  1165. data/spec/unit/type/file_spec.rb +161 -160
  1166. data/spec/unit/type/filebucket_spec.rb +8 -8
  1167. data/spec/unit/type/group_spec.rb +12 -12
  1168. data/spec/unit/type/host_spec.rb +41 -25
  1169. data/spec/unit/type/interface_spec.rb +6 -6
  1170. data/spec/unit/type/k5login_spec.rb +18 -18
  1171. data/spec/unit/type/macauthorization_spec.rb +17 -17
  1172. data/spec/unit/type/mailalias_spec.rb +34 -6
  1173. data/spec/unit/type/maillist_spec.rb +2 -2
  1174. data/spec/unit/type/mcx_spec.rb +13 -13
  1175. data/spec/unit/type/mount_spec.rb +40 -40
  1176. data/spec/unit/type/nagios_spec.rb +23 -23
  1177. data/spec/unit/type/noop_metaparam_spec.rb +5 -5
  1178. data/spec/unit/type/package/package_settings_spec.rb +9 -9
  1179. data/spec/unit/type/package_spec.rb +87 -18
  1180. data/spec/unit/type/resources_spec.rb +46 -46
  1181. data/spec/unit/type/schedule_spec.rb +83 -83
  1182. data/spec/unit/type/scheduled_task_spec.rb +15 -15
  1183. data/spec/unit/type/selboolean_spec.rb +2 -2
  1184. data/spec/unit/type/selmodule_spec.rb +2 -2
  1185. data/spec/unit/type/service_spec.rb +24 -24
  1186. data/spec/unit/type/ssh_authorized_key_spec.rb +2 -2
  1187. data/spec/unit/type/sshkey_spec.rb +0 -0
  1188. data/spec/unit/type/stage_spec.rb +1 -1
  1189. data/spec/unit/type/tidy_spec.rb +58 -39
  1190. data/spec/unit/type/user_spec.rb +56 -56
  1191. data/spec/unit/type/vlan_spec.rb +6 -6
  1192. data/spec/unit/type/whit_spec.rb +1 -1
  1193. data/spec/unit/type/yumrepo_spec.rb +15 -0
  1194. data/spec/unit/type/zfs_spec.rb +3 -3
  1195. data/spec/unit/type/zone_spec.rb +19 -19
  1196. data/spec/unit/type/zpool_spec.rb +15 -15
  1197. data/spec/unit/type_spec.rb +236 -163
  1198. data/spec/unit/util/autoload_spec.rb +31 -25
  1199. data/spec/unit/util/backups_spec.rb +4 -4
  1200. data/spec/unit/util/checksums_spec.rb +55 -27
  1201. data/spec/unit/util/colors_spec.rb +6 -50
  1202. data/spec/unit/util/command_line_spec.rb +13 -41
  1203. data/spec/unit/util/command_line_utils/puppet_option_parser_spec.rb +2 -2
  1204. data/spec/unit/util/constant_inflector_spec.rb +12 -12
  1205. data/spec/unit/util/diff_spec.rb +4 -4
  1206. data/spec/unit/util/errors_spec.rb +5 -5
  1207. data/spec/unit/util/execution_spec.rb +74 -29
  1208. data/spec/unit/util/execution_stub_spec.rb +10 -10
  1209. data/spec/unit/util/feature_spec.rb +15 -19
  1210. data/spec/unit/util/filetype_spec.rb +9 -9
  1211. data/spec/unit/util/http_proxy_spec.rb +18 -18
  1212. data/spec/unit/util/inifile_spec.rb +2 -2
  1213. data/spec/unit/util/json_lockfile_spec.rb +1 -1
  1214. data/spec/unit/util/ldap/connection_spec.rb +6 -6
  1215. data/spec/unit/util/ldap/generator_spec.rb +8 -8
  1216. data/spec/unit/util/ldap/manager_spec.rb +40 -40
  1217. data/spec/unit/util/lockfile_spec.rb +13 -13
  1218. data/spec/unit/util/log/destinations_spec.rb +52 -49
  1219. data/spec/unit/util/log_spec.rb +48 -173
  1220. data/spec/unit/util/logging_spec.rb +120 -3
  1221. data/spec/unit/util/metric_spec.rb +18 -33
  1222. data/spec/unit/util/monkey_patches_spec.rb +18 -139
  1223. data/spec/unit/util/nagios_maker_spec.rb +2 -2
  1224. data/spec/unit/util/network_device/cisco/device_spec.rb +23 -23
  1225. data/spec/unit/util/network_device/cisco/facts_spec.rb +3 -3
  1226. data/spec/unit/util/network_device/cisco/interface_spec.rb +0 -0
  1227. data/spec/unit/util/network_device/config_spec.rb +10 -16
  1228. data/spec/unit/util/network_device/ipcalc_spec.rb +10 -10
  1229. data/spec/unit/util/network_device/transport/base_spec.rb +2 -2
  1230. data/spec/unit/util/network_device/transport/ssh_spec.rb +10 -10
  1231. data/spec/unit/util/network_device/transport/telnet_spec.rb +3 -3
  1232. data/spec/unit/util/network_device_spec.rb +2 -2
  1233. data/spec/unit/util/package_spec.rb +2 -2
  1234. data/spec/unit/util/pidlock_spec.rb +38 -38
  1235. data/spec/unit/util/posix_spec.rb +25 -25
  1236. data/spec/unit/util/profiler/aggregate_spec.rb +14 -18
  1237. data/spec/unit/util/profiler/around_profiler_spec.rb +6 -6
  1238. data/spec/unit/util/profiler/logging_spec.rb +8 -8
  1239. data/spec/unit/util/profiler/object_counts_spec.rb +3 -5
  1240. data/spec/unit/util/profiler/wall_clock_spec.rb +1 -1
  1241. data/spec/unit/util/profiler_spec.rb +6 -14
  1242. data/spec/unit/util/rdoc_spec.rb +0 -85
  1243. data/spec/unit/util/reference_spec.rb +1 -1
  1244. data/spec/unit/util/resource_template_spec.rb +2 -2
  1245. data/spec/unit/util/{retryaction_spec.rb → retry_action_spec.rb} +25 -2
  1246. data/spec/unit/util/rubygems_spec.rb +8 -8
  1247. data/spec/unit/util/run_mode_spec.rb +159 -17
  1248. data/spec/unit/util/selinux_spec.rb +61 -39
  1249. data/spec/unit/util/ssl_spec.rb +13 -13
  1250. data/spec/unit/util/storage_spec.rb +27 -27
  1251. data/spec/unit/util/suidmanager_spec.rb +56 -67
  1252. data/spec/unit/util/symbolic_file_mode_spec.rb +15 -16
  1253. data/spec/unit/util/tag_set_spec.rb +5 -5
  1254. data/spec/unit/util/tagging_spec.rb +0 -0
  1255. data/spec/unit/util/terminal_spec.rb +5 -5
  1256. data/spec/unit/util/user_attr_spec.rb +6 -6
  1257. data/spec/unit/util/warnings_spec.rb +9 -1
  1258. data/spec/unit/util/watcher_spec.rb +1 -1
  1259. data/spec/unit/util/windows/access_control_entry_spec.rb +9 -9
  1260. data/spec/unit/util/windows/access_control_list_spec.rb +21 -21
  1261. data/spec/unit/util/windows/adsi_spec.rb +71 -209
  1262. data/spec/unit/util/windows/api_types_spec.rb +3 -3
  1263. data/spec/unit/util/windows/registry_spec.rb +71 -46
  1264. data/spec/unit/util/windows/root_certs_spec.rb +1 -1
  1265. data/spec/unit/util/windows/security_descriptor_spec.rb +18 -18
  1266. data/spec/unit/util/windows/sid_spec.rb +40 -20
  1267. data/spec/unit/util/windows/string_spec.rb +4 -4
  1268. data/spec/unit/util/yaml_spec.rb +1 -1
  1269. data/spec/unit/util_spec.rb +73 -124
  1270. data/spec/unit/version_spec.rb +4 -4
  1271. data/spec/watchr.rb +1 -5
  1272. data/tasks/benchmark.rake +1 -6
  1273. data/tasks/ci.rake +1 -1
  1274. data/tasks/manpages.rake +0 -9
  1275. data/tasks/parallel.rake +4 -7
  1276. data/tasks/parser.rake +0 -5
  1277. metadata +179 -465
  1278. data/conf/tagmail.conf +0 -16
  1279. data/ext/debian/puppet.conf +0 -14
  1280. data/ext/debian/puppetmaster-common.puppetqd.default +0 -27
  1281. data/ext/debian/puppetmaster-common.puppetqd.init +0 -84
  1282. data/ext/gentoo/puppet/puppet.conf +0 -25
  1283. data/ext/ips/puppet.conf +0 -29
  1284. data/ext/nagios/naggen +0 -309
  1285. data/ext/puppet-load.rb +0 -393
  1286. data/ext/redhat/puppet.conf +0 -25
  1287. data/ext/redhat/queue.init +0 -105
  1288. data/lib/hiera/backend/puppet_backend.rb +0 -103
  1289. data/lib/puppet/application/instrumentation_data.rb +0 -7
  1290. data/lib/puppet/application/instrumentation_listener.rb +0 -7
  1291. data/lib/puppet/application/instrumentation_probe.rb +0 -7
  1292. data/lib/puppet/application/kick.rb +0 -351
  1293. data/lib/puppet/application/queue.rb +0 -161
  1294. data/lib/puppet/application/secret_agent.rb +0 -9
  1295. data/lib/puppet/dsl.rb +0 -7
  1296. data/lib/puppet/dsl/resource_api.rb +0 -120
  1297. data/lib/puppet/dsl/resource_type_api.rb +0 -34
  1298. data/lib/puppet/face/instrumentation_data.rb +0 -30
  1299. data/lib/puppet/face/instrumentation_listener.rb +0 -98
  1300. data/lib/puppet/face/instrumentation_probe.rb +0 -79
  1301. data/lib/puppet/face/secret_agent.rb +0 -54
  1302. data/lib/puppet/feature/pson.rb +0 -4
  1303. data/lib/puppet/feature/rails.rb +0 -47
  1304. data/lib/puppet/feature/rdoc1.rb +0 -16
  1305. data/lib/puppet/feature/rubygems.rb +0 -7
  1306. data/lib/puppet/feature/stomp.rb +0 -5
  1307. data/lib/puppet/file_collection.rb +0 -19
  1308. data/lib/puppet/file_collection/lookup.rb +0 -10
  1309. data/lib/puppet/file_system/file18.rb +0 -5
  1310. data/lib/puppet/functions/defined.rb +0 -130
  1311. data/lib/puppet/indirector/active_record.rb +0 -29
  1312. data/lib/puppet/indirector/catalog/active_record.rb +0 -39
  1313. data/lib/puppet/indirector/catalog/queue.rb +0 -9
  1314. data/lib/puppet/indirector/couch.rb +0 -78
  1315. data/lib/puppet/indirector/facts/active_record.rb +0 -44
  1316. data/lib/puppet/indirector/facts/couch.rb +0 -36
  1317. data/lib/puppet/indirector/facts/inventory_active_record.rb +0 -110
  1318. data/lib/puppet/indirector/facts/inventory_service.rb +0 -20
  1319. data/lib/puppet/indirector/facts/rest.rb +0 -8
  1320. data/lib/puppet/indirector/instrumentation_data.rb +0 -3
  1321. data/lib/puppet/indirector/instrumentation_data/local.rb +0 -22
  1322. data/lib/puppet/indirector/instrumentation_data/rest.rb +0 -8
  1323. data/lib/puppet/indirector/instrumentation_listener.rb +0 -3
  1324. data/lib/puppet/indirector/instrumentation_listener/local.rb +0 -26
  1325. data/lib/puppet/indirector/instrumentation_listener/rest.rb +0 -8
  1326. data/lib/puppet/indirector/instrumentation_probe.rb +0 -3
  1327. data/lib/puppet/indirector/instrumentation_probe/local.rb +0 -27
  1328. data/lib/puppet/indirector/instrumentation_probe/rest.rb +0 -8
  1329. data/lib/puppet/indirector/node/active_record.rb +0 -22
  1330. data/lib/puppet/indirector/queue.rb +0 -80
  1331. data/lib/puppet/indirector/resource/active_record.rb +0 -104
  1332. data/lib/puppet/indirector/resource/rest.rb +0 -17
  1333. data/lib/puppet/indirector/run/local.rb +0 -15
  1334. data/lib/puppet/indirector/run/rest.rb +0 -12
  1335. data/lib/puppet/module_tool/modulefile.rb +0 -78
  1336. data/lib/puppet/network/authentication.rb +0 -35
  1337. data/lib/puppet/network/http/api/v2.rb +0 -32
  1338. data/lib/puppet/network/http/api/v2/authorization.rb +0 -15
  1339. data/lib/puppet/parser/ast/arithmetic_operator.rb +0 -91
  1340. data/lib/puppet/parser/ast/astarray.rb +0 -50
  1341. data/lib/puppet/parser/ast/asthash.rb +0 -37
  1342. data/lib/puppet/parser/ast/boolean_operator.rb +0 -46
  1343. data/lib/puppet/parser/ast/caseopt.rb +0 -52
  1344. data/lib/puppet/parser/ast/casestatement.rb +0 -41
  1345. data/lib/puppet/parser/ast/collection.rb +0 -53
  1346. data/lib/puppet/parser/ast/collexpr.rb +0 -109
  1347. data/lib/puppet/parser/ast/comparison_operator.rb +0 -38
  1348. data/lib/puppet/parser/ast/definition.rb +0 -17
  1349. data/lib/puppet/parser/ast/else.rb +0 -22
  1350. data/lib/puppet/parser/ast/function.rb +0 -59
  1351. data/lib/puppet/parser/ast/ifstatement.rb +0 -34
  1352. data/lib/puppet/parser/ast/in_operator.rb +0 -24
  1353. data/lib/puppet/parser/ast/lambda.rb +0 -135
  1354. data/lib/puppet/parser/ast/match_operator.rb +0 -28
  1355. data/lib/puppet/parser/ast/method_call.rb +0 -77
  1356. data/lib/puppet/parser/ast/minus.rb +0 -23
  1357. data/lib/puppet/parser/ast/nop.rb +0 -11
  1358. data/lib/puppet/parser/ast/not.rb +0 -19
  1359. data/lib/puppet/parser/ast/relationship.rb +0 -47
  1360. data/lib/puppet/parser/ast/resource_defaults.rb +0 -24
  1361. data/lib/puppet/parser/ast/resource_override.rb +0 -62
  1362. data/lib/puppet/parser/ast/resource_reference.rb +0 -28
  1363. data/lib/puppet/parser/ast/selector.rb +0 -50
  1364. data/lib/puppet/parser/ast/vardef.rb +0 -38
  1365. data/lib/puppet/parser/code_merger.rb +0 -13
  1366. data/lib/puppet/parser/collector.rb +0 -177
  1367. data/lib/puppet/parser/functions/extlookup.rb +0 -153
  1368. data/lib/puppet/parser/functions/search.rb +0 -12
  1369. data/lib/puppet/parser/grammar.ra +0 -806
  1370. data/lib/puppet/parser/lexer.rb +0 -608
  1371. data/lib/puppet/parser/makefile +0 -8
  1372. data/lib/puppet/parser/methods.rb +0 -69
  1373. data/lib/puppet/parser/parser.rb +0 -2559
  1374. data/lib/puppet/parser/parser_support.rb +0 -195
  1375. data/lib/puppet/pops/binder/lookup.rb +0 -216
  1376. data/lib/puppet/pops/migration/migration_checker.rb +0 -45
  1377. data/lib/puppet/pops/model/ast_tree_dumper.rb +0 -386
  1378. data/lib/puppet/provider/package/msi.rb +0 -125
  1379. data/lib/puppet/provider/package/yumhelper.py +0 -159
  1380. data/lib/puppet/rails.rb +0 -139
  1381. data/lib/puppet/rails/benchmark.rb +0 -63
  1382. data/lib/puppet/rails/database/001_add_created_at_to_all_tables.rb +0 -13
  1383. data/lib/puppet/rails/database/002_remove_duplicated_index_on_all_tables.rb +0 -13
  1384. data/lib/puppet/rails/database/003_add_environment_to_host.rb +0 -9
  1385. data/lib/puppet/rails/database/004_add_inventory_service_tables.rb +0 -36
  1386. data/lib/puppet/rails/database/schema.rb +0 -136
  1387. data/lib/puppet/rails/fact_name.rb +0 -7
  1388. data/lib/puppet/rails/fact_value.rb +0 -10
  1389. data/lib/puppet/rails/host.rb +0 -258
  1390. data/lib/puppet/rails/inventory_fact.rb +0 -5
  1391. data/lib/puppet/rails/inventory_node.rb +0 -43
  1392. data/lib/puppet/rails/param_name.rb +0 -25
  1393. data/lib/puppet/rails/param_value.rb +0 -74
  1394. data/lib/puppet/rails/puppet_tag.rb +0 -10
  1395. data/lib/puppet/rails/resource.rb +0 -235
  1396. data/lib/puppet/rails/resource_tag.rb +0 -26
  1397. data/lib/puppet/rails/source_file.rb +0 -8
  1398. data/lib/puppet/reports/rrdgraph.rb +0 -128
  1399. data/lib/puppet/reports/tagmail.rb +0 -179
  1400. data/lib/puppet/run.rb +0 -109
  1401. data/lib/puppet/util/cacher.rb +0 -74
  1402. data/lib/puppet/util/inline_docs.rb +0 -26
  1403. data/lib/puppet/util/instrumentation.rb +0 -152
  1404. data/lib/puppet/util/instrumentation/data.rb +0 -46
  1405. data/lib/puppet/util/instrumentation/indirection_probe.rb +0 -41
  1406. data/lib/puppet/util/instrumentation/instrumentable.rb +0 -136
  1407. data/lib/puppet/util/instrumentation/listener.rb +0 -72
  1408. data/lib/puppet/util/instrumentation/listeners/log.rb +0 -23
  1409. data/lib/puppet/util/instrumentation/listeners/performance.rb +0 -24
  1410. data/lib/puppet/util/log/rate_limited_logger.rb +0 -40
  1411. data/lib/puppet/util/monkey_patches/lines.rb +0 -13
  1412. data/lib/puppet/util/plugins.rb +0 -82
  1413. data/lib/puppet/util/pson.rb +0 -13
  1414. data/lib/puppet/util/queue.rb +0 -96
  1415. data/lib/puppet/util/queue/stomp.rb +0 -60
  1416. data/lib/puppet/util/rails/cache_accumulator.rb +0 -65
  1417. data/lib/puppet/util/rails/collection_merger.rb +0 -17
  1418. data/lib/puppet/util/rails/reference_serializer.rb +0 -32
  1419. data/lib/puppet/util/rdoc/parser/puppet_parser_rdoc1.rb +0 -19
  1420. data/lib/puppet/util/retryaction.rb +0 -47
  1421. data/lib/puppet/util/zaml.rb +0 -419
  1422. data/lib/puppet/vendor/load_safe_yaml.rb +0 -1
  1423. data/lib/puppet/vendor/safe_yaml/CHANGES.md +0 -104
  1424. data/lib/puppet/vendor/safe_yaml/Gemfile +0 -11
  1425. data/lib/puppet/vendor/safe_yaml/LICENSE.txt +0 -22
  1426. data/lib/puppet/vendor/safe_yaml/PUPPET_README.md +0 -6
  1427. data/lib/puppet/vendor/safe_yaml/README.md +0 -179
  1428. data/lib/puppet/vendor/safe_yaml/Rakefile +0 -6
  1429. data/lib/puppet/vendor/safe_yaml/lib/safe_yaml.rb +0 -253
  1430. data/lib/puppet/vendor/safe_yaml/lib/safe_yaml/deep.rb +0 -34
  1431. data/lib/puppet/vendor/safe_yaml/lib/safe_yaml/parse/date.rb +0 -27
  1432. data/lib/puppet/vendor/safe_yaml/lib/safe_yaml/parse/hexadecimal.rb +0 -12
  1433. data/lib/puppet/vendor/safe_yaml/lib/safe_yaml/parse/sexagesimal.rb +0 -26
  1434. data/lib/puppet/vendor/safe_yaml/lib/safe_yaml/psych_handler.rb +0 -92
  1435. data/lib/puppet/vendor/safe_yaml/lib/safe_yaml/psych_resolver.rb +0 -52
  1436. data/lib/puppet/vendor/safe_yaml/lib/safe_yaml/resolver.rb +0 -94
  1437. data/lib/puppet/vendor/safe_yaml/lib/safe_yaml/safe_to_ruby_visitor.rb +0 -17
  1438. data/lib/puppet/vendor/safe_yaml/lib/safe_yaml/syck_hack.rb +0 -36
  1439. data/lib/puppet/vendor/safe_yaml/lib/safe_yaml/syck_node_monkeypatch.rb +0 -43
  1440. data/lib/puppet/vendor/safe_yaml/lib/safe_yaml/syck_resolver.rb +0 -38
  1441. data/lib/puppet/vendor/safe_yaml/lib/safe_yaml/transform.rb +0 -41
  1442. data/lib/puppet/vendor/safe_yaml/lib/safe_yaml/transform/to_boolean.rb +0 -21
  1443. data/lib/puppet/vendor/safe_yaml/lib/safe_yaml/transform/to_date.rb +0 -11
  1444. data/lib/puppet/vendor/safe_yaml/lib/safe_yaml/transform/to_float.rb +0 -33
  1445. data/lib/puppet/vendor/safe_yaml/lib/safe_yaml/transform/to_integer.rb +0 -25
  1446. data/lib/puppet/vendor/safe_yaml/lib/safe_yaml/transform/to_nil.rb +0 -18
  1447. data/lib/puppet/vendor/safe_yaml/lib/safe_yaml/transform/to_symbol.rb +0 -13
  1448. data/lib/puppet/vendor/safe_yaml/lib/safe_yaml/transform/transformation_map.rb +0 -47
  1449. data/lib/puppet/vendor/safe_yaml/lib/safe_yaml/version.rb +0 -3
  1450. data/lib/puppet/vendor/safe_yaml/run_specs_all_ruby_versions.sh +0 -21
  1451. data/lib/puppet/vendor/safe_yaml/safe_yaml.gemspec +0 -18
  1452. data/lib/puppet/vendor/safe_yaml/spec/exploit.1.9.2.yaml +0 -2
  1453. data/lib/puppet/vendor/safe_yaml/spec/exploit.1.9.3.yaml +0 -2
  1454. data/lib/puppet/vendor/safe_yaml/spec/psych_resolver_spec.rb +0 -10
  1455. data/lib/puppet/vendor/safe_yaml/spec/resolver_specs.rb +0 -250
  1456. data/lib/puppet/vendor/safe_yaml/spec/safe_yaml_spec.rb +0 -702
  1457. data/lib/puppet/vendor/safe_yaml/spec/spec_helper.rb +0 -18
  1458. data/lib/puppet/vendor/safe_yaml/spec/support/exploitable_back_door.rb +0 -29
  1459. data/lib/puppet/vendor/safe_yaml/spec/syck_resolver_spec.rb +0 -10
  1460. data/lib/puppet/vendor/safe_yaml/spec/transform/base64_spec.rb +0 -11
  1461. data/lib/puppet/vendor/safe_yaml/spec/transform/to_date_spec.rb +0 -34
  1462. data/lib/puppet/vendor/safe_yaml/spec/transform/to_float_spec.rb +0 -42
  1463. data/lib/puppet/vendor/safe_yaml/spec/transform/to_integer_spec.rb +0 -59
  1464. data/lib/puppet/vendor/safe_yaml/spec/transform/to_symbol_spec.rb +0 -49
  1465. data/lib/puppet/vendor/safe_yaml_patches.rb +0 -9
  1466. data/lib/puppetx.rb +0 -89
  1467. data/man/man8/puppet-instrumentation_data.8 +0 -141
  1468. data/man/man8/puppet-instrumentation_listener.8 +0 -218
  1469. data/man/man8/puppet-instrumentation_probe.8 +0 -203
  1470. data/man/man8/puppet-kick.8 +0 -131
  1471. data/man/man8/puppet-queue.8 +0 -55
  1472. data/man/man8/puppet-secret_agent.8 +0 -70
  1473. data/spec/fixtures/module.tar.gz +0 -0
  1474. data/spec/fixtures/unit/provider/package/pkg/publisher +0 -2
  1475. data/spec/fixtures/unit/provider/package/pkg/simple +0 -2
  1476. data/spec/fixtures/yaml/report0.25.x.yaml +0 -64
  1477. data/spec/integration/indirector/catalog/queue_spec.rb +0 -55
  1478. data/spec/integration/module_tool/tar/mini_spec.rb +0 -28
  1479. data/spec/integration/parser/dynamic_scoping_spec.rb +0 -131
  1480. data/spec/integration/parser/future_compiler_spec.rb +0 -822
  1481. data/spec/integration/parser/parser_spec.rb +0 -207
  1482. data/spec/integration/parser/ruby_manifest_spec.rb +0 -119
  1483. data/spec/integration/type/sshkey_spec.rb +0 -22
  1484. data/spec/integration/util/feature_spec.rb +0 -53
  1485. data/spec/lib/puppet_spec/database.rb +0 -29
  1486. data/spec/monkey_patches/alias_should_to_must.rb +0 -21
  1487. data/spec/shared_contexts/platform.rb +0 -52
  1488. data/spec/unit/application/kick_spec.rb +0 -296
  1489. data/spec/unit/application/queue_spec.rb +0 -168
  1490. data/spec/unit/application/secret_agent_spec.rb +0 -34
  1491. data/spec/unit/dsl/resource_api_spec.rb +0 -180
  1492. data/spec/unit/dsl/resource_type_api_spec.rb +0 -53
  1493. data/spec/unit/face/instrumentation_data_spec.rb +0 -7
  1494. data/spec/unit/face/instrumentation_listener_spec.rb +0 -38
  1495. data/spec/unit/face/instrumentation_probe_spec.rb +0 -21
  1496. data/spec/unit/face/secret_agent_spec.rb +0 -27
  1497. data/spec/unit/functions/defined_spec.rb +0 -291
  1498. data/spec/unit/hiera/backend/puppet_backend_spec.rb +0 -148
  1499. data/spec/unit/indirector/active_record_spec.rb +0 -75
  1500. data/spec/unit/indirector/catalog/active_record_spec.rb +0 -107
  1501. data/spec/unit/indirector/catalog/queue_spec.rb +0 -19
  1502. data/spec/unit/indirector/facts/active_record_spec.rb +0 -113
  1503. data/spec/unit/indirector/facts/couch_spec.rb +0 -102
  1504. data/spec/unit/indirector/facts/inventory_active_record_spec.rb +0 -175
  1505. data/spec/unit/indirector/facts/inventory_service_spec.rb +0 -21
  1506. data/spec/unit/indirector/facts/rest_spec.rb +0 -10
  1507. data/spec/unit/indirector/instrumentation_data/local_spec.rb +0 -52
  1508. data/spec/unit/indirector/instrumentation_data/rest_spec.rb +0 -11
  1509. data/spec/unit/indirector/instrumentation_listener/local_spec.rb +0 -65
  1510. data/spec/unit/indirector/instrumentation_listener/rest_spec.rb +0 -11
  1511. data/spec/unit/indirector/instrumentation_probe/local_spec.rb +0 -65
  1512. data/spec/unit/indirector/instrumentation_probe/rest_spec.rb +0 -11
  1513. data/spec/unit/indirector/node/active_record_spec.rb +0 -48
  1514. data/spec/unit/indirector/queue_spec.rb +0 -115
  1515. data/spec/unit/indirector/resource/active_record_spec.rb +0 -166
  1516. data/spec/unit/indirector/resource/rest_spec.rb +0 -10
  1517. data/spec/unit/indirector/run/local_spec.rb +0 -21
  1518. data/spec/unit/indirector/run/rest_spec.rb +0 -10
  1519. data/spec/unit/network/authentication_spec.rb +0 -104
  1520. data/spec/unit/network/http/api/v2_spec.rb +0 -14
  1521. data/spec/unit/parser/ast/arithmetic_operator_spec.rb +0 -160
  1522. data/spec/unit/parser/ast/astarray_spec.rb +0 -56
  1523. data/spec/unit/parser/ast/asthash_spec.rb +0 -98
  1524. data/spec/unit/parser/ast/boolean_operator_spec.rb +0 -54
  1525. data/spec/unit/parser/ast/casestatement_spec.rb +0 -168
  1526. data/spec/unit/parser/ast/collection_spec.rb +0 -70
  1527. data/spec/unit/parser/ast/collexpr_spec.rb +0 -120
  1528. data/spec/unit/parser/ast/comparison_operator_spec.rb +0 -118
  1529. data/spec/unit/parser/ast/definition_spec.rb +0 -21
  1530. data/spec/unit/parser/ast/function_spec.rb +0 -92
  1531. data/spec/unit/parser/ast/hostclass_spec.rb +0 -72
  1532. data/spec/unit/parser/ast/ifstatement_spec.rb +0 -77
  1533. data/spec/unit/parser/ast/in_operator_spec.rb +0 -61
  1534. data/spec/unit/parser/ast/match_operator_spec.rb +0 -51
  1535. data/spec/unit/parser/ast/minus_spec.rb +0 -37
  1536. data/spec/unit/parser/ast/node_spec.rb +0 -30
  1537. data/spec/unit/parser/ast/nop_spec.rb +0 -19
  1538. data/spec/unit/parser/ast/not_spec.rb +0 -31
  1539. data/spec/unit/parser/ast/relationship_spec.rb +0 -87
  1540. data/spec/unit/parser/ast/resource_defaults_spec.rb +0 -21
  1541. data/spec/unit/parser/ast/resource_override_spec.rb +0 -50
  1542. data/spec/unit/parser/ast/resource_reference_spec.rb +0 -56
  1543. data/spec/unit/parser/ast/resource_spec.rb +0 -183
  1544. data/spec/unit/parser/ast/resourceparam_spec.rb +0 -51
  1545. data/spec/unit/parser/ast/selector_spec.rb +0 -88
  1546. data/spec/unit/parser/ast/vardef_spec.rb +0 -68
  1547. data/spec/unit/parser/ast_spec.rb +0 -76
  1548. data/spec/unit/parser/collector_spec.rb +0 -438
  1549. data/spec/unit/parser/functions/extlookup_spec.rb +0 -102
  1550. data/spec/unit/parser/functions/search_spec.rb +0 -28
  1551. data/spec/unit/parser/lexer_spec.rb +0 -877
  1552. data/spec/unit/parser/parser_spec.rb +0 -535
  1553. data/spec/unit/pops/evaluator/runtime3_converter_spec.rb +0 -19
  1554. data/spec/unit/pops/migration_spec.rb +0 -180
  1555. data/spec/unit/pops/model/ast_transformer_spec.rb +0 -76
  1556. data/spec/unit/pops/transformer/transform_basic_expressions_spec.rb +0 -243
  1557. data/spec/unit/pops/transformer/transform_calls_spec.rb +0 -115
  1558. data/spec/unit/pops/transformer/transform_conditionals_spec.rb +0 -123
  1559. data/spec/unit/pops/transformer/transform_containers_spec.rb +0 -190
  1560. data/spec/unit/pops/transformer/transformer_rspec_helper.rb +0 -27
  1561. data/spec/unit/pops/validation_spec.rb +0 -66
  1562. data/spec/unit/provider/package/msi_spec.rb +0 -229
  1563. data/spec/unit/rails/host_spec.rb +0 -162
  1564. data/spec/unit/rails/param_value_spec.rb +0 -46
  1565. data/spec/unit/rails/resource_spec.rb +0 -115
  1566. data/spec/unit/rails_spec.rb +0 -244
  1567. data/spec/unit/reports/rrdgraph_spec.rb +0 -29
  1568. data/spec/unit/reports/tagmail_spec.rb +0 -218
  1569. data/spec/unit/run_spec.rb +0 -175
  1570. data/spec/unit/util/cache_accumulator_spec.rb +0 -74
  1571. data/spec/unit/util/cacher_spec.rb +0 -107
  1572. data/spec/unit/util/inline_docs_spec.rb +0 -31
  1573. data/spec/unit/util/instrumentation/data_spec.rb +0 -46
  1574. data/spec/unit/util/instrumentation/indirection_probe_spec.rb +0 -21
  1575. data/spec/unit/util/instrumentation/instrumentable_spec.rb +0 -186
  1576. data/spec/unit/util/instrumentation/listener_spec.rb +0 -101
  1577. data/spec/unit/util/instrumentation/listeners/log_spec.rb +0 -34
  1578. data/spec/unit/util/instrumentation/listeners/performance_spec.rb +0 -36
  1579. data/spec/unit/util/instrumentation_spec.rb +0 -181
  1580. data/spec/unit/util/log/rate_limited_logger_spec.rb +0 -51
  1581. data/spec/unit/util/monkey_patches/lines_spec.rb +0 -83
  1582. data/spec/unit/util/queue/stomp_spec.rb +0 -137
  1583. data/spec/unit/util/queue_spec.rb +0 -94
  1584. data/spec/unit/util/rdoc/parser_spec.rb +0 -608
  1585. data/spec/unit/util/reference_serializer_spec.rb +0 -51
  1586. data/spec/unit/util/zaml_spec.rb +0 -308
@@ -17,11 +17,11 @@ describe "Puppet.version Public API" do
17
17
  end
18
18
 
19
19
  it "is Puppet::PUPPETVERSION" do
20
- Puppet.version.should == Puppet::PUPPETVERSION
20
+ expect(Puppet.version).to eq(Puppet::PUPPETVERSION)
21
21
  end
22
22
  it "respects the version= setter" do
23
23
  Puppet.version = '1.2.3'
24
- Puppet.version.should == '1.2.3'
24
+ expect(Puppet.version).to eq('1.2.3')
25
25
  end
26
26
  end
27
27
 
@@ -32,11 +32,11 @@ describe "Puppet.version Public API" do
32
32
  pathname.basename.to_s == "VERSION"
33
33
  end.returns('3.0.1-260-g9ca4e54')
34
34
 
35
- Puppet.version.should == '3.0.1-260-g9ca4e54'
35
+ expect(Puppet.version).to eq('3.0.1-260-g9ca4e54')
36
36
  end
37
37
  it "respects the version= setter" do
38
38
  Puppet.version = '1.2.3'
39
- Puppet.version.should == '1.2.3'
39
+ expect(Puppet.version).to eq('1.2.3')
40
40
  end
41
41
  end
42
42
  end
@@ -14,11 +14,7 @@ def run_comp(cmd)
14
14
  putc c
15
15
  line << c
16
16
  if c == ?\n
17
- results << if RUBY_VERSION >= "1.9" then
18
- line.join
19
- else
20
- line.pack "c*"
21
- end
17
+ results << line.join
22
18
  line.clear
23
19
  end
24
20
  end
@@ -36,14 +36,9 @@ namespace :benchmark do
36
36
 
37
37
  desc "Run the #{name} scenario."
38
38
  task :run, [*run_args] => :generate do |_, args|
39
- format = if RUBY_VERSION =~ /^1\.8/
40
- Benchmark::FMTSTR
41
- else
42
- Benchmark::FORMAT
43
- end
44
39
  report = []
45
40
  details = []
46
- Benchmark.benchmark(Benchmark::CAPTION, 10, format, "> total:", "> avg:") do |b|
41
+ Benchmark.benchmark(Benchmark::CAPTION, 10, Benchmark::FORMAT, "> total:", "> avg:") do |b|
47
42
  times = []
48
43
  ENV['ITERATIONS'].to_i.times do |i|
49
44
  start_time = Time.now.to_i
@@ -4,7 +4,7 @@ require 'time'
4
4
  namespace "ci" do
5
5
  task :spec do
6
6
  ENV["LOG_SPEC_ORDER"] = "true"
7
- sh %{rspec -r yarjuf -f JUnit -o result.xml -fp spec}
7
+ sh %{rspec --require rspec/legacy_formatters -r yarjuf -f JUnit -o result.xml -fp spec}
8
8
  end
9
9
 
10
10
  desc "Tar up the acceptance/ directory so that package test runs have tests to run against."
@@ -15,15 +15,6 @@ task :gen_manpages do
15
15
  helpface = Puppet::Face[:help, '0.0.1']
16
16
  manface = Puppet::Face[:man, '0.0.1']
17
17
 
18
- # TODO: This line is terrible. The reason we need this here is because we
19
- # handle state initialization differently when we run via command line
20
- # (application.rb) than we do when we try to use Faces as library code.
21
- # This is bad, we need to come up with an official stance on what our
22
- # API is and what the entry points, so that we can make sure that
23
- # state initialization is consistent. See:
24
- # http://projects.puppetlabs.com/issues/14441
25
- Puppet::Util::Instrumentation.init()
26
-
27
18
  sbins = Dir.glob(%w{sbin/*})
28
19
  bins = Dir.glob(%w{bin/*})
29
20
  non_face_applications = helpface.legacy_applications
@@ -158,8 +158,6 @@ else
158
158
  # Responsible for parallelizing spec testing.
159
159
  #
160
160
  class Parallelizer
161
- include ::RSpec::Core::Formatters::Helpers
162
-
163
161
  # Number of processes to use
164
162
  attr_reader :process_count
165
163
  # Approximate size of each group of tests
@@ -341,7 +339,7 @@ else
341
339
  end
342
340
 
343
341
  # Print out the run time
344
- puts "\nFinished in #{format_duration(Time.now - @start_time)}"
342
+ puts "\nFinished in #{::RSpec::Core::Formatters::Helpers.format_duration(Time.now - @start_time)}"
345
343
 
346
344
  # Count all of the examples
347
345
  examples = 0
@@ -373,8 +371,8 @@ else
373
371
  end
374
372
 
375
373
  def summary_count_line(examples, failures, pending)
376
- summary = pluralize(examples, "example")
377
- summary << ", " << pluralize(failures, "failure")
374
+ summary = ::RSpec::Core::Formatters::Helpers.pluralize(examples, "example")
375
+ summary << ", " << ::RSpec::Core::Formatters::Helpers.pluralize(failures, "failure")
378
376
  summary << ", #{pending} pending" if pending > 0
379
377
  summary
380
378
  end
@@ -389,7 +387,6 @@ else
389
387
  config.error_stream = $stderr
390
388
  config.output_stream = $stdout
391
389
  options = ::RSpec::Core::ConfigurationOptions.new []
392
- options.parse_options
393
390
  options.configure config
394
391
  config.color
395
392
  end
@@ -399,7 +396,7 @@ else
399
396
  # Default group size in rspec examples
400
397
  DEFAULT_GROUP_SIZE = 1000
401
398
 
402
- process_count = [(args[:process_count] || Facter["processorcount"].value).to_i, 1].max
399
+ process_count = [(args[:process_count] || Facter.value("processorcount")).to_i, 1].max
403
400
  group_size = [(args[:group_size] || DEFAULT_GROUP_SIZE).to_i, 1].max
404
401
 
405
402
  abort unless Parallel::RSpec::Parallelizer.new(process_count, group_size, color_output?).run
@@ -1,8 +1,3 @@
1
- desc "Generate the 3.x 'current' parser"
2
- task :gen_parser do
3
- %x{racc -olib/puppet/parser/parser.rb lib/puppet/parser/grammar.ra}
4
- end
5
-
6
1
  desc "Generate the 4.x 'future' parser"
7
2
  task :gen_eparser do
8
3
  %x{racc -olib/puppet/pops/parser/eparser.rb lib/puppet/pops/parser/egrammar.ra}
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: puppet
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.8.7
5
- prerelease:
4
+ version: 4.0.0.rc1
5
+ prerelease: 6
6
6
  platform: x64-mingw32
7
7
  authors:
8
8
  - Puppet Labs
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-04-25 00:00:00.000000000 Z
12
+ date: 2015-03-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: facter
@@ -18,10 +18,10 @@ dependencies:
18
18
  requirements:
19
19
  - - ! '>'
20
20
  - !ruby/object:Gem::Version
21
- version: '1.6'
21
+ version: '2.0'
22
22
  - - <
23
23
  - !ruby/object:Gem::Version
24
- version: '3'
24
+ version: '4'
25
25
  type: :runtime
26
26
  prerelease: false
27
27
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,26 +29,32 @@ dependencies:
29
29
  requirements:
30
30
  - - ! '>'
31
31
  - !ruby/object:Gem::Version
32
- version: '1.6'
32
+ version: '2.0'
33
33
  - - <
34
34
  - !ruby/object:Gem::Version
35
- version: '3'
35
+ version: '4'
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: hiera
38
38
  requirement: !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
- - - ~>
41
+ - - ! '>'
42
42
  - !ruby/object:Gem::Version
43
43
  version: '1.0'
44
+ - - <
45
+ - !ruby/object:Gem::Version
46
+ version: '3'
44
47
  type: :runtime
45
48
  prerelease: false
46
49
  version_requirements: !ruby/object:Gem::Requirement
47
50
  none: false
48
51
  requirements:
49
- - - ~>
52
+ - - ! '>'
50
53
  - !ruby/object:Gem::Version
51
54
  version: '1.0'
55
+ - - <
56
+ - !ruby/object:Gem::Version
57
+ version: '3'
52
58
  - !ruby/object:Gem::Dependency
53
59
  name: json_pure
54
60
  requirement: !ruby/object:Gem::Requirement
@@ -72,7 +78,7 @@ dependencies:
72
78
  requirements:
73
79
  - - ~>
74
80
  - !ruby/object:Gem::Version
75
- version: 1.9.5
81
+ version: 1.9.6
76
82
  type: :runtime
77
83
  prerelease: false
78
84
  version_requirements: !ruby/object:Gem::Requirement
@@ -80,7 +86,7 @@ dependencies:
80
86
  requirements:
81
87
  - - ~>
82
88
  - !ruby/object:Gem::Version
83
- version: 1.9.5
89
+ version: 1.9.6
84
90
  - !ruby/object:Gem::Dependency
85
91
  name: win32-dir
86
92
  requirement: !ruby/object:Gem::Requirement
@@ -104,7 +110,7 @@ dependencies:
104
110
  requirements:
105
111
  - - ~>
106
112
  - !ruby/object:Gem::Version
107
- version: 0.6.1
113
+ version: 0.6.2
108
114
  type: :runtime
109
115
  prerelease: false
110
116
  version_requirements: !ruby/object:Gem::Requirement
@@ -112,7 +118,7 @@ dependencies:
112
118
  requirements:
113
119
  - - ~>
114
120
  - !ruby/object:Gem::Version
115
- version: 0.6.1
121
+ version: 0.6.2
116
122
  - !ruby/object:Gem::Dependency
117
123
  name: win32-process
118
124
  requirement: !ruby/object:Gem::Requirement
@@ -195,40 +201,21 @@ files:
195
201
  - bin/extlookup2hiera
196
202
  - lib/semver.rb
197
203
  - lib/hiera/scope.rb
198
- - lib/hiera/backend/puppet_backend.rb
199
204
  - lib/hiera/puppet_function.rb
200
205
  - lib/puppet/scheduler/splay_job.rb
201
206
  - lib/puppet/scheduler/job.rb
202
207
  - lib/puppet/scheduler/scheduler.rb
203
208
  - lib/puppet/scheduler/timer.rb
204
- - lib/puppet/rails/host.rb
205
- - lib/puppet/rails/fact_value.rb
206
- - lib/puppet/rails/param_name.rb
207
- - lib/puppet/rails/benchmark.rb
208
- - lib/puppet/rails/resource.rb
209
- - lib/puppet/rails/inventory_fact.rb
210
- - lib/puppet/rails/database/004_add_inventory_service_tables.rb
211
- - lib/puppet/rails/database/schema.rb
212
- - lib/puppet/rails/database/001_add_created_at_to_all_tables.rb
213
- - lib/puppet/rails/database/003_add_environment_to_host.rb
214
- - lib/puppet/rails/database/002_remove_duplicated_index_on_all_tables.rb
215
- - lib/puppet/rails/resource_tag.rb
216
- - lib/puppet/rails/inventory_node.rb
217
- - lib/puppet/rails/source_file.rb
218
- - lib/puppet/rails/puppet_tag.rb
219
- - lib/puppet/rails/param_value.rb
220
- - lib/puppet/rails/fact_name.rb
221
209
  - lib/puppet/file_bucket/dipper.rb
222
210
  - lib/puppet/file_bucket/file.rb
223
211
  - lib/puppet/node/facts.rb
224
212
  - lib/puppet/node/environment.rb
225
213
  - lib/puppet/version.rb
226
- - lib/puppet/file_collection.rb
227
- - lib/puppet/rails.rb
228
214
  - lib/puppet/property.rb
229
215
  - lib/puppet/interface.rb
230
216
  - lib/puppet/file_system.rb
231
217
  - lib/puppet/configurer.rb
218
+ - lib/puppet/plugins.rb
232
219
  - lib/puppet/network/auth_config_parser.rb
233
220
  - lib/puppet/network/format_support.rb
234
221
  - lib/puppet/network/server.rb
@@ -250,10 +237,14 @@ files:
250
237
  - lib/puppet/network/http/rack/rest.rb
251
238
  - lib/puppet/network/http/request.rb
252
239
  - lib/puppet/network/http/response.rb
253
- - lib/puppet/network/http/api/v2/environments.rb
254
- - lib/puppet/network/http/api/v2/authorization.rb
255
- - lib/puppet/network/http/api/v1.rb
256
- - lib/puppet/network/http/api/v2.rb
240
+ - lib/puppet/network/http/api/master/v3/environments.rb
241
+ - lib/puppet/network/http/api/master/v3/authorization.rb
242
+ - lib/puppet/network/http/api/master/v3.rb
243
+ - lib/puppet/network/http/api/indirection_type.rb
244
+ - lib/puppet/network/http/api/indirected_routes.rb
245
+ - lib/puppet/network/http/api/ca.rb
246
+ - lib/puppet/network/http/api/master.rb
247
+ - lib/puppet/network/http/api/ca/v1.rb
257
248
  - lib/puppet/network/http/rack.rb
258
249
  - lib/puppet/network/http/session.rb
259
250
  - lib/puppet/network/http/site.rb
@@ -261,7 +252,6 @@ files:
261
252
  - lib/puppet/network/authconfig.rb
262
253
  - lib/puppet/network/http_pool.rb
263
254
  - lib/puppet/network/client_request.rb
264
- - lib/puppet/network/authentication.rb
265
255
  - lib/puppet/network/rights.rb
266
256
  - lib/puppet/network/rest_controller.rb
267
257
  - lib/puppet/network/authstore.rb
@@ -269,7 +259,6 @@ files:
269
259
  - lib/puppet/network/http.rb
270
260
  - lib/puppet/network/format.rb
271
261
  - lib/puppet/error.rb
272
- - lib/puppet/file_collection/lookup.rb
273
262
  - lib/puppet/parameter/path.rb
274
263
  - lib/puppet/parameter/value.rb
275
264
  - lib/puppet/parameter/package_options.rb
@@ -285,7 +274,6 @@ files:
285
274
  - lib/puppet/indirector/node/rest.rb
286
275
  - lib/puppet/indirector/node/yaml.rb
287
276
  - lib/puppet/indirector/node/plain.rb
288
- - lib/puppet/indirector/node/active_record.rb
289
277
  - lib/puppet/indirector/node/exec.rb
290
278
  - lib/puppet/indirector/node/ldap.rb
291
279
  - lib/puppet/indirector/node/memory.rb
@@ -295,38 +283,26 @@ files:
295
283
  - lib/puppet/indirector/certificate_revocation_list/ca.rb
296
284
  - lib/puppet/indirector/certificate_revocation_list/disabled_ca.rb
297
285
  - lib/puppet/indirector/none.rb
298
- - lib/puppet/indirector/instrumentation_probe/rest.rb
299
- - lib/puppet/indirector/instrumentation_probe/local.rb
300
286
  - lib/puppet/indirector/resource_type.rb
301
287
  - lib/puppet/indirector/key/file.rb
302
288
  - lib/puppet/indirector/key/ca.rb
303
289
  - lib/puppet/indirector/key/memory.rb
304
290
  - lib/puppet/indirector/key/disabled_ca.rb
305
291
  - lib/puppet/indirector/facts/facter.rb
306
- - lib/puppet/indirector/facts/inventory_service.rb
307
- - lib/puppet/indirector/facts/inventory_active_record.rb
308
- - lib/puppet/indirector/facts/rest.rb
309
292
  - lib/puppet/indirector/facts/yaml.rb
310
293
  - lib/puppet/indirector/facts/network_device.rb
311
- - lib/puppet/indirector/facts/active_record.rb
312
- - lib/puppet/indirector/facts/couch.rb
313
294
  - lib/puppet/indirector/facts/memory.rb
314
295
  - lib/puppet/indirector/facts/store_configs.rb
315
296
  - lib/puppet/indirector/msgpack.rb
316
297
  - lib/puppet/indirector/rest.rb
317
- - lib/puppet/indirector/run/rest.rb
318
- - lib/puppet/indirector/run/local.rb
319
298
  - lib/puppet/indirector/certificate/rest.rb
320
299
  - lib/puppet/indirector/certificate/file.rb
321
300
  - lib/puppet/indirector/certificate/ca.rb
322
301
  - lib/puppet/indirector/certificate/disabled_ca.rb
323
302
  - lib/puppet/indirector/yaml.rb
324
303
  - lib/puppet/indirector/errors.rb
325
- - lib/puppet/indirector/instrumentation_listener.rb
326
304
  - lib/puppet/indirector/indirection.rb
327
305
  - lib/puppet/indirector/face.rb
328
- - lib/puppet/indirector/instrumentation_listener/rest.rb
329
- - lib/puppet/indirector/instrumentation_listener/local.rb
330
306
  - lib/puppet/indirector/certificate_status/rest.rb
331
307
  - lib/puppet/indirector/certificate_status/file.rb
332
308
  - lib/puppet/indirector/certificate_request/rest.rb
@@ -344,13 +320,9 @@ files:
344
320
  - lib/puppet/indirector/report/rest.rb
345
321
  - lib/puppet/indirector/report/yaml.rb
346
322
  - lib/puppet/indirector/report/processor.rb
347
- - lib/puppet/indirector/active_record.rb
348
323
  - lib/puppet/indirector/direct_file_server.rb
349
- - lib/puppet/indirector/instrumentation_data.rb
350
324
  - lib/puppet/indirector/hiera.rb
351
- - lib/puppet/indirector/couch.rb
352
325
  - lib/puppet/indirector/file_server.rb
353
- - lib/puppet/indirector/instrumentation_probe.rb
354
326
  - lib/puppet/indirector/status/rest.rb
355
327
  - lib/puppet/indirector/status/local.rb
356
328
  - lib/puppet/indirector/code.rb
@@ -360,8 +332,6 @@ files:
360
332
  - lib/puppet/indirector/catalog/rest.rb
361
333
  - lib/puppet/indirector/catalog/yaml.rb
362
334
  - lib/puppet/indirector/catalog/static_compiler.rb
363
- - lib/puppet/indirector/catalog/active_record.rb
364
- - lib/puppet/indirector/catalog/queue.rb
365
335
  - lib/puppet/indirector/catalog/compiler.rb
366
336
  - lib/puppet/indirector/catalog/store_configs.rb
367
337
  - lib/puppet/indirector/file_bucket_file/rest.rb
@@ -371,10 +341,7 @@ files:
371
341
  - lib/puppet/indirector/file_content.rb
372
342
  - lib/puppet/indirector/resource_type/rest.rb
373
343
  - lib/puppet/indirector/resource_type/parser.rb
374
- - lib/puppet/indirector/queue.rb
375
344
  - lib/puppet/indirector/ssl_file.rb
376
- - lib/puppet/indirector/instrumentation_data/rest.rb
377
- - lib/puppet/indirector/instrumentation_data/local.rb
378
345
  - lib/puppet/indirector/envelope.rb
379
346
  - lib/puppet/indirector/ldap.rb
380
347
  - lib/puppet/indirector/memory.rb
@@ -382,17 +349,12 @@ files:
382
349
  - lib/puppet/indirector/request.rb
383
350
  - lib/puppet/indirector/data_binding/none.rb
384
351
  - lib/puppet/indirector/data_binding/hiera.rb
385
- - lib/puppet/indirector/resource/rest.rb
386
352
  - lib/puppet/indirector/resource/ral.rb
387
353
  - lib/puppet/indirector/resource/validator.rb
388
- - lib/puppet/indirector/resource/active_record.rb
389
354
  - lib/puppet/indirector/resource/store_configs.rb
390
355
  - lib/puppet/indirector/store_configs.rb
391
356
  - lib/puppet/indirector/status.rb
392
357
  - lib/puppet/util/rubygems.rb
393
- - lib/puppet/util/rails/reference_serializer.rb
394
- - lib/puppet/util/rails/cache_accumulator.rb
395
- - lib/puppet/util/rails/collection_merger.rb
396
358
  - lib/puppet/util/autoload.rb
397
359
  - lib/puppet/util/pidlock.rb
398
360
  - lib/puppet/util/filetype.rb
@@ -401,8 +363,6 @@ files:
401
363
  - lib/puppet/util/ldap/connection.rb
402
364
  - lib/puppet/util/ldap/generator.rb
403
365
  - lib/puppet/util/ldap/manager.rb
404
- - lib/puppet/util/plugins.rb
405
- - lib/puppet/util/retryaction.rb
406
366
  - lib/puppet/util/command_line/trollop.rb
407
367
  - lib/puppet/util/command_line/puppet_option_parser.rb
408
368
  - lib/puppet/util/log.rb
@@ -417,30 +377,26 @@ files:
417
377
  - lib/puppet/util/watched_file.rb
418
378
  - lib/puppet/util/windows.rb
419
379
  - lib/puppet/util/metaid.rb
420
- - lib/puppet/util/monkey_patches/lines.rb
421
380
  - lib/puppet/util/ssl.rb
422
381
  - lib/puppet/util/diff.rb
423
382
  - lib/puppet/util/platform.rb
424
383
  - lib/puppet/util/posix.rb
425
384
  - lib/puppet/util/network_device.rb
426
- - lib/puppet/util/queue/stomp.rb
427
385
  - lib/puppet/util/profiler.rb
428
386
  - lib/puppet/util/storage.rb
429
- - lib/puppet/util/inline_docs.rb
430
387
  - lib/puppet/util/rdoc.rb
431
388
  - lib/puppet/util/http_proxy.rb
432
389
  - lib/puppet/util/methodhelper.rb
433
390
  - lib/puppet/util/selinux.rb
434
391
  - lib/puppet/util/execution_stub.rb
392
+ - lib/puppet/util/psych_support.rb
435
393
  - lib/puppet/util/log/destinations.rb
436
394
  - lib/puppet/util/log/destination.rb
437
- - lib/puppet/util/log/rate_limited_logger.rb
438
395
  - lib/puppet/util/execution.rb
439
396
  - lib/puppet/util/classgen.rb
440
397
  - lib/puppet/util/package.rb
441
398
  - lib/puppet/util/json_lockfile.rb
442
399
  - lib/puppet/util/command_line.rb
443
- - lib/puppet/util/instrumentation.rb
444
400
  - lib/puppet/util/network_device/transport.rb
445
401
  - lib/puppet/util/network_device/cisco.rb
446
402
  - lib/puppet/util/network_device/transport/telnet.rb
@@ -458,11 +414,9 @@ files:
458
414
  - lib/puppet/util/rdoc/parser.rb
459
415
  - lib/puppet/util/rdoc/parser/puppet_parser_core.rb
460
416
  - lib/puppet/util/rdoc/parser/puppet_parser_rdoc2.rb
461
- - lib/puppet/util/rdoc/parser/puppet_parser_rdoc1.rb
462
417
  - lib/puppet/util/rdoc/code_objects.rb
463
418
  - lib/puppet/util/rdoc/generators/puppet_generator.rb
464
419
  - lib/puppet/util/rdoc/generators/template/puppet/puppet.rb
465
- - lib/puppet/util/cacher.rb
466
420
  - lib/puppet/util/tagging.rb
467
421
  - lib/puppet/util/profiler/aggregate.rb
468
422
  - lib/puppet/util/profiler/logging.rb
@@ -471,23 +425,16 @@ files:
471
425
  - lib/puppet/util/profiler/object_counts.rb
472
426
  - lib/puppet/util/file_watcher.rb
473
427
  - lib/puppet/util/watcher.rb
474
- - lib/puppet/util/queue.rb
475
428
  - lib/puppet/util/colors.rb
476
429
  - lib/puppet/util/checksums.rb
477
430
  - lib/puppet/util/libuser.rb
431
+ - lib/puppet/util/retry_action.rb
478
432
  - lib/puppet/util/instance_loader.rb
479
433
  - lib/puppet/util/ldap.rb
480
- - lib/puppet/util/zaml.rb
481
434
  - lib/puppet/util/user_attr.rb
482
435
  - lib/puppet/util/provider_features.rb
483
436
  - lib/puppet/util/warnings.rb
484
437
  - lib/puppet/util/docs.rb
485
- - lib/puppet/util/instrumentation/listeners/log.rb
486
- - lib/puppet/util/instrumentation/listeners/performance.rb
487
- - lib/puppet/util/instrumentation/listener.rb
488
- - lib/puppet/util/instrumentation/data.rb
489
- - lib/puppet/util/instrumentation/instrumentable.rb
490
- - lib/puppet/util/instrumentation/indirection_probe.rb
491
438
  - lib/puppet/util/nagios_maker.rb
492
439
  - lib/puppet/util/inifile.rb
493
440
  - lib/puppet/util/constant_inflector.rb
@@ -514,19 +461,18 @@ files:
514
461
  - lib/puppet/util/windows/security_descriptor.rb
515
462
  - lib/puppet/util/symbolic_file_mode.rb
516
463
  - lib/puppet/util/reference.rb
517
- - lib/puppet/util/pson.rb
518
464
  - lib/puppet/util/limits.rb
519
465
  - lib/puppet/environments.rb
520
466
  - lib/puppet/functions.rb
467
+ - lib/puppet/syntax_checkers/json.rb
521
468
  - lib/puppet/settings.rb
522
469
  - lib/puppet/confiner.rb
523
470
  - lib/puppet/application/indirection_base.rb
471
+ - lib/puppet/application/epp.rb
524
472
  - lib/puppet/application/catalog.rb
525
473
  - lib/puppet/application/face_base.rb
526
474
  - lib/puppet/application/resource_type.rb
527
475
  - lib/puppet/application/plugin.rb
528
- - lib/puppet/application/instrumentation_listener.rb
529
- - lib/puppet/application/kick.rb
530
476
  - lib/puppet/application/describe.rb
531
477
  - lib/puppet/application/parser.rb
532
478
  - lib/puppet/application/report.rb
@@ -534,20 +480,16 @@ files:
534
480
  - lib/puppet/application/cert.rb
535
481
  - lib/puppet/application/resource.rb
536
482
  - lib/puppet/application/config.rb
537
- - lib/puppet/application/secret_agent.rb
538
483
  - lib/puppet/application/certificate.rb
539
484
  - lib/puppet/application/certificate_request.rb
540
485
  - lib/puppet/application/man.rb
541
- - lib/puppet/application/instrumentation_data.rb
542
486
  - lib/puppet/application/inspect.rb
543
487
  - lib/puppet/application/facts.rb
544
- - lib/puppet/application/instrumentation_probe.rb
545
488
  - lib/puppet/application/node.rb
546
489
  - lib/puppet/application/device.rb
547
490
  - lib/puppet/application/ca.rb
548
491
  - lib/puppet/application/help.rb
549
492
  - lib/puppet/application/master.rb
550
- - lib/puppet/application/queue.rb
551
493
  - lib/puppet/application/apply.rb
552
494
  - lib/puppet/application/agent.rb
553
495
  - lib/puppet/application/certificate_revocation_list.rb
@@ -635,33 +577,27 @@ files:
635
577
  - lib/puppet/reference/metaparameter.rb
636
578
  - lib/puppet/loaders.rb
637
579
  - lib/puppet/parameter.rb
638
- - lib/puppet/feature/rubygems.rb
639
580
  - lib/puppet/feature/zlib.rb
640
- - lib/puppet/feature/rails.rb
641
581
  - lib/puppet/feature/msgpack.rb
642
582
  - lib/puppet/feature/cfacter.rb
643
583
  - lib/puppet/feature/selinux.rb
644
- - lib/puppet/feature/stomp.rb
645
584
  - lib/puppet/feature/eventlog.rb
646
585
  - lib/puppet/feature/libuser.rb
647
- - lib/puppet/feature/rdoc1.rb
648
586
  - lib/puppet/feature/external_facts.rb
649
587
  - lib/puppet/feature/pe_license.rb
650
588
  - lib/puppet/feature/ssh.rb
651
589
  - lib/puppet/feature/rack.rb
652
590
  - lib/puppet/feature/base.rb
653
- - lib/puppet/feature/pson.rb
654
- - lib/puppet/dsl/resource_type_api.rb
655
- - lib/puppet/dsl/resource_api.rb
656
591
  - lib/puppet/configurer/downloader_factory.rb
657
592
  - lib/puppet/configurer/fact_handler.rb
658
593
  - lib/puppet/configurer/plugin_handler.rb
659
594
  - lib/puppet/configurer/downloader.rb
595
+ - lib/puppet/data_providers.rb
660
596
  - lib/puppet/relationship.rb
597
+ - lib/puppet/application_support.rb
661
598
  - lib/puppet/vendor/load_pathspec.rb
662
- - lib/puppet/vendor/load_safe_yaml.rb
663
599
  - lib/puppet/vendor/load_rgen.rb
664
- - lib/puppet/vendor/safe_yaml_patches.rb
600
+ - lib/puppet/vendor/load_deep_merge.rb
665
601
  - lib/puppet/vendor/rgen/lib/metamodels/uml13_metamodel_ext.rb
666
602
  - lib/puppet/vendor/rgen/lib/metamodels/uml13_metamodel.rb
667
603
  - lib/puppet/vendor/rgen/lib/rgen/util/pattern_matcher.rb
@@ -820,6 +756,18 @@ files:
820
756
  - lib/puppet/vendor/rgen/design_rationale.txt
821
757
  - lib/puppet/vendor/rgen/CHANGELOG
822
758
  - lib/puppet/vendor/require_vendored.rb
759
+ - lib/puppet/vendor/deep_merge/lib/deep_merge.rb
760
+ - lib/puppet/vendor/deep_merge/lib/deep_merge/deep_merge_hash.rb
761
+ - lib/puppet/vendor/deep_merge/lib/deep_merge/core.rb
762
+ - lib/puppet/vendor/deep_merge/lib/deep_merge/rails_compat.rb
763
+ - lib/puppet/vendor/deep_merge/Rakefile
764
+ - lib/puppet/vendor/deep_merge/LICENSE
765
+ - lib/puppet/vendor/deep_merge/Gemfile
766
+ - lib/puppet/vendor/deep_merge/test/test_deep_merge.rb
767
+ - lib/puppet/vendor/deep_merge/deep_merge.gemspec
768
+ - lib/puppet/vendor/deep_merge/README.md
769
+ - lib/puppet/vendor/deep_merge/CHANGELOG
770
+ - lib/puppet/vendor/rgen_patch.rb
823
771
  - lib/puppet/vendor/semantic/lib/semantic.rb
824
772
  - lib/puppet/vendor/semantic/lib/semantic/version.rb
825
773
  - lib/puppet/vendor/semantic/lib/semantic/version_range.rb
@@ -842,48 +790,6 @@ files:
842
790
  - lib/puppet/vendor/semantic/Gemfile
843
791
  - lib/puppet/vendor/semantic/PUPPET_README.md
844
792
  - lib/puppet/vendor/load_semantic.rb
845
- - lib/puppet/vendor/safe_yaml/lib/safe_yaml.rb
846
- - lib/puppet/vendor/safe_yaml/lib/safe_yaml/psych_resolver.rb
847
- - lib/puppet/vendor/safe_yaml/lib/safe_yaml/syck_hack.rb
848
- - lib/puppet/vendor/safe_yaml/lib/safe_yaml/version.rb
849
- - lib/puppet/vendor/safe_yaml/lib/safe_yaml/resolver.rb
850
- - lib/puppet/vendor/safe_yaml/lib/safe_yaml/syck_node_monkeypatch.rb
851
- - lib/puppet/vendor/safe_yaml/lib/safe_yaml/psych_handler.rb
852
- - lib/puppet/vendor/safe_yaml/lib/safe_yaml/transform/to_boolean.rb
853
- - lib/puppet/vendor/safe_yaml/lib/safe_yaml/transform/to_integer.rb
854
- - lib/puppet/vendor/safe_yaml/lib/safe_yaml/transform/to_date.rb
855
- - lib/puppet/vendor/safe_yaml/lib/safe_yaml/transform/to_symbol.rb
856
- - lib/puppet/vendor/safe_yaml/lib/safe_yaml/transform/to_float.rb
857
- - lib/puppet/vendor/safe_yaml/lib/safe_yaml/transform/to_nil.rb
858
- - lib/puppet/vendor/safe_yaml/lib/safe_yaml/transform/transformation_map.rb
859
- - lib/puppet/vendor/safe_yaml/lib/safe_yaml/parse/sexagesimal.rb
860
- - lib/puppet/vendor/safe_yaml/lib/safe_yaml/parse/hexadecimal.rb
861
- - lib/puppet/vendor/safe_yaml/lib/safe_yaml/parse/date.rb
862
- - lib/puppet/vendor/safe_yaml/lib/safe_yaml/syck_resolver.rb
863
- - lib/puppet/vendor/safe_yaml/lib/safe_yaml/safe_to_ruby_visitor.rb
864
- - lib/puppet/vendor/safe_yaml/lib/safe_yaml/deep.rb
865
- - lib/puppet/vendor/safe_yaml/lib/safe_yaml/transform.rb
866
- - lib/puppet/vendor/safe_yaml/run_specs_all_ruby_versions.sh
867
- - lib/puppet/vendor/safe_yaml/safe_yaml.gemspec
868
- - lib/puppet/vendor/safe_yaml/Rakefile
869
- - lib/puppet/vendor/safe_yaml/spec/resolver_specs.rb
870
- - lib/puppet/vendor/safe_yaml/spec/support/exploitable_back_door.rb
871
- - lib/puppet/vendor/safe_yaml/spec/exploit.1.9.2.yaml
872
- - lib/puppet/vendor/safe_yaml/spec/safe_yaml_spec.rb
873
- - lib/puppet/vendor/safe_yaml/spec/transform/to_integer_spec.rb
874
- - lib/puppet/vendor/safe_yaml/spec/transform/to_date_spec.rb
875
- - lib/puppet/vendor/safe_yaml/spec/transform/to_symbol_spec.rb
876
- - lib/puppet/vendor/safe_yaml/spec/transform/base64_spec.rb
877
- - lib/puppet/vendor/safe_yaml/spec/transform/to_float_spec.rb
878
- - lib/puppet/vendor/safe_yaml/spec/spec_helper.rb
879
- - lib/puppet/vendor/safe_yaml/spec/psych_resolver_spec.rb
880
- - lib/puppet/vendor/safe_yaml/spec/exploit.1.9.3.yaml
881
- - lib/puppet/vendor/safe_yaml/spec/syck_resolver_spec.rb
882
- - lib/puppet/vendor/safe_yaml/Gemfile
883
- - lib/puppet/vendor/safe_yaml/CHANGES.md
884
- - lib/puppet/vendor/safe_yaml/LICENSE.txt
885
- - lib/puppet/vendor/safe_yaml/PUPPET_README.md
886
- - lib/puppet/vendor/safe_yaml/README.md
887
793
  - lib/puppet/vendor/pathspec/lib/pathspec.rb
888
794
  - lib/puppet/vendor/pathspec/lib/pathspec/spec.rb
889
795
  - lib/puppet/vendor/pathspec/lib/pathspec/regexspec.rb
@@ -923,63 +829,30 @@ files:
923
829
  - lib/puppet/confine/exists.rb
924
830
  - lib/puppet/confine/any.rb
925
831
  - lib/puppet/confine/true.rb
832
+ - lib/puppet/syntax_checkers.rb
926
833
  - lib/puppet/data_binding.rb
927
834
  - lib/puppet/parser/scope.rb
928
- - lib/puppet/parser/grammar.ra
929
835
  - lib/puppet/parser/functions.rb
930
836
  - lib/puppet/parser/ast.rb
931
- - lib/puppet/parser/parser.rb
932
837
  - lib/puppet/parser/templatewrapper.rb
933
838
  - lib/puppet/parser/yaml_trimmer.rb
934
839
  - lib/puppet/parser/relationship.rb
935
840
  - lib/puppet/parser/resource.rb
936
841
  - lib/puppet/parser/e4_parser_adapter.rb
937
- - lib/puppet/parser/makefile
938
- - lib/puppet/parser/lexer.rb
939
842
  - lib/puppet/parser/parser_factory.rb
940
843
  - lib/puppet/parser/type_loader.rb
941
844
  - lib/puppet/parser/compiler.rb
942
- - lib/puppet/parser/parser_support.rb
943
845
  - lib/puppet/parser/ast/block_expression.rb
944
- - lib/puppet/parser/ast/astarray.rb
945
- - lib/puppet/parser/ast/collexpr.rb
946
- - lib/puppet/parser/ast/resource_defaults.rb
947
- - lib/puppet/parser/ast/lambda.rb
948
846
  - lib/puppet/parser/ast/hostclass.rb
949
- - lib/puppet/parser/ast/comparison_operator.rb
950
- - lib/puppet/parser/ast/in_operator.rb
951
- - lib/puppet/parser/ast/else.rb
952
847
  - lib/puppet/parser/ast/branch.rb
953
- - lib/puppet/parser/ast/casestatement.rb
954
- - lib/puppet/parser/ast/nop.rb
955
- - lib/puppet/parser/ast/function.rb
956
848
  - lib/puppet/parser/ast/leaf.rb
957
- - lib/puppet/parser/ast/asthash.rb
958
- - lib/puppet/parser/ast/relationship.rb
959
- - lib/puppet/parser/ast/caseopt.rb
960
849
  - lib/puppet/parser/ast/resource.rb
961
850
  - lib/puppet/parser/ast/top_level_construct.rb
962
- - lib/puppet/parser/ast/method_call.rb
963
- - lib/puppet/parser/ast/resource_reference.rb
964
- - lib/puppet/parser/ast/definition.rb
965
851
  - lib/puppet/parser/ast/resourceparam.rb
966
852
  - lib/puppet/parser/ast/resource_instance.rb
967
853
  - lib/puppet/parser/ast/node.rb
968
- - lib/puppet/parser/ast/collection.rb
969
- - lib/puppet/parser/ast/match_operator.rb
970
- - lib/puppet/parser/ast/minus.rb
971
- - lib/puppet/parser/ast/vardef.rb
972
- - lib/puppet/parser/ast/arithmetic_operator.rb
973
854
  - lib/puppet/parser/ast/pops_bridge.rb
974
- - lib/puppet/parser/ast/not.rb
975
- - lib/puppet/parser/ast/resource_override.rb
976
- - lib/puppet/parser/ast/selector.rb
977
- - lib/puppet/parser/ast/boolean_operator.rb
978
- - lib/puppet/parser/ast/ifstatement.rb
979
- - lib/puppet/parser/code_merger.rb
980
855
  - lib/puppet/parser/files.rb
981
- - lib/puppet/parser/methods.rb
982
- - lib/puppet/parser/collector.rb
983
856
  - lib/puppet/parser/resource/param.rb
984
857
  - lib/puppet/parser/functions/regsubst.rb
985
858
  - lib/puppet/parser/functions/include.rb
@@ -1008,7 +881,6 @@ files:
1008
881
  - lib/puppet/parser/functions/hiera.rb
1009
882
  - lib/puppet/parser/functions/fqdn_rand.rb
1010
883
  - lib/puppet/parser/functions/versioncmp.rb
1011
- - lib/puppet/parser/functions/search.rb
1012
884
  - lib/puppet/parser/functions/tag.rb
1013
885
  - lib/puppet/parser/functions/hiera_include.rb
1014
886
  - lib/puppet/parser/functions/inline_template.rb
@@ -1017,11 +889,14 @@ files:
1017
889
  - lib/puppet/parser/functions/template.rb
1018
890
  - lib/puppet/parser/functions/assert_type.rb
1019
891
  - lib/puppet/parser/functions/require.rb
1020
- - lib/puppet/parser/functions/extlookup.rb
1021
892
  - lib/puppet/parser/functions/with.rb
1022
893
  - lib/puppet/parser/functions/inline_epp.rb
1023
894
  - lib/puppet/parser/functions/create_resources.rb
1024
895
  - lib/puppet/node.rb
896
+ - lib/puppet/data_providers/data_function_support.rb
897
+ - lib/puppet/data_providers/function_module_data_provider.rb
898
+ - lib/puppet/data_providers/data_adapter.rb
899
+ - lib/puppet/data_providers/function_env_data_provider.rb
1025
900
  - lib/puppet/graph/sequential_prioritizer.rb
1026
901
  - lib/puppet/graph/relationship_graph.rb
1027
902
  - lib/puppet/graph/title_hash_prioritizer.rb
@@ -1050,9 +925,7 @@ files:
1050
925
  - lib/puppet/settings/boolean_setting.rb
1051
926
  - lib/puppet/settings/string_setting.rb
1052
927
  - lib/puppet/context.rb
1053
- - lib/puppet/reports/tagmail.rb
1054
928
  - lib/puppet/reports/log.rb
1055
- - lib/puppet/reports/rrdgraph.rb
1056
929
  - lib/puppet/reports/store.rb
1057
930
  - lib/puppet/reports/http.rb
1058
931
  - lib/puppet/interface/action.rb
@@ -1065,20 +938,21 @@ files:
1065
938
  - lib/puppet/interface/option_manager.rb
1066
939
  - lib/puppet/file_bucket.rb
1067
940
  - lib/puppet/util.rb
1068
- - lib/puppet/dsl.rb
1069
941
  - lib/puppet/confine.rb
1070
942
  - lib/puppet/pops/semantic_error.rb
1071
943
  - lib/puppet/pops/visitor.rb
1072
944
  - lib/puppet/pops/patterns.rb
1073
945
  - lib/puppet/pops/types/type_factory.rb
946
+ - lib/puppet/pops/types/type_assertion_error.rb
1074
947
  - lib/puppet/pops/types/class_loader.rb
1075
948
  - lib/puppet/pops/types/type_calculator.rb
1076
949
  - lib/puppet/pops/types/types.rb
1077
950
  - lib/puppet/pops/types/types_meta.rb
1078
951
  - lib/puppet/pops/types/type_parser.rb
1079
952
  - lib/puppet/pops/types/enumeration.rb
953
+ - lib/puppet/pops/types/type_asserter.rb
1080
954
  - lib/puppet/pops/validation.rb
1081
- - lib/puppet/pops/migration/migration_checker.rb
955
+ - lib/puppet/pops/merge_strategy.rb
1082
956
  - lib/puppet/pops/loaders.rb
1083
957
  - lib/puppet/pops/evaluator/puppet_proc.rb
1084
958
  - lib/puppet/pops/evaluator/access_operator.rb
@@ -1128,6 +1002,7 @@ files:
1128
1002
  - lib/puppet/pops/issue_reporter.rb
1129
1003
  - lib/puppet/pops/utils.rb
1130
1004
  - lib/puppet/pops/containment.rb
1005
+ - lib/puppet/pops/lookup.rb
1131
1006
  - lib/puppet/pops/binder/scheme_handler/module_scheme.rb
1132
1007
  - lib/puppet/pops/binder/scheme_handler/symbolic_scheme.rb
1133
1008
  - lib/puppet/pops/binder/scheme_handler/confdir_scheme.rb
@@ -1147,7 +1022,6 @@ files:
1147
1022
  - lib/puppet/pops/binder/bindings_loader.rb
1148
1023
  - lib/puppet/pops/binder/binder_issues.rb
1149
1024
  - lib/puppet/pops/binder/bindings_validator_factory.rb
1150
- - lib/puppet/pops/binder/lookup.rb
1151
1025
  - lib/puppet/pops/binder/bindings_model.rb
1152
1026
  - lib/puppet/pops/binder/bindings_model_meta.rb
1153
1027
  - lib/puppet/pops/binder/binder.rb
@@ -1160,7 +1034,6 @@ files:
1160
1034
  - lib/puppet/pops/model/model.rb
1161
1035
  - lib/puppet/pops/model/tree_dumper.rb
1162
1036
  - lib/puppet/pops/model/ast_transformer.rb
1163
- - lib/puppet/pops/model/ast_tree_dumper.rb
1164
1037
  - lib/puppet/pops/model/model_meta.rb
1165
1038
  - lib/puppet/pops/adaptable.rb
1166
1039
  - lib/puppet/pops/functions/dispatch.rb
@@ -1170,6 +1043,10 @@ files:
1170
1043
  - lib/puppet/indirector.rb
1171
1044
  - lib/puppet/context/trusted_information.rb
1172
1045
  - lib/puppet/network.rb
1046
+ - lib/puppet/plugins/configuration.rb
1047
+ - lib/puppet/plugins/binding_schemes.rb
1048
+ - lib/puppet/plugins/data_providers.rb
1049
+ - lib/puppet/plugins/syntax_checkers.rb
1173
1050
  - lib/puppet/module_tool/errors/uninstaller.rb
1174
1051
  - lib/puppet/module_tool/errors/installer.rb
1175
1052
  - lib/puppet/module_tool/errors/upgrader.rb
@@ -1192,7 +1069,6 @@ files:
1192
1069
  - lib/puppet/module_tool/tar/mini.rb
1193
1070
  - lib/puppet/module_tool/tar/gnu.rb
1194
1071
  - lib/puppet/module_tool/applications.rb
1195
- - lib/puppet/module_tool/modulefile.rb
1196
1072
  - lib/puppet/module_tool/applications/uninstaller.rb
1197
1073
  - lib/puppet/module_tool/applications/checksummer.rb
1198
1074
  - lib/puppet/module_tool/applications/installer.rb
@@ -1206,14 +1082,12 @@ files:
1206
1082
  - lib/puppet/module_tool/dependency.rb
1207
1083
  - lib/puppet/module_tool/metadata.rb
1208
1084
  - lib/puppet/file_system/path_pattern.rb
1209
- - lib/puppet/file_system/file19windows.rb
1210
1085
  - lib/puppet/file_system/file_impl.rb
1086
+ - lib/puppet/file_system/windows.rb
1211
1087
  - lib/puppet/file_system/uniquefile.rb
1088
+ - lib/puppet/file_system/posix.rb
1212
1089
  - lib/puppet/file_system/memory_file.rb
1213
1090
  - lib/puppet/file_system/memory_impl.rb
1214
- - lib/puppet/file_system/file19.rb
1215
- - lib/puppet/file_system/file18.rb
1216
- - lib/puppet/run.rb
1217
1091
  - lib/puppet/scheduler.rb
1218
1092
  - lib/puppet/agent.rb
1219
1093
  - lib/puppet/test/test_helper.rb
@@ -1239,29 +1113,26 @@ files:
1239
1113
  - lib/puppet/ssl/inventory.rb
1240
1114
  - lib/puppet/ssl/base.rb
1241
1115
  - lib/puppet/ssl/key.rb
1116
+ - lib/puppet/face/epp.rb
1242
1117
  - lib/puppet/face/node/clean.rb
1243
1118
  - lib/puppet/face/catalog.rb
1244
1119
  - lib/puppet/face/resource_type.rb
1245
1120
  - lib/puppet/face/plugin.rb
1246
- - lib/puppet/face/instrumentation_listener.rb
1247
1121
  - lib/puppet/face/parser.rb
1248
1122
  - lib/puppet/face/report.rb
1249
1123
  - lib/puppet/face/file.rb
1250
1124
  - lib/puppet/face/resource.rb
1251
1125
  - lib/puppet/face/config.rb
1252
- - lib/puppet/face/secret_agent.rb
1253
1126
  - lib/puppet/face/certificate.rb
1254
1127
  - lib/puppet/face/certificate_request.rb
1255
1128
  - lib/puppet/face/man.rb
1256
1129
  - lib/puppet/face/file/store.rb
1257
1130
  - lib/puppet/face/file/download.rb
1258
- - lib/puppet/face/instrumentation_data.rb
1259
1131
  - lib/puppet/face/help/action.erb
1260
1132
  - lib/puppet/face/help/global.erb
1261
1133
  - lib/puppet/face/help/man.erb
1262
1134
  - lib/puppet/face/help/face.erb
1263
1135
  - lib/puppet/face/facts.rb
1264
- - lib/puppet/face/instrumentation_probe.rb
1265
1136
  - lib/puppet/face/node.rb
1266
1137
  - lib/puppet/face/catalog/select.rb
1267
1138
  - lib/puppet/face/ca.rb
@@ -1286,9 +1157,9 @@ files:
1286
1157
  - lib/puppet/resource/type_collection.rb
1287
1158
  - lib/puppet/resource/type.rb
1288
1159
  - lib/puppet/resource/status.rb
1160
+ - lib/puppet/functions/regsubst.rb
1289
1161
  - lib/puppet/functions/epp.rb
1290
1162
  - lib/puppet/functions/map.rb
1291
- - lib/puppet/functions/defined.rb
1292
1163
  - lib/puppet/functions/match.rb
1293
1164
  - lib/puppet/functions/hiera_hash.rb
1294
1165
  - lib/puppet/functions/filter.rb
@@ -1296,9 +1167,11 @@ files:
1296
1167
  - lib/puppet/functions/reduce.rb
1297
1168
  - lib/puppet/functions/scanf.rb
1298
1169
  - lib/puppet/functions/each.rb
1170
+ - lib/puppet/functions/split.rb
1299
1171
  - lib/puppet/functions/hiera.rb
1300
1172
  - lib/puppet/functions/hiera_include.rb
1301
1173
  - lib/puppet/functions/slice.rb
1174
+ - lib/puppet/functions/lookup.rb
1302
1175
  - lib/puppet/functions/import.rb
1303
1176
  - lib/puppet/functions/assert_type.rb
1304
1177
  - lib/puppet/functions/with.rb
@@ -1318,6 +1191,7 @@ files:
1318
1191
  - lib/puppet/provider/cron/crontab.rb
1319
1192
  - lib/puppet/provider/user/pw.rb
1320
1193
  - lib/puppet/provider/user/useradd.rb
1194
+ - lib/puppet/provider/user/openbsd.rb
1321
1195
  - lib/puppet/provider/user/hpux.rb
1322
1196
  - lib/puppet/provider/user/windows_adsi.rb
1323
1197
  - lib/puppet/provider/user/aix.rb
@@ -1413,8 +1287,6 @@ files:
1413
1287
  - lib/puppet/provider/package/dpkg.rb
1414
1288
  - lib/puppet/provider/package/up2date.rb
1415
1289
  - lib/puppet/provider/package/pacman.rb
1416
- - lib/puppet/provider/package/yumhelper.py
1417
- - lib/puppet/provider/package/msi.rb
1418
1290
  - lib/puppet/provider/package/nim.rb
1419
1291
  - lib/puppet/provider/package/ports.rb
1420
1292
  - lib/puppet/provider/package/macports.rb
@@ -1438,25 +1310,22 @@ files:
1438
1310
  - lib/puppet/confine_collection.rb
1439
1311
  - lib/puppet/metatype/manager.rb
1440
1312
  - lib/puppet/vendor.rb
1441
- - lib/puppetx/puppet/bindings_scheme_handler.rb
1442
- - lib/puppetx/puppet/syntax_checker.rb
1443
- - lib/puppetx/puppetlabs/syntax_checkers/json.rb
1444
1313
  - lib/puppet.rb
1445
- - lib/puppetx.rb
1446
1314
  - lib/hiera_puppet.rb
1315
+ - lib/puppet_x.rb
1447
1316
  - conf/auth.conf
1448
- - conf/tagmail.conf
1317
+ - conf/puppet.conf
1318
+ - conf/environment.conf
1449
1319
  - conf/fileserver.conf
1450
1320
  - man/man5/puppet.conf.5
1451
1321
  - man/man8/puppet-certificate.8
1452
1322
  - man/man8/puppet-plugin.8
1453
- - man/man8/puppet-queue.8
1454
- - man/man8/puppet-instrumentation_listener.8
1455
1323
  - man/man8/puppet-catalog.8
1456
1324
  - man/man8/puppet-certificate_request.8
1457
1325
  - man/man8/puppet-config.8
1458
1326
  - man/man8/puppet-status.8
1459
1327
  - man/man8/puppet-resource.8
1328
+ - man/man8/puppet-epp.8
1460
1329
  - man/man8/puppet-help.8
1461
1330
  - man/man8/puppet-module.8
1462
1331
  - man/man8/extlookup2hiera.8
@@ -1464,10 +1333,8 @@ files:
1464
1333
  - man/man8/puppet-node.8
1465
1334
  - man/man8/puppet-parser.8
1466
1335
  - man/man8/puppet-agent.8
1467
- - man/man8/puppet-instrumentation_data.8
1468
1336
  - man/man8/puppet-inspect.8
1469
1337
  - man/man8/puppet-file.8
1470
- - man/man8/puppet-instrumentation_probe.8
1471
1338
  - man/man8/puppet-man.8
1472
1339
  - man/man8/puppet-facts.8
1473
1340
  - man/man8/puppet-describe.8
@@ -1478,8 +1345,6 @@ files:
1478
1345
  - man/man8/puppet-ca.8
1479
1346
  - man/man8/puppet-report.8
1480
1347
  - man/man8/puppet-filebucket.8
1481
- - man/man8/puppet-kick.8
1482
- - man/man8/puppet-secret_agent.8
1483
1348
  - man/man8/puppet-doc.8
1484
1349
  - man/man8/puppet-cert.8
1485
1350
  - man/man8/puppet-certificate_revocation_list.8
@@ -1510,7 +1375,6 @@ files:
1510
1375
  - ext/solaris/smf/puppetmasterd.xml
1511
1376
  - ext/solaris/pkginfo
1512
1377
  - ext/ldap/puppet.schema
1513
- - ext/gentoo/puppet/puppet.conf
1514
1378
  - ext/gentoo/puppet/fileserver.conf
1515
1379
  - ext/gentoo/conf.d/puppet
1516
1380
  - ext/gentoo/conf.d/puppetmaster
@@ -1519,14 +1383,13 @@ files:
1519
1383
  - ext/ips/rules
1520
1384
  - ext/ips/puppetagent.xml
1521
1385
  - ext/ips/transforms
1522
- - ext/ips/puppet.conf
1523
1386
  - ext/ips/puppetmaster.xml
1524
1387
  - ext/ips/puppet-agent
1525
1388
  - ext/ips/puppet.p5m.erb
1526
1389
  - ext/ips/puppet-master
1527
1390
  - ext/upload_facts.rb
1528
- - ext/nagios/naggen
1529
1391
  - ext/nagios/check_puppet.rb
1392
+ - ext/puppet-nm-dispatcher
1530
1393
  - ext/freebsd/puppetmasterd
1531
1394
  - ext/freebsd/puppetd
1532
1395
  - ext/dbfix.sql
@@ -1548,6 +1411,7 @@ files:
1548
1411
  - ext/puppet-test
1549
1412
  - ext/logcheck/puppet
1550
1413
  - ext/debian/compat
1414
+ - ext/debian/puppetmaster-common.postinst
1551
1415
  - ext/debian/puppetmaster-common.install
1552
1416
  - ext/debian/source/format
1553
1417
  - ext/debian/source/options
@@ -1561,13 +1425,11 @@ files:
1561
1425
  - ext/debian/vim-puppet.yaml
1562
1426
  - ext/debian/vim-puppet.README.Debian
1563
1427
  - ext/debian/docs
1564
- - ext/debian/puppetmaster-common.puppetqd.init
1565
1428
  - ext/debian/puppet.logrotate
1566
1429
  - ext/debian/puppetmaster-passenger.dirs
1567
1430
  - ext/debian/puppet-common.lintian-overrides
1568
1431
  - ext/debian/puppet-common.postinst
1569
1432
  - ext/debian/vim-puppet.dirs
1570
- - ext/debian/puppet.conf
1571
1433
  - ext/debian/watch
1572
1434
  - ext/debian/puppet.init
1573
1435
  - ext/debian/puppet-el.emacsen-startup
@@ -1578,7 +1440,6 @@ files:
1578
1440
  - ext/debian/puppet-common.install
1579
1441
  - ext/debian/puppetmaster.preinst
1580
1442
  - ext/debian/puppet-common.manpages
1581
- - ext/debian/puppetmaster-common.puppetqd.default
1582
1443
  - ext/debian/puppet-el.dirs
1583
1444
  - ext/debian/puppet.postrm
1584
1445
  - ext/debian/changelog.erb
@@ -1606,7 +1467,6 @@ files:
1606
1467
  - ext/regexp_nodes/parameters/service/prod
1607
1468
  - ext/regexp_nodes/parameters/service/sandbox
1608
1469
  - ext/regexp_nodes/parameters/service/qa
1609
- - ext/puppet-load.rb
1610
1470
  - ext/rack/config.ru
1611
1471
  - ext/rack/example-passenger-vhost.conf
1612
1472
  - ext/osx/postflight.erb
@@ -1623,8 +1483,6 @@ files:
1623
1483
  - ext/windows/eventlog/puppetres.mc
1624
1484
  - ext/redhat/server.sysconfig
1625
1485
  - ext/redhat/puppet.spec.erb
1626
- - ext/redhat/puppet.conf
1627
- - ext/redhat/queue.init
1628
1486
  - ext/redhat/server.init
1629
1487
  - ext/redhat/client.init
1630
1488
  - ext/redhat/client.sysconfig
@@ -1640,11 +1498,12 @@ files:
1640
1498
  - spec/lib/puppet_spec/fixtures.rb
1641
1499
  - spec/lib/puppet_spec/scope.rb
1642
1500
  - spec/lib/puppet_spec/matchers.rb
1643
- - spec/lib/puppet_spec/database.rb
1644
1501
  - spec/lib/puppet_spec/settings.rb
1645
1502
  - spec/lib/puppet_spec/pops.rb
1646
1503
  - spec/lib/puppet_spec/modules.rb
1647
1504
  - spec/lib/puppet_spec/language.rb
1505
+ - spec/lib/puppet_spec/handler.rb
1506
+ - spec/lib/puppet_spec/network.rb
1648
1507
  - spec/lib/puppet_spec/module_tool/shared_functions.rb
1649
1508
  - spec/lib/puppet_spec/module_tool/stub_source.rb
1650
1509
  - spec/lib/puppet_spec/compiler.rb
@@ -1659,6 +1518,7 @@ files:
1659
1518
  - spec/lib/puppet/face/1.0.0/huzzah.rb
1660
1519
  - spec/lib/puppet/face/basetest.rb
1661
1520
  - spec/lib/puppet/face/huzzah.rb
1521
+ - spec/lib/puppet/indirector_proxy.rb
1662
1522
  - spec/lib/matchers/include.rb
1663
1523
  - spec/lib/matchers/json.rb
1664
1524
  - spec/lib/matchers/containment_matchers.rb
@@ -1688,9 +1548,9 @@ files:
1688
1548
  - spec/fixtures/integration/provider/cron/crontab/remove_named_resource
1689
1549
  - spec/fixtures/integration/provider/cron/crontab/create_normal_entry
1690
1550
  - spec/fixtures/integration/provider/mailalias/aliases/test1
1551
+ - spec/fixtures/integration/provider/sshkey/sample
1691
1552
  - spec/fixtures/stdlib.tgz
1692
1553
  - spec/fixtures/faulty_face/puppet/face/syntax.rb
1693
- - spec/fixtures/yaml/report0.25.x.yaml
1694
1554
  - spec/fixtures/yaml/report2.6.x.yaml
1695
1555
  - spec/fixtures/yaml/test.local.yaml
1696
1556
  - spec/fixtures/unit/indirector/hiera/invalid.yaml
@@ -1747,6 +1607,17 @@ files:
1747
1607
  - spec/fixtures/unit/parser/lexer/arraytrailingcomma.pp
1748
1608
  - spec/fixtures/unit/parser/functions/create_resources/foo/manifests/wrongdefine.pp
1749
1609
  - spec/fixtures/unit/parser/functions/create_resources/foo/manifests/init.pp
1610
+ - spec/fixtures/unit/data_providers/environments/production/lib/puppet/functions/environment/data.rb
1611
+ - spec/fixtures/unit/data_providers/environments/production/environment.conf
1612
+ - spec/fixtures/unit/data_providers/environments/production/modules/abc/lib/puppet/bindings/abc/default.rb
1613
+ - spec/fixtures/unit/data_providers/environments/production/modules/abc/lib/puppet/functions/abc/data.rb
1614
+ - spec/fixtures/unit/data_providers/environments/production/modules/abc/manifests/init.pp
1615
+ - spec/fixtures/unit/data_providers/environments/sample/environment.conf
1616
+ - spec/fixtures/unit/data_providers/environments/sample/modules/dataprovider/lib/puppet/bindings/dataprovider/default.rb
1617
+ - spec/fixtures/unit/data_providers/environments/sample/modules/dataprovider/lib/puppet_x/helindbe/sample_env_data.rb
1618
+ - spec/fixtures/unit/data_providers/environments/sample/modules/dataprovider/lib/puppet_x/helindbe/sample_module_data.rb
1619
+ - spec/fixtures/unit/data_providers/environments/sample/modules/dataprovider/manifests/init.pp
1620
+ - spec/fixtures/unit/data_providers/environments/sample/manifests/site.pp
1750
1621
  - spec/fixtures/unit/reports/tagmail/tagmail_email.conf
1751
1622
  - spec/fixtures/unit/reports/tagmail/tagmail_passers.conf
1752
1623
  - spec/fixtures/unit/reports/tagmail/tagmail_failers.conf
@@ -1793,12 +1664,13 @@ files:
1793
1664
  - spec/fixtures/unit/pops/parser/lexer/singleselector.pp
1794
1665
  - spec/fixtures/unit/pops/parser/lexer/implicititeration.pp
1795
1666
  - spec/fixtures/unit/pops/parser/lexer/arraytrailingcomma.pp
1667
+ - spec/fixtures/unit/pops/binder/config/binder_config/nolayer/binder_config.yaml
1796
1668
  - spec/fixtures/unit/pops/binder/config/binder_config/ok/binder_config.yaml
1797
1669
  - spec/fixtures/unit/pops/binder/bindings_composer/ok/lib/puppet/bindings/confdirtest.rb
1798
1670
  - spec/fixtures/unit/pops/binder/bindings_composer/ok/binder_config.yaml
1799
1671
  - spec/fixtures/unit/pops/binder/bindings_composer/ok/modules/good/lib/puppet/bindings/good/default.rb
1800
1672
  - spec/fixtures/unit/pops/binder/bindings_composer/ok/modules/awesome2/lib/puppet/bindings/awesome2/default.rb
1801
- - spec/fixtures/unit/pops/binder/bindings_composer/ok/modules/awesome2/lib/puppetx/awesome2/echo_scheme_handler.rb
1673
+ - spec/fixtures/unit/pops/binder/bindings_composer/ok/modules/awesome2/lib/puppet_x/awesome2/echo_scheme_handler.rb
1802
1674
  - spec/fixtures/unit/pops/binder/bindings_composer/ok/modules/bad/lib/puppet/bindings/bad/default.rb
1803
1675
  - spec/fixtures/unit/pops/loaders/loaders/wo_metadata_module/modules/moduleb/lib/puppet/functions/moduleb/rb_func_b.rb
1804
1676
  - spec/fixtures/unit/pops/loaders/loaders/wo_metadata_module/modules/moduleb/manifests/init.pp
@@ -1815,7 +1687,14 @@ files:
1815
1687
  - spec/fixtures/unit/pops/loaders/loaders/dependent_modules_with_metadata/user/lib/puppet/functions/user/caller.rb
1816
1688
  - spec/fixtures/unit/pops/loaders/loaders/dependent_modules_with_metadata/user/metadata.json
1817
1689
  - spec/fixtures/unit/pops/loaders/loaders/dependent_modules_with_metadata/usee/lib/puppet/functions/usee/callee.rb
1690
+ - spec/fixtures/unit/ssl/certificate/old-style-cert-exts.pem
1691
+ - spec/fixtures/unit/ssl/certificate_request/old-style-cert-request.pem
1818
1692
  - spec/fixtures/unit/module/trailing-comma.json
1693
+ - spec/fixtures/unit/functions/lookup/environments/production/lib/puppet/functions/environment/data.rb
1694
+ - spec/fixtures/unit/functions/lookup/environments/production/environment.conf
1695
+ - spec/fixtures/unit/functions/lookup/environments/production/modules/abc/lib/puppet/bindings/abc/default.rb
1696
+ - spec/fixtures/unit/functions/lookup/environments/production/modules/abc/lib/puppet/functions/abc/data.rb
1697
+ - spec/fixtures/unit/functions/lookup/environments/production/modules/abc/manifests/init.pp
1819
1698
  - spec/fixtures/unit/provider/cron/crontab/vixie_header.txt
1820
1699
  - spec/fixtures/unit/provider/cron/crontab/single_line.yaml
1821
1700
  - spec/fixtures/unit/provider/cron/parsed/managed
@@ -1825,6 +1704,7 @@ files:
1825
1704
  - spec/fixtures/unit/provider/service/openrc/rcservice_list
1826
1705
  - spec/fixtures/unit/provider/service/systemd/list_unit_files_services
1827
1706
  - spec/fixtures/unit/provider/service/smf/svcs.out
1707
+ - spec/fixtures/unit/provider/service/openbsd/rcctl_getall
1828
1708
  - spec/fixtures/unit/provider/mount/mount-output.aix.txt
1829
1709
  - spec/fixtures/unit/provider/mount/parsed/darwin.mount
1830
1710
  - spec/fixtures/unit/provider/mount/parsed/freebsd.mount
@@ -1858,12 +1738,11 @@ files:
1858
1738
  - spec/fixtures/unit/provider/package/gem/line-with-1.8.5-warning
1859
1739
  - spec/fixtures/unit/provider/package/pkg/solaris11
1860
1740
  - spec/fixtures/unit/provider/package/pkg/unknown_status
1741
+ - spec/fixtures/unit/provider/package/pkg/dummy_implicit_version
1861
1742
  - spec/fixtures/unit/provider/package/pkg/dummy_solaris11.certificate_warning
1862
1743
  - spec/fixtures/unit/provider/package/pkg/dummy_solaris11.ifo.installed
1863
1744
  - spec/fixtures/unit/provider/package/pkg/dummy_solaris11.known
1864
- - spec/fixtures/unit/provider/package/pkg/simple
1865
1745
  - spec/fixtures/unit/provider/package/pkg/dummy_solaris11.ifo.known
1866
- - spec/fixtures/unit/provider/package/pkg/publisher
1867
1746
  - spec/fixtures/unit/provider/package/pkg/incomplete
1868
1747
  - spec/fixtures/unit/provider/package/pkg/dummy_solaris10
1869
1748
  - spec/fixtures/unit/provider/package/pkg/dummy_solaris11.installed
@@ -1872,6 +1751,8 @@ files:
1872
1751
  - spec/fixtures/unit/provider/package/openbsd/pkginfo.list
1873
1752
  - spec/fixtures/unit/provider/package/openbsd/pkginfo_flavors.list
1874
1753
  - spec/fixtures/unit/provider/package/openbsd/pkginfo.query
1754
+ - spec/fixtures/unit/provider/package/yum/yum-check-update-simple.txt
1755
+ - spec/fixtures/unit/provider/package/yum/yum-check-update-multiline.txt
1875
1756
  - spec/fixtures/unit/provider/zpool/zpool/zpool-list.out
1876
1757
  - spec/fixtures/unit/provider/zfs/zfs/zfs-list.out
1877
1758
  - spec/fixtures/releases/jamtur01-apache/lib/puppet/type/a2mod.rb
@@ -1894,9 +1775,9 @@ files:
1894
1775
  - spec/fixtures/releases/jamtur01-apache/manifests/ssl.pp
1895
1776
  - spec/fixtures/releases/jamtur01-apache/manifests/params.pp
1896
1777
  - spec/fixtures/hiera.yaml
1897
- - spec/fixtures/module.tar.gz
1898
1778
  - spec/fixtures/manifests/site.pp
1899
1779
  - spec/fixtures/java.tgz
1780
+ - spec/integration/environments/settings_spec.rb
1900
1781
  - spec/integration/environments/default_manifest_spec.rb
1901
1782
  - spec/integration/environments/settings_interpolation_spec.rb
1902
1783
  - spec/integration/environments/setting_hooks_spec.rb
@@ -1904,6 +1785,7 @@ files:
1904
1785
  - spec/integration/node/environment_spec.rb
1905
1786
  - spec/integration/node/facts_spec.rb
1906
1787
  - spec/integration/configurer_spec.rb
1788
+ - spec/integration/network/http/api/indirected_routes_spec.rb
1907
1789
  - spec/integration/network/authconfig_spec.rb
1908
1790
  - spec/integration/network/formats_spec.rb
1909
1791
  - spec/integration/node_spec.rb
@@ -1911,12 +1793,10 @@ files:
1911
1793
  - spec/integration/indirector/node/ldap_spec.rb
1912
1794
  - spec/integration/indirector/facts/facter_spec.rb
1913
1795
  - spec/integration/indirector/file_metadata/file_server_spec.rb
1914
- - spec/integration/indirector/catalog/queue_spec.rb
1915
1796
  - spec/integration/indirector/catalog/compiler_spec.rb
1916
1797
  - spec/integration/indirector/direct_file_server_spec.rb
1917
1798
  - spec/integration/util/settings_spec.rb
1918
1799
  - spec/integration/util/autoload_spec.rb
1919
- - spec/integration/util/feature_spec.rb
1920
1800
  - spec/integration/util/rdoc/parser_spec.rb
1921
1801
  - spec/integration/util/execution_spec.rb
1922
1802
  - spec/integration/util/windows/security_spec.rb
@@ -1930,7 +1810,6 @@ files:
1930
1810
  - spec/integration/type/tidy_spec.rb
1931
1811
  - spec/integration/type/package_spec.rb
1932
1812
  - spec/integration/type/file_spec.rb
1933
- - spec/integration/type/sshkey_spec.rb
1934
1813
  - spec/integration/type/exec_spec.rb
1935
1814
  - spec/integration/type/user_spec.rb
1936
1815
  - spec/integration/reference/providers_spec.rb
@@ -1945,22 +1824,17 @@ files:
1945
1824
  - spec/integration/file_serving/metadata_spec.rb
1946
1825
  - spec/integration/transaction_spec.rb
1947
1826
  - spec/integration/data_binding.rb
1948
- - spec/integration/parser/future_compiler_spec.rb
1949
1827
  - spec/integration/parser/resource_expressions_spec.rb
1950
1828
  - spec/integration/parser/node_spec.rb
1951
1829
  - spec/integration/parser/class_spec.rb
1952
1830
  - spec/integration/parser/conditionals_spec.rb
1953
- - spec/integration/parser/parser_spec.rb
1954
- - spec/integration/parser/collector_spec.rb
1955
- - spec/integration/parser/dynamic_scoping_spec.rb
1831
+ - spec/integration/parser/collection_spec.rb
1956
1832
  - spec/integration/parser/catalog_spec.rb
1957
1833
  - spec/integration/parser/compiler_spec.rb
1958
1834
  - spec/integration/parser/environment_spec.rb
1959
- - spec/integration/parser/ruby_manifest_spec.rb
1960
1835
  - spec/integration/parser/functions/require_spec.rb
1961
1836
  - spec/integration/parser/scope_spec.rb
1962
1837
  - spec/integration/parser/undef_param_spec.rb
1963
- - spec/integration/module_tool/tar/mini_spec.rb
1964
1838
  - spec/integration/type_spec.rb
1965
1839
  - spec/integration/agent/logging_spec.rb
1966
1840
  - spec/integration/ssl/certificate_request_spec.rb
@@ -1979,19 +1853,15 @@ files:
1979
1853
  - spec/integration/provider/ssh_authorized_key_spec.rb
1980
1854
  - spec/integration/provider/mount_spec.rb
1981
1855
  - spec/integration/provider/package_spec.rb
1982
- - spec/monkey_patches/alias_should_to_must.rb
1856
+ - spec/integration/provider/sshkey_spec.rb
1983
1857
  - spec/unit/scheduler/scheduler_spec.rb
1984
1858
  - spec/unit/scheduler/splay_job_spec.rb
1985
1859
  - spec/unit/scheduler/job_spec.rb
1986
- - spec/unit/rails/param_value_spec.rb
1987
- - spec/unit/rails/host_spec.rb
1988
- - spec/unit/rails/resource_spec.rb
1989
1860
  - spec/unit/file_bucket/dipper_spec.rb
1990
1861
  - spec/unit/file_bucket/file_spec.rb
1991
1862
  - spec/unit/node/environment_spec.rb
1992
1863
  - spec/unit/node/facts_spec.rb
1993
1864
  - spec/unit/puppet_spec.rb
1994
- - spec/unit/rails_spec.rb
1995
1865
  - spec/unit/data_binding_spec.rb
1996
1866
  - spec/unit/application_spec.rb
1997
1867
  - spec/unit/provider_spec.rb
@@ -1999,7 +1869,6 @@ files:
1999
1869
  - spec/unit/hiera_puppet_spec.rb
2000
1870
  - spec/unit/configurer_spec.rb
2001
1871
  - spec/unit/relationship_spec.rb
2002
- - spec/unit/hiera/backend/puppet_backend_spec.rb
2003
1872
  - spec/unit/hiera/scope_spec.rb
2004
1873
  - spec/unit/context_spec.rb
2005
1874
  - spec/unit/network/http_pool_spec.rb
@@ -2013,19 +1882,20 @@ files:
2013
1882
  - spec/unit/network/http/webrick_spec.rb
2014
1883
  - spec/unit/network/http/error_spec.rb
2015
1884
  - spec/unit/network/http/pool_spec.rb
1885
+ - spec/unit/network/http/api_spec.rb
2016
1886
  - spec/unit/network/http/connection_spec.rb
2017
1887
  - spec/unit/network/http/rack/rest_spec.rb
2018
1888
  - spec/unit/network/http/nocache_pool_spec.rb
2019
- - spec/unit/network/http/api/v2/environments_spec.rb
2020
- - spec/unit/network/http/api/v2/authorization_spec.rb
2021
- - spec/unit/network/http/api/v1_spec.rb
2022
- - spec/unit/network/http/api/v2_spec.rb
1889
+ - spec/unit/network/http/api/master/v3/environments_spec.rb
1890
+ - spec/unit/network/http/api/master/v3/authorization_spec.rb
1891
+ - spec/unit/network/http/api/master/v3_spec.rb
1892
+ - spec/unit/network/http/api/indirected_routes_spec.rb
1893
+ - spec/unit/network/http/api/ca/v1_spec.rb
2023
1894
  - spec/unit/network/http/rack_spec.rb
2024
1895
  - spec/unit/network/format_handler_spec.rb
2025
1896
  - spec/unit/network/authconfig_spec.rb
2026
1897
  - spec/unit/network/format_support_spec.rb
2027
1898
  - spec/unit/network/auth_config_parser_spec.rb
2028
- - spec/unit/network/authentication_spec.rb
2029
1899
  - spec/unit/network/authorization_spec.rb
2030
1900
  - spec/unit/network/resolver_spec.rb
2031
1901
  - spec/unit/network/rights_spec.rb
@@ -2048,7 +1918,6 @@ files:
2048
1918
  - spec/unit/indirector/file_content/file_server_spec.rb
2049
1919
  - spec/unit/indirector/node/rest_spec.rb
2050
1920
  - spec/unit/indirector/node/store_configs_spec.rb
2051
- - spec/unit/indirector/node/active_record_spec.rb
2052
1921
  - spec/unit/indirector/node/yaml_spec.rb
2053
1922
  - spec/unit/indirector/node/plain_spec.rb
2054
1923
  - spec/unit/indirector/node/ldap_spec.rb
@@ -2059,36 +1928,23 @@ files:
2059
1928
  - spec/unit/indirector/certificate_revocation_list/disabled_ca_spec.rb
2060
1929
  - spec/unit/indirector/certificate_revocation_list/ca_spec.rb
2061
1930
  - spec/unit/indirector/certificate_revocation_list/file_spec.rb
2062
- - spec/unit/indirector/instrumentation_probe/rest_spec.rb
2063
- - spec/unit/indirector/instrumentation_probe/local_spec.rb
2064
1931
  - spec/unit/indirector/rest_spec.rb
2065
1932
  - spec/unit/indirector/key/disabled_ca_spec.rb
2066
1933
  - spec/unit/indirector/key/ca_spec.rb
2067
1934
  - spec/unit/indirector/key/file_spec.rb
2068
- - spec/unit/indirector/facts/rest_spec.rb
2069
1935
  - spec/unit/indirector/facts/store_configs_spec.rb
2070
- - spec/unit/indirector/facts/active_record_spec.rb
2071
- - spec/unit/indirector/facts/inventory_active_record_spec.rb
2072
1936
  - spec/unit/indirector/facts/yaml_spec.rb
2073
- - spec/unit/indirector/facts/inventory_service_spec.rb
2074
1937
  - spec/unit/indirector/facts/network_device_spec.rb
2075
1938
  - spec/unit/indirector/facts/facter_spec.rb
2076
- - spec/unit/indirector/facts/couch_spec.rb
2077
- - spec/unit/indirector/run/rest_spec.rb
2078
- - spec/unit/indirector/run/local_spec.rb
2079
1939
  - spec/unit/indirector/json_spec.rb
2080
1940
  - spec/unit/indirector/certificate/rest_spec.rb
2081
1941
  - spec/unit/indirector/certificate/disabled_ca_spec.rb
2082
1942
  - spec/unit/indirector/certificate/ca_spec.rb
2083
1943
  - spec/unit/indirector/certificate/file_spec.rb
2084
- - spec/unit/indirector/queue_spec.rb
2085
1944
  - spec/unit/indirector/store_configs_spec.rb
2086
- - spec/unit/indirector/instrumentation_listener/rest_spec.rb
2087
- - spec/unit/indirector/instrumentation_listener/local_spec.rb
2088
1945
  - spec/unit/indirector/request_spec.rb
2089
1946
  - spec/unit/indirector/certificate_status/rest_spec.rb
2090
1947
  - spec/unit/indirector/certificate_status/file_spec.rb
2091
- - spec/unit/indirector/active_record_spec.rb
2092
1948
  - spec/unit/indirector/certificate_request/rest_spec.rb
2093
1949
  - spec/unit/indirector/certificate_request/disabled_ca_spec.rb
2094
1950
  - spec/unit/indirector/certificate_request/ca_spec.rb
@@ -2114,9 +1970,7 @@ files:
2114
1970
  - spec/unit/indirector/status/local_spec.rb
2115
1971
  - spec/unit/indirector/catalog/rest_spec.rb
2116
1972
  - spec/unit/indirector/catalog/json_spec.rb
2117
- - spec/unit/indirector/catalog/queue_spec.rb
2118
1973
  - spec/unit/indirector/catalog/store_configs_spec.rb
2119
- - spec/unit/indirector/catalog/active_record_spec.rb
2120
1974
  - spec/unit/indirector/catalog/yaml_spec.rb
2121
1975
  - spec/unit/indirector/catalog/msgpack_spec.rb
2122
1976
  - spec/unit/indirector/catalog/compiler_spec.rb
@@ -2127,17 +1981,13 @@ files:
2127
1981
  - spec/unit/indirector/msgpack_spec.rb
2128
1982
  - spec/unit/indirector/resource_type/rest_spec.rb
2129
1983
  - spec/unit/indirector/resource_type/parser_spec.rb
2130
- - spec/unit/indirector/instrumentation_data/rest_spec.rb
2131
- - spec/unit/indirector/instrumentation_data/local_spec.rb
2132
1984
  - spec/unit/indirector/file_server_spec.rb
2133
1985
  - spec/unit/indirector/envelope_spec.rb
2134
1986
  - spec/unit/indirector/direct_file_server_spec.rb
2135
1987
  - spec/unit/indirector/data_binding/none_spec.rb
2136
1988
  - spec/unit/indirector/data_binding/hiera_spec.rb
2137
- - spec/unit/indirector/resource/rest_spec.rb
2138
1989
  - spec/unit/indirector/resource/ral_spec.rb
2139
1990
  - spec/unit/indirector/resource/store_configs_spec.rb
2140
- - spec/unit/indirector/resource/active_record_spec.rb
2141
1991
  - spec/unit/indirector/indirection_spec.rb
2142
1992
  - spec/unit/indirector/exec_spec.rb
2143
1993
  - spec/unit/indirector/hiera_spec.rb
@@ -2156,20 +2006,16 @@ files:
2156
2006
  - spec/unit/util/run_mode_spec.rb
2157
2007
  - spec/unit/util/ssl_spec.rb
2158
2008
  - spec/unit/util/watcher/periodic_watcher_spec.rb
2159
- - spec/unit/util/queue_spec.rb
2160
2009
  - spec/unit/util/symbolic_file_mode_spec.rb
2161
2010
  - spec/unit/util/resource_template_spec.rb
2162
2011
  - spec/unit/util/warnings_spec.rb
2163
2012
  - spec/unit/util/colors_spec.rb
2164
- - spec/unit/util/monkey_patches/lines_spec.rb
2165
2013
  - spec/unit/util/user_attr_spec.rb
2166
2014
  - spec/unit/util/inifile_spec.rb
2167
- - spec/unit/util/pson_spec.rb
2168
2015
  - spec/unit/util/json_lockfile_spec.rb
2169
2016
  - spec/unit/util/posix_spec.rb
2170
2017
  - spec/unit/util/metric_spec.rb
2171
- - spec/unit/util/cacher_spec.rb
2172
- - spec/unit/util/queue/stomp_spec.rb
2018
+ - spec/unit/util/retry_action_spec.rb
2173
2019
  - spec/unit/util/watched_file_spec.rb
2174
2020
  - spec/unit/util/nagios_maker_spec.rb
2175
2021
  - spec/unit/util/yaml_spec.rb
@@ -2179,12 +2025,9 @@ files:
2179
2025
  - spec/unit/util/tagging_spec.rb
2180
2026
  - spec/unit/util/autoload_spec.rb
2181
2027
  - spec/unit/util/log_spec.rb
2182
- - spec/unit/util/log/rate_limited_logger_spec.rb
2183
2028
  - spec/unit/util/log/destinations_spec.rb
2184
2029
  - spec/unit/util/feature_spec.rb
2185
2030
  - spec/unit/util/package_spec.rb
2186
- - spec/unit/util/inline_docs_spec.rb
2187
- - spec/unit/util/zaml_spec.rb
2188
2031
  - spec/unit/util/storage_spec.rb
2189
2032
  - spec/unit/util/network_device/transport/telnet_spec.rb
2190
2033
  - spec/unit/util/network_device/transport/base_spec.rb
@@ -2196,7 +2039,6 @@ files:
2196
2039
  - spec/unit/util/network_device/cisco/facts_spec.rb
2197
2040
  - spec/unit/util/filetype_spec.rb
2198
2041
  - spec/unit/util/constant_inflector_spec.rb
2199
- - spec/unit/util/rdoc/parser_spec.rb
2200
2042
  - spec/unit/util/suidmanager_spec.rb
2201
2043
  - spec/unit/util/profiler/logging_spec.rb
2202
2044
  - spec/unit/util/profiler/around_profiler_spec.rb
@@ -2206,20 +2048,10 @@ files:
2206
2048
  - spec/unit/util/network_device_spec.rb
2207
2049
  - spec/unit/util/lockfile_spec.rb
2208
2050
  - spec/unit/util/command_line_utils/puppet_option_parser_spec.rb
2209
- - spec/unit/util/retryaction_spec.rb
2210
2051
  - spec/unit/util/watcher_spec.rb
2211
2052
  - spec/unit/util/execution_stub_spec.rb
2212
- - spec/unit/util/reference_serializer_spec.rb
2213
- - spec/unit/util/cache_accumulator_spec.rb
2214
2053
  - spec/unit/util/reference_spec.rb
2215
2054
  - spec/unit/util/command_line_spec.rb
2216
- - spec/unit/util/instrumentation/listeners/log_spec.rb
2217
- - spec/unit/util/instrumentation/listeners/performance_spec.rb
2218
- - spec/unit/util/instrumentation/indirection_probe_spec.rb
2219
- - spec/unit/util/instrumentation/listener_spec.rb
2220
- - spec/unit/util/instrumentation/data_spec.rb
2221
- - spec/unit/util/instrumentation/instrumentable_spec.rb
2222
- - spec/unit/util/instrumentation_spec.rb
2223
2055
  - spec/unit/util/errors_spec.rb
2224
2056
  - spec/unit/util/execution_spec.rb
2225
2057
  - spec/unit/util/tag_set_spec.rb
@@ -2237,17 +2069,14 @@ files:
2237
2069
  - spec/unit/application/certificate_spec.rb
2238
2070
  - spec/unit/application/agent_spec.rb
2239
2071
  - spec/unit/application/apply_spec.rb
2240
- - spec/unit/application/queue_spec.rb
2241
2072
  - spec/unit/application/indirection_base_spec.rb
2242
2073
  - spec/unit/application/doc_spec.rb
2243
2074
  - spec/unit/application/face_base_spec.rb
2244
2075
  - spec/unit/application/filebucket_spec.rb
2245
2076
  - spec/unit/application/device_spec.rb
2246
2077
  - spec/unit/application/config_spec.rb
2247
- - spec/unit/application/kick_spec.rb
2248
2078
  - spec/unit/application/master_spec.rb
2249
2079
  - spec/unit/application/inspect_spec.rb
2250
- - spec/unit/application/secret_agent_spec.rb
2251
2080
  - spec/unit/application/cert_spec.rb
2252
2081
  - spec/unit/application/describe_spec.rb
2253
2082
  - spec/unit/application/resource_spec.rb
@@ -2303,8 +2132,6 @@ files:
2303
2132
  - spec/unit/type/exec_spec.rb
2304
2133
  - spec/unit/type/user_spec.rb
2305
2134
  - spec/unit/defaults_spec.rb
2306
- - spec/unit/dsl/resource_type_api_spec.rb
2307
- - spec/unit/dsl/resource_api_spec.rb
2308
2135
  - spec/unit/configurer/plugin_handler_spec.rb
2309
2136
  - spec/unit/configurer/downloader_factory_spec.rb
2310
2137
  - spec/unit/configurer/fact_handler_spec.rb
@@ -2319,7 +2146,6 @@ files:
2319
2146
  - spec/unit/transaction/report_spec.rb
2320
2147
  - spec/unit/transaction/resource_harness_spec.rb
2321
2148
  - spec/unit/transaction/event_manager_spec.rb
2322
- - spec/unit/run_spec.rb
2323
2149
  - spec/unit/file_serving/configuration/parser_spec.rb
2324
2150
  - spec/unit/file_serving/base_spec.rb
2325
2151
  - spec/unit/file_serving/configuration_spec.rb
@@ -2347,40 +2173,11 @@ files:
2347
2173
  - spec/unit/parser/relationship_spec.rb
2348
2174
  - spec/unit/parser/templatewrapper_spec.rb
2349
2175
  - spec/unit/parser/type_loader_spec.rb
2350
- - spec/unit/parser/ast_spec.rb
2351
2176
  - spec/unit/parser/files_spec.rb
2352
- - spec/unit/parser/parser_spec.rb
2353
- - spec/unit/parser/collector_spec.rb
2354
2177
  - spec/unit/parser/functions_spec.rb
2355
2178
  - spec/unit/parser/compiler_spec.rb
2356
- - spec/unit/parser/ast/boolean_operator_spec.rb
2357
- - spec/unit/parser/ast/vardef_spec.rb
2358
- - spec/unit/parser/ast/arithmetic_operator_spec.rb
2359
- - spec/unit/parser/ast/in_operator_spec.rb
2360
- - spec/unit/parser/ast/relationship_spec.rb
2361
- - spec/unit/parser/ast/node_spec.rb
2362
- - spec/unit/parser/ast/casestatement_spec.rb
2363
- - spec/unit/parser/ast/resource_reference_spec.rb
2364
- - spec/unit/parser/ast/nop_spec.rb
2365
- - spec/unit/parser/ast/selector_spec.rb
2366
- - spec/unit/parser/ast/collection_spec.rb
2367
2179
  - spec/unit/parser/ast/block_expression_spec.rb
2368
- - spec/unit/parser/ast/function_spec.rb
2369
- - spec/unit/parser/ast/collexpr_spec.rb
2370
- - spec/unit/parser/ast/astarray_spec.rb
2371
2180
  - spec/unit/parser/ast/leaf_spec.rb
2372
- - spec/unit/parser/ast/not_spec.rb
2373
- - spec/unit/parser/ast/match_operator_spec.rb
2374
- - spec/unit/parser/ast/resourceparam_spec.rb
2375
- - spec/unit/parser/ast/comparison_operator_spec.rb
2376
- - spec/unit/parser/ast/definition_spec.rb
2377
- - spec/unit/parser/ast/ifstatement_spec.rb
2378
- - spec/unit/parser/ast/resource_override_spec.rb
2379
- - spec/unit/parser/ast/resource_defaults_spec.rb
2380
- - spec/unit/parser/ast/hostclass_spec.rb
2381
- - spec/unit/parser/ast/asthash_spec.rb
2382
- - spec/unit/parser/ast/minus_spec.rb
2383
- - spec/unit/parser/ast/resource_spec.rb
2384
2181
  - spec/unit/parser/resource/param_spec.rb
2385
2182
  - spec/unit/parser/functions/generate_spec.rb
2386
2183
  - spec/unit/parser/functions/hiera_hash_spec.rb
@@ -2400,7 +2197,6 @@ files:
2400
2197
  - spec/unit/parser/functions/lookup_spec.rb
2401
2198
  - spec/unit/parser/functions/tag_spec.rb
2402
2199
  - spec/unit/parser/functions/versioncmp_spec.rb
2403
- - spec/unit/parser/functions/extlookup_spec.rb
2404
2200
  - spec/unit/parser/functions/template_spec.rb
2405
2201
  - spec/unit/parser/functions/contain_spec.rb
2406
2202
  - spec/unit/parser/functions/file_spec.rb
@@ -2408,19 +2204,19 @@ files:
2408
2204
  - spec/unit/parser/functions/include_spec.rb
2409
2205
  - spec/unit/parser/functions/hiera_array_spec.rb
2410
2206
  - spec/unit/parser/functions/fail_spec.rb
2411
- - spec/unit/parser/functions/search_spec.rb
2412
2207
  - spec/unit/parser/functions/hiera_spec.rb
2413
2208
  - spec/unit/parser/scope_spec.rb
2414
2209
  - spec/unit/parser/resource_spec.rb
2415
- - spec/unit/parser/lexer_spec.rb
2416
2210
  - spec/unit/version_spec.rb
2417
2211
  - spec/unit/environments_spec.rb
2418
2212
  - spec/unit/property_spec.rb
2419
2213
  - spec/unit/functions4_spec.rb
2214
+ - spec/unit/data_providers/sample_data_provider_spec.rb
2215
+ - spec/unit/data_providers/function_data_provider_spec.rb
2420
2216
  - spec/unit/graph/relationship_graph_spec.rb
2421
2217
  - spec/unit/graph/key_spec.rb
2422
2218
  - spec/unit/graph/sequential_prioritizer_spec.rb
2423
- - spec/unit/graph/simple_graph.rb
2219
+ - spec/unit/graph/simple_graph_spec.rb
2424
2220
  - spec/unit/graph/title_hash_prioritizer_spec.rb
2425
2221
  - spec/unit/graph/rb_tree_map_spec.rb
2426
2222
  - spec/unit/settings/directory_setting_spec.rb
@@ -2438,10 +2234,8 @@ files:
2438
2234
  - spec/unit/settings/path_setting_spec.rb
2439
2235
  - spec/unit/settings/string_setting_spec.rb
2440
2236
  - spec/unit/parameter_spec.rb
2441
- - spec/unit/reports/tagmail_spec.rb
2442
2237
  - spec/unit/reports/store_spec.rb
2443
2238
  - spec/unit/reports/http_spec.rb
2444
- - spec/unit/reports/rrdgraph_spec.rb
2445
2239
  - spec/unit/interface/face_collection_spec.rb
2446
2240
  - spec/unit/interface/option_builder_spec.rb
2447
2241
  - spec/unit/interface/documentation_spec.rb
@@ -2455,13 +2249,12 @@ files:
2455
2249
  - spec/unit/pops/adaptable_spec.rb
2456
2250
  - spec/unit/pops/label_provider_spec.rb
2457
2251
  - spec/unit/pops/types/enumeration_spec.rb
2252
+ - spec/unit/pops/types/class_loader_spec.rb
2458
2253
  - spec/unit/pops/types/type_calculator_spec.rb
2459
2254
  - spec/unit/pops/types/type_parser_spec.rb
2460
2255
  - spec/unit/pops/types/type_factory_spec.rb
2461
2256
  - spec/unit/pops/factory_spec.rb
2462
2257
  - spec/unit/pops/validator/validator_spec.rb
2463
- - spec/unit/pops/validation_spec.rb
2464
- - spec/unit/pops/evaluator/runtime3_converter_spec.rb
2465
2258
  - spec/unit/pops/evaluator/conditionals_spec.rb
2466
2259
  - spec/unit/pops/evaluator/variables_spec.rb
2467
2260
  - spec/unit/pops/evaluator/collections_ops_spec.rb
@@ -2473,11 +2266,6 @@ files:
2473
2266
  - spec/unit/pops/evaluator/string_interpolation_spec.rb
2474
2267
  - spec/unit/pops/evaluator/logical_ops_spec.rb
2475
2268
  - spec/unit/pops/evaluator/arithmetic_ops_spec.rb
2476
- - spec/unit/pops/transformer/transform_basic_expressions_spec.rb
2477
- - spec/unit/pops/transformer/transform_conditionals_spec.rb
2478
- - spec/unit/pops/transformer/transformer_rspec_helper.rb
2479
- - spec/unit/pops/transformer/transform_calls_spec.rb
2480
- - spec/unit/pops/transformer/transform_containers_spec.rb
2481
2269
  - spec/unit/pops/containment_spec.rb
2482
2270
  - spec/unit/pops/issues_spec.rb
2483
2271
  - spec/unit/pops/parser/parse_containers_spec.rb
@@ -2493,7 +2281,6 @@ files:
2493
2281
  - spec/unit/pops/parser/parse_resource_spec.rb
2494
2282
  - spec/unit/pops/parser/parse_calls_spec.rb
2495
2283
  - spec/unit/pops/parser/lexer2_spec.rb
2496
- - spec/unit/pops/migration_spec.rb
2497
2284
  - spec/unit/pops/utils_spec.rb
2498
2285
  - spec/unit/pops/binder/bindings_checker_spec.rb
2499
2286
  - spec/unit/pops/binder/bindings_composer_spec.rb
@@ -2501,7 +2288,6 @@ files:
2501
2288
  - spec/unit/pops/binder/config/binder_config_spec.rb
2502
2289
  - spec/unit/pops/binder/binder_spec.rb
2503
2290
  - spec/unit/pops/binder/bindings_validator_factory_spec.rb
2504
- - spec/unit/pops/model/ast_transformer_spec.rb
2505
2291
  - spec/unit/pops/model/model_spec.rb
2506
2292
  - spec/unit/pops/visitor_spec.rb
2507
2293
  - spec/unit/pops/loaders/dependency_loader_spec.rb
@@ -2545,19 +2331,16 @@ files:
2545
2331
  - spec/unit/ssl/certificate_request_attributes_spec.rb
2546
2332
  - spec/unit/ssl/oids_spec.rb
2547
2333
  - spec/unit/ssl/certificate_factory_spec.rb
2334
+ - spec/unit/face/epp_face_spec.rb
2548
2335
  - spec/unit/face/certificate_spec.rb
2549
2336
  - spec/unit/face/node_spec.rb
2550
2337
  - spec/unit/face/plugin_spec.rb
2551
2338
  - spec/unit/face/config_spec.rb
2552
- - spec/unit/face/instrumentation_data_spec.rb
2553
2339
  - spec/unit/face/module_spec.rb
2554
2340
  - spec/unit/face/parser_spec.rb
2555
2341
  - spec/unit/face/help_spec.rb
2556
- - spec/unit/face/instrumentation_probe_spec.rb
2557
- - spec/unit/face/secret_agent_spec.rb
2558
2342
  - spec/unit/face/catalog_spec.rb
2559
2343
  - spec/unit/face/file_spec.rb
2560
- - spec/unit/face/instrumentation_listener_spec.rb
2561
2344
  - spec/unit/face/module/build_spec.rb
2562
2345
  - spec/unit/face/module/uninstall_spec.rb
2563
2346
  - spec/unit/face/module/upgrade_spec.rb
@@ -2571,9 +2354,11 @@ files:
2571
2354
  - spec/unit/resource/type_collection_helper_spec.rb
2572
2355
  - spec/unit/resource/catalog_spec.rb
2573
2356
  - spec/unit/resource/type_spec.rb
2357
+ - spec/unit/functions/split_spec.rb
2574
2358
  - spec/unit/functions/scanf_spec.rb
2359
+ - spec/unit/functions/regsubst_spec.rb
2575
2360
  - spec/unit/functions/with_spec.rb
2576
- - spec/unit/functions/defined_spec.rb
2361
+ - spec/unit/functions/lookup_spec.rb
2577
2362
  - spec/unit/functions/match_spec.rb
2578
2363
  - spec/unit/functions/slice_spec.rb
2579
2364
  - spec/unit/functions/reduce_spec.rb
@@ -2585,11 +2370,13 @@ files:
2585
2370
  - spec/unit/functions/epp_spec.rb
2586
2371
  - spec/unit/functions/hiera_spec.rb
2587
2372
  - spec/unit/confine_collection_spec.rb
2373
+ - spec/unit/external/pson_spec.rb
2588
2374
  - spec/unit/provider/command_spec.rb
2589
2375
  - spec/unit/provider/cron/crontab_spec.rb
2590
2376
  - spec/unit/provider/cron/parsed_spec.rb
2591
2377
  - spec/unit/provider/user/useradd_spec.rb
2592
2378
  - spec/unit/provider/user/directoryservice_spec.rb
2379
+ - spec/unit/provider/user/openbsd_spec.rb
2593
2380
  - spec/unit/provider/user/user_role_add_spec.rb
2594
2381
  - spec/unit/provider/user/ldap_spec.rb
2595
2382
  - spec/unit/provider/user/aix_spec.rb
@@ -2652,7 +2439,6 @@ files:
2652
2439
  - spec/unit/provider/package/nim_spec.rb
2653
2440
  - spec/unit/provider/package/sun_spec.rb
2654
2441
  - spec/unit/provider/package/pip_spec.rb
2655
- - spec/unit/provider/package/msi_spec.rb
2656
2442
  - spec/unit/provider/package/appdmg_spec.rb
2657
2443
  - spec/unit/provider/package/windows_spec.rb
2658
2444
  - spec/unit/provider/package/pkgin_spec.rb
@@ -2666,11 +2452,11 @@ files:
2666
2452
  - spec/unit/provider/package/opkg_spec.rb
2667
2453
  - spec/unit/provider/package/aix_spec.rb
2668
2454
  - spec/unit/provider/package/pkgdmg_spec.rb
2455
+ - spec/unit/provider/package/urpmi_spec.rb
2669
2456
  - spec/unit/provider/package/up2date_spec.rb
2670
2457
  - spec/unit/provider/package/hpux_spec.rb
2671
2458
  - spec/unit/provider/package/yum_spec.rb
2672
2459
  - spec/unit/provider/package/aptrpm_spec.rb
2673
- - spec/unit/provider/package/urpmi.rb
2674
2460
  - spec/unit/provider/package/apt_spec.rb
2675
2461
  - spec/unit/provider/package/zypper_spec.rb
2676
2462
  - spec/unit/provider/package/windows/msi_package_spec.rb
@@ -2693,8 +2479,8 @@ files:
2693
2479
  - spec/unit/forge/errors_spec.rb
2694
2480
  - spec/spec_helper.rb
2695
2481
  - spec/watchr.rb
2696
- - spec/shared_contexts/platform.rb
2697
- - spec/shared_contexts/checksums.rb
2482
+ - spec/shared_contexts/checksum.rb
2483
+ - spec/shared_contexts/digests.rb
2698
2484
  - spec/shared_behaviours/hiera_indirections.rb
2699
2485
  - spec/shared_behaviours/iterative_functions.rb
2700
2486
  - spec/shared_behaviours/documentation_on_faces.rb
@@ -2727,9 +2513,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
2727
2513
  required_rubygems_version: !ruby/object:Gem::Requirement
2728
2514
  none: false
2729
2515
  requirements:
2730
- - - ! '>='
2516
+ - - ! '>'
2731
2517
  - !ruby/object:Gem::Version
2732
- version: '0'
2518
+ version: 1.3.1
2733
2519
  requirements: []
2734
2520
  rubyforge_project: puppet
2735
2521
  rubygems_version: 1.8.23
@@ -2740,11 +2526,12 @@ test_files:
2740
2526
  - spec/lib/puppet_spec/fixtures.rb
2741
2527
  - spec/lib/puppet_spec/scope.rb
2742
2528
  - spec/lib/puppet_spec/matchers.rb
2743
- - spec/lib/puppet_spec/database.rb
2744
2529
  - spec/lib/puppet_spec/settings.rb
2745
2530
  - spec/lib/puppet_spec/pops.rb
2746
2531
  - spec/lib/puppet_spec/modules.rb
2747
2532
  - spec/lib/puppet_spec/language.rb
2533
+ - spec/lib/puppet_spec/handler.rb
2534
+ - spec/lib/puppet_spec/network.rb
2748
2535
  - spec/lib/puppet_spec/module_tool/shared_functions.rb
2749
2536
  - spec/lib/puppet_spec/module_tool/stub_source.rb
2750
2537
  - spec/lib/puppet_spec/compiler.rb
@@ -2759,6 +2546,7 @@ test_files:
2759
2546
  - spec/lib/puppet/face/1.0.0/huzzah.rb
2760
2547
  - spec/lib/puppet/face/basetest.rb
2761
2548
  - spec/lib/puppet/face/huzzah.rb
2549
+ - spec/lib/puppet/indirector_proxy.rb
2762
2550
  - spec/lib/matchers/include.rb
2763
2551
  - spec/lib/matchers/json.rb
2764
2552
  - spec/lib/matchers/containment_matchers.rb
@@ -2788,9 +2576,9 @@ test_files:
2788
2576
  - spec/fixtures/integration/provider/cron/crontab/remove_named_resource
2789
2577
  - spec/fixtures/integration/provider/cron/crontab/create_normal_entry
2790
2578
  - spec/fixtures/integration/provider/mailalias/aliases/test1
2579
+ - spec/fixtures/integration/provider/sshkey/sample
2791
2580
  - spec/fixtures/stdlib.tgz
2792
2581
  - spec/fixtures/faulty_face/puppet/face/syntax.rb
2793
- - spec/fixtures/yaml/report0.25.x.yaml
2794
2582
  - spec/fixtures/yaml/report2.6.x.yaml
2795
2583
  - spec/fixtures/yaml/test.local.yaml
2796
2584
  - spec/fixtures/unit/indirector/hiera/invalid.yaml
@@ -2847,6 +2635,17 @@ test_files:
2847
2635
  - spec/fixtures/unit/parser/lexer/arraytrailingcomma.pp
2848
2636
  - spec/fixtures/unit/parser/functions/create_resources/foo/manifests/wrongdefine.pp
2849
2637
  - spec/fixtures/unit/parser/functions/create_resources/foo/manifests/init.pp
2638
+ - spec/fixtures/unit/data_providers/environments/production/lib/puppet/functions/environment/data.rb
2639
+ - spec/fixtures/unit/data_providers/environments/production/environment.conf
2640
+ - spec/fixtures/unit/data_providers/environments/production/modules/abc/lib/puppet/bindings/abc/default.rb
2641
+ - spec/fixtures/unit/data_providers/environments/production/modules/abc/lib/puppet/functions/abc/data.rb
2642
+ - spec/fixtures/unit/data_providers/environments/production/modules/abc/manifests/init.pp
2643
+ - spec/fixtures/unit/data_providers/environments/sample/environment.conf
2644
+ - spec/fixtures/unit/data_providers/environments/sample/modules/dataprovider/lib/puppet/bindings/dataprovider/default.rb
2645
+ - spec/fixtures/unit/data_providers/environments/sample/modules/dataprovider/lib/puppet_x/helindbe/sample_env_data.rb
2646
+ - spec/fixtures/unit/data_providers/environments/sample/modules/dataprovider/lib/puppet_x/helindbe/sample_module_data.rb
2647
+ - spec/fixtures/unit/data_providers/environments/sample/modules/dataprovider/manifests/init.pp
2648
+ - spec/fixtures/unit/data_providers/environments/sample/manifests/site.pp
2850
2649
  - spec/fixtures/unit/reports/tagmail/tagmail_email.conf
2851
2650
  - spec/fixtures/unit/reports/tagmail/tagmail_passers.conf
2852
2651
  - spec/fixtures/unit/reports/tagmail/tagmail_failers.conf
@@ -2893,12 +2692,13 @@ test_files:
2893
2692
  - spec/fixtures/unit/pops/parser/lexer/singleselector.pp
2894
2693
  - spec/fixtures/unit/pops/parser/lexer/implicititeration.pp
2895
2694
  - spec/fixtures/unit/pops/parser/lexer/arraytrailingcomma.pp
2695
+ - spec/fixtures/unit/pops/binder/config/binder_config/nolayer/binder_config.yaml
2896
2696
  - spec/fixtures/unit/pops/binder/config/binder_config/ok/binder_config.yaml
2897
2697
  - spec/fixtures/unit/pops/binder/bindings_composer/ok/lib/puppet/bindings/confdirtest.rb
2898
2698
  - spec/fixtures/unit/pops/binder/bindings_composer/ok/binder_config.yaml
2899
2699
  - spec/fixtures/unit/pops/binder/bindings_composer/ok/modules/good/lib/puppet/bindings/good/default.rb
2900
2700
  - spec/fixtures/unit/pops/binder/bindings_composer/ok/modules/awesome2/lib/puppet/bindings/awesome2/default.rb
2901
- - spec/fixtures/unit/pops/binder/bindings_composer/ok/modules/awesome2/lib/puppetx/awesome2/echo_scheme_handler.rb
2701
+ - spec/fixtures/unit/pops/binder/bindings_composer/ok/modules/awesome2/lib/puppet_x/awesome2/echo_scheme_handler.rb
2902
2702
  - spec/fixtures/unit/pops/binder/bindings_composer/ok/modules/bad/lib/puppet/bindings/bad/default.rb
2903
2703
  - spec/fixtures/unit/pops/loaders/loaders/wo_metadata_module/modules/moduleb/lib/puppet/functions/moduleb/rb_func_b.rb
2904
2704
  - spec/fixtures/unit/pops/loaders/loaders/wo_metadata_module/modules/moduleb/manifests/init.pp
@@ -2915,7 +2715,14 @@ test_files:
2915
2715
  - spec/fixtures/unit/pops/loaders/loaders/dependent_modules_with_metadata/user/lib/puppet/functions/user/caller.rb
2916
2716
  - spec/fixtures/unit/pops/loaders/loaders/dependent_modules_with_metadata/user/metadata.json
2917
2717
  - spec/fixtures/unit/pops/loaders/loaders/dependent_modules_with_metadata/usee/lib/puppet/functions/usee/callee.rb
2718
+ - spec/fixtures/unit/ssl/certificate/old-style-cert-exts.pem
2719
+ - spec/fixtures/unit/ssl/certificate_request/old-style-cert-request.pem
2918
2720
  - spec/fixtures/unit/module/trailing-comma.json
2721
+ - spec/fixtures/unit/functions/lookup/environments/production/lib/puppet/functions/environment/data.rb
2722
+ - spec/fixtures/unit/functions/lookup/environments/production/environment.conf
2723
+ - spec/fixtures/unit/functions/lookup/environments/production/modules/abc/lib/puppet/bindings/abc/default.rb
2724
+ - spec/fixtures/unit/functions/lookup/environments/production/modules/abc/lib/puppet/functions/abc/data.rb
2725
+ - spec/fixtures/unit/functions/lookup/environments/production/modules/abc/manifests/init.pp
2919
2726
  - spec/fixtures/unit/provider/cron/crontab/vixie_header.txt
2920
2727
  - spec/fixtures/unit/provider/cron/crontab/single_line.yaml
2921
2728
  - spec/fixtures/unit/provider/cron/parsed/managed
@@ -2925,6 +2732,7 @@ test_files:
2925
2732
  - spec/fixtures/unit/provider/service/openrc/rcservice_list
2926
2733
  - spec/fixtures/unit/provider/service/systemd/list_unit_files_services
2927
2734
  - spec/fixtures/unit/provider/service/smf/svcs.out
2735
+ - spec/fixtures/unit/provider/service/openbsd/rcctl_getall
2928
2736
  - spec/fixtures/unit/provider/mount/mount-output.aix.txt
2929
2737
  - spec/fixtures/unit/provider/mount/parsed/darwin.mount
2930
2738
  - spec/fixtures/unit/provider/mount/parsed/freebsd.mount
@@ -2958,12 +2766,11 @@ test_files:
2958
2766
  - spec/fixtures/unit/provider/package/gem/line-with-1.8.5-warning
2959
2767
  - spec/fixtures/unit/provider/package/pkg/solaris11
2960
2768
  - spec/fixtures/unit/provider/package/pkg/unknown_status
2769
+ - spec/fixtures/unit/provider/package/pkg/dummy_implicit_version
2961
2770
  - spec/fixtures/unit/provider/package/pkg/dummy_solaris11.certificate_warning
2962
2771
  - spec/fixtures/unit/provider/package/pkg/dummy_solaris11.ifo.installed
2963
2772
  - spec/fixtures/unit/provider/package/pkg/dummy_solaris11.known
2964
- - spec/fixtures/unit/provider/package/pkg/simple
2965
2773
  - spec/fixtures/unit/provider/package/pkg/dummy_solaris11.ifo.known
2966
- - spec/fixtures/unit/provider/package/pkg/publisher
2967
2774
  - spec/fixtures/unit/provider/package/pkg/incomplete
2968
2775
  - spec/fixtures/unit/provider/package/pkg/dummy_solaris10
2969
2776
  - spec/fixtures/unit/provider/package/pkg/dummy_solaris11.installed
@@ -2972,6 +2779,8 @@ test_files:
2972
2779
  - spec/fixtures/unit/provider/package/openbsd/pkginfo.list
2973
2780
  - spec/fixtures/unit/provider/package/openbsd/pkginfo_flavors.list
2974
2781
  - spec/fixtures/unit/provider/package/openbsd/pkginfo.query
2782
+ - spec/fixtures/unit/provider/package/yum/yum-check-update-simple.txt
2783
+ - spec/fixtures/unit/provider/package/yum/yum-check-update-multiline.txt
2975
2784
  - spec/fixtures/unit/provider/zpool/zpool/zpool-list.out
2976
2785
  - spec/fixtures/unit/provider/zfs/zfs/zfs-list.out
2977
2786
  - spec/fixtures/releases/jamtur01-apache/lib/puppet/type/a2mod.rb
@@ -2994,9 +2803,9 @@ test_files:
2994
2803
  - spec/fixtures/releases/jamtur01-apache/manifests/ssl.pp
2995
2804
  - spec/fixtures/releases/jamtur01-apache/manifests/params.pp
2996
2805
  - spec/fixtures/hiera.yaml
2997
- - spec/fixtures/module.tar.gz
2998
2806
  - spec/fixtures/manifests/site.pp
2999
2807
  - spec/fixtures/java.tgz
2808
+ - spec/integration/environments/settings_spec.rb
3000
2809
  - spec/integration/environments/default_manifest_spec.rb
3001
2810
  - spec/integration/environments/settings_interpolation_spec.rb
3002
2811
  - spec/integration/environments/setting_hooks_spec.rb
@@ -3004,6 +2813,7 @@ test_files:
3004
2813
  - spec/integration/node/environment_spec.rb
3005
2814
  - spec/integration/node/facts_spec.rb
3006
2815
  - spec/integration/configurer_spec.rb
2816
+ - spec/integration/network/http/api/indirected_routes_spec.rb
3007
2817
  - spec/integration/network/authconfig_spec.rb
3008
2818
  - spec/integration/network/formats_spec.rb
3009
2819
  - spec/integration/node_spec.rb
@@ -3011,12 +2821,10 @@ test_files:
3011
2821
  - spec/integration/indirector/node/ldap_spec.rb
3012
2822
  - spec/integration/indirector/facts/facter_spec.rb
3013
2823
  - spec/integration/indirector/file_metadata/file_server_spec.rb
3014
- - spec/integration/indirector/catalog/queue_spec.rb
3015
2824
  - spec/integration/indirector/catalog/compiler_spec.rb
3016
2825
  - spec/integration/indirector/direct_file_server_spec.rb
3017
2826
  - spec/integration/util/settings_spec.rb
3018
2827
  - spec/integration/util/autoload_spec.rb
3019
- - spec/integration/util/feature_spec.rb
3020
2828
  - spec/integration/util/rdoc/parser_spec.rb
3021
2829
  - spec/integration/util/execution_spec.rb
3022
2830
  - spec/integration/util/windows/security_spec.rb
@@ -3030,7 +2838,6 @@ test_files:
3030
2838
  - spec/integration/type/tidy_spec.rb
3031
2839
  - spec/integration/type/package_spec.rb
3032
2840
  - spec/integration/type/file_spec.rb
3033
- - spec/integration/type/sshkey_spec.rb
3034
2841
  - spec/integration/type/exec_spec.rb
3035
2842
  - spec/integration/type/user_spec.rb
3036
2843
  - spec/integration/reference/providers_spec.rb
@@ -3045,22 +2852,17 @@ test_files:
3045
2852
  - spec/integration/file_serving/metadata_spec.rb
3046
2853
  - spec/integration/transaction_spec.rb
3047
2854
  - spec/integration/data_binding.rb
3048
- - spec/integration/parser/future_compiler_spec.rb
3049
2855
  - spec/integration/parser/resource_expressions_spec.rb
3050
2856
  - spec/integration/parser/node_spec.rb
3051
2857
  - spec/integration/parser/class_spec.rb
3052
2858
  - spec/integration/parser/conditionals_spec.rb
3053
- - spec/integration/parser/parser_spec.rb
3054
- - spec/integration/parser/collector_spec.rb
3055
- - spec/integration/parser/dynamic_scoping_spec.rb
2859
+ - spec/integration/parser/collection_spec.rb
3056
2860
  - spec/integration/parser/catalog_spec.rb
3057
2861
  - spec/integration/parser/compiler_spec.rb
3058
2862
  - spec/integration/parser/environment_spec.rb
3059
- - spec/integration/parser/ruby_manifest_spec.rb
3060
2863
  - spec/integration/parser/functions/require_spec.rb
3061
2864
  - spec/integration/parser/scope_spec.rb
3062
2865
  - spec/integration/parser/undef_param_spec.rb
3063
- - spec/integration/module_tool/tar/mini_spec.rb
3064
2866
  - spec/integration/type_spec.rb
3065
2867
  - spec/integration/agent/logging_spec.rb
3066
2868
  - spec/integration/ssl/certificate_request_spec.rb
@@ -3079,19 +2881,15 @@ test_files:
3079
2881
  - spec/integration/provider/ssh_authorized_key_spec.rb
3080
2882
  - spec/integration/provider/mount_spec.rb
3081
2883
  - spec/integration/provider/package_spec.rb
3082
- - spec/monkey_patches/alias_should_to_must.rb
2884
+ - spec/integration/provider/sshkey_spec.rb
3083
2885
  - spec/unit/scheduler/scheduler_spec.rb
3084
2886
  - spec/unit/scheduler/splay_job_spec.rb
3085
2887
  - spec/unit/scheduler/job_spec.rb
3086
- - spec/unit/rails/param_value_spec.rb
3087
- - spec/unit/rails/host_spec.rb
3088
- - spec/unit/rails/resource_spec.rb
3089
2888
  - spec/unit/file_bucket/dipper_spec.rb
3090
2889
  - spec/unit/file_bucket/file_spec.rb
3091
2890
  - spec/unit/node/environment_spec.rb
3092
2891
  - spec/unit/node/facts_spec.rb
3093
2892
  - spec/unit/puppet_spec.rb
3094
- - spec/unit/rails_spec.rb
3095
2893
  - spec/unit/data_binding_spec.rb
3096
2894
  - spec/unit/application_spec.rb
3097
2895
  - spec/unit/provider_spec.rb
@@ -3099,7 +2897,6 @@ test_files:
3099
2897
  - spec/unit/hiera_puppet_spec.rb
3100
2898
  - spec/unit/configurer_spec.rb
3101
2899
  - spec/unit/relationship_spec.rb
3102
- - spec/unit/hiera/backend/puppet_backend_spec.rb
3103
2900
  - spec/unit/hiera/scope_spec.rb
3104
2901
  - spec/unit/context_spec.rb
3105
2902
  - spec/unit/network/http_pool_spec.rb
@@ -3113,19 +2910,20 @@ test_files:
3113
2910
  - spec/unit/network/http/webrick_spec.rb
3114
2911
  - spec/unit/network/http/error_spec.rb
3115
2912
  - spec/unit/network/http/pool_spec.rb
2913
+ - spec/unit/network/http/api_spec.rb
3116
2914
  - spec/unit/network/http/connection_spec.rb
3117
2915
  - spec/unit/network/http/rack/rest_spec.rb
3118
2916
  - spec/unit/network/http/nocache_pool_spec.rb
3119
- - spec/unit/network/http/api/v2/environments_spec.rb
3120
- - spec/unit/network/http/api/v2/authorization_spec.rb
3121
- - spec/unit/network/http/api/v1_spec.rb
3122
- - spec/unit/network/http/api/v2_spec.rb
2917
+ - spec/unit/network/http/api/master/v3/environments_spec.rb
2918
+ - spec/unit/network/http/api/master/v3/authorization_spec.rb
2919
+ - spec/unit/network/http/api/master/v3_spec.rb
2920
+ - spec/unit/network/http/api/indirected_routes_spec.rb
2921
+ - spec/unit/network/http/api/ca/v1_spec.rb
3123
2922
  - spec/unit/network/http/rack_spec.rb
3124
2923
  - spec/unit/network/format_handler_spec.rb
3125
2924
  - spec/unit/network/authconfig_spec.rb
3126
2925
  - spec/unit/network/format_support_spec.rb
3127
2926
  - spec/unit/network/auth_config_parser_spec.rb
3128
- - spec/unit/network/authentication_spec.rb
3129
2927
  - spec/unit/network/authorization_spec.rb
3130
2928
  - spec/unit/network/resolver_spec.rb
3131
2929
  - spec/unit/network/rights_spec.rb
@@ -3148,7 +2946,6 @@ test_files:
3148
2946
  - spec/unit/indirector/file_content/file_server_spec.rb
3149
2947
  - spec/unit/indirector/node/rest_spec.rb
3150
2948
  - spec/unit/indirector/node/store_configs_spec.rb
3151
- - spec/unit/indirector/node/active_record_spec.rb
3152
2949
  - spec/unit/indirector/node/yaml_spec.rb
3153
2950
  - spec/unit/indirector/node/plain_spec.rb
3154
2951
  - spec/unit/indirector/node/ldap_spec.rb
@@ -3159,36 +2956,23 @@ test_files:
3159
2956
  - spec/unit/indirector/certificate_revocation_list/disabled_ca_spec.rb
3160
2957
  - spec/unit/indirector/certificate_revocation_list/ca_spec.rb
3161
2958
  - spec/unit/indirector/certificate_revocation_list/file_spec.rb
3162
- - spec/unit/indirector/instrumentation_probe/rest_spec.rb
3163
- - spec/unit/indirector/instrumentation_probe/local_spec.rb
3164
2959
  - spec/unit/indirector/rest_spec.rb
3165
2960
  - spec/unit/indirector/key/disabled_ca_spec.rb
3166
2961
  - spec/unit/indirector/key/ca_spec.rb
3167
2962
  - spec/unit/indirector/key/file_spec.rb
3168
- - spec/unit/indirector/facts/rest_spec.rb
3169
2963
  - spec/unit/indirector/facts/store_configs_spec.rb
3170
- - spec/unit/indirector/facts/active_record_spec.rb
3171
- - spec/unit/indirector/facts/inventory_active_record_spec.rb
3172
2964
  - spec/unit/indirector/facts/yaml_spec.rb
3173
- - spec/unit/indirector/facts/inventory_service_spec.rb
3174
2965
  - spec/unit/indirector/facts/network_device_spec.rb
3175
2966
  - spec/unit/indirector/facts/facter_spec.rb
3176
- - spec/unit/indirector/facts/couch_spec.rb
3177
- - spec/unit/indirector/run/rest_spec.rb
3178
- - spec/unit/indirector/run/local_spec.rb
3179
2967
  - spec/unit/indirector/json_spec.rb
3180
2968
  - spec/unit/indirector/certificate/rest_spec.rb
3181
2969
  - spec/unit/indirector/certificate/disabled_ca_spec.rb
3182
2970
  - spec/unit/indirector/certificate/ca_spec.rb
3183
2971
  - spec/unit/indirector/certificate/file_spec.rb
3184
- - spec/unit/indirector/queue_spec.rb
3185
2972
  - spec/unit/indirector/store_configs_spec.rb
3186
- - spec/unit/indirector/instrumentation_listener/rest_spec.rb
3187
- - spec/unit/indirector/instrumentation_listener/local_spec.rb
3188
2973
  - spec/unit/indirector/request_spec.rb
3189
2974
  - spec/unit/indirector/certificate_status/rest_spec.rb
3190
2975
  - spec/unit/indirector/certificate_status/file_spec.rb
3191
- - spec/unit/indirector/active_record_spec.rb
3192
2976
  - spec/unit/indirector/certificate_request/rest_spec.rb
3193
2977
  - spec/unit/indirector/certificate_request/disabled_ca_spec.rb
3194
2978
  - spec/unit/indirector/certificate_request/ca_spec.rb
@@ -3214,9 +2998,7 @@ test_files:
3214
2998
  - spec/unit/indirector/status/local_spec.rb
3215
2999
  - spec/unit/indirector/catalog/rest_spec.rb
3216
3000
  - spec/unit/indirector/catalog/json_spec.rb
3217
- - spec/unit/indirector/catalog/queue_spec.rb
3218
3001
  - spec/unit/indirector/catalog/store_configs_spec.rb
3219
- - spec/unit/indirector/catalog/active_record_spec.rb
3220
3002
  - spec/unit/indirector/catalog/yaml_spec.rb
3221
3003
  - spec/unit/indirector/catalog/msgpack_spec.rb
3222
3004
  - spec/unit/indirector/catalog/compiler_spec.rb
@@ -3227,17 +3009,13 @@ test_files:
3227
3009
  - spec/unit/indirector/msgpack_spec.rb
3228
3010
  - spec/unit/indirector/resource_type/rest_spec.rb
3229
3011
  - spec/unit/indirector/resource_type/parser_spec.rb
3230
- - spec/unit/indirector/instrumentation_data/rest_spec.rb
3231
- - spec/unit/indirector/instrumentation_data/local_spec.rb
3232
3012
  - spec/unit/indirector/file_server_spec.rb
3233
3013
  - spec/unit/indirector/envelope_spec.rb
3234
3014
  - spec/unit/indirector/direct_file_server_spec.rb
3235
3015
  - spec/unit/indirector/data_binding/none_spec.rb
3236
3016
  - spec/unit/indirector/data_binding/hiera_spec.rb
3237
- - spec/unit/indirector/resource/rest_spec.rb
3238
3017
  - spec/unit/indirector/resource/ral_spec.rb
3239
3018
  - spec/unit/indirector/resource/store_configs_spec.rb
3240
- - spec/unit/indirector/resource/active_record_spec.rb
3241
3019
  - spec/unit/indirector/indirection_spec.rb
3242
3020
  - spec/unit/indirector/exec_spec.rb
3243
3021
  - spec/unit/indirector/hiera_spec.rb
@@ -3256,20 +3034,16 @@ test_files:
3256
3034
  - spec/unit/util/run_mode_spec.rb
3257
3035
  - spec/unit/util/ssl_spec.rb
3258
3036
  - spec/unit/util/watcher/periodic_watcher_spec.rb
3259
- - spec/unit/util/queue_spec.rb
3260
3037
  - spec/unit/util/symbolic_file_mode_spec.rb
3261
3038
  - spec/unit/util/resource_template_spec.rb
3262
3039
  - spec/unit/util/warnings_spec.rb
3263
3040
  - spec/unit/util/colors_spec.rb
3264
- - spec/unit/util/monkey_patches/lines_spec.rb
3265
3041
  - spec/unit/util/user_attr_spec.rb
3266
3042
  - spec/unit/util/inifile_spec.rb
3267
- - spec/unit/util/pson_spec.rb
3268
3043
  - spec/unit/util/json_lockfile_spec.rb
3269
3044
  - spec/unit/util/posix_spec.rb
3270
3045
  - spec/unit/util/metric_spec.rb
3271
- - spec/unit/util/cacher_spec.rb
3272
- - spec/unit/util/queue/stomp_spec.rb
3046
+ - spec/unit/util/retry_action_spec.rb
3273
3047
  - spec/unit/util/watched_file_spec.rb
3274
3048
  - spec/unit/util/nagios_maker_spec.rb
3275
3049
  - spec/unit/util/yaml_spec.rb
@@ -3279,12 +3053,9 @@ test_files:
3279
3053
  - spec/unit/util/tagging_spec.rb
3280
3054
  - spec/unit/util/autoload_spec.rb
3281
3055
  - spec/unit/util/log_spec.rb
3282
- - spec/unit/util/log/rate_limited_logger_spec.rb
3283
3056
  - spec/unit/util/log/destinations_spec.rb
3284
3057
  - spec/unit/util/feature_spec.rb
3285
3058
  - spec/unit/util/package_spec.rb
3286
- - spec/unit/util/inline_docs_spec.rb
3287
- - spec/unit/util/zaml_spec.rb
3288
3059
  - spec/unit/util/storage_spec.rb
3289
3060
  - spec/unit/util/network_device/transport/telnet_spec.rb
3290
3061
  - spec/unit/util/network_device/transport/base_spec.rb
@@ -3296,7 +3067,6 @@ test_files:
3296
3067
  - spec/unit/util/network_device/cisco/facts_spec.rb
3297
3068
  - spec/unit/util/filetype_spec.rb
3298
3069
  - spec/unit/util/constant_inflector_spec.rb
3299
- - spec/unit/util/rdoc/parser_spec.rb
3300
3070
  - spec/unit/util/suidmanager_spec.rb
3301
3071
  - spec/unit/util/profiler/logging_spec.rb
3302
3072
  - spec/unit/util/profiler/around_profiler_spec.rb
@@ -3306,20 +3076,10 @@ test_files:
3306
3076
  - spec/unit/util/network_device_spec.rb
3307
3077
  - spec/unit/util/lockfile_spec.rb
3308
3078
  - spec/unit/util/command_line_utils/puppet_option_parser_spec.rb
3309
- - spec/unit/util/retryaction_spec.rb
3310
3079
  - spec/unit/util/watcher_spec.rb
3311
3080
  - spec/unit/util/execution_stub_spec.rb
3312
- - spec/unit/util/reference_serializer_spec.rb
3313
- - spec/unit/util/cache_accumulator_spec.rb
3314
3081
  - spec/unit/util/reference_spec.rb
3315
3082
  - spec/unit/util/command_line_spec.rb
3316
- - spec/unit/util/instrumentation/listeners/log_spec.rb
3317
- - spec/unit/util/instrumentation/listeners/performance_spec.rb
3318
- - spec/unit/util/instrumentation/indirection_probe_spec.rb
3319
- - spec/unit/util/instrumentation/listener_spec.rb
3320
- - spec/unit/util/instrumentation/data_spec.rb
3321
- - spec/unit/util/instrumentation/instrumentable_spec.rb
3322
- - spec/unit/util/instrumentation_spec.rb
3323
3083
  - spec/unit/util/errors_spec.rb
3324
3084
  - spec/unit/util/execution_spec.rb
3325
3085
  - spec/unit/util/tag_set_spec.rb
@@ -3337,17 +3097,14 @@ test_files:
3337
3097
  - spec/unit/application/certificate_spec.rb
3338
3098
  - spec/unit/application/agent_spec.rb
3339
3099
  - spec/unit/application/apply_spec.rb
3340
- - spec/unit/application/queue_spec.rb
3341
3100
  - spec/unit/application/indirection_base_spec.rb
3342
3101
  - spec/unit/application/doc_spec.rb
3343
3102
  - spec/unit/application/face_base_spec.rb
3344
3103
  - spec/unit/application/filebucket_spec.rb
3345
3104
  - spec/unit/application/device_spec.rb
3346
3105
  - spec/unit/application/config_spec.rb
3347
- - spec/unit/application/kick_spec.rb
3348
3106
  - spec/unit/application/master_spec.rb
3349
3107
  - spec/unit/application/inspect_spec.rb
3350
- - spec/unit/application/secret_agent_spec.rb
3351
3108
  - spec/unit/application/cert_spec.rb
3352
3109
  - spec/unit/application/describe_spec.rb
3353
3110
  - spec/unit/application/resource_spec.rb
@@ -3403,8 +3160,6 @@ test_files:
3403
3160
  - spec/unit/type/exec_spec.rb
3404
3161
  - spec/unit/type/user_spec.rb
3405
3162
  - spec/unit/defaults_spec.rb
3406
- - spec/unit/dsl/resource_type_api_spec.rb
3407
- - spec/unit/dsl/resource_api_spec.rb
3408
3163
  - spec/unit/configurer/plugin_handler_spec.rb
3409
3164
  - spec/unit/configurer/downloader_factory_spec.rb
3410
3165
  - spec/unit/configurer/fact_handler_spec.rb
@@ -3419,7 +3174,6 @@ test_files:
3419
3174
  - spec/unit/transaction/report_spec.rb
3420
3175
  - spec/unit/transaction/resource_harness_spec.rb
3421
3176
  - spec/unit/transaction/event_manager_spec.rb
3422
- - spec/unit/run_spec.rb
3423
3177
  - spec/unit/file_serving/configuration/parser_spec.rb
3424
3178
  - spec/unit/file_serving/base_spec.rb
3425
3179
  - spec/unit/file_serving/configuration_spec.rb
@@ -3447,40 +3201,11 @@ test_files:
3447
3201
  - spec/unit/parser/relationship_spec.rb
3448
3202
  - spec/unit/parser/templatewrapper_spec.rb
3449
3203
  - spec/unit/parser/type_loader_spec.rb
3450
- - spec/unit/parser/ast_spec.rb
3451
3204
  - spec/unit/parser/files_spec.rb
3452
- - spec/unit/parser/parser_spec.rb
3453
- - spec/unit/parser/collector_spec.rb
3454
3205
  - spec/unit/parser/functions_spec.rb
3455
3206
  - spec/unit/parser/compiler_spec.rb
3456
- - spec/unit/parser/ast/boolean_operator_spec.rb
3457
- - spec/unit/parser/ast/vardef_spec.rb
3458
- - spec/unit/parser/ast/arithmetic_operator_spec.rb
3459
- - spec/unit/parser/ast/in_operator_spec.rb
3460
- - spec/unit/parser/ast/relationship_spec.rb
3461
- - spec/unit/parser/ast/node_spec.rb
3462
- - spec/unit/parser/ast/casestatement_spec.rb
3463
- - spec/unit/parser/ast/resource_reference_spec.rb
3464
- - spec/unit/parser/ast/nop_spec.rb
3465
- - spec/unit/parser/ast/selector_spec.rb
3466
- - spec/unit/parser/ast/collection_spec.rb
3467
3207
  - spec/unit/parser/ast/block_expression_spec.rb
3468
- - spec/unit/parser/ast/function_spec.rb
3469
- - spec/unit/parser/ast/collexpr_spec.rb
3470
- - spec/unit/parser/ast/astarray_spec.rb
3471
3208
  - spec/unit/parser/ast/leaf_spec.rb
3472
- - spec/unit/parser/ast/not_spec.rb
3473
- - spec/unit/parser/ast/match_operator_spec.rb
3474
- - spec/unit/parser/ast/resourceparam_spec.rb
3475
- - spec/unit/parser/ast/comparison_operator_spec.rb
3476
- - spec/unit/parser/ast/definition_spec.rb
3477
- - spec/unit/parser/ast/ifstatement_spec.rb
3478
- - spec/unit/parser/ast/resource_override_spec.rb
3479
- - spec/unit/parser/ast/resource_defaults_spec.rb
3480
- - spec/unit/parser/ast/hostclass_spec.rb
3481
- - spec/unit/parser/ast/asthash_spec.rb
3482
- - spec/unit/parser/ast/minus_spec.rb
3483
- - spec/unit/parser/ast/resource_spec.rb
3484
3209
  - spec/unit/parser/resource/param_spec.rb
3485
3210
  - spec/unit/parser/functions/generate_spec.rb
3486
3211
  - spec/unit/parser/functions/hiera_hash_spec.rb
@@ -3500,7 +3225,6 @@ test_files:
3500
3225
  - spec/unit/parser/functions/lookup_spec.rb
3501
3226
  - spec/unit/parser/functions/tag_spec.rb
3502
3227
  - spec/unit/parser/functions/versioncmp_spec.rb
3503
- - spec/unit/parser/functions/extlookup_spec.rb
3504
3228
  - spec/unit/parser/functions/template_spec.rb
3505
3229
  - spec/unit/parser/functions/contain_spec.rb
3506
3230
  - spec/unit/parser/functions/file_spec.rb
@@ -3508,19 +3232,19 @@ test_files:
3508
3232
  - spec/unit/parser/functions/include_spec.rb
3509
3233
  - spec/unit/parser/functions/hiera_array_spec.rb
3510
3234
  - spec/unit/parser/functions/fail_spec.rb
3511
- - spec/unit/parser/functions/search_spec.rb
3512
3235
  - spec/unit/parser/functions/hiera_spec.rb
3513
3236
  - spec/unit/parser/scope_spec.rb
3514
3237
  - spec/unit/parser/resource_spec.rb
3515
- - spec/unit/parser/lexer_spec.rb
3516
3238
  - spec/unit/version_spec.rb
3517
3239
  - spec/unit/environments_spec.rb
3518
3240
  - spec/unit/property_spec.rb
3519
3241
  - spec/unit/functions4_spec.rb
3242
+ - spec/unit/data_providers/sample_data_provider_spec.rb
3243
+ - spec/unit/data_providers/function_data_provider_spec.rb
3520
3244
  - spec/unit/graph/relationship_graph_spec.rb
3521
3245
  - spec/unit/graph/key_spec.rb
3522
3246
  - spec/unit/graph/sequential_prioritizer_spec.rb
3523
- - spec/unit/graph/simple_graph.rb
3247
+ - spec/unit/graph/simple_graph_spec.rb
3524
3248
  - spec/unit/graph/title_hash_prioritizer_spec.rb
3525
3249
  - spec/unit/graph/rb_tree_map_spec.rb
3526
3250
  - spec/unit/settings/directory_setting_spec.rb
@@ -3538,10 +3262,8 @@ test_files:
3538
3262
  - spec/unit/settings/path_setting_spec.rb
3539
3263
  - spec/unit/settings/string_setting_spec.rb
3540
3264
  - spec/unit/parameter_spec.rb
3541
- - spec/unit/reports/tagmail_spec.rb
3542
3265
  - spec/unit/reports/store_spec.rb
3543
3266
  - spec/unit/reports/http_spec.rb
3544
- - spec/unit/reports/rrdgraph_spec.rb
3545
3267
  - spec/unit/interface/face_collection_spec.rb
3546
3268
  - spec/unit/interface/option_builder_spec.rb
3547
3269
  - spec/unit/interface/documentation_spec.rb
@@ -3555,13 +3277,12 @@ test_files:
3555
3277
  - spec/unit/pops/adaptable_spec.rb
3556
3278
  - spec/unit/pops/label_provider_spec.rb
3557
3279
  - spec/unit/pops/types/enumeration_spec.rb
3280
+ - spec/unit/pops/types/class_loader_spec.rb
3558
3281
  - spec/unit/pops/types/type_calculator_spec.rb
3559
3282
  - spec/unit/pops/types/type_parser_spec.rb
3560
3283
  - spec/unit/pops/types/type_factory_spec.rb
3561
3284
  - spec/unit/pops/factory_spec.rb
3562
3285
  - spec/unit/pops/validator/validator_spec.rb
3563
- - spec/unit/pops/validation_spec.rb
3564
- - spec/unit/pops/evaluator/runtime3_converter_spec.rb
3565
3286
  - spec/unit/pops/evaluator/conditionals_spec.rb
3566
3287
  - spec/unit/pops/evaluator/variables_spec.rb
3567
3288
  - spec/unit/pops/evaluator/collections_ops_spec.rb
@@ -3573,11 +3294,6 @@ test_files:
3573
3294
  - spec/unit/pops/evaluator/string_interpolation_spec.rb
3574
3295
  - spec/unit/pops/evaluator/logical_ops_spec.rb
3575
3296
  - spec/unit/pops/evaluator/arithmetic_ops_spec.rb
3576
- - spec/unit/pops/transformer/transform_basic_expressions_spec.rb
3577
- - spec/unit/pops/transformer/transform_conditionals_spec.rb
3578
- - spec/unit/pops/transformer/transformer_rspec_helper.rb
3579
- - spec/unit/pops/transformer/transform_calls_spec.rb
3580
- - spec/unit/pops/transformer/transform_containers_spec.rb
3581
3297
  - spec/unit/pops/containment_spec.rb
3582
3298
  - spec/unit/pops/issues_spec.rb
3583
3299
  - spec/unit/pops/parser/parse_containers_spec.rb
@@ -3593,7 +3309,6 @@ test_files:
3593
3309
  - spec/unit/pops/parser/parse_resource_spec.rb
3594
3310
  - spec/unit/pops/parser/parse_calls_spec.rb
3595
3311
  - spec/unit/pops/parser/lexer2_spec.rb
3596
- - spec/unit/pops/migration_spec.rb
3597
3312
  - spec/unit/pops/utils_spec.rb
3598
3313
  - spec/unit/pops/binder/bindings_checker_spec.rb
3599
3314
  - spec/unit/pops/binder/bindings_composer_spec.rb
@@ -3601,7 +3316,6 @@ test_files:
3601
3316
  - spec/unit/pops/binder/config/binder_config_spec.rb
3602
3317
  - spec/unit/pops/binder/binder_spec.rb
3603
3318
  - spec/unit/pops/binder/bindings_validator_factory_spec.rb
3604
- - spec/unit/pops/model/ast_transformer_spec.rb
3605
3319
  - spec/unit/pops/model/model_spec.rb
3606
3320
  - spec/unit/pops/visitor_spec.rb
3607
3321
  - spec/unit/pops/loaders/dependency_loader_spec.rb
@@ -3645,19 +3359,16 @@ test_files:
3645
3359
  - spec/unit/ssl/certificate_request_attributes_spec.rb
3646
3360
  - spec/unit/ssl/oids_spec.rb
3647
3361
  - spec/unit/ssl/certificate_factory_spec.rb
3362
+ - spec/unit/face/epp_face_spec.rb
3648
3363
  - spec/unit/face/certificate_spec.rb
3649
3364
  - spec/unit/face/node_spec.rb
3650
3365
  - spec/unit/face/plugin_spec.rb
3651
3366
  - spec/unit/face/config_spec.rb
3652
- - spec/unit/face/instrumentation_data_spec.rb
3653
3367
  - spec/unit/face/module_spec.rb
3654
3368
  - spec/unit/face/parser_spec.rb
3655
3369
  - spec/unit/face/help_spec.rb
3656
- - spec/unit/face/instrumentation_probe_spec.rb
3657
- - spec/unit/face/secret_agent_spec.rb
3658
3370
  - spec/unit/face/catalog_spec.rb
3659
3371
  - spec/unit/face/file_spec.rb
3660
- - spec/unit/face/instrumentation_listener_spec.rb
3661
3372
  - spec/unit/face/module/build_spec.rb
3662
3373
  - spec/unit/face/module/uninstall_spec.rb
3663
3374
  - spec/unit/face/module/upgrade_spec.rb
@@ -3671,9 +3382,11 @@ test_files:
3671
3382
  - spec/unit/resource/type_collection_helper_spec.rb
3672
3383
  - spec/unit/resource/catalog_spec.rb
3673
3384
  - spec/unit/resource/type_spec.rb
3385
+ - spec/unit/functions/split_spec.rb
3674
3386
  - spec/unit/functions/scanf_spec.rb
3387
+ - spec/unit/functions/regsubst_spec.rb
3675
3388
  - spec/unit/functions/with_spec.rb
3676
- - spec/unit/functions/defined_spec.rb
3389
+ - spec/unit/functions/lookup_spec.rb
3677
3390
  - spec/unit/functions/match_spec.rb
3678
3391
  - spec/unit/functions/slice_spec.rb
3679
3392
  - spec/unit/functions/reduce_spec.rb
@@ -3685,11 +3398,13 @@ test_files:
3685
3398
  - spec/unit/functions/epp_spec.rb
3686
3399
  - spec/unit/functions/hiera_spec.rb
3687
3400
  - spec/unit/confine_collection_spec.rb
3401
+ - spec/unit/external/pson_spec.rb
3688
3402
  - spec/unit/provider/command_spec.rb
3689
3403
  - spec/unit/provider/cron/crontab_spec.rb
3690
3404
  - spec/unit/provider/cron/parsed_spec.rb
3691
3405
  - spec/unit/provider/user/useradd_spec.rb
3692
3406
  - spec/unit/provider/user/directoryservice_spec.rb
3407
+ - spec/unit/provider/user/openbsd_spec.rb
3693
3408
  - spec/unit/provider/user/user_role_add_spec.rb
3694
3409
  - spec/unit/provider/user/ldap_spec.rb
3695
3410
  - spec/unit/provider/user/aix_spec.rb
@@ -3752,7 +3467,6 @@ test_files:
3752
3467
  - spec/unit/provider/package/nim_spec.rb
3753
3468
  - spec/unit/provider/package/sun_spec.rb
3754
3469
  - spec/unit/provider/package/pip_spec.rb
3755
- - spec/unit/provider/package/msi_spec.rb
3756
3470
  - spec/unit/provider/package/appdmg_spec.rb
3757
3471
  - spec/unit/provider/package/windows_spec.rb
3758
3472
  - spec/unit/provider/package/pkgin_spec.rb
@@ -3766,11 +3480,11 @@ test_files:
3766
3480
  - spec/unit/provider/package/opkg_spec.rb
3767
3481
  - spec/unit/provider/package/aix_spec.rb
3768
3482
  - spec/unit/provider/package/pkgdmg_spec.rb
3483
+ - spec/unit/provider/package/urpmi_spec.rb
3769
3484
  - spec/unit/provider/package/up2date_spec.rb
3770
3485
  - spec/unit/provider/package/hpux_spec.rb
3771
3486
  - spec/unit/provider/package/yum_spec.rb
3772
3487
  - spec/unit/provider/package/aptrpm_spec.rb
3773
- - spec/unit/provider/package/urpmi.rb
3774
3488
  - spec/unit/provider/package/apt_spec.rb
3775
3489
  - spec/unit/provider/package/zypper_spec.rb
3776
3490
  - spec/unit/provider/package/windows/msi_package_spec.rb
@@ -3793,8 +3507,8 @@ test_files:
3793
3507
  - spec/unit/forge/errors_spec.rb
3794
3508
  - spec/spec_helper.rb
3795
3509
  - spec/watchr.rb
3796
- - spec/shared_contexts/platform.rb
3797
- - spec/shared_contexts/checksums.rb
3510
+ - spec/shared_contexts/checksum.rb
3511
+ - spec/shared_contexts/digests.rb
3798
3512
  - spec/shared_behaviours/hiera_indirections.rb
3799
3513
  - spec/shared_behaviours/iterative_functions.rb
3800
3514
  - spec/shared_behaviours/documentation_on_faces.rb