puppet 4.2.3-x64-mingw32 → 4.3.0-x64-mingw32

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

Potentially problematic release.


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

Files changed (337) hide show
  1. data/Gemfile +3 -0
  2. data/README.md +1 -1
  3. data/ext/debian/puppet.init +0 -1
  4. data/ext/debian/puppet.logrotate +14 -5
  5. data/ext/osx/puppet.plist +0 -2
  6. data/ext/redhat/client.init +13 -5
  7. data/ext/redhat/logrotate +15 -3
  8. data/ext/redhat/puppet.spec.erb +5 -1
  9. data/ext/redhat/server.init +1 -1
  10. data/ext/systemd/puppet.service +1 -0
  11. data/lib/puppet.rb +12 -0
  12. data/lib/puppet/agent.rb +4 -4
  13. data/lib/puppet/agent/locker.rb +11 -2
  14. data/lib/puppet/application/agent.rb +5 -1
  15. data/lib/puppet/application/apply.rb +4 -0
  16. data/lib/puppet/application/filebucket.rb +78 -4
  17. data/lib/puppet/application/lookup.rb +356 -0
  18. data/lib/puppet/application/master.rb +3 -0
  19. data/lib/puppet/configurer.rb +9 -5
  20. data/lib/puppet/context.rb +16 -1
  21. data/lib/puppet/context/trusted_information.rb +21 -1
  22. data/lib/puppet/daemon.rb +17 -13
  23. data/lib/puppet/data_binding.rb +4 -2
  24. data/lib/puppet/data_providers.rb +12 -13
  25. data/lib/puppet/data_providers/data_adapter.rb +7 -68
  26. data/lib/puppet/data_providers/data_function_support.rb +5 -26
  27. data/lib/puppet/data_providers/function_env_data_provider.rb +0 -10
  28. data/lib/puppet/data_providers/function_module_data_provider.rb +0 -22
  29. data/lib/puppet/data_providers/hiera_config.rb +106 -0
  30. data/lib/puppet/data_providers/hiera_env_data_provider.rb +18 -0
  31. data/lib/puppet/data_providers/hiera_interpolate.rb +97 -0
  32. data/lib/puppet/data_providers/hiera_module_data_provider.rb +23 -0
  33. data/lib/puppet/data_providers/hiera_support.rb +37 -0
  34. data/lib/puppet/data_providers/json_data_provider_factory.rb +31 -0
  35. data/lib/puppet/data_providers/lookup_adapter.rb +200 -0
  36. data/lib/puppet/data_providers/yaml_data_provider_factory.rb +32 -0
  37. data/lib/puppet/defaults.rb +12 -2
  38. data/lib/puppet/error.rb +4 -0
  39. data/lib/puppet/face/module/changes.rb +2 -1
  40. data/lib/puppet/feature/cfacter.rb +1 -0
  41. data/lib/puppet/file_bucket/dipper.rb +58 -2
  42. data/lib/puppet/functions.rb +2 -4
  43. data/lib/puppet/functions/assert_type.rb +48 -12
  44. data/lib/puppet/functions/defined.rb +79 -48
  45. data/lib/puppet/functions/each.rb +85 -27
  46. data/lib/puppet/functions/filter.rb +58 -23
  47. data/lib/puppet/functions/hiera.rb +76 -3
  48. data/lib/puppet/functions/hiera_array.rb +65 -3
  49. data/lib/puppet/functions/hiera_hash.rb +74 -2
  50. data/lib/puppet/functions/hiera_include.rb +75 -2
  51. data/lib/puppet/functions/lookup.rb +19 -17
  52. data/lib/puppet/functions/map.rb +56 -21
  53. data/lib/puppet/functions/match.rb +29 -12
  54. data/lib/puppet/functions/reduce.rb +95 -58
  55. data/lib/puppet/functions/versioncmp.rb +36 -0
  56. data/lib/puppet/functions/with.rb +15 -7
  57. data/lib/puppet/indirector/catalog/compiler.rb +3 -3
  58. data/lib/puppet/indirector/catalog/static_compiler.rb +46 -30
  59. data/lib/puppet/indirector/data_binding/none.rb +4 -1
  60. data/lib/puppet/indirector/file_bucket_file/file.rb +58 -1
  61. data/lib/puppet/indirector/hiera.rb +4 -0
  62. data/lib/puppet/indirector/json.rb +1 -1
  63. data/lib/puppet/indirector/msgpack.rb +1 -1
  64. data/lib/puppet/indirector/request.rb +7 -8
  65. data/lib/puppet/indirector/resource_type/parser.rb +5 -3
  66. data/lib/puppet/info_service.rb +7 -0
  67. data/lib/puppet/info_service/class_information_service.rb +111 -0
  68. data/lib/puppet/module_tool/metadata.rb +32 -9
  69. data/lib/puppet/module_tool/skeleton/templates/generator/README.md.erb +42 -38
  70. data/lib/puppet/network/authconfig.rb +21 -1
  71. data/lib/puppet/network/authorization.rb +8 -1
  72. data/lib/puppet/network/http/api/master/v3.rb +7 -1
  73. data/lib/puppet/network/http/api/master/v3/environment.rb +59 -0
  74. data/lib/puppet/node/environment.rb +9 -2
  75. data/lib/puppet/parser.rb +3 -0
  76. data/lib/puppet/parser/ast/pops_bridge.rb +39 -1
  77. data/lib/puppet/parser/compiler.rb +302 -12
  78. data/lib/puppet/parser/compiler/catalog_validator.rb +33 -0
  79. data/lib/puppet/parser/compiler/catalog_validator/env_relationship_validator.rb +64 -0
  80. data/lib/puppet/parser/compiler/catalog_validator/relationship_validator.rb +38 -0
  81. data/lib/puppet/parser/compiler/catalog_validator/site_validator.rb +20 -0
  82. data/lib/puppet/parser/environment_compiler.rb +165 -0
  83. data/lib/puppet/parser/functions/assert_type.rb +46 -16
  84. data/lib/puppet/parser/functions/defined.rb +105 -68
  85. data/lib/puppet/parser/functions/each.rb +85 -27
  86. data/lib/puppet/parser/functions/filter.rb +59 -23
  87. data/lib/puppet/parser/functions/hiera.rb +83 -27
  88. data/lib/puppet/parser/functions/hiera_array.rb +71 -28
  89. data/lib/puppet/parser/functions/hiera_hash.rb +81 -30
  90. data/lib/puppet/parser/functions/hiera_include.rb +81 -40
  91. data/lib/puppet/parser/functions/map.rb +55 -20
  92. data/lib/puppet/parser/functions/match.rb +27 -12
  93. data/lib/puppet/parser/functions/reduce.rb +97 -60
  94. data/lib/puppet/parser/functions/with.rb +16 -8
  95. data/lib/puppet/parser/resource.rb +98 -19
  96. data/lib/puppet/plugins/configuration.rb +3 -2
  97. data/lib/puppet/plugins/data_providers.rb +12 -60
  98. data/lib/puppet/plugins/data_providers/data_provider.rb +283 -0
  99. data/lib/puppet/plugins/data_providers/registry.rb +84 -0
  100. data/lib/puppet/pops.rb +19 -17
  101. data/lib/puppet/pops/adapters.rb +12 -0
  102. data/lib/puppet/pops/binder/binder.rb +2 -2
  103. data/lib/puppet/pops/binder/bindings_checker.rb +1 -1
  104. data/lib/puppet/pops/binder/bindings_label_provider.rb +3 -1
  105. data/lib/puppet/pops/binder/bindings_loader.rb +6 -2
  106. data/lib/puppet/pops/binder/bindings_model_meta.rb +2 -2
  107. data/lib/puppet/pops/binder/config/binder_config.rb +1 -1
  108. data/lib/puppet/pops/binder/injector.rb +4 -4
  109. data/lib/puppet/pops/binder/key_factory.rb +3 -9
  110. data/lib/puppet/pops/binder/scheme_handler/module_scheme.rb +68 -9
  111. data/lib/puppet/pops/evaluator/access_operator.rb +27 -60
  112. data/lib/puppet/pops/evaluator/closure.rb +8 -8
  113. data/lib/puppet/pops/evaluator/collectors/abstract_collector.rb +1 -1
  114. data/lib/puppet/pops/evaluator/evaluator_impl.rb +5 -5
  115. data/lib/puppet/pops/evaluator/literal_evaluator.rb +87 -0
  116. data/lib/puppet/pops/evaluator/relationship_operator.rb +7 -1
  117. data/lib/puppet/pops/functions/dispatcher.rb +3 -3
  118. data/lib/puppet/pops/issues.rb +1 -1
  119. data/lib/puppet/pops/label_provider.rb +1 -1
  120. data/lib/puppet/pops/lookup.rb +25 -47
  121. data/lib/puppet/pops/lookup/explainer.rb +402 -0
  122. data/lib/puppet/pops/lookup/invocation.rb +117 -0
  123. data/lib/puppet/pops/merge_strategy.rb +73 -5
  124. data/lib/puppet/pops/model/factory.rb +34 -0
  125. data/lib/puppet/pops/model/model_label_provider.rb +10 -1
  126. data/lib/puppet/pops/model/model_meta.rb +15 -0
  127. data/lib/puppet/pops/model/model_tree_dumper.rb +18 -0
  128. data/lib/puppet/pops/parser/code_merger.rb +13 -1
  129. data/lib/puppet/pops/parser/egrammar.ra +56 -3
  130. data/lib/puppet/pops/parser/eparser.rb +1549 -1352
  131. data/lib/puppet/pops/parser/lexer2.rb +31 -6
  132. data/lib/puppet/pops/parser/locator.rb +1 -1
  133. data/lib/puppet/pops/parser/parser_support.rb +25 -13
  134. data/lib/puppet/pops/types/enumeration.rb +1 -2
  135. data/lib/puppet/pops/types/type_asserter.rb +16 -15
  136. data/lib/puppet/pops/types/type_assertion_error.rb +1 -0
  137. data/lib/puppet/pops/types/type_calculator.rb +171 -1020
  138. data/lib/puppet/pops/types/type_factory.rb +87 -148
  139. data/lib/puppet/pops/types/type_mismatch_describer.rb +743 -0
  140. data/lib/puppet/pops/types/type_parser.rb +116 -127
  141. data/lib/puppet/pops/types/types.rb +1394 -255
  142. data/lib/puppet/pops/types/types_meta.rb +0 -234
  143. data/lib/puppet/pops/validation.rb +7 -2
  144. data/lib/puppet/pops/validation/checker4_0.rb +28 -0
  145. data/lib/puppet/provider/augeas/augeas.rb +50 -0
  146. data/lib/puppet/provider/group/directoryservice.rb +10 -0
  147. data/lib/puppet/provider/package/dnf.rb +41 -0
  148. data/lib/puppet/provider/package/gem.rb +7 -2
  149. data/lib/puppet/provider/package/rpm.rb +1 -0
  150. data/lib/puppet/provider/package/windows/exe_package.rb +10 -8
  151. data/lib/puppet/provider/package/windows/msi_package.rb +4 -3
  152. data/lib/puppet/provider/package/windows/package.rb +9 -1
  153. data/lib/puppet/provider/package/yum.rb +14 -9
  154. data/lib/puppet/provider/service/bsd.rb +1 -1
  155. data/lib/puppet/provider/service/debian.rb +21 -0
  156. data/lib/puppet/provider/service/init.rb +6 -0
  157. data/lib/puppet/provider/service/rcng.rb +51 -0
  158. data/lib/puppet/provider/service/redhat.rb +2 -1
  159. data/lib/puppet/provider/service/smf.rb +43 -2
  160. data/lib/puppet/provider/service/src.rb +27 -0
  161. data/lib/puppet/provider/service/systemd.rb +15 -3
  162. data/lib/puppet/provider/sshkey/parsed.rb +19 -9
  163. data/lib/puppet/reference/report.rb +9 -12
  164. data/lib/puppet/reports.rb +5 -1
  165. data/lib/puppet/resource.rb +50 -73
  166. data/lib/puppet/resource/capability_finder.rb +95 -0
  167. data/lib/puppet/resource/catalog.rb +47 -7
  168. data/lib/puppet/resource/status.rb +0 -2
  169. data/lib/puppet/resource/type.rb +238 -44
  170. data/lib/puppet/resource/type_collection.rb +60 -2
  171. data/lib/puppet/settings.rb +2 -2
  172. data/lib/puppet/ssl/certificate_authority/interface.rb +2 -2
  173. data/lib/puppet/ssl/oids.rb +9 -1
  174. data/lib/puppet/transaction.rb +4 -1
  175. data/lib/puppet/transaction/additional_resource_generator.rb +71 -8
  176. data/lib/puppet/transaction/resource_harness.rb +9 -4
  177. data/lib/puppet/type.rb +74 -3
  178. data/lib/puppet/type/augeas.rb +8 -0
  179. data/lib/puppet/type/file/source.rb +14 -12
  180. data/lib/puppet/type/user.rb +4 -2
  181. data/lib/puppet/util/windows/security.rb +4 -1
  182. data/lib/puppet/util/windows/taskscheduler.rb +1 -1
  183. data/lib/puppet/version.rb +1 -1
  184. data/spec/fixtures/unit/application/environments/production/data/common.yaml +3 -0
  185. data/spec/fixtures/unit/application/environments/production/environment.conf +1 -0
  186. data/spec/fixtures/unit/data_providers/environments/hiera_bad_syntax_json/data/bad.json +3 -0
  187. data/spec/fixtures/unit/data_providers/environments/hiera_bad_syntax_json/environment.conf +2 -0
  188. data/spec/fixtures/unit/data_providers/environments/hiera_bad_syntax_json/hiera.yaml +5 -0
  189. data/spec/fixtures/unit/data_providers/environments/hiera_bad_syntax_json/manifests/site.pp +5 -0
  190. data/spec/fixtures/unit/data_providers/environments/hiera_bad_syntax_yaml/data/bad.yaml +3 -0
  191. data/spec/fixtures/unit/data_providers/environments/hiera_bad_syntax_yaml/environment.conf +2 -0
  192. data/spec/fixtures/unit/data_providers/environments/hiera_bad_syntax_yaml/hiera.yaml +5 -0
  193. data/spec/fixtures/unit/data_providers/environments/hiera_bad_syntax_yaml/manifests/site.pp +5 -0
  194. data/spec/fixtures/unit/data_providers/environments/hiera_defaults/data/common.yaml +2 -0
  195. data/spec/fixtures/unit/data_providers/environments/hiera_defaults/environment.conf +2 -0
  196. data/spec/fixtures/unit/data_providers/environments/hiera_defaults/manifests/site.pp +1 -0
  197. data/spec/fixtures/unit/data_providers/environments/hiera_defaults/modules/one/data/common.yaml +2 -0
  198. data/spec/fixtures/unit/data_providers/environments/hiera_defaults/modules/one/manifests/init.pp +5 -0
  199. data/spec/fixtures/unit/data_providers/environments/hiera_defaults/modules/one/metadata.json +9 -0
  200. data/spec/fixtures/unit/data_providers/environments/hiera_env_config/data1/first.json +3 -0
  201. data/spec/fixtures/unit/data_providers/environments/hiera_env_config/data1/name.yaml +2 -0
  202. data/spec/fixtures/unit/data_providers/environments/hiera_env_config/data1/second.json +3 -0
  203. data/spec/fixtures/unit/data_providers/environments/hiera_env_config/data1/single.yaml +2 -0
  204. data/spec/fixtures/unit/data_providers/environments/hiera_env_config/data2/single.yaml +2 -0
  205. data/spec/fixtures/unit/data_providers/environments/hiera_env_config/environment.conf +2 -0
  206. data/spec/fixtures/unit/data_providers/environments/hiera_env_config/hiera.yaml +18 -0
  207. data/spec/fixtures/unit/data_providers/environments/hiera_env_config/manifests/site.pp +5 -0
  208. data/spec/fixtures/unit/data_providers/environments/hiera_misc/data/common.yaml +46 -0
  209. data/spec/fixtures/unit/data_providers/environments/hiera_misc/environment.conf +2 -0
  210. data/spec/fixtures/unit/data_providers/environments/hiera_misc/manifests/site.pp +1 -0
  211. data/spec/fixtures/unit/data_providers/environments/hiera_misc/modules/one/data/common.yaml +30 -0
  212. data/spec/fixtures/unit/data_providers/environments/hiera_misc/modules/one/manifests/init.pp +13 -0
  213. data/spec/fixtures/unit/data_providers/environments/hiera_misc/modules/one/metadata.json +9 -0
  214. data/spec/fixtures/unit/data_providers/environments/hiera_module_config/environment.conf +2 -0
  215. data/spec/fixtures/unit/data_providers/environments/hiera_module_config/manifests/site.pp +1 -0
  216. data/spec/fixtures/unit/data_providers/environments/hiera_module_config/modules/one/data1/first.json +3 -0
  217. data/spec/fixtures/unit/data_providers/environments/hiera_module_config/modules/one/data1/name.yaml +1 -0
  218. data/spec/fixtures/unit/data_providers/environments/hiera_module_config/modules/one/data1/second.json +3 -0
  219. data/spec/fixtures/unit/data_providers/environments/hiera_module_config/modules/one/data1/single.yaml +2 -0
  220. data/spec/fixtures/unit/data_providers/environments/hiera_module_config/modules/one/data2/single.yaml +2 -0
  221. data/spec/fixtures/unit/data_providers/environments/hiera_module_config/modules/one/hiera.yaml +18 -0
  222. data/spec/fixtures/unit/data_providers/environments/hiera_module_config/modules/one/manifests/init.pp +5 -0
  223. data/spec/fixtures/unit/data_providers/environments/hiera_module_config/modules/one/metadata.json +9 -0
  224. data/spec/fixtures/unit/data_providers/environments/sample/modules/dataprovider/lib/puppet_x/helindbe/sample_env_data.rb +1 -0
  225. data/spec/fixtures/unit/data_providers/environments/sample/modules/dataprovider/lib/puppet_x/helindbe/sample_module_data.rb +1 -0
  226. data/spec/fixtures/unit/functions/lookup/environments/production/modules/hieraprovider/data/first.json +3 -0
  227. data/spec/fixtures/unit/functions/lookup/environments/production/modules/hieraprovider/hiera.yaml +8 -0
  228. data/spec/fixtures/unit/functions/lookup/environments/production/modules/hieraprovider/manifests/init.pp +5 -0
  229. data/spec/fixtures/unit/functions/lookup/environments/production/modules/hieraprovider/metadata.json +9 -0
  230. data/spec/fixtures/unit/functions/lookup/environments/production/modules/meta/lib/puppet/functions/meta/data.rb +9 -0
  231. data/spec/fixtures/unit/functions/lookup/environments/production/modules/meta/manifests/init.pp +3 -0
  232. data/spec/fixtures/unit/functions/lookup/environments/production/modules/meta/metadata.json +9 -0
  233. data/spec/fixtures/unit/functions/lookup/environments/production/modules/metawcp/lib/puppet/bindings/metawcp/default.rb +10 -0
  234. data/spec/fixtures/unit/functions/lookup/environments/production/modules/metawcp/lib/puppet_x/thallgren/sample_module_data.rb +23 -0
  235. data/spec/fixtures/unit/functions/lookup/environments/production/modules/metawcp/manifests/init.pp +3 -0
  236. data/spec/fixtures/unit/functions/lookup/environments/production/modules/metawcp/metadata.json +9 -0
  237. data/spec/fixtures/unit/provider/package/yum/yum-check-update-security.txt +184 -0
  238. data/spec/fixtures/vcr/cassettes/Puppet_Network_HTTP_Connection/when_handling_requests/_request_get/should_yield_to_the_block.yml +24 -0
  239. data/spec/fixtures/vcr/cassettes/Puppet_Network_HTTP_Connection/when_handling_requests/_request_head/should_yield_to_the_block.yml +24 -0
  240. data/spec/fixtures/vcr/cassettes/Puppet_Network_HTTP_Connection/when_handling_requests/_request_post/should_yield_to_the_block.yml +24 -0
  241. data/spec/integration/data_binding_spec.rb +229 -0
  242. data/spec/integration/file_bucket/file_spec.rb +2 -2
  243. data/spec/integration/parser/compiler_spec.rb +23 -19
  244. data/spec/integration/parser/resource_expressions_spec.rb +4 -4
  245. data/spec/integration/parser/undef_param_spec.rb +1 -1
  246. data/spec/integration/resource/catalog_spec.rb +1 -1
  247. data/spec/integration/type/package_spec.rb +2 -0
  248. data/spec/integration/util/windows/security_spec.rb +18 -0
  249. data/spec/lib/matchers/include_in_order.rb +2 -2
  250. data/spec/shared_behaviours/iterative_functions.rb +8 -8
  251. data/spec/spec_helper.rb +7 -0
  252. data/spec/unit/agent/locker_spec.rb +4 -4
  253. data/spec/unit/agent_spec.rb +0 -8
  254. data/spec/unit/application/agent_spec.rb +5 -0
  255. data/spec/unit/application/apply_spec.rb +8 -0
  256. data/spec/unit/application/filebucket_spec.rb +87 -1
  257. data/spec/unit/application/lookup_spec.rb +195 -0
  258. data/spec/unit/appmgmt_spec.rb +657 -0
  259. data/spec/unit/capability_spec.rb +414 -0
  260. data/spec/unit/configurer_spec.rb +7 -1
  261. data/spec/unit/context/trusted_information_spec.rb +24 -1
  262. data/spec/unit/daemon_spec.rb +18 -8
  263. data/spec/unit/data_providers/hiera_data_provider_spec.rb +201 -0
  264. data/spec/unit/file_bucket/dipper_spec.rb +210 -1
  265. data/spec/unit/functions/assert_type_spec.rb +5 -7
  266. data/spec/unit/functions/defined_spec.rb +2 -2
  267. data/spec/unit/functions/epp_spec.rb +2 -2
  268. data/spec/unit/functions/lookup_spec.rb +200 -9
  269. data/spec/unit/functions/regsubst_spec.rb +17 -8
  270. data/spec/unit/functions/scanf_spec.rb +1 -1
  271. data/spec/unit/functions/split_spec.rb +2 -2
  272. data/spec/unit/functions/versioncmp_spec.rb +36 -0
  273. data/spec/unit/functions4_spec.rb +58 -72
  274. data/spec/unit/indirector/catalog/compiler_spec.rb +28 -8
  275. data/spec/unit/indirector/catalog/static_compiler_spec.rb +38 -20
  276. data/spec/unit/indirector/data_binding/none_spec.rb +2 -2
  277. data/spec/unit/indirector/file_bucket_file/file_spec.rb +52 -1
  278. data/spec/unit/indirector/request_spec.rb +8 -8
  279. data/spec/unit/info_service_spec.rb +236 -0
  280. data/spec/unit/module_tool/metadata_spec.rb +31 -2
  281. data/spec/unit/network/authconfig_spec.rb +62 -32
  282. data/spec/unit/network/authorization_spec.rb +30 -2
  283. data/spec/unit/network/http/connection_spec.rb +14 -19
  284. data/spec/unit/parser/compiler_spec.rb +86 -2
  285. data/spec/unit/parser/functions/create_resources_spec.rb +1 -1
  286. data/spec/unit/parser/resource_spec.rb +2 -20
  287. data/spec/unit/pops/binder/config/binder_config_spec.rb +1 -1
  288. data/spec/unit/pops/binder/injector_spec.rb +3 -3
  289. data/spec/unit/pops/evaluator/access_ops_spec.rb +13 -11
  290. data/spec/unit/pops/evaluator/basic_expressions_spec.rb +1 -2
  291. data/spec/unit/pops/evaluator/evaluating_parser_spec.rb +19 -11
  292. data/spec/unit/pops/evaluator/literal_evaluator_spec.rb +43 -0
  293. data/spec/unit/pops/label_provider_spec.rb +5 -1
  294. data/spec/unit/pops/parser/lexer2_spec.rb +33 -7
  295. data/spec/unit/pops/parser/parse_application_spec.rb +40 -0
  296. data/spec/unit/pops/parser/parse_basic_expressions_spec.rb +4 -0
  297. data/spec/unit/pops/parser/parse_capabilities_spec.rb +47 -0
  298. data/spec/unit/pops/parser/parse_site_spec.rb +38 -0
  299. data/spec/unit/pops/parser/parser_rspec_helper.rb +5 -0
  300. data/spec/unit/pops/parser/parser_spec.rb +18 -0
  301. data/spec/unit/pops/types/type_calculator_spec.rb +427 -444
  302. data/spec/unit/pops/types/type_factory_spec.rb +12 -12
  303. data/spec/unit/pops/types/type_parser_spec.rb +7 -12
  304. data/spec/unit/pops/validator/validator_spec.rb +25 -0
  305. data/spec/unit/provider/augeas/augeas_spec.rb +50 -0
  306. data/spec/unit/provider/group/directoryservice_spec.rb +33 -0
  307. data/spec/unit/provider/group/windows_adsi_spec.rb +3 -0
  308. data/spec/unit/provider/package/dnf_spec.rb +92 -0
  309. data/spec/unit/provider/package/gem_spec.rb +7 -0
  310. data/spec/unit/provider/package/rpm_spec.rb +25 -2
  311. data/spec/unit/provider/package/windows/package_spec.rb +41 -0
  312. data/spec/unit/provider/package/yum_spec.rb +21 -13
  313. data/spec/unit/provider/scheduled_task/win32_taskscheduler_spec.rb +10 -0
  314. data/spec/unit/provider/service/debian_spec.rb +27 -0
  315. data/spec/unit/provider/service/rcng_spec.rb +41 -0
  316. data/spec/unit/provider/service/redhat_spec.rb +8 -1
  317. data/spec/unit/provider/service/smf_spec.rb +30 -5
  318. data/spec/unit/provider/service/src_spec.rb +19 -4
  319. data/spec/unit/provider/service/systemd_spec.rb +78 -29
  320. data/spec/unit/provider/sshkey/parsed_spec.rb +23 -0
  321. data/spec/unit/reports_spec.rb +10 -0
  322. data/spec/unit/resource/capability_finder_spec.rb +56 -0
  323. data/spec/unit/resource/catalog_spec.rb +31 -8
  324. data/spec/unit/resource/type_collection_spec.rb +23 -2
  325. data/spec/unit/resource/type_spec.rb +1 -1
  326. data/spec/unit/resource_spec.rb +22 -4
  327. data/spec/unit/settings_spec.rb +90 -1
  328. data/spec/unit/ssl/certificate_authority/interface_spec.rb +4 -3
  329. data/spec/unit/ssl/oids_spec.rb +8 -0
  330. data/spec/unit/transaction/additional_resource_generator_spec.rb +78 -5
  331. data/spec/unit/transaction/report_spec.rb +24 -1
  332. data/spec/unit/type/package_spec.rb +1 -0
  333. data/spec/unit/type/user_spec.rb +14 -7
  334. data/spec/unit/type_spec.rb +1 -1
  335. metadata +169 -5
  336. data/lib/puppet/pops/evaluator/callable_mismatch_describer.rb +0 -175
  337. data/spec/integration/data_binding.rb +0 -104
@@ -404,6 +404,16 @@ describe Puppet::Transaction::Report do
404
404
  expect(error_report.render).to validate_against('api/schemas/report.json')
405
405
  end
406
406
 
407
+ it "can make a round trip through yaml" do
408
+ report = generate_report
409
+
410
+ yaml_output = report.render(:yaml)
411
+ tripped = Puppet::Transaction::Report.convert_from(:yaml, yaml_output)
412
+
413
+ expect(yaml_output).to match(/^--- /)
414
+ expect_equivalent_reports(tripped, report)
415
+ end
416
+
407
417
  def expect_equivalent_reports(tripped, report)
408
418
  expect(tripped.host).to eq(report.host)
409
419
  expect(tripped.time.to_i).to eq(report.time.to_i)
@@ -451,13 +461,26 @@ describe Puppet::Transaction::Report do
451
461
  expect(status.skipped).to eq(expected.skipped)
452
462
  expect(status.change_count).to eq(expected.change_count)
453
463
  expect(status.out_of_sync_count).to eq(expected.out_of_sync_count)
454
- expect(status.events).to eq(expected.events)
464
+ expect(status.events.map(&:to_data_hash)).to eq(expected.events.map(&:to_data_hash))
455
465
  end
456
466
  end
457
467
 
458
468
  def generate_report
469
+ event_hash = {
470
+ :audited => false,
471
+ :property => 'message',
472
+ :previous_value => 'absent',
473
+ :desired_value => 'a resource',
474
+ :historical_value => nil,
475
+ :message => "defined 'message' as 'a resource'",
476
+ :name => :message_changed,
477
+ :status => 'success',
478
+ }
479
+ event = Puppet::Transaction::Event.new(event_hash)
480
+
459
481
  status = Puppet::Resource::Status.new(Puppet::Type.type(:notify).new(:title => "a resource"))
460
482
  status.changed = true
483
+ status.add_event(event)
461
484
 
462
485
  report = Puppet::Transaction::Report.new('apply', 1357986, 'test_environment', "df34516e-4050-402d-a166-05b03b940749")
463
486
  report << Puppet::Util::Log.new(:level => :warning, :message => "log message")
@@ -3,6 +3,7 @@ require 'spec_helper'
3
3
 
4
4
  describe Puppet::Type.type(:package) do
5
5
  before do
6
+ Process.stubs(:euid).returns 0
6
7
  Puppet::Util::Storage.stubs(:store)
7
8
  end
8
9
 
@@ -344,13 +344,20 @@ describe Puppet::Type.type(:user) do
344
344
  end
345
345
  end
346
346
 
347
- describe "when managing comment on Ruby 1.9", :if => String.method_defined?(:encode) do
348
- it "should force value encoding to ASCII-8BIT" do
349
- value = 'abcd™'
350
- expect(value.encoding).to eq(Encoding::UTF_8)
351
- user = described_class.new(:name => 'foo', :comment => value)
352
- expect(user[:comment].encoding).to eq(Encoding::ASCII_8BIT)
353
- expect(user[:comment]).to eq(value.force_encoding(Encoding::ASCII_8BIT))
347
+ describe "when managing comment" do
348
+ before :each do
349
+ @value = 'abcd™'
350
+ expect(@value.encoding).to eq(Encoding::UTF_8)
351
+ @user = described_class.new(:name => 'foo', :comment => @value)
352
+ end
353
+
354
+ it "should be converted to ASCII_8BIT for ruby 1.9 / 2.0", :if => RUBY_VERSION < "2.1.0" && String.method_defined?(:encode) do
355
+ expect(@user[:comment].encoding).to eq(Encoding::ASCII_8BIT)
356
+ expect(@user[:comment]).to eq(@value.force_encoding(Encoding::ASCII_8BIT))
357
+ end
358
+
359
+ it "must not be converted for ruby >= 2.1", :if => RUBY_VERSION >= "2.1.0" do
360
+ expect(@user[:comment].encoding).to eq(Encoding::UTF_8)
354
361
  end
355
362
  end
356
363
 
@@ -522,7 +522,7 @@ describe Puppet::Type, :unless => Puppet.features.microsoft_windows? do
522
522
  end
523
523
 
524
524
  it "should fail if any invalid attributes have been provided" do
525
- expect { Puppet::Type.type(:mount).new(:title => "/foo", :nosuchattr => "whatever") }.to raise_error(Puppet::Error, /Invalid parameter/)
525
+ expect { Puppet::Type.type(:mount).new(:title => "/foo", :nosuchattr => "whatever") }.to raise_error(Puppet::Error, /no parameter named 'nosuchattr'/)
526
526
  end
527
527
 
528
528
  context "when an attribute fails validation" do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: puppet
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.2.3
4
+ version: 4.3.0
5
5
  prerelease:
6
6
  platform: x64-mingw32
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-10-29 00:00:00.000000000 Z
12
+ date: 2015-11-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: facter
@@ -239,6 +239,7 @@ files:
239
239
  - lib/puppet/network/http/response.rb
240
240
  - lib/puppet/network/http/api/master/v3/environments.rb
241
241
  - lib/puppet/network/http/api/master/v3/authorization.rb
242
+ - lib/puppet/network/http/api/master/v3/environment.rb
242
243
  - lib/puppet/network/http/api/master/v3.rb
243
244
  - lib/puppet/network/http/api/indirection_type.rb
244
245
  - lib/puppet/network/http/api/indirected_routes.rb
@@ -492,6 +493,7 @@ files:
492
493
  - lib/puppet/application/help.rb
493
494
  - lib/puppet/application/master.rb
494
495
  - lib/puppet/application/apply.rb
496
+ - lib/puppet/application/lookup.rb
495
497
  - lib/puppet/application/agent.rb
496
498
  - lib/puppet/application/certificate_revocation_list.rb
497
499
  - lib/puppet/application/filebucket.rb
@@ -566,6 +568,7 @@ files:
566
568
  - lib/puppet/type/macauthorization.rb
567
569
  - lib/puppet/type/computer.rb
568
570
  - lib/puppet/daemon.rb
571
+ - lib/puppet/info_service/class_information_service.rb
569
572
  - lib/puppet/bindings.rb
570
573
  - lib/puppet/ssl.rb
571
574
  - lib/puppet/transaction.rb
@@ -577,6 +580,7 @@ files:
577
580
  - lib/puppet/reference/type.rb
578
581
  - lib/puppet/reference/metaparameter.rb
579
582
  - lib/puppet/loaders.rb
583
+ - lib/puppet/info_service.rb
580
584
  - lib/puppet/parameter.rb
581
585
  - lib/puppet/feature/zlib.rb
582
586
  - lib/puppet/feature/msgpack.rb
@@ -858,6 +862,10 @@ files:
858
862
  - lib/puppet/syntax_checkers.rb
859
863
  - lib/puppet/data_binding.rb
860
864
  - lib/puppet/parser/scope.rb
865
+ - lib/puppet/parser/compiler/catalog_validator/relationship_validator.rb
866
+ - lib/puppet/parser/compiler/catalog_validator/env_relationship_validator.rb
867
+ - lib/puppet/parser/compiler/catalog_validator/site_validator.rb
868
+ - lib/puppet/parser/compiler/catalog_validator.rb
861
869
  - lib/puppet/parser/functions.rb
862
870
  - lib/puppet/parser/ast.rb
863
871
  - lib/puppet/parser/templatewrapper.rb
@@ -865,6 +873,7 @@ files:
865
873
  - lib/puppet/parser/relationship.rb
866
874
  - lib/puppet/parser/resource.rb
867
875
  - lib/puppet/parser/e4_parser_adapter.rb
876
+ - lib/puppet/parser/environment_compiler.rb
868
877
  - lib/puppet/parser/parser_factory.rb
869
878
  - lib/puppet/parser/type_loader.rb
870
879
  - lib/puppet/parser/compiler.rb
@@ -920,9 +929,17 @@ files:
920
929
  - lib/puppet/parser/functions/create_resources.rb
921
930
  - lib/puppet/node.rb
922
931
  - lib/puppet/data_providers/data_function_support.rb
932
+ - lib/puppet/data_providers/json_data_provider_factory.rb
933
+ - lib/puppet/data_providers/yaml_data_provider_factory.rb
934
+ - lib/puppet/data_providers/hiera_interpolate.rb
923
935
  - lib/puppet/data_providers/function_module_data_provider.rb
924
936
  - lib/puppet/data_providers/data_adapter.rb
937
+ - lib/puppet/data_providers/hiera_support.rb
938
+ - lib/puppet/data_providers/hiera_config.rb
925
939
  - lib/puppet/data_providers/function_env_data_provider.rb
940
+ - lib/puppet/data_providers/hiera_module_data_provider.rb
941
+ - lib/puppet/data_providers/hiera_env_data_provider.rb
942
+ - lib/puppet/data_providers/lookup_adapter.rb
926
943
  - lib/puppet/graph/sequential_prioritizer.rb
927
944
  - lib/puppet/graph/relationship_graph.rb
928
945
  - lib/puppet/graph/title_hash_prioritizer.rb
@@ -975,19 +992,20 @@ files:
975
992
  - lib/puppet/pops/types/types.rb
976
993
  - lib/puppet/pops/types/types_meta.rb
977
994
  - lib/puppet/pops/types/type_parser.rb
995
+ - lib/puppet/pops/types/type_mismatch_describer.rb
978
996
  - lib/puppet/pops/types/enumeration.rb
979
997
  - lib/puppet/pops/types/type_asserter.rb
980
998
  - lib/puppet/pops/validation.rb
981
999
  - lib/puppet/pops/migration/migration_checker.rb
982
1000
  - lib/puppet/pops/merge_strategy.rb
983
1001
  - lib/puppet/pops/loaders.rb
1002
+ - lib/puppet/pops/evaluator/literal_evaluator.rb
984
1003
  - lib/puppet/pops/evaluator/puppet_proc.rb
985
1004
  - lib/puppet/pops/evaluator/access_operator.rb
986
1005
  - lib/puppet/pops/evaluator/evaluator_impl.rb
987
1006
  - lib/puppet/pops/evaluator/closure.rb
988
1007
  - lib/puppet/pops/evaluator/epp_evaluator.rb
989
1008
  - lib/puppet/pops/evaluator/collector_transformer.rb
990
- - lib/puppet/pops/evaluator/callable_mismatch_describer.rb
991
1009
  - lib/puppet/pops/evaluator/runtime3_support.rb
992
1010
  - lib/puppet/pops/evaluator/relationship_operator.rb
993
1011
  - lib/puppet/pops/evaluator/callable_signature.rb
@@ -999,6 +1017,8 @@ files:
999
1017
  - lib/puppet/pops/evaluator/runtime3_converter.rb
1000
1018
  - lib/puppet/pops/evaluator/compare_operator.rb
1001
1019
  - lib/puppet/pops/issues.rb
1020
+ - lib/puppet/pops/lookup/explainer.rb
1021
+ - lib/puppet/pops/lookup/invocation.rb
1002
1022
  - lib/puppet/pops/visitable.rb
1003
1023
  - lib/puppet/pops/adapters.rb
1004
1024
  - lib/puppet/pops/loader/simple_environment_loader.rb
@@ -1075,6 +1095,8 @@ files:
1075
1095
  - lib/puppet/plugins/binding_schemes.rb
1076
1096
  - lib/puppet/plugins/data_providers.rb
1077
1097
  - lib/puppet/plugins/syntax_checkers.rb
1098
+ - lib/puppet/plugins/data_providers/registry.rb
1099
+ - lib/puppet/plugins/data_providers/data_provider.rb
1078
1100
  - lib/puppet/module_tool/errors/uninstaller.rb
1079
1101
  - lib/puppet/module_tool/errors/installer.rb
1080
1102
  - lib/puppet/module_tool/errors/upgrader.rb
@@ -1184,6 +1206,7 @@ files:
1184
1206
  - lib/puppet/resource/type_collection_helper.rb
1185
1207
  - lib/puppet/resource/type_collection.rb
1186
1208
  - lib/puppet/resource/type.rb
1209
+ - lib/puppet/resource/capability_finder.rb
1187
1210
  - lib/puppet/resource/status.rb
1188
1211
  - lib/puppet/functions/regsubst.rb
1189
1212
  - lib/puppet/functions/epp.rb
@@ -1198,6 +1221,7 @@ files:
1198
1221
  - lib/puppet/functions/each.rb
1199
1222
  - lib/puppet/functions/split.rb
1200
1223
  - lib/puppet/functions/hiera.rb
1224
+ - lib/puppet/functions/versioncmp.rb
1201
1225
  - lib/puppet/functions/hiera_include.rb
1202
1226
  - lib/puppet/functions/slice.rb
1203
1227
  - lib/puppet/functions/lookup.rb
@@ -1242,6 +1266,7 @@ files:
1242
1266
  - lib/puppet/provider/service/smf.rb
1243
1267
  - lib/puppet/provider/service/openrc.rb
1244
1268
  - lib/puppet/provider/service/src.rb
1269
+ - lib/puppet/provider/service/rcng.rb
1245
1270
  - lib/puppet/provider/service/runit.rb
1246
1271
  - lib/puppet/provider/service/bsd.rb
1247
1272
  - lib/puppet/provider/service/gentoo.rb
@@ -1312,6 +1337,7 @@ files:
1312
1337
  - lib/puppet/provider/package/pkgng.rb
1313
1338
  - lib/puppet/provider/package/pkgin.rb
1314
1339
  - lib/puppet/provider/package/zypper.rb
1340
+ - lib/puppet/provider/package/dnf.rb
1315
1341
  - lib/puppet/provider/package/sun.rb
1316
1342
  - lib/puppet/provider/package/pkgdmg.rb
1317
1343
  - lib/puppet/provider/package/portupgrade.rb
@@ -1595,6 +1621,8 @@ files:
1595
1621
  - spec/fixtures/unit/util/filetype/aixtab_output
1596
1622
  - spec/fixtures/unit/util/filetype/suntab_output
1597
1623
  - spec/fixtures/unit/util/rdoc/basic.pp
1624
+ - spec/fixtures/unit/application/environments/production/environment.conf
1625
+ - spec/fixtures/unit/application/environments/production/data/common.yaml
1598
1626
  - spec/fixtures/unit/type/user/authorized_keys
1599
1627
  - spec/fixtures/unit/parser/lexer/tagged.pp
1600
1628
  - spec/fixtures/unit/parser/lexer/hash.pp
@@ -1641,6 +1669,18 @@ files:
1641
1669
  - spec/fixtures/unit/parser/lexer/arraytrailingcomma.pp
1642
1670
  - spec/fixtures/unit/parser/functions/create_resources/foo/manifests/wrongdefine.pp
1643
1671
  - spec/fixtures/unit/parser/functions/create_resources/foo/manifests/init.pp
1672
+ - spec/fixtures/unit/data_providers/environments/hiera_defaults/environment.conf
1673
+ - spec/fixtures/unit/data_providers/environments/hiera_defaults/data/common.yaml
1674
+ - spec/fixtures/unit/data_providers/environments/hiera_defaults/modules/one/data/common.yaml
1675
+ - spec/fixtures/unit/data_providers/environments/hiera_defaults/modules/one/metadata.json
1676
+ - spec/fixtures/unit/data_providers/environments/hiera_defaults/modules/one/manifests/init.pp
1677
+ - spec/fixtures/unit/data_providers/environments/hiera_defaults/manifests/site.pp
1678
+ - spec/fixtures/unit/data_providers/environments/hiera_misc/environment.conf
1679
+ - spec/fixtures/unit/data_providers/environments/hiera_misc/data/common.yaml
1680
+ - spec/fixtures/unit/data_providers/environments/hiera_misc/modules/one/data/common.yaml
1681
+ - spec/fixtures/unit/data_providers/environments/hiera_misc/modules/one/metadata.json
1682
+ - spec/fixtures/unit/data_providers/environments/hiera_misc/modules/one/manifests/init.pp
1683
+ - spec/fixtures/unit/data_providers/environments/hiera_misc/manifests/site.pp
1644
1684
  - spec/fixtures/unit/data_providers/environments/production/lib/puppet/functions/environment/data.rb
1645
1685
  - spec/fixtures/unit/data_providers/environments/production/environment.conf
1646
1686
  - spec/fixtures/unit/data_providers/environments/production/modules/abc/lib/puppet/bindings/abc/default.rb
@@ -1649,12 +1689,38 @@ files:
1649
1689
  - spec/fixtures/unit/data_providers/environments/production/modules/xyz/lib/puppet/bindings/xyz/default.rb
1650
1690
  - spec/fixtures/unit/data_providers/environments/production/modules/xyz/functions/data.pp
1651
1691
  - spec/fixtures/unit/data_providers/environments/production/modules/xyz/manifests/init.pp
1692
+ - spec/fixtures/unit/data_providers/environments/hiera_bad_syntax_json/environment.conf
1693
+ - spec/fixtures/unit/data_providers/environments/hiera_bad_syntax_json/data/bad.json
1694
+ - spec/fixtures/unit/data_providers/environments/hiera_bad_syntax_json/hiera.yaml
1695
+ - spec/fixtures/unit/data_providers/environments/hiera_bad_syntax_json/manifests/site.pp
1696
+ - spec/fixtures/unit/data_providers/environments/hiera_env_config/data1/name.yaml
1697
+ - spec/fixtures/unit/data_providers/environments/hiera_env_config/data1/single.yaml
1698
+ - spec/fixtures/unit/data_providers/environments/hiera_env_config/data1/second.json
1699
+ - spec/fixtures/unit/data_providers/environments/hiera_env_config/data1/first.json
1700
+ - spec/fixtures/unit/data_providers/environments/hiera_env_config/environment.conf
1701
+ - spec/fixtures/unit/data_providers/environments/hiera_env_config/hiera.yaml
1702
+ - spec/fixtures/unit/data_providers/environments/hiera_env_config/data2/single.yaml
1703
+ - spec/fixtures/unit/data_providers/environments/hiera_env_config/manifests/site.pp
1652
1704
  - spec/fixtures/unit/data_providers/environments/sample/environment.conf
1653
1705
  - spec/fixtures/unit/data_providers/environments/sample/modules/dataprovider/lib/puppet/bindings/dataprovider/default.rb
1654
1706
  - spec/fixtures/unit/data_providers/environments/sample/modules/dataprovider/lib/puppet_x/helindbe/sample_env_data.rb
1655
1707
  - spec/fixtures/unit/data_providers/environments/sample/modules/dataprovider/lib/puppet_x/helindbe/sample_module_data.rb
1656
1708
  - spec/fixtures/unit/data_providers/environments/sample/modules/dataprovider/manifests/init.pp
1657
1709
  - spec/fixtures/unit/data_providers/environments/sample/manifests/site.pp
1710
+ - spec/fixtures/unit/data_providers/environments/hiera_bad_syntax_yaml/environment.conf
1711
+ - spec/fixtures/unit/data_providers/environments/hiera_bad_syntax_yaml/data/bad.yaml
1712
+ - spec/fixtures/unit/data_providers/environments/hiera_bad_syntax_yaml/hiera.yaml
1713
+ - spec/fixtures/unit/data_providers/environments/hiera_bad_syntax_yaml/manifests/site.pp
1714
+ - spec/fixtures/unit/data_providers/environments/hiera_module_config/environment.conf
1715
+ - spec/fixtures/unit/data_providers/environments/hiera_module_config/modules/one/data1/name.yaml
1716
+ - spec/fixtures/unit/data_providers/environments/hiera_module_config/modules/one/data1/single.yaml
1717
+ - spec/fixtures/unit/data_providers/environments/hiera_module_config/modules/one/data1/second.json
1718
+ - spec/fixtures/unit/data_providers/environments/hiera_module_config/modules/one/data1/first.json
1719
+ - spec/fixtures/unit/data_providers/environments/hiera_module_config/modules/one/metadata.json
1720
+ - spec/fixtures/unit/data_providers/environments/hiera_module_config/modules/one/hiera.yaml
1721
+ - spec/fixtures/unit/data_providers/environments/hiera_module_config/modules/one/data2/single.yaml
1722
+ - spec/fixtures/unit/data_providers/environments/hiera_module_config/modules/one/manifests/init.pp
1723
+ - spec/fixtures/unit/data_providers/environments/hiera_module_config/manifests/site.pp
1658
1724
  - spec/fixtures/unit/reports/tagmail/tagmail_email.conf
1659
1725
  - spec/fixtures/unit/reports/tagmail/tagmail_passers.conf
1660
1726
  - spec/fixtures/unit/reports/tagmail/tagmail_failers.conf
@@ -1738,12 +1804,23 @@ files:
1738
1804
  - spec/fixtures/unit/module/trailing-comma.json
1739
1805
  - spec/fixtures/unit/functions/lookup/environments/production/lib/puppet/functions/environment/data.rb
1740
1806
  - spec/fixtures/unit/functions/lookup/environments/production/environment.conf
1807
+ - spec/fixtures/unit/functions/lookup/environments/production/modules/metawcp/lib/puppet/bindings/metawcp/default.rb
1808
+ - spec/fixtures/unit/functions/lookup/environments/production/modules/metawcp/lib/puppet_x/thallgren/sample_module_data.rb
1809
+ - spec/fixtures/unit/functions/lookup/environments/production/modules/metawcp/metadata.json
1810
+ - spec/fixtures/unit/functions/lookup/environments/production/modules/metawcp/manifests/init.pp
1741
1811
  - spec/fixtures/unit/functions/lookup/environments/production/modules/bad_data/lib/puppet/bindings/bad_data/default.rb
1742
1812
  - spec/fixtures/unit/functions/lookup/environments/production/modules/bad_data/lib/puppet/functions/bad_data/data.rb
1743
1813
  - spec/fixtures/unit/functions/lookup/environments/production/modules/bad_data/manifests/init.pp
1744
1814
  - spec/fixtures/unit/functions/lookup/environments/production/modules/abc/lib/puppet/bindings/abc/default.rb
1745
1815
  - spec/fixtures/unit/functions/lookup/environments/production/modules/abc/lib/puppet/functions/abc/data.rb
1746
1816
  - spec/fixtures/unit/functions/lookup/environments/production/modules/abc/manifests/init.pp
1817
+ - spec/fixtures/unit/functions/lookup/environments/production/modules/meta/lib/puppet/functions/meta/data.rb
1818
+ - spec/fixtures/unit/functions/lookup/environments/production/modules/meta/metadata.json
1819
+ - spec/fixtures/unit/functions/lookup/environments/production/modules/meta/manifests/init.pp
1820
+ - spec/fixtures/unit/functions/lookup/environments/production/modules/hieraprovider/data/first.json
1821
+ - spec/fixtures/unit/functions/lookup/environments/production/modules/hieraprovider/metadata.json
1822
+ - spec/fixtures/unit/functions/lookup/environments/production/modules/hieraprovider/hiera.yaml
1823
+ - spec/fixtures/unit/functions/lookup/environments/production/modules/hieraprovider/manifests/init.pp
1747
1824
  - spec/fixtures/unit/functions/lookup/environments/production/modules/bca/lib/puppet/bindings/bca/default.rb
1748
1825
  - spec/fixtures/unit/functions/lookup/environments/production/modules/bca/lib/puppet/functions/bca/data.rb
1749
1826
  - spec/fixtures/unit/functions/lookup/environments/production/modules/bca/manifests/init.pp
@@ -1809,11 +1886,15 @@ files:
1809
1886
  - spec/fixtures/unit/provider/package/openbsd/pkginfo.list
1810
1887
  - spec/fixtures/unit/provider/package/openbsd/pkginfo_flavors.list
1811
1888
  - spec/fixtures/unit/provider/package/openbsd/pkginfo.query
1889
+ - spec/fixtures/unit/provider/package/yum/yum-check-update-security.txt
1812
1890
  - spec/fixtures/unit/provider/package/yum/yum-check-update-obsoletes.txt
1813
1891
  - spec/fixtures/unit/provider/package/yum/yum-check-update-simple.txt
1814
1892
  - spec/fixtures/unit/provider/package/yum/yum-check-update-multiline.txt
1815
1893
  - spec/fixtures/unit/provider/zpool/zpool/zpool-list.out
1816
1894
  - spec/fixtures/unit/provider/zfs/zfs/zfs-list.out
1895
+ - spec/fixtures/vcr/cassettes/Puppet_Network_HTTP_Connection/when_handling_requests/_request_post/should_yield_to_the_block.yml
1896
+ - spec/fixtures/vcr/cassettes/Puppet_Network_HTTP_Connection/when_handling_requests/_request_get/should_yield_to_the_block.yml
1897
+ - spec/fixtures/vcr/cassettes/Puppet_Network_HTTP_Connection/when_handling_requests/_request_head/should_yield_to_the_block.yml
1817
1898
  - spec/fixtures/releases/jamtur01-apache/lib/puppet/type/a2mod.rb
1818
1899
  - spec/fixtures/releases/jamtur01-apache/lib/puppet/provider/a2mod/debian.rb
1819
1900
  - spec/fixtures/releases/jamtur01-apache/templates/vhost-default.conf.erb
@@ -1843,6 +1924,7 @@ files:
1843
1924
  - spec/integration/file_bucket/file_spec.rb
1844
1925
  - spec/integration/node/environment_spec.rb
1845
1926
  - spec/integration/node/facts_spec.rb
1927
+ - spec/integration/data_binding_spec.rb
1846
1928
  - spec/integration/configurer_spec.rb
1847
1929
  - spec/integration/network/http/api/indirected_routes_spec.rb
1848
1930
  - spec/integration/network/authconfig_spec.rb
@@ -1882,7 +1964,6 @@ files:
1882
1964
  - spec/integration/file_serving/terminus_helper_spec.rb
1883
1965
  - spec/integration/file_serving/metadata_spec.rb
1884
1966
  - spec/integration/transaction_spec.rb
1885
- - spec/integration/data_binding.rb
1886
1967
  - spec/integration/parser/resource_expressions_spec.rb
1887
1968
  - spec/integration/parser/node_spec.rb
1888
1969
  - spec/integration/parser/class_spec.rb
@@ -2136,6 +2217,7 @@ files:
2136
2217
  - spec/unit/application/filebucket_spec.rb
2137
2218
  - spec/unit/application/device_spec.rb
2138
2219
  - spec/unit/application/config_spec.rb
2220
+ - spec/unit/application/lookup_spec.rb
2139
2221
  - spec/unit/application/master_spec.rb
2140
2222
  - spec/unit/application/inspect_spec.rb
2141
2223
  - spec/unit/application/cert_spec.rb
@@ -2202,6 +2284,7 @@ files:
2202
2284
  - spec/unit/module_spec.rb
2203
2285
  - spec/unit/forge_spec.rb
2204
2286
  - spec/unit/status_spec.rb
2287
+ - spec/unit/info_service_spec.rb
2205
2288
  - spec/unit/transaction/event_spec.rb
2206
2289
  - spec/unit/transaction/additional_resource_generator_spec.rb
2207
2290
  - spec/unit/transaction/report_spec.rb
@@ -2274,6 +2357,7 @@ files:
2274
2357
  - spec/unit/functions4_spec.rb
2275
2358
  - spec/unit/data_providers/sample_data_provider_spec.rb
2276
2359
  - spec/unit/data_providers/function_data_provider_spec.rb
2360
+ - spec/unit/data_providers/hiera_data_provider_spec.rb
2277
2361
  - spec/unit/graph/relationship_graph_spec.rb
2278
2362
  - spec/unit/graph/key_spec.rb
2279
2363
  - spec/unit/graph/sequential_prioritizer_spec.rb
@@ -2323,6 +2407,7 @@ files:
2323
2407
  - spec/unit/pops/evaluator/collections_ops_spec.rb
2324
2408
  - spec/unit/pops/evaluator/evaluator_rspec_helper.rb
2325
2409
  - spec/unit/pops/evaluator/comparison_ops_spec.rb
2410
+ - spec/unit/pops/evaluator/literal_evaluator_spec.rb
2326
2411
  - spec/unit/pops/evaluator/basic_expressions_spec.rb
2327
2412
  - spec/unit/pops/evaluator/access_ops_spec.rb
2328
2413
  - spec/unit/pops/evaluator/evaluating_parser_spec.rb
@@ -2335,14 +2420,17 @@ files:
2335
2420
  - spec/unit/pops/parser/parse_basic_expressions_spec.rb
2336
2421
  - spec/unit/pops/parser/parse_heredoc_spec.rb
2337
2422
  - spec/unit/pops/parser/parser_rspec_helper.rb
2423
+ - spec/unit/pops/parser/parse_application_spec.rb
2338
2424
  - spec/unit/pops/parser/epp_parser_spec.rb
2339
2425
  - spec/unit/pops/parser/parser_spec.rb
2340
2426
  - spec/unit/pops/parser/rgen_sanitycheck_spec.rb
2341
2427
  - spec/unit/pops/parser/parsing_typed_parameters_spec.rb
2342
2428
  - spec/unit/pops/parser/parse_conditionals_spec.rb
2343
2429
  - spec/unit/pops/parser/evaluating_parser_spec.rb
2430
+ - spec/unit/pops/parser/parse_site_spec.rb
2344
2431
  - spec/unit/pops/parser/parse_resource_spec.rb
2345
2432
  - spec/unit/pops/parser/parse_calls_spec.rb
2433
+ - spec/unit/pops/parser/parse_capabilities_spec.rb
2346
2434
  - spec/unit/pops/parser/lexer2_spec.rb
2347
2435
  - spec/unit/pops/migration_spec.rb
2348
2436
  - spec/unit/pops/utils_spec.rb
@@ -2379,6 +2467,7 @@ files:
2379
2467
  - spec/unit/file_system/uniquefile_spec.rb
2380
2468
  - spec/unit/agent/locker_spec.rb
2381
2469
  - spec/unit/agent/disabler_spec.rb
2470
+ - spec/unit/capability_spec.rb
2382
2471
  - spec/unit/ssl/certificate_request_spec.rb
2383
2472
  - spec/unit/ssl/certificate_spec.rb
2384
2473
  - spec/unit/ssl/validator_spec.rb
@@ -2414,6 +2503,7 @@ files:
2414
2503
  - spec/unit/face/facts_spec.rb
2415
2504
  - spec/unit/util_spec.rb
2416
2505
  - spec/unit/resource/type_collection_spec.rb
2506
+ - spec/unit/resource/capability_finder_spec.rb
2417
2507
  - spec/unit/resource/status_spec.rb
2418
2508
  - spec/unit/resource/type_collection_helper_spec.rb
2419
2509
  - spec/unit/resource/catalog_spec.rb
@@ -2427,6 +2517,7 @@ files:
2427
2517
  - spec/unit/functions/match_spec.rb
2428
2518
  - spec/unit/functions/slice_spec.rb
2429
2519
  - spec/unit/functions/reduce_spec.rb
2520
+ - spec/unit/functions/versioncmp_spec.rb
2430
2521
  - spec/unit/functions/filter_spec.rb
2431
2522
  - spec/unit/functions/assert_type_spec.rb
2432
2523
  - spec/unit/functions/inline_epp_spec.rb
@@ -2464,6 +2555,7 @@ files:
2464
2555
  - spec/unit/provider/service/redhat_spec.rb
2465
2556
  - spec/unit/provider/service/debian_spec.rb
2466
2557
  - spec/unit/provider/service/openwrt_spec.rb
2558
+ - spec/unit/provider/service/rcng_spec.rb
2467
2559
  - spec/unit/provider/service/runit_spec.rb
2468
2560
  - spec/unit/provider/service/bsd_spec.rb
2469
2561
  - spec/unit/provider/README.markdown
@@ -2496,6 +2588,7 @@ files:
2496
2588
  - spec/unit/provider/host/parsed_spec.rb
2497
2589
  - spec/unit/provider/macauthorization_spec.rb
2498
2590
  - spec/unit/provider/group/groupadd_spec.rb
2591
+ - spec/unit/provider/group/directoryservice_spec.rb
2499
2592
  - spec/unit/provider/group/ldap_spec.rb
2500
2593
  - spec/unit/provider/group/windows_adsi_spec.rb
2501
2594
  - spec/unit/provider/group/pw_spec.rb
@@ -2515,6 +2608,7 @@ files:
2515
2608
  - spec/unit/provider/package/pkgng_spec.rb
2516
2609
  - spec/unit/provider/package/portage_spec.rb
2517
2610
  - spec/unit/provider/package/gem_spec.rb
2611
+ - spec/unit/provider/package/dnf_spec.rb
2518
2612
  - spec/unit/provider/package/openbsd_spec.rb
2519
2613
  - spec/unit/provider/package/macports_spec.rb
2520
2614
  - spec/unit/provider/package/rpm_spec.rb
@@ -2547,6 +2641,7 @@ files:
2547
2641
  - spec/unit/forge/module_release_spec.rb
2548
2642
  - spec/unit/forge/repository_spec.rb
2549
2643
  - spec/unit/forge/errors_spec.rb
2644
+ - spec/unit/appmgmt_spec.rb
2550
2645
  - spec/spec_helper.rb
2551
2646
  - spec/watchr.rb
2552
2647
  - spec/shared_contexts/checksum.rb
@@ -2659,6 +2754,8 @@ test_files:
2659
2754
  - spec/fixtures/unit/util/filetype/aixtab_output
2660
2755
  - spec/fixtures/unit/util/filetype/suntab_output
2661
2756
  - spec/fixtures/unit/util/rdoc/basic.pp
2757
+ - spec/fixtures/unit/application/environments/production/environment.conf
2758
+ - spec/fixtures/unit/application/environments/production/data/common.yaml
2662
2759
  - spec/fixtures/unit/type/user/authorized_keys
2663
2760
  - spec/fixtures/unit/parser/lexer/tagged.pp
2664
2761
  - spec/fixtures/unit/parser/lexer/hash.pp
@@ -2705,6 +2802,18 @@ test_files:
2705
2802
  - spec/fixtures/unit/parser/lexer/arraytrailingcomma.pp
2706
2803
  - spec/fixtures/unit/parser/functions/create_resources/foo/manifests/wrongdefine.pp
2707
2804
  - spec/fixtures/unit/parser/functions/create_resources/foo/manifests/init.pp
2805
+ - spec/fixtures/unit/data_providers/environments/hiera_defaults/environment.conf
2806
+ - spec/fixtures/unit/data_providers/environments/hiera_defaults/data/common.yaml
2807
+ - spec/fixtures/unit/data_providers/environments/hiera_defaults/modules/one/data/common.yaml
2808
+ - spec/fixtures/unit/data_providers/environments/hiera_defaults/modules/one/metadata.json
2809
+ - spec/fixtures/unit/data_providers/environments/hiera_defaults/modules/one/manifests/init.pp
2810
+ - spec/fixtures/unit/data_providers/environments/hiera_defaults/manifests/site.pp
2811
+ - spec/fixtures/unit/data_providers/environments/hiera_misc/environment.conf
2812
+ - spec/fixtures/unit/data_providers/environments/hiera_misc/data/common.yaml
2813
+ - spec/fixtures/unit/data_providers/environments/hiera_misc/modules/one/data/common.yaml
2814
+ - spec/fixtures/unit/data_providers/environments/hiera_misc/modules/one/metadata.json
2815
+ - spec/fixtures/unit/data_providers/environments/hiera_misc/modules/one/manifests/init.pp
2816
+ - spec/fixtures/unit/data_providers/environments/hiera_misc/manifests/site.pp
2708
2817
  - spec/fixtures/unit/data_providers/environments/production/lib/puppet/functions/environment/data.rb
2709
2818
  - spec/fixtures/unit/data_providers/environments/production/environment.conf
2710
2819
  - spec/fixtures/unit/data_providers/environments/production/modules/abc/lib/puppet/bindings/abc/default.rb
@@ -2713,12 +2822,38 @@ test_files:
2713
2822
  - spec/fixtures/unit/data_providers/environments/production/modules/xyz/lib/puppet/bindings/xyz/default.rb
2714
2823
  - spec/fixtures/unit/data_providers/environments/production/modules/xyz/functions/data.pp
2715
2824
  - spec/fixtures/unit/data_providers/environments/production/modules/xyz/manifests/init.pp
2825
+ - spec/fixtures/unit/data_providers/environments/hiera_bad_syntax_json/environment.conf
2826
+ - spec/fixtures/unit/data_providers/environments/hiera_bad_syntax_json/data/bad.json
2827
+ - spec/fixtures/unit/data_providers/environments/hiera_bad_syntax_json/hiera.yaml
2828
+ - spec/fixtures/unit/data_providers/environments/hiera_bad_syntax_json/manifests/site.pp
2829
+ - spec/fixtures/unit/data_providers/environments/hiera_env_config/data1/name.yaml
2830
+ - spec/fixtures/unit/data_providers/environments/hiera_env_config/data1/single.yaml
2831
+ - spec/fixtures/unit/data_providers/environments/hiera_env_config/data1/second.json
2832
+ - spec/fixtures/unit/data_providers/environments/hiera_env_config/data1/first.json
2833
+ - spec/fixtures/unit/data_providers/environments/hiera_env_config/environment.conf
2834
+ - spec/fixtures/unit/data_providers/environments/hiera_env_config/hiera.yaml
2835
+ - spec/fixtures/unit/data_providers/environments/hiera_env_config/data2/single.yaml
2836
+ - spec/fixtures/unit/data_providers/environments/hiera_env_config/manifests/site.pp
2716
2837
  - spec/fixtures/unit/data_providers/environments/sample/environment.conf
2717
2838
  - spec/fixtures/unit/data_providers/environments/sample/modules/dataprovider/lib/puppet/bindings/dataprovider/default.rb
2718
2839
  - spec/fixtures/unit/data_providers/environments/sample/modules/dataprovider/lib/puppet_x/helindbe/sample_env_data.rb
2719
2840
  - spec/fixtures/unit/data_providers/environments/sample/modules/dataprovider/lib/puppet_x/helindbe/sample_module_data.rb
2720
2841
  - spec/fixtures/unit/data_providers/environments/sample/modules/dataprovider/manifests/init.pp
2721
2842
  - spec/fixtures/unit/data_providers/environments/sample/manifests/site.pp
2843
+ - spec/fixtures/unit/data_providers/environments/hiera_bad_syntax_yaml/environment.conf
2844
+ - spec/fixtures/unit/data_providers/environments/hiera_bad_syntax_yaml/data/bad.yaml
2845
+ - spec/fixtures/unit/data_providers/environments/hiera_bad_syntax_yaml/hiera.yaml
2846
+ - spec/fixtures/unit/data_providers/environments/hiera_bad_syntax_yaml/manifests/site.pp
2847
+ - spec/fixtures/unit/data_providers/environments/hiera_module_config/environment.conf
2848
+ - spec/fixtures/unit/data_providers/environments/hiera_module_config/modules/one/data1/name.yaml
2849
+ - spec/fixtures/unit/data_providers/environments/hiera_module_config/modules/one/data1/single.yaml
2850
+ - spec/fixtures/unit/data_providers/environments/hiera_module_config/modules/one/data1/second.json
2851
+ - spec/fixtures/unit/data_providers/environments/hiera_module_config/modules/one/data1/first.json
2852
+ - spec/fixtures/unit/data_providers/environments/hiera_module_config/modules/one/metadata.json
2853
+ - spec/fixtures/unit/data_providers/environments/hiera_module_config/modules/one/hiera.yaml
2854
+ - spec/fixtures/unit/data_providers/environments/hiera_module_config/modules/one/data2/single.yaml
2855
+ - spec/fixtures/unit/data_providers/environments/hiera_module_config/modules/one/manifests/init.pp
2856
+ - spec/fixtures/unit/data_providers/environments/hiera_module_config/manifests/site.pp
2722
2857
  - spec/fixtures/unit/reports/tagmail/tagmail_email.conf
2723
2858
  - spec/fixtures/unit/reports/tagmail/tagmail_passers.conf
2724
2859
  - spec/fixtures/unit/reports/tagmail/tagmail_failers.conf
@@ -2802,12 +2937,23 @@ test_files:
2802
2937
  - spec/fixtures/unit/module/trailing-comma.json
2803
2938
  - spec/fixtures/unit/functions/lookup/environments/production/lib/puppet/functions/environment/data.rb
2804
2939
  - spec/fixtures/unit/functions/lookup/environments/production/environment.conf
2940
+ - spec/fixtures/unit/functions/lookup/environments/production/modules/metawcp/lib/puppet/bindings/metawcp/default.rb
2941
+ - spec/fixtures/unit/functions/lookup/environments/production/modules/metawcp/lib/puppet_x/thallgren/sample_module_data.rb
2942
+ - spec/fixtures/unit/functions/lookup/environments/production/modules/metawcp/metadata.json
2943
+ - spec/fixtures/unit/functions/lookup/environments/production/modules/metawcp/manifests/init.pp
2805
2944
  - spec/fixtures/unit/functions/lookup/environments/production/modules/bad_data/lib/puppet/bindings/bad_data/default.rb
2806
2945
  - spec/fixtures/unit/functions/lookup/environments/production/modules/bad_data/lib/puppet/functions/bad_data/data.rb
2807
2946
  - spec/fixtures/unit/functions/lookup/environments/production/modules/bad_data/manifests/init.pp
2808
2947
  - spec/fixtures/unit/functions/lookup/environments/production/modules/abc/lib/puppet/bindings/abc/default.rb
2809
2948
  - spec/fixtures/unit/functions/lookup/environments/production/modules/abc/lib/puppet/functions/abc/data.rb
2810
2949
  - spec/fixtures/unit/functions/lookup/environments/production/modules/abc/manifests/init.pp
2950
+ - spec/fixtures/unit/functions/lookup/environments/production/modules/meta/lib/puppet/functions/meta/data.rb
2951
+ - spec/fixtures/unit/functions/lookup/environments/production/modules/meta/metadata.json
2952
+ - spec/fixtures/unit/functions/lookup/environments/production/modules/meta/manifests/init.pp
2953
+ - spec/fixtures/unit/functions/lookup/environments/production/modules/hieraprovider/data/first.json
2954
+ - spec/fixtures/unit/functions/lookup/environments/production/modules/hieraprovider/metadata.json
2955
+ - spec/fixtures/unit/functions/lookup/environments/production/modules/hieraprovider/hiera.yaml
2956
+ - spec/fixtures/unit/functions/lookup/environments/production/modules/hieraprovider/manifests/init.pp
2811
2957
  - spec/fixtures/unit/functions/lookup/environments/production/modules/bca/lib/puppet/bindings/bca/default.rb
2812
2958
  - spec/fixtures/unit/functions/lookup/environments/production/modules/bca/lib/puppet/functions/bca/data.rb
2813
2959
  - spec/fixtures/unit/functions/lookup/environments/production/modules/bca/manifests/init.pp
@@ -2873,11 +3019,15 @@ test_files:
2873
3019
  - spec/fixtures/unit/provider/package/openbsd/pkginfo.list
2874
3020
  - spec/fixtures/unit/provider/package/openbsd/pkginfo_flavors.list
2875
3021
  - spec/fixtures/unit/provider/package/openbsd/pkginfo.query
3022
+ - spec/fixtures/unit/provider/package/yum/yum-check-update-security.txt
2876
3023
  - spec/fixtures/unit/provider/package/yum/yum-check-update-obsoletes.txt
2877
3024
  - spec/fixtures/unit/provider/package/yum/yum-check-update-simple.txt
2878
3025
  - spec/fixtures/unit/provider/package/yum/yum-check-update-multiline.txt
2879
3026
  - spec/fixtures/unit/provider/zpool/zpool/zpool-list.out
2880
3027
  - spec/fixtures/unit/provider/zfs/zfs/zfs-list.out
3028
+ - spec/fixtures/vcr/cassettes/Puppet_Network_HTTP_Connection/when_handling_requests/_request_post/should_yield_to_the_block.yml
3029
+ - spec/fixtures/vcr/cassettes/Puppet_Network_HTTP_Connection/when_handling_requests/_request_get/should_yield_to_the_block.yml
3030
+ - spec/fixtures/vcr/cassettes/Puppet_Network_HTTP_Connection/when_handling_requests/_request_head/should_yield_to_the_block.yml
2881
3031
  - spec/fixtures/releases/jamtur01-apache/lib/puppet/type/a2mod.rb
2882
3032
  - spec/fixtures/releases/jamtur01-apache/lib/puppet/provider/a2mod/debian.rb
2883
3033
  - spec/fixtures/releases/jamtur01-apache/templates/vhost-default.conf.erb
@@ -2907,6 +3057,7 @@ test_files:
2907
3057
  - spec/integration/file_bucket/file_spec.rb
2908
3058
  - spec/integration/node/environment_spec.rb
2909
3059
  - spec/integration/node/facts_spec.rb
3060
+ - spec/integration/data_binding_spec.rb
2910
3061
  - spec/integration/configurer_spec.rb
2911
3062
  - spec/integration/network/http/api/indirected_routes_spec.rb
2912
3063
  - spec/integration/network/authconfig_spec.rb
@@ -2946,7 +3097,6 @@ test_files:
2946
3097
  - spec/integration/file_serving/terminus_helper_spec.rb
2947
3098
  - spec/integration/file_serving/metadata_spec.rb
2948
3099
  - spec/integration/transaction_spec.rb
2949
- - spec/integration/data_binding.rb
2950
3100
  - spec/integration/parser/resource_expressions_spec.rb
2951
3101
  - spec/integration/parser/node_spec.rb
2952
3102
  - spec/integration/parser/class_spec.rb
@@ -3200,6 +3350,7 @@ test_files:
3200
3350
  - spec/unit/application/filebucket_spec.rb
3201
3351
  - spec/unit/application/device_spec.rb
3202
3352
  - spec/unit/application/config_spec.rb
3353
+ - spec/unit/application/lookup_spec.rb
3203
3354
  - spec/unit/application/master_spec.rb
3204
3355
  - spec/unit/application/inspect_spec.rb
3205
3356
  - spec/unit/application/cert_spec.rb
@@ -3266,6 +3417,7 @@ test_files:
3266
3417
  - spec/unit/module_spec.rb
3267
3418
  - spec/unit/forge_spec.rb
3268
3419
  - spec/unit/status_spec.rb
3420
+ - spec/unit/info_service_spec.rb
3269
3421
  - spec/unit/transaction/event_spec.rb
3270
3422
  - spec/unit/transaction/additional_resource_generator_spec.rb
3271
3423
  - spec/unit/transaction/report_spec.rb
@@ -3338,6 +3490,7 @@ test_files:
3338
3490
  - spec/unit/functions4_spec.rb
3339
3491
  - spec/unit/data_providers/sample_data_provider_spec.rb
3340
3492
  - spec/unit/data_providers/function_data_provider_spec.rb
3493
+ - spec/unit/data_providers/hiera_data_provider_spec.rb
3341
3494
  - spec/unit/graph/relationship_graph_spec.rb
3342
3495
  - spec/unit/graph/key_spec.rb
3343
3496
  - spec/unit/graph/sequential_prioritizer_spec.rb
@@ -3387,6 +3540,7 @@ test_files:
3387
3540
  - spec/unit/pops/evaluator/collections_ops_spec.rb
3388
3541
  - spec/unit/pops/evaluator/evaluator_rspec_helper.rb
3389
3542
  - spec/unit/pops/evaluator/comparison_ops_spec.rb
3543
+ - spec/unit/pops/evaluator/literal_evaluator_spec.rb
3390
3544
  - spec/unit/pops/evaluator/basic_expressions_spec.rb
3391
3545
  - spec/unit/pops/evaluator/access_ops_spec.rb
3392
3546
  - spec/unit/pops/evaluator/evaluating_parser_spec.rb
@@ -3399,14 +3553,17 @@ test_files:
3399
3553
  - spec/unit/pops/parser/parse_basic_expressions_spec.rb
3400
3554
  - spec/unit/pops/parser/parse_heredoc_spec.rb
3401
3555
  - spec/unit/pops/parser/parser_rspec_helper.rb
3556
+ - spec/unit/pops/parser/parse_application_spec.rb
3402
3557
  - spec/unit/pops/parser/epp_parser_spec.rb
3403
3558
  - spec/unit/pops/parser/parser_spec.rb
3404
3559
  - spec/unit/pops/parser/rgen_sanitycheck_spec.rb
3405
3560
  - spec/unit/pops/parser/parsing_typed_parameters_spec.rb
3406
3561
  - spec/unit/pops/parser/parse_conditionals_spec.rb
3407
3562
  - spec/unit/pops/parser/evaluating_parser_spec.rb
3563
+ - spec/unit/pops/parser/parse_site_spec.rb
3408
3564
  - spec/unit/pops/parser/parse_resource_spec.rb
3409
3565
  - spec/unit/pops/parser/parse_calls_spec.rb
3566
+ - spec/unit/pops/parser/parse_capabilities_spec.rb
3410
3567
  - spec/unit/pops/parser/lexer2_spec.rb
3411
3568
  - spec/unit/pops/migration_spec.rb
3412
3569
  - spec/unit/pops/utils_spec.rb
@@ -3443,6 +3600,7 @@ test_files:
3443
3600
  - spec/unit/file_system/uniquefile_spec.rb
3444
3601
  - spec/unit/agent/locker_spec.rb
3445
3602
  - spec/unit/agent/disabler_spec.rb
3603
+ - spec/unit/capability_spec.rb
3446
3604
  - spec/unit/ssl/certificate_request_spec.rb
3447
3605
  - spec/unit/ssl/certificate_spec.rb
3448
3606
  - spec/unit/ssl/validator_spec.rb
@@ -3478,6 +3636,7 @@ test_files:
3478
3636
  - spec/unit/face/facts_spec.rb
3479
3637
  - spec/unit/util_spec.rb
3480
3638
  - spec/unit/resource/type_collection_spec.rb
3639
+ - spec/unit/resource/capability_finder_spec.rb
3481
3640
  - spec/unit/resource/status_spec.rb
3482
3641
  - spec/unit/resource/type_collection_helper_spec.rb
3483
3642
  - spec/unit/resource/catalog_spec.rb
@@ -3491,6 +3650,7 @@ test_files:
3491
3650
  - spec/unit/functions/match_spec.rb
3492
3651
  - spec/unit/functions/slice_spec.rb
3493
3652
  - spec/unit/functions/reduce_spec.rb
3653
+ - spec/unit/functions/versioncmp_spec.rb
3494
3654
  - spec/unit/functions/filter_spec.rb
3495
3655
  - spec/unit/functions/assert_type_spec.rb
3496
3656
  - spec/unit/functions/inline_epp_spec.rb
@@ -3528,6 +3688,7 @@ test_files:
3528
3688
  - spec/unit/provider/service/redhat_spec.rb
3529
3689
  - spec/unit/provider/service/debian_spec.rb
3530
3690
  - spec/unit/provider/service/openwrt_spec.rb
3691
+ - spec/unit/provider/service/rcng_spec.rb
3531
3692
  - spec/unit/provider/service/runit_spec.rb
3532
3693
  - spec/unit/provider/service/bsd_spec.rb
3533
3694
  - spec/unit/provider/README.markdown
@@ -3560,6 +3721,7 @@ test_files:
3560
3721
  - spec/unit/provider/host/parsed_spec.rb
3561
3722
  - spec/unit/provider/macauthorization_spec.rb
3562
3723
  - spec/unit/provider/group/groupadd_spec.rb
3724
+ - spec/unit/provider/group/directoryservice_spec.rb
3563
3725
  - spec/unit/provider/group/ldap_spec.rb
3564
3726
  - spec/unit/provider/group/windows_adsi_spec.rb
3565
3727
  - spec/unit/provider/group/pw_spec.rb
@@ -3579,6 +3741,7 @@ test_files:
3579
3741
  - spec/unit/provider/package/pkgng_spec.rb
3580
3742
  - spec/unit/provider/package/portage_spec.rb
3581
3743
  - spec/unit/provider/package/gem_spec.rb
3744
+ - spec/unit/provider/package/dnf_spec.rb
3582
3745
  - spec/unit/provider/package/openbsd_spec.rb
3583
3746
  - spec/unit/provider/package/macports_spec.rb
3584
3747
  - spec/unit/provider/package/rpm_spec.rb
@@ -3611,6 +3774,7 @@ test_files:
3611
3774
  - spec/unit/forge/module_release_spec.rb
3612
3775
  - spec/unit/forge/repository_spec.rb
3613
3776
  - spec/unit/forge/errors_spec.rb
3777
+ - spec/unit/appmgmt_spec.rb
3614
3778
  - spec/spec_helper.rb
3615
3779
  - spec/watchr.rb
3616
3780
  - spec/shared_contexts/checksum.rb