puppet-retrospec 0.12.2 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2314) hide show
  1. checksums.yaml +4 -4
  2. data/.dockerignore +4 -0
  3. data/.gitlab-ci.yml +15 -0
  4. data/CHANGELOG.md +11 -0
  5. data/DEVELOPMENT.md +3 -1
  6. data/Dockerfile +22 -0
  7. data/Gemfile +3 -3
  8. data/Gemfile.lock +11 -8
  9. data/README.md +9 -14
  10. data/Rakefile +3 -0
  11. data/VERSION +1 -1
  12. data/lib/retrospec-puppet.rb +1 -1
  13. data/lib/retrospec/plugins/v1/plugin/generators.rb +4 -6
  14. data/lib/retrospec/plugins/v1/plugin/generators/acceptance_generator.rb +51 -0
  15. data/lib/retrospec/plugins/v1/plugin/generators/base_generator.rb +91 -0
  16. data/lib/retrospec/plugins/v1/plugin/generators/definition_generator.rb +36 -0
  17. data/lib/retrospec/plugins/v1/plugin/generators/hostclass_generator.rb +36 -0
  18. data/lib/retrospec/plugins/v1/plugin/generators/node_generator.rb +35 -0
  19. data/lib/retrospec/plugins/v1/plugin/generators/report_generator.rb +56 -0
  20. data/lib/retrospec/plugins/v1/plugin/generators/resource_base_generator.rb +208 -0
  21. data/lib/retrospec/plugins/v1/plugin/generators/schema_generator.rb +6 -1
  22. data/lib/retrospec/plugins/v1/plugin/generators/serializers/rspec_dumper.rb +436 -0
  23. data/lib/retrospec/plugins/v1/plugin/generators/serializers/rspec_dumper_full.rb +379 -0
  24. data/lib/retrospec/plugins/v1/plugin/generators/serializers/schema_dumper.rb +291 -0
  25. data/lib/retrospec/plugins/v1/plugin/puppet.rb +35 -95
  26. data/lib/retrospec/plugins/v1/plugin/puppet_module.rb +41 -13
  27. data/lib/retrospec/plugins/v1/plugin/templates/clone-hook +5 -5
  28. data/lib/retrospec/plugins/v1/plugin/version.rb +1 -1
  29. data/puppet-retrospec.gemspec +1595 -1259
  30. data/spec/fixtures/define_content.txt +53 -0
  31. data/spec/fixtures/facts/datacenter_facts.rb +15 -0
  32. data/spec/fixtures/facts/facts_with_methods.rb +19 -0
  33. data/spec/fixtures/facts/node_role.rb +8 -0
  34. data/spec/fixtures/facts/oracle_controls.rb +38 -0
  35. data/spec/fixtures/fixture_modules/one_resource_module/manifests/another_resource.pp +29 -0
  36. data/spec/fixtures/fixture_modules/one_resource_module/manifests/inherits_params.pp +8 -0
  37. data/spec/fixtures/fixture_modules/one_resource_module/manifests/node_file.pp +3 -0
  38. data/spec/fixtures/fixture_modules/one_resource_module/manifests/one_define.pp +6 -0
  39. data/spec/fixtures/fixture_modules/one_resource_module/manifests/one_resource_class.pp +6 -0
  40. data/spec/fixtures/fixture_modules/one_resource_module/manifests/params.pp +19 -0
  41. data/spec/fixtures/fixture_modules/required_parameters/manifests/init.pp +8 -0
  42. data/spec/fixtures/fixture_modules/sample_module/lib/facter/fix_installed.rb +11 -0
  43. data/spec/fixtures/fixture_modules/sample_module/lib/puppet/functions/awesome_parser.rb +13 -0
  44. data/spec/fixtures/fixture_modules/sample_module/lib/puppet/functions/reduce.rb +31 -0
  45. data/spec/fixtures/fixture_modules/sample_module/lib/puppet/parser/functions/bad_sha1.rb +6 -0
  46. data/spec/fixtures/fixture_modules/sample_module/lib/puppet/parser/functions/defined.rb +94 -0
  47. data/spec/fixtures/fixture_modules/sample_module/lib/puppet/parser/functions/sha1.rb +6 -0
  48. data/spec/fixtures/fixture_modules/sample_module/lib/puppet/reports/test +16 -0
  49. data/spec/fixtures/fixture_modules/sample_module/spec/unit/facter/fix_installed_spec.rb +21 -0
  50. data/spec/fixtures/fixture_modules/zero_resource_module/manifests/empty_class.pp +3 -0
  51. data/spec/fixtures/fixture_modules/zero_resource_module/manifests/not_a_resource_defination.pp +1 -0
  52. data/spec/fixtures/fixture_modules/zero_resource_module/metadata.json +13 -0
  53. data/spec/fixtures/host_class_test.txt +29 -0
  54. data/spec/fixtures/manifests/apache.pp +383 -0
  55. data/spec/fixtures/manifests/includes-class.pp +26 -0
  56. data/spec/fixtures/manifests/includes-defines.pp +26 -0
  57. data/spec/fixtures/manifests/simple_define.pp +89 -0
  58. data/spec/fixtures/manifests/site.pp +15 -0
  59. data/spec/fixtures/manifests/sql.pp +90 -0
  60. data/spec/fixtures/modules/concat/CHANGELOG.md +257 -0
  61. data/spec/fixtures/modules/concat/CONTRIBUTING.md +220 -0
  62. data/spec/fixtures/modules/concat/LICENSE +14 -0
  63. data/spec/fixtures/modules/concat/README.md +283 -0
  64. data/spec/fixtures/modules/concat/checksums.json +54 -0
  65. data/spec/fixtures/modules/concat/files/concatfragments.rb +153 -0
  66. data/spec/fixtures/modules/concat/lib/facter/concat_basedir.rb +11 -0
  67. data/spec/fixtures/modules/concat/lib/puppet/parser/functions/concat_getparam.rb +35 -0
  68. data/spec/fixtures/modules/concat/lib/puppet/parser/functions/concat_is_bool.rb +22 -0
  69. data/spec/fixtures/modules/concat/manifests/fragment.pp +133 -0
  70. data/spec/fixtures/modules/concat/manifests/init.pp +268 -0
  71. data/spec/fixtures/modules/concat/manifests/setup.pp +64 -0
  72. data/spec/fixtures/modules/concat/metadata.json +110 -0
  73. data/spec/fixtures/modules/concat/tests/fragment.pp +19 -0
  74. data/spec/fixtures/modules/concat/tests/init.pp +7 -0
  75. data/spec/fixtures/modules/staging/LICENSE +11 -0
  76. data/spec/fixtures/modules/staging/README.md +70 -0
  77. data/spec/fixtures/modules/staging/Vagrantfile +29 -0
  78. data/spec/fixtures/modules/staging/checksums.json +37 -0
  79. data/spec/fixtures/modules/staging/docs/deploy.html +113 -0
  80. data/spec/fixtures/modules/staging/docs/extract.html +176 -0
  81. data/spec/fixtures/modules/staging/docs/file.html +178 -0
  82. data/spec/fixtures/modules/staging/docs/init.html +87 -0
  83. data/spec/fixtures/modules/staging/files/sample +1 -0
  84. data/spec/fixtures/modules/staging/files/sample.tar.bz2 +0 -0
  85. data/spec/fixtures/modules/staging/files/sample.tar.gz +0 -0
  86. data/spec/fixtures/modules/staging/lib/facter/staging_http_get.rb +29 -0
  87. data/spec/fixtures/modules/staging/lib/facter/staging_windir.rb +11 -0
  88. data/spec/fixtures/modules/staging/lib/puppet/parser/functions/scope_defaults.rb +17 -0
  89. data/spec/fixtures/modules/staging/lib/puppet/parser/functions/staging_parse.rb +36 -0
  90. data/spec/fixtures/modules/staging/manifests/.init.pp.swp +0 -0
  91. data/spec/fixtures/modules/staging/manifests/deploy.pp +42 -0
  92. data/spec/fixtures/modules/staging/manifests/extract.pp +109 -0
  93. data/spec/fixtures/modules/staging/manifests/file.pp +125 -0
  94. data/spec/fixtures/modules/staging/manifests/init.pp +31 -0
  95. data/spec/fixtures/modules/staging/manifests/params.pp +33 -0
  96. data/spec/fixtures/modules/staging/metadata.json +106 -0
  97. data/spec/fixtures/modules/staging/tests/deploy.pp +4 -0
  98. data/spec/fixtures/modules/staging/tests/extract.pp +25 -0
  99. data/spec/fixtures/modules/staging/tests/file.pp +17 -0
  100. data/spec/fixtures/modules/staging/tests/init.pp +1 -0
  101. data/spec/fixtures/modules/staging/tests/scope_defaults.pp +7 -0
  102. data/spec/fixtures/modules/staging/tests/staging_parse.pp +12 -0
  103. data/spec/fixtures/modules/stdlib/CHANGELOG.md +515 -0
  104. data/spec/fixtures/modules/stdlib/CONTRIBUTING.md +220 -0
  105. data/spec/fixtures/modules/stdlib/LICENSE +19 -0
  106. data/spec/fixtures/modules/stdlib/README.markdown +1042 -0
  107. data/spec/fixtures/modules/stdlib/README_DEVELOPER.markdown +35 -0
  108. data/spec/fixtures/modules/stdlib/README_SPECS.markdown +7 -0
  109. data/spec/fixtures/modules/stdlib/RELEASE_PROCESS.markdown +24 -0
  110. data/spec/fixtures/modules/stdlib/checksums.json +381 -0
  111. data/spec/fixtures/modules/stdlib/lib/facter/facter_dot_d.rb +202 -0
  112. data/spec/fixtures/modules/stdlib/lib/facter/pe_version.rb +53 -0
  113. data/spec/fixtures/modules/stdlib/lib/facter/puppet_vardir.rb +26 -0
  114. data/spec/fixtures/modules/stdlib/lib/facter/root_home.rb +32 -0
  115. data/spec/fixtures/modules/stdlib/lib/facter/util/puppet_settings.rb +21 -0
  116. data/spec/fixtures/modules/stdlib/lib/puppet/functions/type_of.rb +17 -0
  117. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/abs.rb +36 -0
  118. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/any2array.rb +33 -0
  119. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/assert_private.rb +29 -0
  120. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/base64.rb +37 -0
  121. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/basename.rb +34 -0
  122. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/bool2num.rb +26 -0
  123. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/bool2str.rb +27 -0
  124. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/camelcase.rb +33 -0
  125. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/capitalize.rb +33 -0
  126. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/ceiling.rb +25 -0
  127. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/chomp.rb +34 -0
  128. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/chop.rb +36 -0
  129. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/concat.rb +41 -0
  130. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/count.rb +22 -0
  131. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/deep_merge.rb +44 -0
  132. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/defined_with_params.rb +35 -0
  133. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/delete.rb +49 -0
  134. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/delete_at.rb +49 -0
  135. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/delete_undef_values.rb +34 -0
  136. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/delete_values.rb +26 -0
  137. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/difference.rb +36 -0
  138. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/dirname.rb +21 -0
  139. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/downcase.rb +32 -0
  140. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/empty.rb +27 -0
  141. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/ensure_packages.rb +35 -0
  142. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/ensure_resource.rb +46 -0
  143. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/flatten.rb +33 -0
  144. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/floor.rb +25 -0
  145. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/fqdn_rand_string.rb +34 -0
  146. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/fqdn_rotate.rb +57 -0
  147. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/get_module_path.rb +17 -0
  148. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/getparam.rb +35 -0
  149. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/getvar.rb +29 -0
  150. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/grep.rb +33 -0
  151. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/has_interface_with.rb +68 -0
  152. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/has_ip_address.rb +25 -0
  153. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/has_ip_network.rb +25 -0
  154. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/has_key.rb +28 -0
  155. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/hash.rb +41 -0
  156. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/intersection.rb +34 -0
  157. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/is_array.rb +22 -0
  158. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/is_bool.rb +22 -0
  159. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/is_domain_name.rb +54 -0
  160. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/is_float.rb +30 -0
  161. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/is_function_available.rb +26 -0
  162. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/is_hash.rb +22 -0
  163. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/is_integer.rb +45 -0
  164. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/is_ip_address.rb +32 -0
  165. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/is_mac_address.rb +27 -0
  166. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/is_numeric.rb +75 -0
  167. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/is_string.rb +26 -0
  168. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/join.rb +41 -0
  169. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/join_keys_to_values.rb +47 -0
  170. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/keys.rb +26 -0
  171. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/loadyaml.rb +20 -0
  172. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/lstrip.rb +32 -0
  173. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/max.rb +21 -0
  174. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/member.rb +62 -0
  175. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/merge.rb +34 -0
  176. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/min.rb +21 -0
  177. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/num2bool.rb +43 -0
  178. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/parsejson.rb +24 -0
  179. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/parseyaml.rb +24 -0
  180. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/pick.rb +29 -0
  181. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/pick_default.rb +35 -0
  182. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/prefix.rb +52 -0
  183. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/private.rb +17 -0
  184. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/pw_hash.rb +56 -0
  185. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/range.rb +88 -0
  186. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/reject.rb +31 -0
  187. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/reverse.rb +27 -0
  188. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/rstrip.rb +31 -0
  189. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/shuffle.rb +45 -0
  190. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/size.rb +48 -0
  191. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/sort.rb +27 -0
  192. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/squeeze.rb +36 -0
  193. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/str2bool.rb +46 -0
  194. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/str2saltedsha512.rb +32 -0
  195. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/strftime.rb +107 -0
  196. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/strip.rb +38 -0
  197. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/suffix.rb +45 -0
  198. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/swapcase.rb +38 -0
  199. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/time.rb +49 -0
  200. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/to_bytes.rb +31 -0
  201. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/type.rb +19 -0
  202. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/type3x.rb +51 -0
  203. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/union.rb +34 -0
  204. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/unique.rb +50 -0
  205. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/upcase.rb +45 -0
  206. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/uriescape.rb +34 -0
  207. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/validate_absolute_path.rb +69 -0
  208. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/validate_array.rb +33 -0
  209. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/validate_augeas.rb +83 -0
  210. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/validate_bool.rb +34 -0
  211. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/validate_cmd.rb +63 -0
  212. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/validate_hash.rb +33 -0
  213. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/validate_integer.rb +131 -0
  214. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/validate_ipv4_address.rb +48 -0
  215. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/validate_ipv6_address.rb +49 -0
  216. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/validate_numeric.rb +93 -0
  217. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/validate_re.rb +40 -0
  218. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/validate_slength.rb +71 -0
  219. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/validate_string.rb +38 -0
  220. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/values.rb +39 -0
  221. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/values_at.rb +99 -0
  222. data/spec/fixtures/modules/stdlib/lib/puppet/parser/functions/zip.rb +39 -0
  223. data/spec/fixtures/modules/stdlib/lib/puppet/provider/file_line/ruby.rb +97 -0
  224. data/spec/fixtures/modules/stdlib/lib/puppet/type/anchor.rb +46 -0
  225. data/spec/fixtures/modules/stdlib/lib/puppet/type/file_line.rb +91 -0
  226. data/spec/fixtures/modules/stdlib/manifests/init.pp +20 -0
  227. data/spec/fixtures/modules/stdlib/manifests/stages.pp +43 -0
  228. data/spec/fixtures/modules/stdlib/metadata.json +113 -0
  229. data/spec/fixtures/modules/stdlib/tests/file_line.pp +9 -0
  230. data/spec/fixtures/modules/stdlib/tests/has_interface_with.pp +10 -0
  231. data/spec/fixtures/modules/stdlib/tests/has_ip_address.pp +3 -0
  232. data/spec/fixtures/modules/stdlib/tests/has_ip_network.pp +4 -0
  233. data/spec/fixtures/modules/stdlib/tests/init.pp +1 -0
  234. data/spec/fixtures/modules/tomcat/.gitignore +8 -0
  235. data/spec/fixtures/modules/tomcat/.puppet-lint.rc +8 -0
  236. data/spec/fixtures/modules/tomcat/.travis.yml +14 -0
  237. data/spec/fixtures/modules/tomcat/CHANGELOG.md +94 -0
  238. data/spec/fixtures/modules/tomcat/CONTRIBUTING.md +220 -0
  239. data/spec/fixtures/modules/tomcat/LICENSE +15 -0
  240. data/spec/fixtures/modules/tomcat/README.markdown +75 -0
  241. data/spec/fixtures/modules/tomcat/README.md +812 -0
  242. data/spec/fixtures/modules/tomcat/Vagrantfile +95 -0
  243. data/spec/fixtures/modules/tomcat/checksums.json +67 -0
  244. data/spec/fixtures/modules/tomcat/examples/default_install_from_package.pp +13 -0
  245. data/spec/fixtures/modules/tomcat/examples/default_install_from_source.pp +9 -0
  246. data/spec/fixtures/modules/tomcat/examples/instance_with_context.pp +20 -0
  247. data/spec/fixtures/modules/tomcat/examples/instance_with_listener.pp +18 -0
  248. data/spec/fixtures/modules/tomcat/examples/instance_with_realm.pp +20 -0
  249. data/spec/fixtures/modules/tomcat/examples/instance_with_role_and_user.pp +23 -0
  250. data/spec/fixtures/modules/tomcat/examples/jsvc_install_from_source.pp +37 -0
  251. data/spec/fixtures/modules/tomcat/examples/multiple_instances.pp +38 -0
  252. data/spec/fixtures/modules/tomcat/files/.gitkeep +0 -0
  253. data/spec/fixtures/modules/tomcat/manifests/config/server.pp +78 -0
  254. data/spec/fixtures/modules/tomcat/manifests/config/server/connector.pp +95 -0
  255. data/spec/fixtures/modules/tomcat/manifests/config/server/context.pp +102 -0
  256. data/spec/fixtures/modules/tomcat/manifests/config/server/engine.pp +109 -0
  257. data/spec/fixtures/modules/tomcat/manifests/config/server/host.pp +79 -0
  258. data/spec/fixtures/modules/tomcat/manifests/config/server/listener.pp +98 -0
  259. data/spec/fixtures/modules/tomcat/manifests/config/server/realm.pp +104 -0
  260. data/spec/fixtures/modules/tomcat/manifests/config/server/service.pp +54 -0
  261. data/spec/fixtures/modules/tomcat/manifests/config/server/tomcat_users.pp +97 -0
  262. data/spec/fixtures/modules/tomcat/manifests/config/server/valve.pp +77 -0
  263. data/spec/fixtures/modules/tomcat/manifests/init.pp +71 -0
  264. data/spec/fixtures/modules/tomcat/manifests/instance.pp +88 -0
  265. data/spec/fixtures/modules/tomcat/manifests/instance/package.pp +26 -0
  266. data/spec/fixtures/modules/tomcat/manifests/instance/source.pp +46 -0
  267. data/spec/fixtures/modules/tomcat/manifests/params.pp +13 -0
  268. data/spec/fixtures/modules/tomcat/manifests/service.pp +160 -0
  269. data/spec/fixtures/modules/tomcat/manifests/setenv/entry.pp +52 -0
  270. data/spec/fixtures/modules/tomcat/manifests/war.pp +80 -0
  271. data/spec/fixtures/modules/tomcat/metadata.json +74 -0
  272. data/spec/fixtures/modules/tomcat/templates/.gitkeep +0 -0
  273. data/spec/fixtures/modules/tomcat/tests/.gitkeep +0 -0
  274. data/spec/fixtures/parameters.txt +9 -0
  275. data/spec/fixtures/providers/bmc/ipmitool.rb +188 -0
  276. data/spec/fixtures/providers/bmcuser/ipmitool.rb +140 -0
  277. data/spec/fixtures/resources.txt +10 -0
  278. data/spec/fixtures/spec_test_file.txt +49 -0
  279. data/spec/fixtures/types/bmc.rb +102 -0
  280. data/spec/fixtures/types/bmcuser.rb +46 -0
  281. data/spec/fixtures/types/db_opatch.rb +93 -0
  282. data/spec/integration/retrospec_spec.rb +55 -31
  283. data/spec/spec_helper.rb +26 -0
  284. data/spec/unit/generators/acceptance_generator_spec.rb +143 -0
  285. data/spec/unit/generators/definition_generator_spec.rb +96 -0
  286. data/spec/unit/generators/hostclass_generator_spec.rb +104 -0
  287. data/spec/unit/generators/node_generator_spec.rb +62 -0
  288. data/spec/unit/generators/parsers/provider_spec.rb +4 -4
  289. data/spec/unit/generators/report_generator_spec.rb +46 -0
  290. data/spec/unit/generators/resource_base_generator_spec.rb +42 -0
  291. data/spec/unit/generators/serializers/rspec_dumper_spec.rb +302 -0
  292. data/spec/unit/plugin_spec.rb +17 -2
  293. data/spec/unit/puppet-retrospec_spec.rb +114 -87
  294. data/vendor/gems/puppet-4.5.2/Gemfile +92 -0
  295. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/bin/extlookup2hiera +0 -0
  296. data/vendor/gems/puppet-4.5.2/bin/puppet +9 -0
  297. data/vendor/gems/puppet-4.5.2/conf/auth.conf +124 -0
  298. data/vendor/gems/puppet-4.5.2/conf/environment.conf +18 -0
  299. data/vendor/gems/puppet-4.5.2/conf/fileserver.conf +42 -0
  300. data/vendor/gems/puppet-4.5.2/conf/puppet.conf +6 -0
  301. data/vendor/gems/puppet-4.5.2/ext/README.environment +8 -0
  302. data/vendor/gems/puppet-4.5.2/ext/autotest/Rakefile +8 -0
  303. data/vendor/gems/puppet-4.5.2/ext/autotest/config +43 -0
  304. data/vendor/gems/puppet-4.5.2/ext/autotest/readme.rst +16 -0
  305. data/vendor/gems/puppet-4.5.2/ext/build_defaults.yaml +20 -0
  306. data/vendor/gems/puppet-4.5.2/ext/cert_inspector +140 -0
  307. data/vendor/gems/puppet-4.5.2/ext/dbfix.sql +132 -0
  308. data/vendor/gems/puppet-4.5.2/ext/debian/README.Debian +8 -0
  309. data/vendor/gems/puppet-4.5.2/ext/debian/README.source +2 -0
  310. data/vendor/gems/puppet-4.5.2/ext/debian/TODO.Debian +1 -0
  311. data/vendor/gems/puppet-4.5.2/ext/debian/changelog.erb +1122 -0
  312. data/vendor/gems/puppet-4.5.2/ext/debian/compat +1 -0
  313. data/vendor/gems/puppet-4.5.2/ext/debian/control +146 -0
  314. data/vendor/gems/puppet-4.5.2/ext/debian/copyright +361 -0
  315. data/vendor/gems/puppet-4.5.2/ext/debian/docs +1 -0
  316. data/vendor/gems/puppet-4.5.2/ext/debian/fileserver.conf +41 -0
  317. data/vendor/gems/puppet-4.5.2/ext/debian/puppet-common.dirs +13 -0
  318. data/vendor/gems/puppet-4.5.2/ext/debian/puppet-common.install +4 -0
  319. data/vendor/gems/puppet-4.5.2/ext/debian/puppet-common.lintian-overrides +5 -0
  320. data/vendor/gems/puppet-4.5.2/ext/debian/puppet-common.manpages +30 -0
  321. data/vendor/gems/puppet-4.5.2/ext/debian/puppet-common.postinst +35 -0
  322. data/vendor/gems/puppet-4.5.2/ext/debian/puppet-common.postrm +33 -0
  323. data/vendor/gems/puppet-4.5.2/ext/debian/puppet-el.dirs +1 -0
  324. data/vendor/gems/puppet-4.5.2/ext/debian/puppet-el.emacsen-install +25 -0
  325. data/vendor/gems/puppet-4.5.2/ext/debian/puppet-el.emacsen-remove +11 -0
  326. data/vendor/gems/puppet-4.5.2/ext/debian/puppet-el.emacsen-startup +9 -0
  327. data/vendor/gems/puppet-4.5.2/ext/debian/puppet-el.install +1 -0
  328. data/vendor/gems/puppet-4.5.2/ext/debian/puppet-testsuite.install +2 -0
  329. data/vendor/gems/puppet-4.5.2/ext/debian/puppet-testsuite.lintian-overrides +4 -0
  330. data/vendor/gems/puppet-4.5.2/ext/debian/puppet.default +4 -0
  331. data/vendor/gems/puppet-4.5.2/ext/debian/puppet.init +113 -0
  332. data/vendor/gems/puppet-4.5.2/ext/debian/puppet.lintian-overrides +3 -0
  333. data/vendor/gems/puppet-4.5.2/ext/debian/puppet.logrotate +20 -0
  334. data/vendor/gems/puppet-4.5.2/ext/debian/puppet.postinst +20 -0
  335. data/vendor/gems/puppet-4.5.2/ext/debian/puppet.postrm +20 -0
  336. data/vendor/gems/puppet-4.5.2/ext/debian/puppet.preinst +20 -0
  337. data/vendor/gems/puppet-4.5.2/ext/debian/puppetmaster-common.install +2 -0
  338. data/vendor/gems/puppet-4.5.2/ext/debian/puppetmaster-common.manpages +2 -0
  339. data/vendor/gems/puppet-4.5.2/ext/debian/puppetmaster-common.postinst +6 -0
  340. data/vendor/gems/puppet-4.5.2/ext/debian/puppetmaster-passenger.dirs +4 -0
  341. data/vendor/gems/puppet-4.5.2/ext/debian/puppetmaster-passenger.postinst +162 -0
  342. data/vendor/gems/puppet-4.5.2/ext/debian/puppetmaster-passenger.postrm +61 -0
  343. data/vendor/gems/puppet-4.5.2/ext/debian/puppetmaster.README.debian +17 -0
  344. data/vendor/gems/puppet-4.5.2/ext/debian/puppetmaster.default +14 -0
  345. data/vendor/gems/puppet-4.5.2/ext/debian/puppetmaster.init +137 -0
  346. data/vendor/gems/puppet-4.5.2/ext/debian/puppetmaster.lintian-overrides +3 -0
  347. data/vendor/gems/puppet-4.5.2/ext/debian/puppetmaster.postinst +20 -0
  348. data/vendor/gems/puppet-4.5.2/ext/debian/puppetmaster.postrm +5 -0
  349. data/vendor/gems/puppet-4.5.2/ext/debian/puppetmaster.preinst +22 -0
  350. data/vendor/gems/puppet-4.5.2/ext/debian/rules +132 -0
  351. data/vendor/gems/puppet-4.5.2/ext/debian/source/format +1 -0
  352. data/vendor/gems/puppet-4.5.2/ext/debian/source/options +1 -0
  353. data/vendor/gems/puppet-4.5.2/ext/debian/vim-puppet.README.Debian +13 -0
  354. data/vendor/gems/puppet-4.5.2/ext/debian/vim-puppet.dirs +5 -0
  355. data/vendor/gems/puppet-4.5.2/ext/debian/vim-puppet.yaml +7 -0
  356. data/vendor/gems/puppet-4.5.2/ext/debian/watch +2 -0
  357. data/vendor/gems/puppet-4.5.2/ext/emacs/puppet-mode-init.el +6 -0
  358. data/vendor/gems/puppet-4.5.2/ext/emacs/puppet-mode.el +433 -0
  359. data/vendor/gems/puppet-4.5.2/ext/envpuppet +139 -0
  360. data/vendor/gems/puppet-4.5.2/ext/envpuppet.bat +14 -0
  361. data/vendor/gems/puppet-4.5.2/ext/freebsd/puppetd +26 -0
  362. data/vendor/gems/puppet-4.5.2/ext/freebsd/puppetmasterd +26 -0
  363. data/vendor/gems/puppet-4.5.2/ext/gentoo/conf.d/puppet +5 -0
  364. data/vendor/gems/puppet-4.5.2/ext/gentoo/conf.d/puppetmaster +12 -0
  365. data/vendor/gems/puppet-4.5.2/ext/gentoo/init.d/puppet +38 -0
  366. data/vendor/gems/puppet-4.5.2/ext/gentoo/init.d/puppetmaster +51 -0
  367. data/vendor/gems/puppet-4.5.2/ext/gentoo/puppet/fileserver.conf +41 -0
  368. data/vendor/gems/puppet-4.5.2/ext/ips/puppet-agent +44 -0
  369. data/vendor/gems/puppet-4.5.2/ext/ips/puppet-master +44 -0
  370. data/vendor/gems/puppet-4.5.2/ext/ips/puppet.p5m.erb +12 -0
  371. data/vendor/gems/puppet-4.5.2/ext/ips/puppetagent.xml +42 -0
  372. data/vendor/gems/puppet-4.5.2/ext/ips/puppetmaster.xml +42 -0
  373. data/vendor/gems/puppet-4.5.2/ext/ips/rules +19 -0
  374. data/vendor/gems/puppet-4.5.2/ext/ips/transforms +34 -0
  375. data/vendor/gems/puppet-4.5.2/ext/ldap/puppet.schema +24 -0
  376. data/vendor/gems/puppet-4.5.2/ext/logcheck/puppet +23 -0
  377. data/vendor/gems/puppet-4.5.2/ext/nagios/check_puppet.rb +123 -0
  378. data/vendor/gems/puppet-4.5.2/ext/osx/file_mapping.yaml +33 -0
  379. data/vendor/gems/puppet-4.5.2/ext/osx/postflight.erb +109 -0
  380. data/vendor/gems/puppet-4.5.2/ext/osx/preflight.erb +52 -0
  381. data/vendor/gems/puppet-4.5.2/ext/osx/prototype.plist.erb +38 -0
  382. data/vendor/gems/puppet-4.5.2/ext/osx/puppet.plist +30 -0
  383. data/vendor/gems/puppet-4.5.2/ext/project_data.yaml +59 -0
  384. data/vendor/gems/puppet-4.5.2/ext/puppet-test +500 -0
  385. data/vendor/gems/puppet-4.5.2/ext/puppetlisten/puppetlisten.rb +77 -0
  386. data/vendor/gems/puppet-4.5.2/ext/puppetlisten/puppetrun.rb +38 -0
  387. data/vendor/gems/puppet-4.5.2/ext/pure_ruby_dsl/dsl_test.rb +7 -0
  388. data/vendor/gems/puppet-4.5.2/ext/rack/config.ru +44 -0
  389. data/vendor/gems/puppet-4.5.2/ext/rack/example-passenger-vhost.conf +57 -0
  390. data/vendor/gems/puppet-4.5.2/ext/redhat/client.init +169 -0
  391. data/vendor/gems/puppet-4.5.2/ext/redhat/client.sysconfig +2 -0
  392. data/vendor/gems/puppet-4.5.2/ext/redhat/fileserver.conf +41 -0
  393. data/vendor/gems/puppet-4.5.2/ext/redhat/logrotate +21 -0
  394. data/vendor/gems/puppet-4.5.2/ext/redhat/puppet.spec.erb +849 -0
  395. data/vendor/gems/puppet-4.5.2/ext/redhat/server.init +128 -0
  396. data/vendor/gems/puppet-4.5.2/ext/redhat/server.sysconfig +13 -0
  397. data/vendor/gems/puppet-4.5.2/ext/regexp_nodes/classes/databases +2 -0
  398. data/vendor/gems/puppet-4.5.2/ext/regexp_nodes/classes/webservers +2 -0
  399. data/vendor/gems/puppet-4.5.2/ext/regexp_nodes/environment/development +2 -0
  400. data/vendor/gems/puppet-4.5.2/ext/regexp_nodes/parameters/service/prod +1 -0
  401. data/vendor/gems/puppet-4.5.2/ext/regexp_nodes/parameters/service/qa +3 -0
  402. data/vendor/gems/puppet-4.5.2/ext/regexp_nodes/parameters/service/sandbox +1 -0
  403. data/vendor/gems/puppet-4.5.2/ext/regexp_nodes/regexp_nodes.rb +271 -0
  404. data/vendor/gems/puppet-4.5.2/ext/solaris/pkginfo +6 -0
  405. data/vendor/gems/puppet-4.5.2/ext/solaris/smf/puppet +44 -0
  406. data/vendor/gems/puppet-4.5.2/ext/solaris/smf/puppet.xml +44 -0
  407. data/vendor/gems/puppet-4.5.2/ext/solaris/smf/puppetd.xml +77 -0
  408. data/vendor/gems/puppet-4.5.2/ext/solaris/smf/puppetmasterd.xml +77 -0
  409. data/vendor/gems/puppet-4.5.2/ext/solaris/smf/svc-puppetd +64 -0
  410. data/vendor/gems/puppet-4.5.2/ext/solaris/smf/svc-puppetmasterd +60 -0
  411. data/vendor/gems/puppet-4.5.2/ext/suse/client.init +141 -0
  412. data/vendor/gems/puppet-4.5.2/ext/suse/puppet.spec +310 -0
  413. data/vendor/gems/puppet-4.5.2/ext/suse/server.init +173 -0
  414. data/vendor/gems/puppet-4.5.2/ext/systemd/puppet.service +15 -0
  415. data/vendor/gems/puppet-4.5.2/ext/upload_facts.rb +119 -0
  416. data/vendor/gems/puppet-4.5.2/ext/vim/README +3 -0
  417. data/vendor/gems/puppet-4.5.2/ext/vim/ftdetect/puppet.vim +2 -0
  418. data/vendor/gems/puppet-4.5.2/ext/vim/ftplugin/puppet.vim +94 -0
  419. data/vendor/gems/puppet-4.5.2/ext/vim/indent/puppet.vim +76 -0
  420. data/vendor/gems/puppet-4.5.2/ext/vim/syntax/puppet.vim +115 -0
  421. data/vendor/gems/puppet-4.5.2/ext/windows/eventlog/Rakefile +32 -0
  422. data/vendor/gems/puppet-4.5.2/ext/windows/eventlog/puppetres.dll +0 -0
  423. data/vendor/gems/puppet-4.5.2/ext/windows/eventlog/puppetres.mc +18 -0
  424. data/vendor/gems/puppet-4.5.2/ext/windows/puppet_interactive.bat +6 -0
  425. data/vendor/gems/puppet-4.5.2/ext/windows/puppet_shell.bat +9 -0
  426. data/vendor/gems/puppet-4.5.2/ext/windows/run_puppet_interactive.bat +9 -0
  427. data/vendor/gems/puppet-4.5.2/ext/windows/service/daemon.bat +6 -0
  428. data/vendor/gems/puppet-4.5.2/ext/windows/service/daemon.rb +192 -0
  429. data/vendor/gems/puppet-4.5.2/ext/yaml_nodes.rb +105 -0
  430. data/vendor/gems/puppet-4.5.2/install.rb +477 -0
  431. data/vendor/gems/puppet-4.5.2/lib/hiera/puppet_function.rb +82 -0
  432. data/vendor/gems/puppet-4.5.2/lib/hiera/scope.rb +63 -0
  433. data/vendor/gems/puppet-4.5.2/lib/hiera_puppet.rb +79 -0
  434. data/vendor/gems/puppet-4.5.2/lib/puppet.rb +286 -0
  435. data/vendor/gems/puppet-4.5.2/lib/puppet/agent.rb +102 -0
  436. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/agent/disabler.rb +0 -0
  437. data/vendor/gems/puppet-4.5.2/lib/puppet/agent/locker.rb +52 -0
  438. data/vendor/gems/puppet-4.5.2/lib/puppet/application.rb +462 -0
  439. data/vendor/gems/puppet-4.5.2/lib/puppet/application/agent.rb +456 -0
  440. data/vendor/gems/puppet-4.5.2/lib/puppet/application/apply.rb +352 -0
  441. data/vendor/gems/puppet-4.5.2/lib/puppet/application/ca.rb +11 -0
  442. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/application/catalog.rb +0 -0
  443. data/vendor/gems/puppet-4.5.2/lib/puppet/application/cert.rb +297 -0
  444. data/vendor/gems/puppet-4.5.2/lib/puppet/application/certificate.rb +17 -0
  445. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/application/certificate_request.rb +0 -0
  446. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/application/certificate_revocation_list.rb +0 -0
  447. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/application/config.rb +0 -0
  448. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/application/describe.rb +0 -0
  449. data/vendor/gems/puppet-4.5.2/lib/puppet/application/device.rb +256 -0
  450. data/vendor/gems/puppet-4.5.2/lib/puppet/application/doc.rb +226 -0
  451. data/vendor/gems/puppet-4.5.2/lib/puppet/application/epp.rb +5 -0
  452. data/vendor/gems/puppet-4.5.2/lib/puppet/application/face_base.rb +269 -0
  453. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/application/facts.rb +0 -0
  454. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/application/file.rb +0 -0
  455. data/vendor/gems/puppet-4.5.2/lib/puppet/application/filebucket.rb +258 -0
  456. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/application/help.rb +0 -0
  457. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/application/indirection_base.rb +0 -0
  458. data/vendor/gems/puppet-4.5.2/lib/puppet/application/inspect.rb +179 -0
  459. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/application/key.rb +0 -0
  460. data/vendor/gems/puppet-4.5.2/lib/puppet/application/lookup.rb +342 -0
  461. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/application/man.rb +0 -0
  462. data/vendor/gems/puppet-4.5.2/lib/puppet/application/master.rb +321 -0
  463. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/application/module.rb +0 -0
  464. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/application/node.rb +0 -0
  465. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/application/parser.rb +0 -0
  466. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/application/plugin.rb +0 -0
  467. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/application/report.rb +0 -0
  468. data/vendor/gems/puppet-4.5.2/lib/puppet/application/resource.rb +224 -0
  469. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/application/resource_type.rb +0 -0
  470. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/application/status.rb +0 -0
  471. data/vendor/gems/puppet-4.5.2/lib/puppet/application_support.rb +57 -0
  472. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/bindings.rb +0 -0
  473. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/coercion.rb +0 -0
  474. data/vendor/gems/puppet-4.5.2/lib/puppet/configurer.rb +389 -0
  475. data/vendor/gems/puppet-4.5.2/lib/puppet/configurer/downloader.rb +67 -0
  476. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/configurer/downloader_factory.rb +0 -0
  477. data/vendor/gems/puppet-4.5.2/lib/puppet/configurer/fact_handler.rb +37 -0
  478. data/vendor/gems/puppet-4.5.2/lib/puppet/configurer/plugin_handler.rb +27 -0
  479. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/confine.rb +0 -0
  480. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/confine/any.rb +0 -0
  481. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/confine/exists.rb +0 -0
  482. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/confine/false.rb +0 -0
  483. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/confine/feature.rb +0 -0
  484. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/confine/true.rb +0 -0
  485. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/confine/variable.rb +0 -0
  486. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/confine_collection.rb +0 -0
  487. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/confiner.rb +0 -0
  488. data/vendor/gems/puppet-4.5.2/lib/puppet/context.rb +116 -0
  489. data/vendor/gems/puppet-4.5.2/lib/puppet/context/trusted_information.rb +76 -0
  490. data/vendor/gems/puppet-4.5.2/lib/puppet/daemon.rb +195 -0
  491. data/vendor/gems/puppet-4.5.2/lib/puppet/data_binding.rb +14 -0
  492. data/vendor/gems/puppet-4.5.2/lib/puppet/data_providers.rb +30 -0
  493. data/vendor/gems/puppet-4.5.2/lib/puppet/data_providers/data_adapter.rb +30 -0
  494. data/vendor/gems/puppet-4.5.2/lib/puppet/data_providers/data_function_support.rb +24 -0
  495. data/vendor/gems/puppet-4.5.2/lib/puppet/data_providers/function_env_data_provider.rb +18 -0
  496. data/vendor/gems/puppet-4.5.2/lib/puppet/data_providers/function_module_data_provider.rb +17 -0
  497. data/vendor/gems/puppet-4.5.2/lib/puppet/data_providers/hiera_config.rb +129 -0
  498. data/vendor/gems/puppet-4.5.2/lib/puppet/data_providers/hiera_env_data_provider.rb +18 -0
  499. data/vendor/gems/puppet-4.5.2/lib/puppet/data_providers/hiera_interpolate.rb +19 -0
  500. data/vendor/gems/puppet-4.5.2/lib/puppet/data_providers/hiera_module_data_provider.rb +23 -0
  501. data/vendor/gems/puppet-4.5.2/lib/puppet/data_providers/hiera_support.rb +37 -0
  502. data/vendor/gems/puppet-4.5.2/lib/puppet/data_providers/json_data_provider_factory.rb +24 -0
  503. data/vendor/gems/puppet-4.5.2/lib/puppet/data_providers/lookup_adapter.rb +254 -0
  504. data/vendor/gems/puppet-4.5.2/lib/puppet/data_providers/yaml_data_provider_factory.rb +26 -0
  505. data/vendor/gems/puppet-4.5.2/lib/puppet/defaults.rb +1902 -0
  506. data/vendor/gems/puppet-4.5.2/lib/puppet/environments.rb +487 -0
  507. data/vendor/gems/puppet-4.5.2/lib/puppet/error.rb +100 -0
  508. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/external/dot.rb +0 -0
  509. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/external/nagios.rb +0 -0
  510. data/vendor/gems/puppet-4.5.2/lib/puppet/external/nagios/base.rb +472 -0
  511. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/external/nagios/grammar.ry +0 -0
  512. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/external/nagios/makefile +0 -0
  513. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/external/nagios/parser.rb +0 -0
  514. data/vendor/gems/puppet-4.5.2/lib/puppet/external/pson/common.rb +370 -0
  515. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/external/pson/pure.rb +0 -0
  516. data/vendor/gems/puppet-4.5.2/lib/puppet/external/pson/pure/generator.rb +395 -0
  517. data/vendor/gems/puppet-4.5.2/lib/puppet/external/pson/pure/parser.rb +307 -0
  518. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/external/pson/version.rb +0 -0
  519. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/face.rb +0 -0
  520. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/face/ca.rb +0 -0
  521. data/vendor/gems/puppet-4.5.2/lib/puppet/face/catalog.rb +130 -0
  522. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/face/catalog/select.rb +0 -0
  523. data/vendor/gems/puppet-4.5.2/lib/puppet/face/certificate.rb +159 -0
  524. data/vendor/gems/puppet-4.5.2/lib/puppet/face/certificate_request.rb +54 -0
  525. data/vendor/gems/puppet-4.5.2/lib/puppet/face/certificate_revocation_list.rb +54 -0
  526. data/vendor/gems/puppet-4.5.2/lib/puppet/face/config.rb +119 -0
  527. data/vendor/gems/puppet-4.5.2/lib/puppet/face/epp.rb +479 -0
  528. data/vendor/gems/puppet-4.5.2/lib/puppet/face/facts.rb +38 -0
  529. data/vendor/gems/puppet-4.5.2/lib/puppet/face/file.rb +47 -0
  530. data/vendor/gems/puppet-4.5.2/lib/puppet/face/file/download.rb +56 -0
  531. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/face/file/store.rb +0 -0
  532. data/vendor/gems/puppet-4.5.2/lib/puppet/face/help.rb +193 -0
  533. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/face/help/action.erb +0 -0
  534. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/face/help/face.erb +0 -0
  535. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/face/help/global.erb +0 -0
  536. data/vendor/gems/puppet-4.5.2/lib/puppet/face/help/man.erb +152 -0
  537. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/face/key.rb +0 -0
  538. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/face/man.rb +0 -0
  539. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/face/module.rb +0 -0
  540. data/vendor/gems/puppet-4.5.2/lib/puppet/face/module/build.rb +63 -0
  541. data/vendor/gems/puppet-4.5.2/lib/puppet/face/module/changes.rb +42 -0
  542. data/vendor/gems/puppet-4.5.2/lib/puppet/face/module/generate.rb +251 -0
  543. data/vendor/gems/puppet-4.5.2/lib/puppet/face/module/install.rb +145 -0
  544. data/vendor/gems/puppet-4.5.2/lib/puppet/face/module/list.rb +275 -0
  545. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/face/module/search.rb +0 -0
  546. data/vendor/gems/puppet-4.5.2/lib/puppet/face/module/uninstall.rb +78 -0
  547. data/vendor/gems/puppet-4.5.2/lib/puppet/face/module/upgrade.rb +86 -0
  548. data/vendor/gems/puppet-4.5.2/lib/puppet/face/node.rb +42 -0
  549. data/vendor/gems/puppet-4.5.2/lib/puppet/face/node/clean.rb +96 -0
  550. data/vendor/gems/puppet-4.5.2/lib/puppet/face/parser.rb +161 -0
  551. data/vendor/gems/puppet-4.5.2/lib/puppet/face/plugin.rb +58 -0
  552. data/vendor/gems/puppet-4.5.2/lib/puppet/face/report.rb +54 -0
  553. data/vendor/gems/puppet-4.5.2/lib/puppet/face/resource.rb +53 -0
  554. data/vendor/gems/puppet-4.5.2/lib/puppet/face/resource_type.rb +84 -0
  555. data/vendor/gems/puppet-4.5.2/lib/puppet/face/status.rb +48 -0
  556. data/vendor/gems/puppet-4.5.2/lib/puppet/feature/base.rb +87 -0
  557. data/vendor/gems/puppet-4.5.2/lib/puppet/feature/cfacter.rb +15 -0
  558. data/vendor/gems/puppet-4.5.2/lib/puppet/feature/cfpropertylist.rb +3 -0
  559. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/feature/eventlog.rb +0 -0
  560. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/feature/external_facts.rb +0 -0
  561. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/feature/libuser.rb +0 -0
  562. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/feature/msgpack.rb +0 -0
  563. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/feature/pe_license.rb +0 -0
  564. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/feature/rack.rb +0 -0
  565. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/feature/selinux.rb +0 -0
  566. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/feature/ssh.rb +0 -0
  567. data/vendor/gems/puppet-4.5.2/lib/puppet/feature/telnet.rb +9 -0
  568. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/feature/zlib.rb +0 -0
  569. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/file_bucket.rb +0 -0
  570. data/vendor/gems/puppet-4.5.2/lib/puppet/file_bucket/dipper.rb +174 -0
  571. data/vendor/gems/puppet-4.5.2/lib/puppet/file_bucket/file.rb +144 -0
  572. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/file_serving.rb +0 -0
  573. data/vendor/gems/puppet-4.5.2/lib/puppet/file_serving/base.rb +85 -0
  574. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/file_serving/configuration.rb +0 -0
  575. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/file_serving/configuration/parser.rb +0 -0
  576. data/vendor/gems/puppet-4.5.2/lib/puppet/file_serving/content.rb +43 -0
  577. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/file_serving/fileset.rb +0 -0
  578. data/vendor/gems/puppet-4.5.2/lib/puppet/file_serving/http_metadata.rb +46 -0
  579. data/vendor/gems/puppet-4.5.2/lib/puppet/file_serving/metadata.rb +163 -0
  580. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/file_serving/mount.rb +0 -0
  581. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/file_serving/mount/file.rb +0 -0
  582. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/file_serving/mount/modules.rb +0 -0
  583. data/vendor/gems/puppet-4.5.2/lib/puppet/file_serving/mount/pluginfacts.rb +35 -0
  584. data/vendor/gems/puppet-4.5.2/lib/puppet/file_serving/mount/plugins.rb +35 -0
  585. data/vendor/gems/puppet-4.5.2/lib/puppet/file_serving/terminus_helper.rb +31 -0
  586. data/vendor/gems/puppet-4.5.2/lib/puppet/file_serving/terminus_selector.rb +32 -0
  587. data/vendor/gems/puppet-4.5.2/lib/puppet/file_system.rb +376 -0
  588. data/vendor/gems/puppet-4.5.2/lib/puppet/file_system/file_impl.rb +149 -0
  589. data/vendor/gems/puppet-4.5.2/lib/puppet/file_system/memory_file.rb +66 -0
  590. data/vendor/gems/puppet-4.5.2/lib/puppet/file_system/memory_impl.rb +82 -0
  591. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/file_system/path_pattern.rb +0 -0
  592. data/vendor/gems/puppet-4.5.2/lib/puppet/file_system/posix.rb +46 -0
  593. data/vendor/gems/puppet-4.5.2/lib/puppet/file_system/uniquefile.rb +190 -0
  594. data/vendor/gems/puppet-4.5.2/lib/puppet/file_system/windows.rb +103 -0
  595. data/vendor/gems/puppet-4.5.2/lib/puppet/forge.rb +226 -0
  596. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/forge/cache.rb +0 -0
  597. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/forge/errors.rb +0 -0
  598. data/vendor/gems/puppet-4.5.2/lib/puppet/forge/repository.rb +155 -0
  599. data/vendor/gems/puppet-4.5.2/lib/puppet/functions.rb +732 -0
  600. data/vendor/gems/puppet-4.5.2/lib/puppet/functions/assert_type.rb +95 -0
  601. data/vendor/gems/puppet-4.5.2/lib/puppet/functions/defined.rb +161 -0
  602. data/vendor/gems/puppet-4.5.2/lib/puppet/functions/dig.rb +39 -0
  603. data/vendor/gems/puppet-4.5.2/lib/puppet/functions/each.rb +159 -0
  604. data/vendor/gems/puppet-4.5.2/lib/puppet/functions/epp.rb +45 -0
  605. data/vendor/gems/puppet-4.5.2/lib/puppet/functions/filter.rb +137 -0
  606. data/vendor/gems/puppet-4.5.2/lib/puppet/functions/hiera.rb +81 -0
  607. data/vendor/gems/puppet-4.5.2/lib/puppet/functions/hiera_array.rb +74 -0
  608. data/vendor/gems/puppet-4.5.2/lib/puppet/functions/hiera_hash.rb +84 -0
  609. data/vendor/gems/puppet-4.5.2/lib/puppet/functions/hiera_include.rb +90 -0
  610. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/functions/import.rb +0 -0
  611. data/vendor/gems/puppet-4.5.2/lib/puppet/functions/inline_epp.rb +59 -0
  612. data/vendor/gems/puppet-4.5.2/lib/puppet/functions/lest.rb +53 -0
  613. data/vendor/gems/puppet-4.5.2/lib/puppet/functions/lookup.rb +222 -0
  614. data/vendor/gems/puppet-4.5.2/lib/puppet/functions/map.rb +122 -0
  615. data/vendor/gems/puppet-4.5.2/lib/puppet/functions/match.rb +120 -0
  616. data/vendor/gems/puppet-4.5.2/lib/puppet/functions/new.rb +502 -0
  617. data/vendor/gems/puppet-4.5.2/lib/puppet/functions/reduce.rb +121 -0
  618. data/vendor/gems/puppet-4.5.2/lib/puppet/functions/regsubst.rb +80 -0
  619. data/vendor/gems/puppet-4.5.2/lib/puppet/functions/reverse_each.rb +82 -0
  620. data/vendor/gems/puppet-4.5.2/lib/puppet/functions/scanf.rb +44 -0
  621. data/vendor/gems/puppet-4.5.2/lib/puppet/functions/slice.rb +111 -0
  622. data/vendor/gems/puppet-4.5.2/lib/puppet/functions/split.rb +47 -0
  623. data/vendor/gems/puppet-4.5.2/lib/puppet/functions/step.rb +88 -0
  624. data/vendor/gems/puppet-4.5.2/lib/puppet/functions/then.rb +74 -0
  625. data/vendor/gems/puppet-4.5.2/lib/puppet/functions/type.rb +70 -0
  626. data/vendor/gems/puppet-4.5.2/lib/puppet/functions/versioncmp.rb +36 -0
  627. data/vendor/gems/puppet-4.5.2/lib/puppet/functions/with.rb +30 -0
  628. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/graph.rb +0 -0
  629. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/graph/key.rb +0 -0
  630. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/graph/prioritizer.rb +0 -0
  631. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/graph/random_prioritizer.rb +0 -0
  632. data/vendor/gems/puppet-4.5.2/lib/puppet/graph/rb_tree_map.rb +388 -0
  633. data/vendor/gems/puppet-4.5.2/lib/puppet/graph/relationship_graph.rb +274 -0
  634. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/graph/sequential_prioritizer.rb +0 -0
  635. data/vendor/gems/puppet-4.5.2/lib/puppet/graph/simple_graph.rb +562 -0
  636. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/graph/title_hash_prioritizer.rb +0 -0
  637. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/indirector.rb +0 -0
  638. data/vendor/gems/puppet-4.5.2/lib/puppet/indirector/catalog/compiler.rb +367 -0
  639. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/indirector/catalog/json.rb +0 -0
  640. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/indirector/catalog/msgpack.rb +0 -0
  641. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/indirector/catalog/rest.rb +0 -0
  642. data/vendor/gems/puppet-4.5.2/lib/puppet/indirector/catalog/static_compiler.rb +229 -0
  643. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/indirector/catalog/store_configs.rb +0 -0
  644. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/indirector/catalog/yaml.rb +0 -0
  645. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/indirector/certificate/ca.rb +0 -0
  646. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/indirector/certificate/disabled_ca.rb +0 -0
  647. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/indirector/certificate/file.rb +0 -0
  648. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/indirector/certificate/rest.rb +0 -0
  649. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/indirector/certificate_request/ca.rb +0 -0
  650. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/indirector/certificate_request/disabled_ca.rb +0 -0
  651. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/indirector/certificate_request/file.rb +0 -0
  652. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/indirector/certificate_request/memory.rb +0 -0
  653. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/indirector/certificate_request/rest.rb +0 -0
  654. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/indirector/certificate_revocation_list/ca.rb +0 -0
  655. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/indirector/certificate_revocation_list/disabled_ca.rb +0 -0
  656. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/indirector/certificate_revocation_list/file.rb +0 -0
  657. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/indirector/certificate_revocation_list/rest.rb +0 -0
  658. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/indirector/certificate_status.rb +0 -0
  659. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/indirector/certificate_status/file.rb +0 -0
  660. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/indirector/certificate_status/rest.rb +0 -0
  661. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/indirector/code.rb +0 -0
  662. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/indirector/data_binding/hiera.rb +0 -0
  663. data/vendor/gems/puppet-4.5.2/lib/puppet/indirector/data_binding/none.rb +8 -0
  664. data/vendor/gems/puppet-4.5.2/lib/puppet/indirector/direct_file_server.rb +17 -0
  665. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/indirector/envelope.rb +0 -0
  666. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/indirector/errors.rb +0 -0
  667. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/indirector/exec.rb +0 -0
  668. data/vendor/gems/puppet-4.5.2/lib/puppet/indirector/face.rb +148 -0
  669. data/vendor/gems/puppet-4.5.2/lib/puppet/indirector/facts/facter.rb +90 -0
  670. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/indirector/facts/memory.rb +0 -0
  671. data/vendor/gems/puppet-4.5.2/lib/puppet/indirector/facts/network_device.rb +27 -0
  672. data/vendor/gems/puppet-4.5.2/lib/puppet/indirector/facts/store_configs.rb +11 -0
  673. data/vendor/gems/puppet-4.5.2/lib/puppet/indirector/facts/yaml.rb +86 -0
  674. data/vendor/gems/puppet-4.5.2/lib/puppet/indirector/file_bucket_file/file.rb +199 -0
  675. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/indirector/file_bucket_file/rest.rb +0 -0
  676. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/indirector/file_bucket_file/selector.rb +0 -0
  677. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/indirector/file_content.rb +0 -0
  678. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/indirector/file_content/file.rb +0 -0
  679. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/indirector/file_content/file_server.rb +0 -0
  680. data/vendor/gems/puppet-4.5.2/lib/puppet/indirector/file_content/http.rb +15 -0
  681. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/indirector/file_content/rest.rb +0 -0
  682. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/indirector/file_content/selector.rb +0 -0
  683. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/indirector/file_metadata.rb +0 -0
  684. data/vendor/gems/puppet-4.5.2/lib/puppet/indirector/file_metadata/file.rb +7 -0
  685. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/indirector/file_metadata/file_server.rb +0 -0
  686. data/vendor/gems/puppet-4.5.2/lib/puppet/indirector/file_metadata/http.rb +27 -0
  687. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/indirector/file_metadata/rest.rb +0 -0
  688. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/indirector/file_metadata/selector.rb +0 -0
  689. data/vendor/gems/puppet-4.5.2/lib/puppet/indirector/file_server.rb +51 -0
  690. data/vendor/gems/puppet-4.5.2/lib/puppet/indirector/generic_http.rb +16 -0
  691. data/vendor/gems/puppet-4.5.2/lib/puppet/indirector/hiera.rb +92 -0
  692. data/vendor/gems/puppet-4.5.2/lib/puppet/indirector/indirection.rb +338 -0
  693. data/vendor/gems/puppet-4.5.2/lib/puppet/indirector/json.rb +76 -0
  694. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/indirector/key/ca.rb +0 -0
  695. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/indirector/key/disabled_ca.rb +0 -0
  696. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/indirector/key/file.rb +0 -0
  697. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/indirector/key/memory.rb +0 -0
  698. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/indirector/ldap.rb +0 -0
  699. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/indirector/memory.rb +0 -0
  700. data/vendor/gems/puppet-4.5.2/lib/puppet/indirector/msgpack.rb +82 -0
  701. data/vendor/gems/puppet-4.5.2/lib/puppet/indirector/node/exec.rb +69 -0
  702. data/vendor/gems/puppet-4.5.2/lib/puppet/indirector/node/ldap.rb +257 -0
  703. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/indirector/node/memory.rb +0 -0
  704. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/indirector/node/msgpack.rb +0 -0
  705. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/indirector/node/plain.rb +0 -0
  706. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/indirector/node/rest.rb +0 -0
  707. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/indirector/node/store_configs.rb +0 -0
  708. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/indirector/node/write_only_yaml.rb +0 -0
  709. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/indirector/node/yaml.rb +0 -0
  710. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/indirector/none.rb +0 -0
  711. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/indirector/plain.rb +0 -0
  712. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/indirector/report/msgpack.rb +0 -0
  713. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/indirector/report/processor.rb +0 -0
  714. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/indirector/report/rest.rb +0 -0
  715. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/indirector/report/yaml.rb +0 -0
  716. data/vendor/gems/puppet-4.5.2/lib/puppet/indirector/request.rb +256 -0
  717. data/vendor/gems/puppet-4.5.2/lib/puppet/indirector/resource/ral.rb +63 -0
  718. data/vendor/gems/puppet-4.5.2/lib/puppet/indirector/resource/store_configs.rb +12 -0
  719. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/indirector/resource/validator.rb +0 -0
  720. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/indirector/resource_type.rb +0 -0
  721. data/vendor/gems/puppet-4.5.2/lib/puppet/indirector/resource_type/parser.rb +108 -0
  722. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/indirector/resource_type/rest.rb +0 -0
  723. data/vendor/gems/puppet-4.5.2/lib/puppet/indirector/rest.rb +260 -0
  724. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/indirector/ssl_file.rb +0 -0
  725. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/indirector/status.rb +0 -0
  726. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/indirector/status/local.rb +0 -0
  727. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/indirector/status/rest.rb +0 -0
  728. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/indirector/store_configs.rb +0 -0
  729. data/vendor/gems/puppet-4.5.2/lib/puppet/indirector/terminus.rb +169 -0
  730. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/indirector/yaml.rb +0 -0
  731. data/vendor/gems/puppet-4.5.2/lib/puppet/info_service.rb +7 -0
  732. data/vendor/gems/puppet-4.5.2/lib/puppet/info_service/class_information_service.rb +112 -0
  733. data/vendor/gems/puppet-4.5.2/lib/puppet/interface.rb +228 -0
  734. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/interface/action.rb +0 -0
  735. data/vendor/gems/puppet-4.5.2/lib/puppet/interface/action_builder.rb +149 -0
  736. data/vendor/gems/puppet-4.5.2/lib/puppet/interface/action_manager.rb +97 -0
  737. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/interface/documentation.rb +0 -0
  738. data/vendor/gems/puppet-4.5.2/lib/puppet/interface/face_collection.rb +125 -0
  739. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/interface/option.rb +0 -0
  740. data/vendor/gems/puppet-4.5.2/lib/puppet/interface/option_builder.rb +91 -0
  741. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/interface/option_manager.rb +0 -0
  742. data/vendor/gems/puppet-4.5.2/lib/puppet/loaders.rb +23 -0
  743. data/vendor/gems/puppet-4.5.2/lib/puppet/metatype/manager.rb +195 -0
  744. data/vendor/gems/puppet-4.5.2/lib/puppet/module.rb +355 -0
  745. data/vendor/gems/puppet-4.5.2/lib/puppet/module_tool.rb +192 -0
  746. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/module_tool/applications.rb +0 -0
  747. data/vendor/gems/puppet-4.5.2/lib/puppet/module_tool/applications/application.rb +91 -0
  748. data/vendor/gems/puppet-4.5.2/lib/puppet/module_tool/applications/builder.rb +148 -0
  749. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/module_tool/applications/checksummer.rb +0 -0
  750. data/vendor/gems/puppet-4.5.2/lib/puppet/module_tool/applications/installer.rb +351 -0
  751. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/module_tool/applications/searcher.rb +0 -0
  752. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/module_tool/applications/uninstaller.rb +0 -0
  753. data/vendor/gems/puppet-4.5.2/lib/puppet/module_tool/applications/unpacker.rb +100 -0
  754. data/vendor/gems/puppet-4.5.2/lib/puppet/module_tool/applications/upgrader.rb +277 -0
  755. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/module_tool/checksums.rb +0 -0
  756. data/vendor/gems/puppet-4.5.2/lib/puppet/module_tool/contents_description.rb +88 -0
  757. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/module_tool/dependency.rb +0 -0
  758. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/module_tool/errors.rb +0 -0
  759. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/module_tool/errors/base.rb +0 -0
  760. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/module_tool/errors/installer.rb +0 -0
  761. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/module_tool/errors/shared.rb +0 -0
  762. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/module_tool/errors/uninstaller.rb +0 -0
  763. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/module_tool/errors/upgrader.rb +0 -0
  764. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/module_tool/install_directory.rb +0 -0
  765. data/vendor/gems/puppet-4.5.2/lib/puppet/module_tool/installed_modules.rb +96 -0
  766. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/module_tool/local_tarball.rb +0 -0
  767. data/vendor/gems/puppet-4.5.2/lib/puppet/module_tool/metadata.rb +221 -0
  768. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/module_tool/shared_behaviors.rb +0 -0
  769. data/vendor/gems/puppet-4.5.2/lib/puppet/module_tool/skeleton/templates/generator/Gemfile +18 -0
  770. data/vendor/gems/puppet-4.5.2/lib/puppet/module_tool/skeleton/templates/generator/README.md.erb +83 -0
  771. data/vendor/gems/puppet-4.5.2/lib/puppet/module_tool/skeleton/templates/generator/Rakefile +32 -0
  772. data/vendor/gems/puppet-4.5.2/lib/puppet/module_tool/skeleton/templates/generator/examples/init.pp.erb +12 -0
  773. data/vendor/gems/puppet-4.5.2/lib/puppet/module_tool/skeleton/templates/generator/manifests/init.pp.erb +48 -0
  774. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/module_tool/skeleton/templates/generator/metadata.json.erb +0 -0
  775. data/vendor/gems/puppet-4.5.2/lib/puppet/module_tool/skeleton/templates/generator/spec/classes/init_spec.rb.erb +6 -0
  776. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/module_tool/skeleton/templates/generator/spec/spec_helper.rb +0 -0
  777. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/module_tool/tar.rb +0 -0
  778. data/vendor/gems/puppet-4.5.2/lib/puppet/module_tool/tar/gnu.rb +19 -0
  779. data/vendor/gems/puppet-4.5.2/lib/puppet/module_tool/tar/mini.rb +53 -0
  780. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/network.rb +0 -0
  781. data/vendor/gems/puppet-4.5.2/lib/puppet/network/auth_config_parser.rb +84 -0
  782. data/vendor/gems/puppet-4.5.2/lib/puppet/network/authconfig.rb +112 -0
  783. data/vendor/gems/puppet-4.5.2/lib/puppet/network/authorization.rb +41 -0
  784. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/network/authstore.rb +0 -0
  785. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/network/client_request.rb +0 -0
  786. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/network/format.rb +0 -0
  787. data/vendor/gems/puppet-4.5.2/lib/puppet/network/format_handler.rb +105 -0
  788. data/vendor/gems/puppet-4.5.2/lib/puppet/network/format_support.rb +128 -0
  789. data/vendor/gems/puppet-4.5.2/lib/puppet/network/formats.rb +160 -0
  790. data/vendor/gems/puppet-4.5.2/lib/puppet/network/http.rb +30 -0
  791. data/vendor/gems/puppet-4.5.2/lib/puppet/network/http/api.rb +44 -0
  792. data/vendor/gems/puppet-4.5.2/lib/puppet/network/http/api/ca.rb +2 -0
  793. data/vendor/gems/puppet-4.5.2/lib/puppet/network/http/api/ca/v1.rb +11 -0
  794. data/vendor/gems/puppet-4.5.2/lib/puppet/network/http/api/indirected_routes.rb +248 -0
  795. data/vendor/gems/puppet-4.5.2/lib/puppet/network/http/api/indirection_type.rb +32 -0
  796. data/vendor/gems/puppet-4.5.2/lib/puppet/network/http/api/master.rb +2 -0
  797. data/vendor/gems/puppet-4.5.2/lib/puppet/network/http/api/master/v3.rb +28 -0
  798. data/vendor/gems/puppet-4.5.2/lib/puppet/network/http/api/master/v3/authorization.rb +18 -0
  799. data/vendor/gems/puppet-4.5.2/lib/puppet/network/http/api/master/v3/environment.rb +63 -0
  800. data/vendor/gems/puppet-4.5.2/lib/puppet/network/http/api/master/v3/environments.rb +35 -0
  801. data/vendor/gems/puppet-4.5.2/lib/puppet/network/http/compression.rb +116 -0
  802. data/vendor/gems/puppet-4.5.2/lib/puppet/network/http/connection.rb +233 -0
  803. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/network/http/error.rb +0 -0
  804. data/vendor/gems/puppet-4.5.2/lib/puppet/network/http/factory.rb +47 -0
  805. data/vendor/gems/puppet-4.5.2/lib/puppet/network/http/handler.rb +178 -0
  806. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/network/http/issues.rb +0 -0
  807. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/network/http/memory_response.rb +0 -0
  808. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/network/http/nocache_pool.rb +0 -0
  809. data/vendor/gems/puppet-4.5.2/lib/puppet/network/http/pool.rb +129 -0
  810. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/network/http/rack.rb +0 -0
  811. data/vendor/gems/puppet-4.5.2/lib/puppet/network/http/rack/rest.rb +147 -0
  812. data/vendor/gems/puppet-4.5.2/lib/puppet/network/http/request.rb +56 -0
  813. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/network/http/response.rb +0 -0
  814. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/network/http/route.rb +0 -0
  815. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/network/http/session.rb +0 -0
  816. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/network/http/site.rb +0 -0
  817. data/vendor/gems/puppet-4.5.2/lib/puppet/network/http/webrick.rb +124 -0
  818. data/vendor/gems/puppet-4.5.2/lib/puppet/network/http/webrick/rest.rb +114 -0
  819. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/network/http_pool.rb +0 -0
  820. data/vendor/gems/puppet-4.5.2/lib/puppet/network/resolver.rb +86 -0
  821. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/network/rest_controller.rb +0 -0
  822. data/vendor/gems/puppet-4.5.2/lib/puppet/network/rights.rb +219 -0
  823. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/network/server.rb +0 -0
  824. data/vendor/gems/puppet-4.5.2/lib/puppet/node.rb +197 -0
  825. data/vendor/gems/puppet-4.5.2/lib/puppet/node/environment.rb +540 -0
  826. data/vendor/gems/puppet-4.5.2/lib/puppet/node/facts.rb +133 -0
  827. data/vendor/gems/puppet-4.5.2/lib/puppet/parameter.rb +572 -0
  828. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/parameter/boolean.rb +0 -0
  829. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/parameter/package_options.rb +0 -0
  830. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/parameter/path.rb +0 -0
  831. data/vendor/gems/puppet-4.5.2/lib/puppet/parameter/value.rb +91 -0
  832. data/vendor/gems/puppet-4.5.2/lib/puppet/parameter/value_collection.rb +212 -0
  833. data/vendor/gems/puppet-4.5.2/lib/puppet/parser.rb +20 -0
  834. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/ast.rb +60 -0
  835. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/ast/block_expression.rb +15 -0
  836. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/ast/branch.rb +19 -0
  837. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/ast/hostclass.rb +27 -0
  838. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/ast/leaf.rb +75 -0
  839. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/ast/node.rb +17 -0
  840. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/ast/pops_bridge.rb +304 -0
  841. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/ast/resource.rb +61 -0
  842. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/ast/resource_instance.rb +6 -0
  843. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/ast/resourceparam.rb +26 -0
  844. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/parser/ast/top_level_construct.rb +0 -0
  845. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/compiler.rb +895 -0
  846. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/compiler/catalog_validator.rb +33 -0
  847. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/compiler/catalog_validator/env_relationship_validator.rb +64 -0
  848. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/compiler/catalog_validator/relationship_validator.rb +60 -0
  849. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/compiler/catalog_validator/site_validator.rb +20 -0
  850. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/e4_parser_adapter.rb +61 -0
  851. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/environment_compiler.rb +164 -0
  852. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/files.rb +92 -0
  853. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions.rb +272 -0
  854. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/assert_type.rb +60 -0
  855. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/contain.rb +38 -0
  856. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/create_resources.rb +83 -0
  857. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/defined.rb +131 -0
  858. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/parser/functions/digest.rb +0 -0
  859. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/each.rb +104 -0
  860. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/epp.rb +36 -0
  861. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/parser/functions/fail.rb +0 -0
  862. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/file.rb +33 -0
  863. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/filter.rb +78 -0
  864. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/fqdn_rand.rb +21 -0
  865. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/parser/functions/generate.rb +0 -0
  866. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/hiera.rb +89 -0
  867. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/hiera_array.rb +78 -0
  868. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/hiera_hash.rb +88 -0
  869. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/hiera_include.rb +88 -0
  870. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/include.rb +37 -0
  871. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/inline_epp.rb +51 -0
  872. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/inline_template.rb +21 -0
  873. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/lookup.rb +130 -0
  874. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/map.rb +76 -0
  875. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/match.rb +43 -0
  876. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/parser/functions/md5.rb +0 -0
  877. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/realize.rb +14 -0
  878. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/reduce.rb +106 -0
  879. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/regsubst.rb +60 -0
  880. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/require.rb +63 -0
  881. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/scanf.rb +33 -0
  882. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/parser/functions/sha1.rb +0 -0
  883. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/parser/functions/shellquote.rb +0 -0
  884. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/slice.rb +39 -0
  885. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/split.rb +28 -0
  886. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/parser/functions/sprintf.rb +0 -0
  887. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/parser/functions/tag.rb +0 -0
  888. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/parser/functions/tagged.rb +0 -0
  889. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/parser/functions/template.rb +0 -0
  890. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/parser/functions/versioncmp.rb +0 -0
  891. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/with.rb +28 -0
  892. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/parser_factory.rb +60 -0
  893. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/relationship.rb +54 -0
  894. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/resource.rb +367 -0
  895. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/parser/resource/param.rb +0 -0
  896. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/scope.rb +1082 -0
  897. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/templatewrapper.rb +101 -0
  898. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/type_loader.rb +149 -0
  899. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/parser/yaml_trimmer.rb +0 -0
  900. data/vendor/gems/puppet-4.5.2/lib/puppet/plugins.rb +9 -0
  901. data/vendor/gems/puppet-4.5.2/lib/puppet/plugins/binding_schemes.rb +140 -0
  902. data/vendor/gems/puppet-4.5.2/lib/puppet/plugins/configuration.rb +69 -0
  903. data/vendor/gems/puppet-4.5.2/lib/puppet/plugins/data_providers.rb +42 -0
  904. data/vendor/gems/puppet-4.5.2/lib/puppet/plugins/data_providers/data_provider.rb +336 -0
  905. data/vendor/gems/puppet-4.5.2/lib/puppet/plugins/data_providers/registry.rb +84 -0
  906. data/vendor/gems/puppet-4.5.2/lib/puppet/plugins/syntax_checkers.rb +103 -0
  907. data/vendor/gems/puppet-4.5.2/lib/puppet/pops.rb +136 -0
  908. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/adaptable.rb +204 -0
  909. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/adapters.rb +193 -0
  910. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/binder/binder.rb +398 -0
  911. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/binder/binder_issues.rb +124 -0
  912. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/binder/bindings_checker.rb +201 -0
  913. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/binder/bindings_composer.rb +181 -0
  914. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/binder/bindings_factory.rb +813 -0
  915. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/binder/bindings_label_provider.rb +45 -0
  916. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/binder/bindings_loader.rb +87 -0
  917. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/binder/bindings_model.rb +70 -0
  918. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/binder/bindings_model_dumper.rb +215 -0
  919. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/binder/bindings_model_meta.rb +215 -0
  920. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/pops/binder/bindings_validator_factory.rb +0 -0
  921. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/binder/config/binder_config.rb +107 -0
  922. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/binder/config/binder_config_checker.rb +142 -0
  923. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/binder/config/diagnostic_producer.rb +36 -0
  924. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/binder/config/issues.rb +90 -0
  925. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/binder/injector.rb +771 -0
  926. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/pops/binder/injector_entry.rb +0 -0
  927. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/binder/key_factory.rb +65 -0
  928. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/binder/producers.rb +831 -0
  929. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/pops/binder/scheme_handler/confdir_scheme.rb +0 -0
  930. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/binder/scheme_handler/module_scheme.rb +143 -0
  931. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/binder/scheme_handler/symbolic_scheme.rb +53 -0
  932. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/pops/binder/system_bindings.rb +0 -0
  933. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/pops/containment.rb +0 -0
  934. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/evaluator/access_operator.rb +639 -0
  935. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/evaluator/callable_signature.rb +100 -0
  936. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/evaluator/closure.rb +270 -0
  937. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/evaluator/collector_transformer.rb +229 -0
  938. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/evaluator/collectors/abstract_collector.rb +86 -0
  939. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/evaluator/collectors/catalog_collector.rb +29 -0
  940. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/evaluator/collectors/exported_collector.rb +69 -0
  941. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/evaluator/collectors/fixed_set_collector.rb +37 -0
  942. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/evaluator/compare_operator.rb +229 -0
  943. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/evaluator/epp_evaluator.rb +94 -0
  944. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/evaluator/evaluator_impl.rb +1218 -0
  945. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/evaluator/external_syntax_support.rb +52 -0
  946. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/evaluator/json_strict_literal_evaluator.rb +85 -0
  947. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/evaluator/literal_evaluator.rb +88 -0
  948. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/evaluator/puppet_proc.rb +69 -0
  949. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/evaluator/relationship_operator.rb +169 -0
  950. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/evaluator/runtime3_converter.rb +192 -0
  951. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/evaluator/runtime3_support.rb +537 -0
  952. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/functions/dispatch.rb +85 -0
  953. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/functions/dispatcher.rb +76 -0
  954. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/functions/function.rb +113 -0
  955. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/issue_reporter.rb +115 -0
  956. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/issues.rb +729 -0
  957. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/label_provider.rb +76 -0
  958. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/loader/base_loader.rb +143 -0
  959. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/loader/dependency_loader.rb +85 -0
  960. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/pops/loader/gem_support.rb +0 -0
  961. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/loader/loader.rb +204 -0
  962. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/loader/loader_paths.rb +194 -0
  963. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/loader/module_loaders.rb +273 -0
  964. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/pops/loader/null_loader.rb +0 -0
  965. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/loader/predefined_loader.rb +29 -0
  966. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/loader/puppet_function_instantiator.rb +83 -0
  967. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/loader/ruby_function_instantiator.rb +47 -0
  968. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/loader/runtime3_type_loader.rb +57 -0
  969. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/pops/loader/simple_environment_loader.rb +0 -0
  970. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/loader/static_loader.rb +166 -0
  971. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/loader/type_definition_instantiator.rb +77 -0
  972. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/pops/loader/uri_helper.rb +0 -0
  973. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/loaders.rb +352 -0
  974. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/lookup.rb +79 -0
  975. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/lookup/explainer.rb +509 -0
  976. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/lookup/interpolation.rb +115 -0
  977. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/lookup/invocation.rb +119 -0
  978. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/lookup/sub_lookup.rb +86 -0
  979. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/merge_strategy.rb +338 -0
  980. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/migration/migration_checker.rb +54 -0
  981. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/model/ast_transformer.rb +132 -0
  982. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/model/factory.rb +1139 -0
  983. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/model/model.rb +131 -0
  984. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/model/model_label_provider.rb +125 -0
  985. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/model/model_meta.rb +627 -0
  986. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/model/model_tree_dumper.rb +437 -0
  987. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/model/tree_dumper.rb +59 -0
  988. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/parser/code_merger.rb +29 -0
  989. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/parser/egrammar.ra +866 -0
  990. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/parser/eparser.rb +3157 -0
  991. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/pops/parser/epp_parser.rb +0 -0
  992. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/parser/epp_support.rb +262 -0
  993. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/parser/evaluating_parser.rb +165 -0
  994. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/parser/heredoc_support.rb +144 -0
  995. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/parser/interpolation_support.rb +237 -0
  996. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/parser/lexer2.rb +768 -0
  997. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/parser/lexer_support.rb +220 -0
  998. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/pops/parser/locatable.rb +0 -0
  999. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/parser/locator.rb +292 -0
  1000. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/parser/parser_support.rb +254 -0
  1001. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/parser/slurp_support.rb +119 -0
  1002. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/patterns.rb +47 -0
  1003. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/pcore.rb +30 -0
  1004. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/pops/semantic_error.rb +0 -0
  1005. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/types/class_loader.rb +131 -0
  1006. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/types/enumeration.rb +16 -0
  1007. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/types/implementation_registry.rb +146 -0
  1008. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/types/iterable.rb +308 -0
  1009. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/types/p_object_type.rb +846 -0
  1010. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/types/p_runtime_type.rb +102 -0
  1011. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/types/p_sem_ver_range_type.rb +164 -0
  1012. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/types/p_sem_ver_type.rb +113 -0
  1013. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/types/puppet_object.rb +21 -0
  1014. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/types/recursion_guard.rb +92 -0
  1015. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/types/ruby_generator.rb +258 -0
  1016. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/types/string_converter.rb +922 -0
  1017. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/types/type_acceptor.rb +25 -0
  1018. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/types/type_asserter.rb +47 -0
  1019. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/types/type_assertion_error.rb +27 -0
  1020. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/types/type_calculator.rb +807 -0
  1021. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/types/type_conversion_error.rb +15 -0
  1022. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/types/type_factory.rb +491 -0
  1023. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/types/type_formatter.rb +569 -0
  1024. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/types/type_mismatch_describer.rb +1039 -0
  1025. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/types/type_parser.rb +525 -0
  1026. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/types/types.rb +2855 -0
  1027. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/utils.rb +143 -0
  1028. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/validation.rb +462 -0
  1029. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/validation/checker4_0.rb +956 -0
  1030. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/validation/validator_factory_4_0.rb +37 -0
  1031. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/pops/visitable.rb +0 -0
  1032. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/visitor.rb +94 -0
  1033. data/vendor/gems/puppet-4.5.2/lib/puppet/property.rb +537 -0
  1034. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/property/boolean.rb +0 -0
  1035. data/vendor/gems/puppet-4.5.2/lib/puppet/property/ensure.rb +105 -0
  1036. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/property/keyvalue.rb +0 -0
  1037. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/property/list.rb +0 -0
  1038. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/property/ordered_list.rb +0 -0
  1039. data/vendor/gems/puppet-4.5.2/lib/puppet/provider.rb +604 -0
  1040. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/aixobject.rb +392 -0
  1041. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/augeas/augeas.rb +567 -0
  1042. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/provider/cisco.rb +0 -0
  1043. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/command.rb +25 -0
  1044. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/provider/computer/computer.rb +0 -0
  1045. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/provider/confine.rb +0 -0
  1046. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/cron/crontab.rb +297 -0
  1047. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/exec.rb +96 -0
  1048. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/provider/exec/posix.rb +0 -0
  1049. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/provider/exec/shell.rb +0 -0
  1050. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/exec/windows.rb +55 -0
  1051. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/file/posix.rb +136 -0
  1052. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/file/windows.rb +104 -0
  1053. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/group/aix.rb +141 -0
  1054. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/group/directoryservice.rb +22 -0
  1055. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/provider/group/groupadd.rb +0 -0
  1056. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/provider/group/ldap.rb +0 -0
  1057. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/group/pw.rb +49 -0
  1058. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/group/windows_adsi.rb +106 -0
  1059. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/host/parsed.rb +46 -0
  1060. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/provider/interface/cisco.rb +0 -0
  1061. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/provider/ldap.rb +0 -0
  1062. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/macauthorization/macauthorization.rb +298 -0
  1063. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/mailalias/aliases.rb +50 -0
  1064. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/provider/maillist/mailman.rb +0 -0
  1065. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/provider/mcx/mcxcontent.rb +0 -0
  1066. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/provider/mount.rb +0 -0
  1067. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/mount/parsed.rb +280 -0
  1068. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/provider/naginator.rb +0 -0
  1069. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/provider/nameservice.rb +0 -0
  1070. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/nameservice/directoryservice.rb +499 -0
  1071. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/provider/nameservice/objectadd.rb +0 -0
  1072. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/provider/nameservice/pw.rb +0 -0
  1073. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/network_device.rb +71 -0
  1074. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/package.rb +56 -0
  1075. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/provider/package/aix.rb +0 -0
  1076. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/package/appdmg.rb +110 -0
  1077. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/provider/package/apple.rb +0 -0
  1078. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/package/apt.rb +116 -0
  1079. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/provider/package/aptitude.rb +0 -0
  1080. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/provider/package/aptrpm.rb +0 -0
  1081. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/provider/package/blastwave.rb +0 -0
  1082. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/package/dnf.rb +41 -0
  1083. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/provider/package/dpkg.rb +0 -0
  1084. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/package/fink.rb +79 -0
  1085. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/provider/package/freebsd.rb +0 -0
  1086. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/package/gem.rb +169 -0
  1087. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/provider/package/hpux.rb +0 -0
  1088. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/provider/package/macports.rb +0 -0
  1089. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/package/nim.rb +280 -0
  1090. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/package/openbsd.rb +242 -0
  1091. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/package/opkg.rb +81 -0
  1092. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/package/pacman.rb +267 -0
  1093. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/package/pip.rb +178 -0
  1094. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/package/pip3.rb +20 -0
  1095. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/package/pkg.rb +245 -0
  1096. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/package/pkgdmg.rb +152 -0
  1097. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/package/pkgin.rb +87 -0
  1098. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/package/pkgng.rb +143 -0
  1099. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/provider/package/pkgutil.rb +0 -0
  1100. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/package/portage.rb +153 -0
  1101. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/package/ports.rb +91 -0
  1102. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/package/portupgrade.rb +239 -0
  1103. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/package/puppet_gem.rb +17 -0
  1104. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/package/rpm.rb +402 -0
  1105. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/package/rug.rb +51 -0
  1106. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/provider/package/sun.rb +0 -0
  1107. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/provider/package/sunfreeware.rb +0 -0
  1108. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/provider/package/up2date.rb +0 -0
  1109. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/provider/package/urpmi.rb +0 -0
  1110. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/package/windows.rb +113 -0
  1111. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/package/windows/exe_package.rb +71 -0
  1112. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/package/windows/msi_package.rb +62 -0
  1113. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/package/windows/package.rb +100 -0
  1114. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/package/yum.rb +241 -0
  1115. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/package/zypper.rb +145 -0
  1116. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/provider/parsedfile.rb +0 -0
  1117. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/scheduled_task/win32_taskscheduler.rb +583 -0
  1118. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/provider/selboolean/getsetsebool.rb +0 -0
  1119. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/provider/selmodule/semodule.rb +0 -0
  1120. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/service/base.rb +121 -0
  1121. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/service/bsd.rb +51 -0
  1122. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/service/daemontools.rb +194 -0
  1123. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/service/debian.rb +74 -0
  1124. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/service/freebsd.rb +143 -0
  1125. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/provider/service/gentoo.rb +0 -0
  1126. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/service/init.rb +191 -0
  1127. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/service/launchd.rb +331 -0
  1128. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/service/openbsd.rb +100 -0
  1129. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/provider/service/openrc.rb +0 -0
  1130. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/provider/service/openwrt.rb +0 -0
  1131. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/service/rcng.rb +51 -0
  1132. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/service/redhat.rb +71 -0
  1133. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/service/runit.rb +111 -0
  1134. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/provider/service/service.rb +0 -0
  1135. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/service/smf.rb +160 -0
  1136. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/service/src.rb +147 -0
  1137. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/service/systemd.rb +149 -0
  1138. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/service/upstart.rb +361 -0
  1139. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/provider/service/windows.rb +0 -0
  1140. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/ssh_authorized_key/parsed.rb +105 -0
  1141. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/sshkey/parsed.rb +50 -0
  1142. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/user/aix.rb +369 -0
  1143. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/user/directoryservice.rb +630 -0
  1144. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/user/hpux.rb +95 -0
  1145. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/provider/user/ldap.rb +0 -0
  1146. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/user/openbsd.rb +75 -0
  1147. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/user/pw.rb +98 -0
  1148. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/user/user_role_add.rb +212 -0
  1149. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/provider/user/useradd.rb +0 -0
  1150. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/user/windows_adsi.rb +142 -0
  1151. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/provider/vlan/cisco.rb +0 -0
  1152. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/yumrepo/inifile.rb +304 -0
  1153. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/zfs/zfs.rb +84 -0
  1154. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/zone/solaris.rb +361 -0
  1155. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/zpool/zpool.rb +125 -0
  1156. data/vendor/gems/puppet-4.5.2/lib/puppet/reference/configuration.rb +80 -0
  1157. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/reference/function.rb +0 -0
  1158. data/vendor/gems/puppet-4.5.2/lib/puppet/reference/indirection.rb +71 -0
  1159. data/vendor/gems/puppet-4.5.2/lib/puppet/reference/metaparameter.rb +35 -0
  1160. data/vendor/gems/puppet-4.5.2/lib/puppet/reference/providers.rb +118 -0
  1161. data/vendor/gems/puppet-4.5.2/lib/puppet/reference/report.rb +20 -0
  1162. data/vendor/gems/puppet-4.5.2/lib/puppet/reference/type.rb +114 -0
  1163. data/vendor/gems/puppet-4.5.2/lib/puppet/relationship.rb +90 -0
  1164. data/vendor/gems/puppet-4.5.2/lib/puppet/reports.rb +93 -0
  1165. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/reports/http.rb +0 -0
  1166. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/reports/log.rb +0 -0
  1167. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/reports/store.rb +0 -0
  1168. data/vendor/gems/puppet-4.5.2/lib/puppet/resource.rb +623 -0
  1169. data/vendor/gems/puppet-4.5.2/lib/puppet/resource/capability_finder.rb +102 -0
  1170. data/vendor/gems/puppet-4.5.2/lib/puppet/resource/catalog.rb +652 -0
  1171. data/vendor/gems/puppet-4.5.2/lib/puppet/resource/status.rb +223 -0
  1172. data/vendor/gems/puppet-4.5.2/lib/puppet/resource/type.rb +562 -0
  1173. data/vendor/gems/puppet-4.5.2/lib/puppet/resource/type_collection.rb +256 -0
  1174. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/resource/type_collection_helper.rb +0 -0
  1175. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/scheduler.rb +0 -0
  1176. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/scheduler/job.rb +0 -0
  1177. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/scheduler/scheduler.rb +0 -0
  1178. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/scheduler/splay_job.rb +0 -0
  1179. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/scheduler/timer.rb +0 -0
  1180. data/vendor/gems/puppet-4.5.2/lib/puppet/settings.rb +1431 -0
  1181. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/settings/array_setting.rb +0 -0
  1182. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/settings/autosign_setting.rb +0 -0
  1183. data/vendor/gems/puppet-4.5.2/lib/puppet/settings/base_setting.rb +177 -0
  1184. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/settings/boolean_setting.rb +0 -0
  1185. data/vendor/gems/puppet-4.5.2/lib/puppet/settings/config_file.rb +142 -0
  1186. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/settings/directory_setting.rb +0 -0
  1187. data/vendor/gems/puppet-4.5.2/lib/puppet/settings/duration_setting.rb +32 -0
  1188. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/settings/enum_setting.rb +0 -0
  1189. data/vendor/gems/puppet-4.5.2/lib/puppet/settings/environment_conf.rb +192 -0
  1190. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/settings/errors.rb +0 -0
  1191. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/settings/file_or_directory_setting.rb +0 -0
  1192. data/vendor/gems/puppet-4.5.2/lib/puppet/settings/file_setting.rb +235 -0
  1193. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/settings/ini_file.rb +0 -0
  1194. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/settings/path_setting.rb +0 -0
  1195. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/settings/priority_setting.rb +0 -0
  1196. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/settings/string_setting.rb +0 -0
  1197. data/vendor/gems/puppet-4.5.2/lib/puppet/settings/symbolic_enum_setting.rb +17 -0
  1198. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/settings/terminus_setting.rb +0 -0
  1199. data/vendor/gems/puppet-4.5.2/lib/puppet/settings/ttl_setting.rb +46 -0
  1200. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/settings/value_translator.rb +0 -0
  1201. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/ssl.rb +0 -0
  1202. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/ssl/base.rb +0 -0
  1203. data/vendor/gems/puppet-4.5.2/lib/puppet/ssl/certificate.rb +95 -0
  1204. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/ssl/certificate_authority.rb +0 -0
  1205. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/ssl/certificate_authority/autosign_command.rb +0 -0
  1206. data/vendor/gems/puppet-4.5.2/lib/puppet/ssl/certificate_authority/interface.rb +184 -0
  1207. data/vendor/gems/puppet-4.5.2/lib/puppet/ssl/certificate_factory.rb +219 -0
  1208. data/vendor/gems/puppet-4.5.2/lib/puppet/ssl/certificate_request.rb +327 -0
  1209. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/ssl/certificate_request_attributes.rb +0 -0
  1210. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/ssl/certificate_revocation_list.rb +0 -0
  1211. data/vendor/gems/puppet-4.5.2/lib/puppet/ssl/certificate_signer.rb +22 -0
  1212. data/vendor/gems/puppet-4.5.2/lib/puppet/ssl/configuration.rb +58 -0
  1213. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/ssl/digest.rb +0 -0
  1214. data/vendor/gems/puppet-4.5.2/lib/puppet/ssl/host.rb +365 -0
  1215. data/vendor/gems/puppet-4.5.2/lib/puppet/ssl/inventory.rb +48 -0
  1216. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/ssl/key.rb +0 -0
  1217. data/vendor/gems/puppet-4.5.2/lib/puppet/ssl/oids.rb +177 -0
  1218. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/ssl/validator.rb +0 -0
  1219. data/vendor/gems/puppet-4.5.2/lib/puppet/ssl/validator/default_validator.rb +174 -0
  1220. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/ssl/validator/no_validator.rb +0 -0
  1221. data/vendor/gems/puppet-4.5.2/lib/puppet/status.rb +40 -0
  1222. data/vendor/gems/puppet-4.5.2/lib/puppet/syntax_checkers.rb +3 -0
  1223. data/vendor/gems/puppet-4.5.2/lib/puppet/syntax_checkers/json.rb +37 -0
  1224. data/vendor/gems/puppet-4.5.2/lib/puppet/test/test_helper.rb +253 -0
  1225. data/vendor/gems/puppet-4.5.2/lib/puppet/transaction.rb +381 -0
  1226. data/vendor/gems/puppet-4.5.2/lib/puppet/transaction/additional_resource_generator.rb +207 -0
  1227. data/vendor/gems/puppet-4.5.2/lib/puppet/transaction/event.rb +106 -0
  1228. data/vendor/gems/puppet-4.5.2/lib/puppet/transaction/event_manager.rb +167 -0
  1229. data/vendor/gems/puppet-4.5.2/lib/puppet/transaction/report.rb +408 -0
  1230. data/vendor/gems/puppet-4.5.2/lib/puppet/transaction/resource_harness.rb +236 -0
  1231. data/vendor/gems/puppet-4.5.2/lib/puppet/type.rb +2615 -0
  1232. data/vendor/gems/puppet-4.5.2/lib/puppet/type/augeas.rb +211 -0
  1233. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/type/component.rb +0 -0
  1234. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/type/computer.rb +0 -0
  1235. data/vendor/gems/puppet-4.5.2/lib/puppet/type/cron.rb +492 -0
  1236. data/vendor/gems/puppet-4.5.2/lib/puppet/type/exec.rb +601 -0
  1237. data/vendor/gems/puppet-4.5.2/lib/puppet/type/file.rb +995 -0
  1238. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/type/file/checksum.rb +0 -0
  1239. data/vendor/gems/puppet-4.5.2/lib/puppet/type/file/checksum_value.rb +53 -0
  1240. data/vendor/gems/puppet-4.5.2/lib/puppet/type/file/content.rb +160 -0
  1241. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/type/file/ctime.rb +0 -0
  1242. data/vendor/gems/puppet-4.5.2/lib/puppet/type/file/data_sync.rb +84 -0
  1243. data/vendor/gems/puppet-4.5.2/lib/puppet/type/file/ensure.rb +192 -0
  1244. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/type/file/group.rb +0 -0
  1245. data/vendor/gems/puppet-4.5.2/lib/puppet/type/file/mode.rb +173 -0
  1246. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/type/file/mtime.rb +0 -0
  1247. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/type/file/owner.rb +0 -0
  1248. data/vendor/gems/puppet-4.5.2/lib/puppet/type/file/selcontext.rb +124 -0
  1249. data/vendor/gems/puppet-4.5.2/lib/puppet/type/file/source.rb +346 -0
  1250. data/vendor/gems/puppet-4.5.2/lib/puppet/type/file/target.rb +87 -0
  1251. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/type/file/type.rb +0 -0
  1252. data/vendor/gems/puppet-4.5.2/lib/puppet/type/filebucket.rb +122 -0
  1253. data/vendor/gems/puppet-4.5.2/lib/puppet/type/group.rb +200 -0
  1254. data/vendor/gems/puppet-4.5.2/lib/puppet/type/host.rb +95 -0
  1255. data/vendor/gems/puppet-4.5.2/lib/puppet/type/interface.rb +121 -0
  1256. data/vendor/gems/puppet-4.5.2/lib/puppet/type/k5login.rb +88 -0
  1257. data/vendor/gems/puppet-4.5.2/lib/puppet/type/macauthorization.rb +167 -0
  1258. data/vendor/gems/puppet-4.5.2/lib/puppet/type/mailalias.rb +62 -0
  1259. data/vendor/gems/puppet-4.5.2/lib/puppet/type/maillist.rb +62 -0
  1260. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/type/mcx.rb +0 -0
  1261. data/vendor/gems/puppet-4.5.2/lib/puppet/type/mount.rb +314 -0
  1262. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/type/nagios_command.rb +0 -0
  1263. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/type/nagios_contact.rb +0 -0
  1264. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/type/nagios_contactgroup.rb +0 -0
  1265. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/type/nagios_host.rb +0 -0
  1266. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/type/nagios_hostdependency.rb +0 -0
  1267. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/type/nagios_hostescalation.rb +0 -0
  1268. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/type/nagios_hostextinfo.rb +0 -0
  1269. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/type/nagios_hostgroup.rb +0 -0
  1270. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/type/nagios_service.rb +0 -0
  1271. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/type/nagios_servicedependency.rb +0 -0
  1272. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/type/nagios_serviceescalation.rb +0 -0
  1273. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/type/nagios_serviceextinfo.rb +0 -0
  1274. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/type/nagios_servicegroup.rb +0 -0
  1275. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/type/nagios_timeperiod.rb +0 -0
  1276. data/vendor/gems/puppet-4.5.2/lib/puppet/type/notify.rb +44 -0
  1277. data/vendor/gems/puppet-4.5.2/lib/puppet/type/package.rb +571 -0
  1278. data/vendor/gems/puppet-4.5.2/lib/puppet/type/resources.rb +180 -0
  1279. data/vendor/gems/puppet-4.5.2/lib/puppet/type/router.rb +17 -0
  1280. data/vendor/gems/puppet-4.5.2/lib/puppet/type/schedule.rb +469 -0
  1281. data/vendor/gems/puppet-4.5.2/lib/puppet/type/scheduled_task.rb +184 -0
  1282. data/vendor/gems/puppet-4.5.2/lib/puppet/type/selboolean.rb +26 -0
  1283. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/type/selmodule.rb +0 -0
  1284. data/vendor/gems/puppet-4.5.2/lib/puppet/type/service.rb +258 -0
  1285. data/vendor/gems/puppet-4.5.2/lib/puppet/type/ssh_authorized_key.rb +153 -0
  1286. data/vendor/gems/puppet-4.5.2/lib/puppet/type/sshkey.rb +75 -0
  1287. data/vendor/gems/puppet-4.5.2/lib/puppet/type/stage.rb +27 -0
  1288. data/vendor/gems/puppet-4.5.2/lib/puppet/type/tidy.rb +329 -0
  1289. data/vendor/gems/puppet-4.5.2/lib/puppet/type/user.rb +747 -0
  1290. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/type/vlan.rb +0 -0
  1291. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/type/whit.rb +0 -0
  1292. data/vendor/gems/puppet-4.5.2/lib/puppet/type/yumrepo.rb +409 -0
  1293. data/vendor/gems/puppet-4.5.2/lib/puppet/type/zfs.rb +150 -0
  1294. data/vendor/gems/puppet-4.5.2/lib/puppet/type/zone.rb +382 -0
  1295. data/vendor/gems/puppet-4.5.2/lib/puppet/type/zpool.rb +91 -0
  1296. data/vendor/gems/puppet-4.5.2/lib/puppet/util.rb +579 -0
  1297. data/vendor/gems/puppet-4.5.2/lib/puppet/util/autoload.rb +226 -0
  1298. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/util/backups.rb +0 -0
  1299. data/vendor/gems/puppet-4.5.2/lib/puppet/util/checksums.rb +282 -0
  1300. data/vendor/gems/puppet-4.5.2/lib/puppet/util/classgen.rb +228 -0
  1301. data/vendor/gems/puppet-4.5.2/lib/puppet/util/colors.rb +100 -0
  1302. data/vendor/gems/puppet-4.5.2/lib/puppet/util/command_line.rb +181 -0
  1303. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/util/command_line/puppet_option_parser.rb +0 -0
  1304. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/util/command_line/trollop.rb +0 -0
  1305. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/util/constant_inflector.rb +0 -0
  1306. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/util/diff.rb +0 -0
  1307. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/util/docs.rb +0 -0
  1308. data/vendor/gems/puppet-4.5.2/lib/puppet/util/errors.rb +108 -0
  1309. data/vendor/gems/puppet-4.5.2/lib/puppet/util/execution.rb +356 -0
  1310. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/util/execution_stub.rb +0 -0
  1311. data/vendor/gems/puppet-4.5.2/lib/puppet/util/feature.rb +95 -0
  1312. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/util/file_watcher.rb +0 -0
  1313. data/vendor/gems/puppet-4.5.2/lib/puppet/util/fileparsing.rb +377 -0
  1314. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/util/filetype.rb +0 -0
  1315. data/vendor/gems/puppet-4.5.2/lib/puppet/util/http_proxy.rb +197 -0
  1316. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/util/inifile.rb +0 -0
  1317. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/util/instance_loader.rb +0 -0
  1318. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/util/json_lockfile.rb +0 -0
  1319. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/util/ldap.rb +0 -0
  1320. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/util/ldap/connection.rb +0 -0
  1321. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/util/ldap/generator.rb +0 -0
  1322. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/util/ldap/manager.rb +0 -0
  1323. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/util/libuser.conf +0 -0
  1324. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/util/libuser.rb +0 -0
  1325. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/util/limits.rb +0 -0
  1326. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/util/lockfile.rb +0 -0
  1327. data/vendor/gems/puppet-4.5.2/lib/puppet/util/log.rb +386 -0
  1328. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/util/log/destination.rb +0 -0
  1329. data/vendor/gems/puppet-4.5.2/lib/puppet/util/log/destinations.rb +255 -0
  1330. data/vendor/gems/puppet-4.5.2/lib/puppet/util/logging.rb +310 -0
  1331. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/util/metaid.rb +0 -0
  1332. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/util/methodhelper.rb +0 -0
  1333. data/vendor/gems/puppet-4.5.2/lib/puppet/util/metric.rb +61 -0
  1334. data/vendor/gems/puppet-4.5.2/lib/puppet/util/monkey_patches.rb +145 -0
  1335. data/vendor/gems/puppet-4.5.2/lib/puppet/util/multi_match.rb +51 -0
  1336. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/util/nagios_maker.rb +0 -0
  1337. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/util/network_device.rb +0 -0
  1338. data/vendor/gems/puppet-4.5.2/lib/puppet/util/network_device/base.rb +23 -0
  1339. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/util/network_device/cisco.rb +0 -0
  1340. data/vendor/gems/puppet-4.5.2/lib/puppet/util/network_device/cisco/device.rb +285 -0
  1341. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/util/network_device/cisco/facts.rb +0 -0
  1342. data/vendor/gems/puppet-4.5.2/lib/puppet/util/network_device/cisco/interface.rb +94 -0
  1343. data/vendor/gems/puppet-4.5.2/lib/puppet/util/network_device/config.rb +98 -0
  1344. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/util/network_device/ipcalc.rb +0 -0
  1345. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/util/network_device/transport.rb +0 -0
  1346. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/util/network_device/transport/base.rb +0 -0
  1347. data/vendor/gems/puppet-4.5.2/lib/puppet/util/network_device/transport/ssh.rb +126 -0
  1348. data/vendor/gems/puppet-4.5.2/lib/puppet/util/network_device/transport/telnet.rb +47 -0
  1349. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/util/package.rb +0 -0
  1350. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/util/pidlock.rb +0 -0
  1351. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/util/platform.rb +0 -0
  1352. data/vendor/gems/puppet-4.5.2/lib/puppet/util/plist.rb +130 -0
  1353. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/util/posix.rb +0 -0
  1354. data/vendor/gems/puppet-4.5.2/lib/puppet/util/profiler.rb +53 -0
  1355. data/vendor/gems/puppet-4.5.2/lib/puppet/util/profiler/aggregate.rb +85 -0
  1356. data/vendor/gems/puppet-4.5.2/lib/puppet/util/profiler/around_profiler.rb +67 -0
  1357. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/util/profiler/logging.rb +0 -0
  1358. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/util/profiler/object_counts.rb +0 -0
  1359. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/util/profiler/wall_clock.rb +0 -0
  1360. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/util/provider_features.rb +0 -0
  1361. data/vendor/gems/puppet-4.5.2/lib/puppet/util/psych_support.rb +38 -0
  1362. data/vendor/gems/puppet-4.5.2/lib/puppet/util/rdoc.rb +60 -0
  1363. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/util/reference.rb +0 -0
  1364. data/vendor/gems/puppet-4.5.2/lib/puppet/util/resource_template.rb +61 -0
  1365. data/vendor/gems/puppet-4.5.2/lib/puppet/util/retry_action.rb +46 -0
  1366. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/util/rubygems.rb +0 -0
  1367. data/vendor/gems/puppet-4.5.2/lib/puppet/util/run_mode.rb +110 -0
  1368. data/vendor/gems/puppet-4.5.2/lib/puppet/util/selinux.rb +222 -0
  1369. data/vendor/gems/puppet-4.5.2/lib/puppet/util/skip_tags.rb +9 -0
  1370. data/vendor/gems/puppet-4.5.2/lib/puppet/util/splayer.rb +18 -0
  1371. data/vendor/gems/puppet-4.5.2/lib/puppet/util/ssl.rb +53 -0
  1372. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/util/storage.rb +0 -0
  1373. data/vendor/gems/puppet-4.5.2/lib/puppet/util/suidmanager.rb +164 -0
  1374. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/util/symbolic_file_mode.rb +0 -0
  1375. data/vendor/gems/puppet-4.5.2/lib/puppet/util/tag_set.rb +30 -0
  1376. data/vendor/gems/puppet-4.5.2/lib/puppet/util/tagging.rb +118 -0
  1377. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/util/terminal.rb +0 -0
  1378. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/util/user_attr.rb +0 -0
  1379. data/vendor/gems/puppet-4.5.2/lib/puppet/util/warnings.rb +33 -0
  1380. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/util/watched_file.rb +0 -0
  1381. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/util/watcher.rb +0 -0
  1382. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/util/watcher/change_watcher.rb +0 -0
  1383. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/util/watcher/periodic_watcher.rb +0 -0
  1384. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/util/watcher/timer.rb +0 -0
  1385. data/vendor/gems/puppet-4.5.2/lib/puppet/util/windows.rb +33 -0
  1386. data/vendor/gems/puppet-4.5.2/lib/puppet/util/windows/access_control_entry.rb +84 -0
  1387. data/vendor/gems/puppet-4.5.2/lib/puppet/util/windows/access_control_list.rb +113 -0
  1388. data/vendor/gems/puppet-4.5.2/lib/puppet/util/windows/adsi.rb +523 -0
  1389. data/vendor/gems/puppet-4.5.2/lib/puppet/util/windows/api_types.rb +275 -0
  1390. data/vendor/gems/puppet-4.5.2/lib/puppet/util/windows/com.rb +224 -0
  1391. data/vendor/gems/puppet-4.5.2/lib/puppet/util/windows/error.rb +83 -0
  1392. data/vendor/gems/puppet-4.5.2/lib/puppet/util/windows/file.rb +425 -0
  1393. data/vendor/gems/puppet-4.5.2/lib/puppet/util/windows/principal.rb +190 -0
  1394. data/vendor/gems/puppet-4.5.2/lib/puppet/util/windows/process.rb +479 -0
  1395. data/vendor/gems/puppet-4.5.2/lib/puppet/util/windows/registry.rb +374 -0
  1396. data/vendor/gems/puppet-4.5.2/lib/puppet/util/windows/root_certs.rb +108 -0
  1397. data/vendor/gems/puppet-4.5.2/lib/puppet/util/windows/security.rb +857 -0
  1398. data/vendor/gems/puppet-4.5.2/lib/puppet/util/windows/security_descriptor.rb +62 -0
  1399. data/vendor/gems/puppet-4.5.2/lib/puppet/util/windows/sid.rb +231 -0
  1400. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/util/windows/string.rb +0 -0
  1401. data/vendor/gems/puppet-4.5.2/lib/puppet/util/windows/taskscheduler.rb +1220 -0
  1402. data/vendor/gems/puppet-4.5.2/lib/puppet/util/windows/user.rb +291 -0
  1403. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/util/yaml.rb +0 -0
  1404. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor.rb +0 -0
  1405. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/deep_merge/CHANGELOG +45 -0
  1406. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/deep_merge/Gemfile +3 -0
  1407. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/deep_merge/LICENSE +21 -0
  1408. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/deep_merge/PUPPET_README.md +6 -0
  1409. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/deep_merge/README.md +113 -0
  1410. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/deep_merge/Rakefile +19 -0
  1411. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/deep_merge/deep_merge.gemspec +35 -0
  1412. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/deep_merge/lib/deep_merge.rb +2 -0
  1413. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/deep_merge/lib/deep_merge/core.rb +210 -0
  1414. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/deep_merge/lib/deep_merge/deep_merge_hash.rb +28 -0
  1415. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/deep_merge/lib/deep_merge/rails_compat.rb +27 -0
  1416. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/deep_merge/test/test_deep_merge.rb +608 -0
  1417. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/load_deep_merge.rb +1 -0
  1418. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/load_pathspec.rb +0 -0
  1419. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/load_rgen.rb +2 -0
  1420. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/load_semantic.rb +0 -0
  1421. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/pathspec/CHANGELOG.md +0 -0
  1422. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/pathspec/LICENSE +201 -0
  1423. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/pathspec/PUPPET_README.md +0 -0
  1424. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/pathspec/README.md +53 -0
  1425. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/pathspec/lib/pathspec.rb +0 -0
  1426. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/pathspec/lib/pathspec/gitignorespec.rb +0 -0
  1427. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/pathspec/lib/pathspec/regexspec.rb +0 -0
  1428. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/pathspec/lib/pathspec/spec.rb +0 -0
  1429. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/require_vendored.rb +7 -0
  1430. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/CHANGELOG +0 -0
  1431. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/MIT-LICENSE +0 -0
  1432. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/PUPPET_README.md +0 -0
  1433. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/README.rdoc +78 -0
  1434. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/Rakefile +0 -0
  1435. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/TODO +0 -0
  1436. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/anounce.txt +0 -0
  1437. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/design_rationale.txt +0 -0
  1438. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/lib/ea_support/ea_support.rb +0 -0
  1439. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/lib/ea_support/id_store.rb +0 -0
  1440. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/lib/ea_support/uml13_ea_metamodel.rb +0 -0
  1441. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/lib/ea_support/uml13_ea_metamodel_ext.rb +0 -0
  1442. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/lib/ea_support/uml13_ea_metamodel_generator.rb +0 -0
  1443. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/lib/ea_support/uml13_ea_to_uml13.rb +0 -0
  1444. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/lib/ea_support/uml13_to_uml13_ea.rb +0 -0
  1445. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/lib/metamodels/uml13_metamodel.rb +0 -0
  1446. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/lib/metamodels/uml13_metamodel_ext.rb +0 -0
  1447. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/lib/mmgen/metamodel_generator.rb +0 -0
  1448. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/lib/mmgen/mm_ext/ecore_mmgen_ext.rb +0 -0
  1449. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/lib/mmgen/mmgen.rb +0 -0
  1450. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/lib/mmgen/templates/annotations.tpl +0 -0
  1451. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/lib/mmgen/templates/metamodel_generator.tpl +0 -0
  1452. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/lib/rgen/array_extensions.rb +0 -0
  1453. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/lib/rgen/ecore/ecore.rb +0 -0
  1454. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/lib/rgen/ecore/ecore_builder_methods.rb +0 -0
  1455. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/lib/rgen/ecore/ecore_ext.rb +0 -0
  1456. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/lib/rgen/ecore/ecore_interface.rb +0 -0
  1457. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/lib/rgen/ecore/ecore_to_ruby.rb +0 -0
  1458. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/lib/rgen/ecore/ruby_to_ecore.rb +0 -0
  1459. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/lib/rgen/environment.rb +0 -0
  1460. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/lib/rgen/fragment/dump_file_cache.rb +0 -0
  1461. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/lib/rgen/fragment/fragmented_model.rb +0 -0
  1462. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/lib/rgen/fragment/model_fragment.rb +0 -0
  1463. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/lib/rgen/instantiator/abstract_instantiator.rb +0 -0
  1464. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/lib/rgen/instantiator/abstract_xml_instantiator.rb +0 -0
  1465. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/lib/rgen/instantiator/default_xml_instantiator.rb +0 -0
  1466. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/lib/rgen/instantiator/ecore_xml_instantiator.rb +0 -0
  1467. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/lib/rgen/instantiator/json_instantiator.rb +0 -0
  1468. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/lib/rgen/instantiator/json_parser.rb +0 -0
  1469. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/lib/rgen/instantiator/json_parser.y +0 -0
  1470. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/lib/rgen/instantiator/nodebased_xml_instantiator.rb +0 -0
  1471. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/lib/rgen/instantiator/qualified_name_resolver.rb +0 -0
  1472. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/lib/rgen/instantiator/reference_resolver.rb +0 -0
  1473. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/lib/rgen/instantiator/resolution_helper.rb +0 -0
  1474. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/lib/rgen/instantiator/xmi11_instantiator.rb +0 -0
  1475. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/lib/rgen/metamodel_builder.rb +0 -0
  1476. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/lib/rgen/metamodel_builder/builder_extensions.rb +0 -0
  1477. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/lib/rgen/metamodel_builder/builder_runtime.rb +0 -0
  1478. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/lib/rgen/metamodel_builder/constant_order_helper.rb +0 -0
  1479. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/lib/rgen/metamodel_builder/data_types.rb +0 -0
  1480. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/lib/rgen/metamodel_builder/intermediate/annotation.rb +0 -0
  1481. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/lib/rgen/metamodel_builder/intermediate/feature.rb +0 -0
  1482. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/lib/rgen/metamodel_builder/mm_multiple.rb +0 -0
  1483. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/lib/rgen/metamodel_builder/module_extension.rb +0 -0
  1484. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/lib/rgen/model_builder.rb +0 -0
  1485. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/lib/rgen/model_builder/builder_context.rb +0 -0
  1486. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/lib/rgen/model_builder/model_serializer.rb +0 -0
  1487. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/lib/rgen/model_builder/reference_resolver.rb +0 -0
  1488. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/lib/rgen/serializer/json_serializer.rb +0 -0
  1489. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/lib/rgen/serializer/opposite_reference_filter.rb +0 -0
  1490. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/lib/rgen/serializer/qualified_name_provider.rb +0 -0
  1491. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/lib/rgen/serializer/xmi11_serializer.rb +0 -0
  1492. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/lib/rgen/serializer/xmi20_serializer.rb +0 -0
  1493. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/lib/rgen/serializer/xml_serializer.rb +0 -0
  1494. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/lib/rgen/template_language.rb +0 -0
  1495. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/lib/rgen/template_language/directory_template_container.rb +0 -0
  1496. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/lib/rgen/template_language/output_handler.rb +0 -0
  1497. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/lib/rgen/template_language/template_container.rb +0 -0
  1498. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/lib/rgen/template_language/template_helper.rb +0 -0
  1499. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/lib/rgen/transformer.rb +0 -0
  1500. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/lib/rgen/util/auto_class_creator.rb +0 -0
  1501. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/lib/rgen/util/cached_glob.rb +0 -0
  1502. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/lib/rgen/util/file_cache_map.rb +0 -0
  1503. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/lib/rgen/util/file_change_detector.rb +0 -0
  1504. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/lib/rgen/util/method_delegation.rb +0 -0
  1505. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/lib/rgen/util/model_comparator.rb +0 -0
  1506. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/lib/rgen/util/model_comparator_base.rb +0 -0
  1507. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/lib/rgen/util/model_dumper.rb +0 -0
  1508. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/lib/rgen/util/name_helper.rb +0 -0
  1509. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/lib/rgen/util/pattern_matcher.rb +0 -0
  1510. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/lib/transformers/ecore_to_uml13.rb +0 -0
  1511. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/lib/transformers/uml13_to_ecore.rb +0 -0
  1512. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/test/array_extensions_test.rb +0 -0
  1513. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/test/ea_instantiator_test.rb +0 -0
  1514. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/test/ea_serializer_test.rb +0 -0
  1515. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/test/ecore_self_test.rb +0 -0
  1516. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/test/environment_test.rb +0 -0
  1517. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/test/json_test.rb +0 -0
  1518. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/test/metamodel_builder_test.rb +0 -0
  1519. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/test/metamodel_from_ecore_test.rb +0 -0
  1520. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/test/metamodel_order_test.rb +0 -0
  1521. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/test/metamodel_roundtrip_test.rb +0 -0
  1522. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/test/metamodel_roundtrip_test/TestModel.rb +0 -0
  1523. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/test/metamodel_roundtrip_test/houseMetamodel.ecore +0 -0
  1524. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/test/metamodel_roundtrip_test/houseMetamodel_from_ecore.rb +0 -0
  1525. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/test/metamodel_roundtrip_test/using_builtin_types.ecore +0 -0
  1526. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/test/method_delegation_test.rb +0 -0
  1527. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/test/model_builder/builder_context_test.rb +0 -0
  1528. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/test/model_builder/builder_test.rb +0 -0
  1529. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/test/model_builder/ecore_original.rb +0 -0
  1530. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/test/model_builder/ecore_original_regenerated.rb +0 -0
  1531. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/test/model_builder/reference_resolver_test.rb +0 -0
  1532. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/test/model_builder/serializer_test.rb +0 -0
  1533. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/test/model_builder/statemachine_metamodel.rb +0 -0
  1534. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/test/model_builder/test_model/statemachine1.rb +0 -0
  1535. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/test/model_builder_test.rb +0 -0
  1536. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/test/model_fragment_test.rb +0 -0
  1537. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/test/output_handler_test.rb +0 -0
  1538. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/test/qualified_name_provider_test.rb +0 -0
  1539. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/test/qualified_name_resolver_test.rb +0 -0
  1540. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/test/reference_resolver_test.rb +0 -0
  1541. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/test/rgen_test.rb +0 -0
  1542. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/test/template_language_test.rb +0 -0
  1543. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/test/template_language_test/expected_result1.txt +0 -0
  1544. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/test/template_language_test/expected_result2.txt +0 -0
  1545. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/test/template_language_test/expected_result3.txt +0 -0
  1546. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/test/template_language_test/indentStringTestDefaultIndent.out +0 -0
  1547. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/test/template_language_test/indentStringTestTabIndent.out +0 -0
  1548. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/test/template_language_test/templates/callback_indent_test/a.tpl +0 -0
  1549. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/test/template_language_test/templates/callback_indent_test/b.tpl +0 -0
  1550. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/test/template_language_test/templates/code/array.tpl +0 -0
  1551. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/test/template_language_test/templates/content/author.tpl +0 -0
  1552. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/test/template_language_test/templates/content/chapter.tpl +0 -0
  1553. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/test/template_language_test/templates/define_local_test/local.tpl +0 -0
  1554. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/test/template_language_test/templates/define_local_test/test.tpl +0 -0
  1555. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/test/template_language_test/templates/evaluate_test/test.tpl +0 -0
  1556. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/test/template_language_test/templates/indent_string_test.tpl +0 -0
  1557. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/test/template_language_test/templates/index/c/cmod.tpl +0 -0
  1558. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/test/template_language_test/templates/index/chapter.tpl +0 -0
  1559. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/test/template_language_test/templates/no_backslash_r_test.tpl +0 -0
  1560. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/test/template_language_test/templates/no_indent_test/no_indent.tpl +0 -0
  1561. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/test/template_language_test/templates/no_indent_test/sub1/no_indent.tpl +0 -0
  1562. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/test/template_language_test/templates/no_indent_test/test.tpl +0 -0
  1563. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/test/template_language_test/templates/no_indent_test/test2.tpl +0 -0
  1564. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/test/template_language_test/templates/no_indent_test/test3.tpl +0 -0
  1565. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/test/template_language_test/templates/null_context_test.tpl +0 -0
  1566. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/test/template_language_test/templates/root.tpl +0 -0
  1567. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/test/template_language_test/templates/template_resolution_test/sub1.tpl +0 -0
  1568. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/test/template_language_test/templates/template_resolution_test/sub1/sub1.tpl +0 -0
  1569. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/test/template_language_test/templates/template_resolution_test/test.tpl +0 -0
  1570. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/test/template_language_test/testout.txt +0 -0
  1571. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/test/testmodel/class_model_checker.rb +0 -0
  1572. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/test/testmodel/ea_testmodel.eap +0 -0
  1573. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/test/testmodel/ea_testmodel.xml +0 -0
  1574. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/test/testmodel/ea_testmodel_partial.xml +0 -0
  1575. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/test/testmodel/ecore_model_checker.rb +0 -0
  1576. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/test/testmodel/manual_testmodel.xml +0 -0
  1577. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/test/testmodel/object_model_checker.rb +0 -0
  1578. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/test/transformer_test.rb +0 -0
  1579. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/test/util/file_cache_map_test.rb +0 -0
  1580. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/test/util/pattern_matcher_test.rb +0 -0
  1581. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/test/util_test.rb +0 -0
  1582. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/test/xml_instantiator_test.rb +0 -0
  1583. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/test/xml_instantiator_test/simple_ecore_model_checker.rb +0 -0
  1584. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/test/xml_instantiator_test/simple_xmi_ecore_instantiator.rb +0 -0
  1585. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/test/xml_instantiator_test/simple_xmi_metamodel.rb +0 -0
  1586. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/rgen/test/xml_instantiator_test/simple_xmi_to_ecore.rb +0 -0
  1587. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen_patch.rb +132 -0
  1588. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/semantic/Gemfile +0 -0
  1589. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/semantic/PUPPET_README.md +0 -0
  1590. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/semantic/Rakefile +0 -0
  1591. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/semantic/lib/semantic.rb +0 -0
  1592. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/semantic/lib/semantic/dependency.rb +0 -0
  1593. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/semantic/lib/semantic/dependency/graph.rb +0 -0
  1594. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/semantic/lib/semantic/dependency/graph_node.rb +0 -0
  1595. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/semantic/lib/semantic/dependency/module_release.rb +60 -0
  1596. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/semantic/lib/semantic/dependency/source.rb +0 -0
  1597. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/semantic/lib/semantic/dependency/unsatisfiable_graph.rb +0 -0
  1598. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/semantic/lib/semantic/version.rb +0 -0
  1599. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/semantic/lib/semantic/version_range.rb +0 -0
  1600. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/semantic/spec/spec_helper.rb +0 -0
  1601. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/semantic/spec/unit/semantic/dependency/graph_node_spec.rb +0 -0
  1602. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/semantic/spec/unit/semantic/dependency/graph_spec.rb +0 -0
  1603. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/semantic/spec/unit/semantic/dependency/module_release_spec.rb +0 -0
  1604. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/semantic/spec/unit/semantic/dependency/source_spec.rb +0 -0
  1605. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/semantic/spec/unit/semantic/dependency/unsatisfiable_graph_spec.rb +0 -0
  1606. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/semantic/spec/unit/semantic/dependency_spec.rb +0 -0
  1607. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/semantic/spec/unit/semantic/version_range_spec.rb +0 -0
  1608. data/vendor/gems/{puppet-3.7.3 → puppet-4.5.2}/lib/puppet/vendor/semantic/spec/unit/semantic/version_spec.rb +0 -0
  1609. data/vendor/gems/puppet-4.5.2/lib/puppet/version.rb +89 -0
  1610. data/vendor/gems/puppet-4.5.2/lib/puppet_x.rb +8 -0
  1611. data/vendor/gems/puppet-4.5.2/lib/semver.rb +139 -0
  1612. data/vendor/gems/puppet-4.5.2/puppet-4.5.2.gemspec +104 -0
  1613. metadata +1594 -1270
  1614. data/lib/retrospec/plugins/v1/plugin/conditional.rb +0 -52
  1615. data/lib/retrospec/plugins/v1/plugin/resource.rb +0 -35
  1616. data/lib/retrospec/plugins/v1/plugin/type_code.rb +0 -30
  1617. data/lib/retrospec/plugins/v1/plugin/variable_store.rb +0 -139
  1618. data/spec/unit/conditional_spec.rb +0 -55
  1619. data/spec/unit/resource_spec.rb +0 -66
  1620. data/spec/unit/type_code_spec.rb +0 -54
  1621. data/spec/unit/variable_store_spec.rb +0 -136
  1622. data/vendor/gems/puppet-3.7.3/Gemfile +0 -102
  1623. data/vendor/gems/puppet-3.7.3/LICENSE +0 -17
  1624. data/vendor/gems/puppet-3.7.3/Rakefile +0 -68
  1625. data/vendor/gems/puppet-3.7.3/bin/puppet +0 -8
  1626. data/vendor/gems/puppet-3.7.3/conf/auth.conf +0 -120
  1627. data/vendor/gems/puppet-3.7.3/conf/fileserver.conf +0 -42
  1628. data/vendor/gems/puppet-3.7.3/conf/tagmail.conf +0 -16
  1629. data/vendor/gems/puppet-3.7.3/install.rb +0 -429
  1630. data/vendor/gems/puppet-3.7.3/lib/hiera/backend/puppet_backend.rb +0 -103
  1631. data/vendor/gems/puppet-3.7.3/lib/hiera/scope.rb +0 -60
  1632. data/vendor/gems/puppet-3.7.3/lib/hiera_puppet.rb +0 -87
  1633. data/vendor/gems/puppet-3.7.3/lib/puppet.rb +0 -277
  1634. data/vendor/gems/puppet-3.7.3/lib/puppet/agent.rb +0 -121
  1635. data/vendor/gems/puppet-3.7.3/lib/puppet/agent/locker.rb +0 -43
  1636. data/vendor/gems/puppet-3.7.3/lib/puppet/application.rb +0 -513
  1637. data/vendor/gems/puppet-3.7.3/lib/puppet/application/agent.rb +0 -480
  1638. data/vendor/gems/puppet-3.7.3/lib/puppet/application/apply.rb +0 -299
  1639. data/vendor/gems/puppet-3.7.3/lib/puppet/application/ca.rb +0 -5
  1640. data/vendor/gems/puppet-3.7.3/lib/puppet/application/cert.rb +0 -277
  1641. data/vendor/gems/puppet-3.7.3/lib/puppet/application/certificate.rb +0 -15
  1642. data/vendor/gems/puppet-3.7.3/lib/puppet/application/device.rb +0 -238
  1643. data/vendor/gems/puppet-3.7.3/lib/puppet/application/doc.rb +0 -273
  1644. data/vendor/gems/puppet-3.7.3/lib/puppet/application/face_base.rb +0 -250
  1645. data/vendor/gems/puppet-3.7.3/lib/puppet/application/filebucket.rb +0 -184
  1646. data/vendor/gems/puppet-3.7.3/lib/puppet/application/inspect.rb +0 -179
  1647. data/vendor/gems/puppet-3.7.3/lib/puppet/application/instrumentation_data.rb +0 -7
  1648. data/vendor/gems/puppet-3.7.3/lib/puppet/application/instrumentation_listener.rb +0 -7
  1649. data/vendor/gems/puppet-3.7.3/lib/puppet/application/instrumentation_probe.rb +0 -7
  1650. data/vendor/gems/puppet-3.7.3/lib/puppet/application/kick.rb +0 -351
  1651. data/vendor/gems/puppet-3.7.3/lib/puppet/application/master.rb +0 -304
  1652. data/vendor/gems/puppet-3.7.3/lib/puppet/application/queue.rb +0 -161
  1653. data/vendor/gems/puppet-3.7.3/lib/puppet/application/resource.rb +0 -228
  1654. data/vendor/gems/puppet-3.7.3/lib/puppet/application/secret_agent.rb +0 -9
  1655. data/vendor/gems/puppet-3.7.3/lib/puppet/configurer.rb +0 -305
  1656. data/vendor/gems/puppet-3.7.3/lib/puppet/configurer/downloader.rb +0 -66
  1657. data/vendor/gems/puppet-3.7.3/lib/puppet/configurer/fact_handler.rb +0 -37
  1658. data/vendor/gems/puppet-3.7.3/lib/puppet/configurer/plugin_handler.rb +0 -23
  1659. data/vendor/gems/puppet-3.7.3/lib/puppet/context.rb +0 -101
  1660. data/vendor/gems/puppet-3.7.3/lib/puppet/context/trusted_information.rb +0 -56
  1661. data/vendor/gems/puppet-3.7.3/lib/puppet/daemon.rb +0 -182
  1662. data/vendor/gems/puppet-3.7.3/lib/puppet/data_binding.rb +0 -12
  1663. data/vendor/gems/puppet-3.7.3/lib/puppet/defaults.rb +0 -2084
  1664. data/vendor/gems/puppet-3.7.3/lib/puppet/dsl.rb +0 -7
  1665. data/vendor/gems/puppet-3.7.3/lib/puppet/dsl/resource_api.rb +0 -120
  1666. data/vendor/gems/puppet-3.7.3/lib/puppet/dsl/resource_type_api.rb +0 -34
  1667. data/vendor/gems/puppet-3.7.3/lib/puppet/environments.rb +0 -434
  1668. data/vendor/gems/puppet-3.7.3/lib/puppet/error.rb +0 -62
  1669. data/vendor/gems/puppet-3.7.3/lib/puppet/external/nagios/base.rb +0 -472
  1670. data/vendor/gems/puppet-3.7.3/lib/puppet/external/pson/common.rb +0 -385
  1671. data/vendor/gems/puppet-3.7.3/lib/puppet/external/pson/pure/generator.rb +0 -394
  1672. data/vendor/gems/puppet-3.7.3/lib/puppet/external/pson/pure/parser.rb +0 -318
  1673. data/vendor/gems/puppet-3.7.3/lib/puppet/face/catalog.rb +0 -130
  1674. data/vendor/gems/puppet-3.7.3/lib/puppet/face/certificate.rb +0 -160
  1675. data/vendor/gems/puppet-3.7.3/lib/puppet/face/certificate_request.rb +0 -53
  1676. data/vendor/gems/puppet-3.7.3/lib/puppet/face/certificate_revocation_list.rb +0 -58
  1677. data/vendor/gems/puppet-3.7.3/lib/puppet/face/config.rb +0 -119
  1678. data/vendor/gems/puppet-3.7.3/lib/puppet/face/facts.rb +0 -81
  1679. data/vendor/gems/puppet-3.7.3/lib/puppet/face/file.rb +0 -47
  1680. data/vendor/gems/puppet-3.7.3/lib/puppet/face/file/download.rb +0 -57
  1681. data/vendor/gems/puppet-3.7.3/lib/puppet/face/help.rb +0 -194
  1682. data/vendor/gems/puppet-3.7.3/lib/puppet/face/help/man.erb +0 -152
  1683. data/vendor/gems/puppet-3.7.3/lib/puppet/face/instrumentation_data.rb +0 -30
  1684. data/vendor/gems/puppet-3.7.3/lib/puppet/face/instrumentation_listener.rb +0 -98
  1685. data/vendor/gems/puppet-3.7.3/lib/puppet/face/instrumentation_probe.rb +0 -79
  1686. data/vendor/gems/puppet-3.7.3/lib/puppet/face/module/build.rb +0 -63
  1687. data/vendor/gems/puppet-3.7.3/lib/puppet/face/module/changes.rb +0 -41
  1688. data/vendor/gems/puppet-3.7.3/lib/puppet/face/module/generate.rb +0 -251
  1689. data/vendor/gems/puppet-3.7.3/lib/puppet/face/module/install.rb +0 -145
  1690. data/vendor/gems/puppet-3.7.3/lib/puppet/face/module/list.rb +0 -275
  1691. data/vendor/gems/puppet-3.7.3/lib/puppet/face/module/uninstall.rb +0 -78
  1692. data/vendor/gems/puppet-3.7.3/lib/puppet/face/module/upgrade.rb +0 -86
  1693. data/vendor/gems/puppet-3.7.3/lib/puppet/face/node.rb +0 -43
  1694. data/vendor/gems/puppet-3.7.3/lib/puppet/face/node/clean.rb +0 -159
  1695. data/vendor/gems/puppet-3.7.3/lib/puppet/face/parser.rb +0 -160
  1696. data/vendor/gems/puppet-3.7.3/lib/puppet/face/plugin.rb +0 -65
  1697. data/vendor/gems/puppet-3.7.3/lib/puppet/face/report.rb +0 -54
  1698. data/vendor/gems/puppet-3.7.3/lib/puppet/face/resource.rb +0 -53
  1699. data/vendor/gems/puppet-3.7.3/lib/puppet/face/resource_type.rb +0 -81
  1700. data/vendor/gems/puppet-3.7.3/lib/puppet/face/secret_agent.rb +0 -54
  1701. data/vendor/gems/puppet-3.7.3/lib/puppet/face/status.rb +0 -53
  1702. data/vendor/gems/puppet-3.7.3/lib/puppet/feature/base.rb +0 -94
  1703. data/vendor/gems/puppet-3.7.3/lib/puppet/feature/cfacter.rb +0 -14
  1704. data/vendor/gems/puppet-3.7.3/lib/puppet/feature/pson.rb +0 -4
  1705. data/vendor/gems/puppet-3.7.3/lib/puppet/feature/rails.rb +0 -47
  1706. data/vendor/gems/puppet-3.7.3/lib/puppet/feature/rdoc1.rb +0 -16
  1707. data/vendor/gems/puppet-3.7.3/lib/puppet/feature/rubygems.rb +0 -7
  1708. data/vendor/gems/puppet-3.7.3/lib/puppet/feature/stomp.rb +0 -5
  1709. data/vendor/gems/puppet-3.7.3/lib/puppet/file_bucket/dipper.rb +0 -119
  1710. data/vendor/gems/puppet-3.7.3/lib/puppet/file_bucket/file.rb +0 -157
  1711. data/vendor/gems/puppet-3.7.3/lib/puppet/file_collection.rb +0 -19
  1712. data/vendor/gems/puppet-3.7.3/lib/puppet/file_collection/lookup.rb +0 -10
  1713. data/vendor/gems/puppet-3.7.3/lib/puppet/file_serving/base.rb +0 -95
  1714. data/vendor/gems/puppet-3.7.3/lib/puppet/file_serving/content.rb +0 -45
  1715. data/vendor/gems/puppet-3.7.3/lib/puppet/file_serving/metadata.rb +0 -199
  1716. data/vendor/gems/puppet-3.7.3/lib/puppet/file_serving/mount/pluginfacts.rb +0 -35
  1717. data/vendor/gems/puppet-3.7.3/lib/puppet/file_serving/mount/plugins.rb +0 -35
  1718. data/vendor/gems/puppet-3.7.3/lib/puppet/file_serving/terminus_helper.rb +0 -21
  1719. data/vendor/gems/puppet-3.7.3/lib/puppet/file_serving/terminus_selector.rb +0 -30
  1720. data/vendor/gems/puppet-3.7.3/lib/puppet/file_system.rb +0 -366
  1721. data/vendor/gems/puppet-3.7.3/lib/puppet/file_system/file18.rb +0 -5
  1722. data/vendor/gems/puppet-3.7.3/lib/puppet/file_system/file19.rb +0 -46
  1723. data/vendor/gems/puppet-3.7.3/lib/puppet/file_system/file19windows.rb +0 -107
  1724. data/vendor/gems/puppet-3.7.3/lib/puppet/file_system/file_impl.rb +0 -145
  1725. data/vendor/gems/puppet-3.7.3/lib/puppet/file_system/memory_file.rb +0 -71
  1726. data/vendor/gems/puppet-3.7.3/lib/puppet/file_system/memory_impl.rb +0 -78
  1727. data/vendor/gems/puppet-3.7.3/lib/puppet/file_system/uniquefile.rb +0 -190
  1728. data/vendor/gems/puppet-3.7.3/lib/puppet/forge.rb +0 -226
  1729. data/vendor/gems/puppet-3.7.3/lib/puppet/forge/repository.rb +0 -182
  1730. data/vendor/gems/puppet-3.7.3/lib/puppet/functions.rb +0 -555
  1731. data/vendor/gems/puppet-3.7.3/lib/puppet/functions/assert_type.rb +0 -59
  1732. data/vendor/gems/puppet-3.7.3/lib/puppet/functions/each.rb +0 -111
  1733. data/vendor/gems/puppet-3.7.3/lib/puppet/functions/epp.rb +0 -54
  1734. data/vendor/gems/puppet-3.7.3/lib/puppet/functions/filter.rb +0 -113
  1735. data/vendor/gems/puppet-3.7.3/lib/puppet/functions/inline_epp.rb +0 -88
  1736. data/vendor/gems/puppet-3.7.3/lib/puppet/functions/map.rb +0 -97
  1737. data/vendor/gems/puppet-3.7.3/lib/puppet/functions/match.rb +0 -102
  1738. data/vendor/gems/puppet-3.7.3/lib/puppet/functions/reduce.rb +0 -94
  1739. data/vendor/gems/puppet-3.7.3/lib/puppet/functions/slice.rb +0 -126
  1740. data/vendor/gems/puppet-3.7.3/lib/puppet/functions/with.rb +0 -23
  1741. data/vendor/gems/puppet-3.7.3/lib/puppet/graph/rb_tree_map.rb +0 -388
  1742. data/vendor/gems/puppet-3.7.3/lib/puppet/graph/relationship_graph.rb +0 -246
  1743. data/vendor/gems/puppet-3.7.3/lib/puppet/graph/simple_graph.rb +0 -566
  1744. data/vendor/gems/puppet-3.7.3/lib/puppet/indirector/active_record.rb +0 -29
  1745. data/vendor/gems/puppet-3.7.3/lib/puppet/indirector/catalog/active_record.rb +0 -39
  1746. data/vendor/gems/puppet-3.7.3/lib/puppet/indirector/catalog/compiler.rb +0 -182
  1747. data/vendor/gems/puppet-3.7.3/lib/puppet/indirector/catalog/queue.rb +0 -9
  1748. data/vendor/gems/puppet-3.7.3/lib/puppet/indirector/catalog/static_compiler.rb +0 -214
  1749. data/vendor/gems/puppet-3.7.3/lib/puppet/indirector/couch.rb +0 -78
  1750. data/vendor/gems/puppet-3.7.3/lib/puppet/indirector/data_binding/none.rb +0 -5
  1751. data/vendor/gems/puppet-3.7.3/lib/puppet/indirector/direct_file_server.rb +0 -19
  1752. data/vendor/gems/puppet-3.7.3/lib/puppet/indirector/face.rb +0 -139
  1753. data/vendor/gems/puppet-3.7.3/lib/puppet/indirector/facts/active_record.rb +0 -44
  1754. data/vendor/gems/puppet-3.7.3/lib/puppet/indirector/facts/couch.rb +0 -36
  1755. data/vendor/gems/puppet-3.7.3/lib/puppet/indirector/facts/facter.rb +0 -78
  1756. data/vendor/gems/puppet-3.7.3/lib/puppet/indirector/facts/inventory_active_record.rb +0 -110
  1757. data/vendor/gems/puppet-3.7.3/lib/puppet/indirector/facts/inventory_service.rb +0 -20
  1758. data/vendor/gems/puppet-3.7.3/lib/puppet/indirector/facts/network_device.rb +0 -24
  1759. data/vendor/gems/puppet-3.7.3/lib/puppet/indirector/facts/rest.rb +0 -8
  1760. data/vendor/gems/puppet-3.7.3/lib/puppet/indirector/facts/store_configs.rb +0 -8
  1761. data/vendor/gems/puppet-3.7.3/lib/puppet/indirector/facts/yaml.rb +0 -82
  1762. data/vendor/gems/puppet-3.7.3/lib/puppet/indirector/file_bucket_file/file.rb +0 -142
  1763. data/vendor/gems/puppet-3.7.3/lib/puppet/indirector/file_metadata/file.rb +0 -22
  1764. data/vendor/gems/puppet-3.7.3/lib/puppet/indirector/file_server.rb +0 -65
  1765. data/vendor/gems/puppet-3.7.3/lib/puppet/indirector/hiera.rb +0 -48
  1766. data/vendor/gems/puppet-3.7.3/lib/puppet/indirector/indirection.rb +0 -336
  1767. data/vendor/gems/puppet-3.7.3/lib/puppet/indirector/instrumentation_data.rb +0 -3
  1768. data/vendor/gems/puppet-3.7.3/lib/puppet/indirector/instrumentation_data/local.rb +0 -22
  1769. data/vendor/gems/puppet-3.7.3/lib/puppet/indirector/instrumentation_data/rest.rb +0 -8
  1770. data/vendor/gems/puppet-3.7.3/lib/puppet/indirector/instrumentation_listener.rb +0 -3
  1771. data/vendor/gems/puppet-3.7.3/lib/puppet/indirector/instrumentation_listener/local.rb +0 -26
  1772. data/vendor/gems/puppet-3.7.3/lib/puppet/indirector/instrumentation_listener/rest.rb +0 -8
  1773. data/vendor/gems/puppet-3.7.3/lib/puppet/indirector/instrumentation_probe.rb +0 -3
  1774. data/vendor/gems/puppet-3.7.3/lib/puppet/indirector/instrumentation_probe/local.rb +0 -27
  1775. data/vendor/gems/puppet-3.7.3/lib/puppet/indirector/instrumentation_probe/rest.rb +0 -8
  1776. data/vendor/gems/puppet-3.7.3/lib/puppet/indirector/json.rb +0 -76
  1777. data/vendor/gems/puppet-3.7.3/lib/puppet/indirector/msgpack.rb +0 -82
  1778. data/vendor/gems/puppet-3.7.3/lib/puppet/indirector/node/active_record.rb +0 -22
  1779. data/vendor/gems/puppet-3.7.3/lib/puppet/indirector/node/exec.rb +0 -69
  1780. data/vendor/gems/puppet-3.7.3/lib/puppet/indirector/node/ldap.rb +0 -257
  1781. data/vendor/gems/puppet-3.7.3/lib/puppet/indirector/queue.rb +0 -80
  1782. data/vendor/gems/puppet-3.7.3/lib/puppet/indirector/request.rb +0 -317
  1783. data/vendor/gems/puppet-3.7.3/lib/puppet/indirector/resource/active_record.rb +0 -104
  1784. data/vendor/gems/puppet-3.7.3/lib/puppet/indirector/resource/ral.rb +0 -64
  1785. data/vendor/gems/puppet-3.7.3/lib/puppet/indirector/resource/rest.rb +0 -17
  1786. data/vendor/gems/puppet-3.7.3/lib/puppet/indirector/resource/store_configs.rb +0 -13
  1787. data/vendor/gems/puppet-3.7.3/lib/puppet/indirector/resource_type/parser.rb +0 -101
  1788. data/vendor/gems/puppet-3.7.3/lib/puppet/indirector/rest.rb +0 -267
  1789. data/vendor/gems/puppet-3.7.3/lib/puppet/indirector/run/local.rb +0 -15
  1790. data/vendor/gems/puppet-3.7.3/lib/puppet/indirector/run/rest.rb +0 -12
  1791. data/vendor/gems/puppet-3.7.3/lib/puppet/indirector/terminus.rb +0 -169
  1792. data/vendor/gems/puppet-3.7.3/lib/puppet/interface.rb +0 -235
  1793. data/vendor/gems/puppet-3.7.3/lib/puppet/interface/action_builder.rb +0 -149
  1794. data/vendor/gems/puppet-3.7.3/lib/puppet/interface/action_manager.rb +0 -101
  1795. data/vendor/gems/puppet-3.7.3/lib/puppet/interface/face_collection.rb +0 -125
  1796. data/vendor/gems/puppet-3.7.3/lib/puppet/interface/option_builder.rb +0 -93
  1797. data/vendor/gems/puppet-3.7.3/lib/puppet/loaders.rb +0 -19
  1798. data/vendor/gems/puppet-3.7.3/lib/puppet/metatype/manager.rb +0 -184
  1799. data/vendor/gems/puppet-3.7.3/lib/puppet/module.rb +0 -339
  1800. data/vendor/gems/puppet-3.7.3/lib/puppet/module_tool.rb +0 -194
  1801. data/vendor/gems/puppet-3.7.3/lib/puppet/module_tool/applications/application.rb +0 -98
  1802. data/vendor/gems/puppet-3.7.3/lib/puppet/module_tool/applications/builder.rb +0 -148
  1803. data/vendor/gems/puppet-3.7.3/lib/puppet/module_tool/applications/installer.rb +0 -353
  1804. data/vendor/gems/puppet-3.7.3/lib/puppet/module_tool/applications/unpacker.rb +0 -100
  1805. data/vendor/gems/puppet-3.7.3/lib/puppet/module_tool/applications/upgrader.rb +0 -279
  1806. data/vendor/gems/puppet-3.7.3/lib/puppet/module_tool/contents_description.rb +0 -84
  1807. data/vendor/gems/puppet-3.7.3/lib/puppet/module_tool/installed_modules.rb +0 -98
  1808. data/vendor/gems/puppet-3.7.3/lib/puppet/module_tool/metadata.rb +0 -209
  1809. data/vendor/gems/puppet-3.7.3/lib/puppet/module_tool/modulefile.rb +0 -78
  1810. data/vendor/gems/puppet-3.7.3/lib/puppet/module_tool/skeleton/templates/generator/Gemfile +0 -7
  1811. data/vendor/gems/puppet-3.7.3/lib/puppet/module_tool/skeleton/templates/generator/README.md.erb +0 -79
  1812. data/vendor/gems/puppet-3.7.3/lib/puppet/module_tool/skeleton/templates/generator/Rakefile +0 -18
  1813. data/vendor/gems/puppet-3.7.3/lib/puppet/module_tool/skeleton/templates/generator/manifests/init.pp.erb +0 -41
  1814. data/vendor/gems/puppet-3.7.3/lib/puppet/module_tool/skeleton/templates/generator/spec/classes/init_spec.rb.erb +0 -7
  1815. data/vendor/gems/puppet-3.7.3/lib/puppet/module_tool/skeleton/templates/generator/tests/init.pp.erb +0 -12
  1816. data/vendor/gems/puppet-3.7.3/lib/puppet/module_tool/tar/gnu.rb +0 -19
  1817. data/vendor/gems/puppet-3.7.3/lib/puppet/module_tool/tar/mini.rb +0 -53
  1818. data/vendor/gems/puppet-3.7.3/lib/puppet/network/auth_config_parser.rb +0 -84
  1819. data/vendor/gems/puppet-3.7.3/lib/puppet/network/authconfig.rb +0 -76
  1820. data/vendor/gems/puppet-3.7.3/lib/puppet/network/authentication.rb +0 -35
  1821. data/vendor/gems/puppet-3.7.3/lib/puppet/network/authorization.rb +0 -34
  1822. data/vendor/gems/puppet-3.7.3/lib/puppet/network/format_handler.rb +0 -105
  1823. data/vendor/gems/puppet-3.7.3/lib/puppet/network/format_support.rb +0 -124
  1824. data/vendor/gems/puppet-3.7.3/lib/puppet/network/formats.rb +0 -216
  1825. data/vendor/gems/puppet-3.7.3/lib/puppet/network/http.rb +0 -20
  1826. data/vendor/gems/puppet-3.7.3/lib/puppet/network/http/api.rb +0 -2
  1827. data/vendor/gems/puppet-3.7.3/lib/puppet/network/http/api/v1.rb +0 -222
  1828. data/vendor/gems/puppet-3.7.3/lib/puppet/network/http/api/v2.rb +0 -32
  1829. data/vendor/gems/puppet-3.7.3/lib/puppet/network/http/api/v2/authorization.rb +0 -15
  1830. data/vendor/gems/puppet-3.7.3/lib/puppet/network/http/api/v2/environments.rb +0 -35
  1831. data/vendor/gems/puppet-3.7.3/lib/puppet/network/http/compression.rb +0 -118
  1832. data/vendor/gems/puppet-3.7.3/lib/puppet/network/http/connection.rb +0 -240
  1833. data/vendor/gems/puppet-3.7.3/lib/puppet/network/http/factory.rb +0 -44
  1834. data/vendor/gems/puppet-3.7.3/lib/puppet/network/http/handler.rb +0 -186
  1835. data/vendor/gems/puppet-3.7.3/lib/puppet/network/http/pool.rb +0 -120
  1836. data/vendor/gems/puppet-3.7.3/lib/puppet/network/http/rack/rest.rb +0 -138
  1837. data/vendor/gems/puppet-3.7.3/lib/puppet/network/http/request.rb +0 -56
  1838. data/vendor/gems/puppet-3.7.3/lib/puppet/network/http/webrick.rb +0 -129
  1839. data/vendor/gems/puppet-3.7.3/lib/puppet/network/http/webrick/rest.rb +0 -104
  1840. data/vendor/gems/puppet-3.7.3/lib/puppet/network/resolver.rb +0 -86
  1841. data/vendor/gems/puppet-3.7.3/lib/puppet/network/rights.rb +0 -219
  1842. data/vendor/gems/puppet-3.7.3/lib/puppet/node.rb +0 -184
  1843. data/vendor/gems/puppet-3.7.3/lib/puppet/node/environment.rb +0 -595
  1844. data/vendor/gems/puppet-3.7.3/lib/puppet/node/facts.rb +0 -155
  1845. data/vendor/gems/puppet-3.7.3/lib/puppet/parameter.rb +0 -585
  1846. data/vendor/gems/puppet-3.7.3/lib/puppet/parameter/value.rb +0 -93
  1847. data/vendor/gems/puppet-3.7.3/lib/puppet/parameter/value_collection.rb +0 -211
  1848. data/vendor/gems/puppet-3.7.3/lib/puppet/parser.rb +0 -7
  1849. data/vendor/gems/puppet-3.7.3/lib/puppet/parser/ast.rb +0 -129
  1850. data/vendor/gems/puppet-3.7.3/lib/puppet/parser/ast/arithmetic_operator.rb +0 -91
  1851. data/vendor/gems/puppet-3.7.3/lib/puppet/parser/ast/astarray.rb +0 -50
  1852. data/vendor/gems/puppet-3.7.3/lib/puppet/parser/ast/asthash.rb +0 -37
  1853. data/vendor/gems/puppet-3.7.3/lib/puppet/parser/ast/block_expression.rb +0 -40
  1854. data/vendor/gems/puppet-3.7.3/lib/puppet/parser/ast/boolean_operator.rb +0 -46
  1855. data/vendor/gems/puppet-3.7.3/lib/puppet/parser/ast/branch.rb +0 -22
  1856. data/vendor/gems/puppet-3.7.3/lib/puppet/parser/ast/caseopt.rb +0 -52
  1857. data/vendor/gems/puppet-3.7.3/lib/puppet/parser/ast/casestatement.rb +0 -41
  1858. data/vendor/gems/puppet-3.7.3/lib/puppet/parser/ast/collection.rb +0 -53
  1859. data/vendor/gems/puppet-3.7.3/lib/puppet/parser/ast/collexpr.rb +0 -109
  1860. data/vendor/gems/puppet-3.7.3/lib/puppet/parser/ast/comparison_operator.rb +0 -38
  1861. data/vendor/gems/puppet-3.7.3/lib/puppet/parser/ast/definition.rb +0 -17
  1862. data/vendor/gems/puppet-3.7.3/lib/puppet/parser/ast/else.rb +0 -22
  1863. data/vendor/gems/puppet-3.7.3/lib/puppet/parser/ast/function.rb +0 -59
  1864. data/vendor/gems/puppet-3.7.3/lib/puppet/parser/ast/hostclass.rb +0 -29
  1865. data/vendor/gems/puppet-3.7.3/lib/puppet/parser/ast/ifstatement.rb +0 -34
  1866. data/vendor/gems/puppet-3.7.3/lib/puppet/parser/ast/in_operator.rb +0 -24
  1867. data/vendor/gems/puppet-3.7.3/lib/puppet/parser/ast/lambda.rb +0 -135
  1868. data/vendor/gems/puppet-3.7.3/lib/puppet/parser/ast/leaf.rb +0 -232
  1869. data/vendor/gems/puppet-3.7.3/lib/puppet/parser/ast/match_operator.rb +0 -28
  1870. data/vendor/gems/puppet-3.7.3/lib/puppet/parser/ast/method_call.rb +0 -77
  1871. data/vendor/gems/puppet-3.7.3/lib/puppet/parser/ast/minus.rb +0 -23
  1872. data/vendor/gems/puppet-3.7.3/lib/puppet/parser/ast/node.rb +0 -25
  1873. data/vendor/gems/puppet-3.7.3/lib/puppet/parser/ast/nop.rb +0 -11
  1874. data/vendor/gems/puppet-3.7.3/lib/puppet/parser/ast/not.rb +0 -19
  1875. data/vendor/gems/puppet-3.7.3/lib/puppet/parser/ast/pops_bridge.rb +0 -242
  1876. data/vendor/gems/puppet-3.7.3/lib/puppet/parser/ast/relationship.rb +0 -47
  1877. data/vendor/gems/puppet-3.7.3/lib/puppet/parser/ast/resource.rb +0 -67
  1878. data/vendor/gems/puppet-3.7.3/lib/puppet/parser/ast/resource_defaults.rb +0 -24
  1879. data/vendor/gems/puppet-3.7.3/lib/puppet/parser/ast/resource_instance.rb +0 -9
  1880. data/vendor/gems/puppet-3.7.3/lib/puppet/parser/ast/resource_override.rb +0 -62
  1881. data/vendor/gems/puppet-3.7.3/lib/puppet/parser/ast/resource_reference.rb +0 -28
  1882. data/vendor/gems/puppet-3.7.3/lib/puppet/parser/ast/resourceparam.rb +0 -27
  1883. data/vendor/gems/puppet-3.7.3/lib/puppet/parser/ast/selector.rb +0 -50
  1884. data/vendor/gems/puppet-3.7.3/lib/puppet/parser/ast/vardef.rb +0 -38
  1885. data/vendor/gems/puppet-3.7.3/lib/puppet/parser/code_merger.rb +0 -13
  1886. data/vendor/gems/puppet-3.7.3/lib/puppet/parser/collector.rb +0 -177
  1887. data/vendor/gems/puppet-3.7.3/lib/puppet/parser/compiler.rb +0 -625
  1888. data/vendor/gems/puppet-3.7.3/lib/puppet/parser/e4_parser_adapter.rb +0 -81
  1889. data/vendor/gems/puppet-3.7.3/lib/puppet/parser/files.rb +0 -137
  1890. data/vendor/gems/puppet-3.7.3/lib/puppet/parser/functions.rb +0 -262
  1891. data/vendor/gems/puppet-3.7.3/lib/puppet/parser/functions/assert_type.rb +0 -31
  1892. data/vendor/gems/puppet-3.7.3/lib/puppet/parser/functions/contain.rb +0 -36
  1893. data/vendor/gems/puppet-3.7.3/lib/puppet/parser/functions/create_resources.rb +0 -82
  1894. data/vendor/gems/puppet-3.7.3/lib/puppet/parser/functions/defined.rb +0 -73
  1895. data/vendor/gems/puppet-3.7.3/lib/puppet/parser/functions/each.rb +0 -48
  1896. data/vendor/gems/puppet-3.7.3/lib/puppet/parser/functions/epp.rb +0 -45
  1897. data/vendor/gems/puppet-3.7.3/lib/puppet/parser/functions/extlookup.rb +0 -153
  1898. data/vendor/gems/puppet-3.7.3/lib/puppet/parser/functions/file.rb +0 -31
  1899. data/vendor/gems/puppet-3.7.3/lib/puppet/parser/functions/filter.rb +0 -44
  1900. data/vendor/gems/puppet-3.7.3/lib/puppet/parser/functions/fqdn_rand.rb +0 -21
  1901. data/vendor/gems/puppet-3.7.3/lib/puppet/parser/functions/hiera.rb +0 -26
  1902. data/vendor/gems/puppet-3.7.3/lib/puppet/parser/functions/hiera_array.rb +0 -27
  1903. data/vendor/gems/puppet-3.7.3/lib/puppet/parser/functions/hiera_hash.rb +0 -29
  1904. data/vendor/gems/puppet-3.7.3/lib/puppet/parser/functions/hiera_include.rb +0 -44
  1905. data/vendor/gems/puppet-3.7.3/lib/puppet/parser/functions/include.rb +0 -35
  1906. data/vendor/gems/puppet-3.7.3/lib/puppet/parser/functions/inline_epp.rb +0 -76
  1907. data/vendor/gems/puppet-3.7.3/lib/puppet/parser/functions/inline_template.rb +0 -21
  1908. data/vendor/gems/puppet-3.7.3/lib/puppet/parser/functions/lookup.rb +0 -144
  1909. data/vendor/gems/puppet-3.7.3/lib/puppet/parser/functions/map.rb +0 -43
  1910. data/vendor/gems/puppet-3.7.3/lib/puppet/parser/functions/match.rb +0 -28
  1911. data/vendor/gems/puppet-3.7.3/lib/puppet/parser/functions/realize.rb +0 -14
  1912. data/vendor/gems/puppet-3.7.3/lib/puppet/parser/functions/reduce.rb +0 -71
  1913. data/vendor/gems/puppet-3.7.3/lib/puppet/parser/functions/regsubst.rb +0 -116
  1914. data/vendor/gems/puppet-3.7.3/lib/puppet/parser/functions/require.rb +0 -61
  1915. data/vendor/gems/puppet-3.7.3/lib/puppet/parser/functions/search.rb +0 -12
  1916. data/vendor/gems/puppet-3.7.3/lib/puppet/parser/functions/slice.rb +0 -48
  1917. data/vendor/gems/puppet-3.7.3/lib/puppet/parser/functions/split.rb +0 -28
  1918. data/vendor/gems/puppet-3.7.3/lib/puppet/parser/functions/with.rb +0 -21
  1919. data/vendor/gems/puppet-3.7.3/lib/puppet/parser/grammar.ra +0 -806
  1920. data/vendor/gems/puppet-3.7.3/lib/puppet/parser/lexer.rb +0 -608
  1921. data/vendor/gems/puppet-3.7.3/lib/puppet/parser/makefile +0 -8
  1922. data/vendor/gems/puppet-3.7.3/lib/puppet/parser/methods.rb +0 -69
  1923. data/vendor/gems/puppet-3.7.3/lib/puppet/parser/parser.rb +0 -2559
  1924. data/vendor/gems/puppet-3.7.3/lib/puppet/parser/parser_factory.rb +0 -76
  1925. data/vendor/gems/puppet-3.7.3/lib/puppet/parser/parser_support.rb +0 -195
  1926. data/vendor/gems/puppet-3.7.3/lib/puppet/parser/relationship.rb +0 -62
  1927. data/vendor/gems/puppet-3.7.3/lib/puppet/parser/resource.rb +0 -275
  1928. data/vendor/gems/puppet-3.7.3/lib/puppet/parser/scope.rb +0 -906
  1929. data/vendor/gems/puppet-3.7.3/lib/puppet/parser/templatewrapper.rb +0 -127
  1930. data/vendor/gems/puppet-3.7.3/lib/puppet/parser/type_loader.rb +0 -152
  1931. data/vendor/gems/puppet-3.7.3/lib/puppet/pops.rb +0 -118
  1932. data/vendor/gems/puppet-3.7.3/lib/puppet/pops/adaptable.rb +0 -190
  1933. data/vendor/gems/puppet-3.7.3/lib/puppet/pops/adapters.rb +0 -109
  1934. data/vendor/gems/puppet-3.7.3/lib/puppet/pops/binder/binder.rb +0 -393
  1935. data/vendor/gems/puppet-3.7.3/lib/puppet/pops/binder/binder_issues.rb +0 -122
  1936. data/vendor/gems/puppet-3.7.3/lib/puppet/pops/binder/bindings_checker.rb +0 -197
  1937. data/vendor/gems/puppet-3.7.3/lib/puppet/pops/binder/bindings_composer.rb +0 -175
  1938. data/vendor/gems/puppet-3.7.3/lib/puppet/pops/binder/bindings_factory.rb +0 -805
  1939. data/vendor/gems/puppet-3.7.3/lib/puppet/pops/binder/bindings_label_provider.rb +0 -43
  1940. data/vendor/gems/puppet-3.7.3/lib/puppet/pops/binder/bindings_loader.rb +0 -88
  1941. data/vendor/gems/puppet-3.7.3/lib/puppet/pops/binder/bindings_model.rb +0 -68
  1942. data/vendor/gems/puppet-3.7.3/lib/puppet/pops/binder/bindings_model_dumper.rb +0 -187
  1943. data/vendor/gems/puppet-3.7.3/lib/puppet/pops/binder/bindings_model_meta.rb +0 -215
  1944. data/vendor/gems/puppet-3.7.3/lib/puppet/pops/binder/config/binder_config.rb +0 -107
  1945. data/vendor/gems/puppet-3.7.3/lib/puppet/pops/binder/config/binder_config_checker.rb +0 -142
  1946. data/vendor/gems/puppet-3.7.3/lib/puppet/pops/binder/config/diagnostic_producer.rb +0 -32
  1947. data/vendor/gems/puppet-3.7.3/lib/puppet/pops/binder/config/issues.rb +0 -86
  1948. data/vendor/gems/puppet-3.7.3/lib/puppet/pops/binder/injector.rb +0 -767
  1949. data/vendor/gems/puppet-3.7.3/lib/puppet/pops/binder/key_factory.rb +0 -67
  1950. data/vendor/gems/puppet-3.7.3/lib/puppet/pops/binder/lookup.rb +0 -199
  1951. data/vendor/gems/puppet-3.7.3/lib/puppet/pops/binder/producers.rb +0 -826
  1952. data/vendor/gems/puppet-3.7.3/lib/puppet/pops/binder/scheme_handler/module_scheme.rb +0 -84
  1953. data/vendor/gems/puppet-3.7.3/lib/puppet/pops/binder/scheme_handler/symbolic_scheme.rb +0 -53
  1954. data/vendor/gems/puppet-3.7.3/lib/puppet/pops/evaluator/access_operator.rb +0 -596
  1955. data/vendor/gems/puppet-3.7.3/lib/puppet/pops/evaluator/callable_mismatch_describer.rb +0 -175
  1956. data/vendor/gems/puppet-3.7.3/lib/puppet/pops/evaluator/callable_signature.rb +0 -100
  1957. data/vendor/gems/puppet-3.7.3/lib/puppet/pops/evaluator/closure.rb +0 -228
  1958. data/vendor/gems/puppet-3.7.3/lib/puppet/pops/evaluator/compare_operator.rb +0 -172
  1959. data/vendor/gems/puppet-3.7.3/lib/puppet/pops/evaluator/epp_evaluator.rb +0 -88
  1960. data/vendor/gems/puppet-3.7.3/lib/puppet/pops/evaluator/evaluator_impl.rb +0 -1115
  1961. data/vendor/gems/puppet-3.7.3/lib/puppet/pops/evaluator/external_syntax_support.rb +0 -49
  1962. data/vendor/gems/puppet-3.7.3/lib/puppet/pops/evaluator/relationship_operator.rb +0 -157
  1963. data/vendor/gems/puppet-3.7.3/lib/puppet/pops/evaluator/runtime3_support.rb +0 -599
  1964. data/vendor/gems/puppet-3.7.3/lib/puppet/pops/functions/dispatch.rb +0 -76
  1965. data/vendor/gems/puppet-3.7.3/lib/puppet/pops/functions/dispatcher.rb +0 -70
  1966. data/vendor/gems/puppet-3.7.3/lib/puppet/pops/functions/function.rb +0 -77
  1967. data/vendor/gems/puppet-3.7.3/lib/puppet/pops/issue_reporter.rb +0 -87
  1968. data/vendor/gems/puppet-3.7.3/lib/puppet/pops/issues.rb +0 -548
  1969. data/vendor/gems/puppet-3.7.3/lib/puppet/pops/label_provider.rb +0 -76
  1970. data/vendor/gems/puppet-3.7.3/lib/puppet/pops/loader/base_loader.rb +0 -102
  1971. data/vendor/gems/puppet-3.7.3/lib/puppet/pops/loader/dependency_loader.rb +0 -60
  1972. data/vendor/gems/puppet-3.7.3/lib/puppet/pops/loader/loader.rb +0 -180
  1973. data/vendor/gems/puppet-3.7.3/lib/puppet/pops/loader/loader_paths.rb +0 -118
  1974. data/vendor/gems/puppet-3.7.3/lib/puppet/pops/loader/module_loaders.rb +0 -256
  1975. data/vendor/gems/puppet-3.7.3/lib/puppet/pops/loader/ruby_function_instantiator.rb +0 -34
  1976. data/vendor/gems/puppet-3.7.3/lib/puppet/pops/loader/static_loader.rb +0 -79
  1977. data/vendor/gems/puppet-3.7.3/lib/puppet/pops/loaders.rb +0 -231
  1978. data/vendor/gems/puppet-3.7.3/lib/puppet/pops/model/ast_transformer.rb +0 -643
  1979. data/vendor/gems/puppet-3.7.3/lib/puppet/pops/model/ast_tree_dumper.rb +0 -386
  1980. data/vendor/gems/puppet-3.7.3/lib/puppet/pops/model/factory.rb +0 -1055
  1981. data/vendor/gems/puppet-3.7.3/lib/puppet/pops/model/model.rb +0 -114
  1982. data/vendor/gems/puppet-3.7.3/lib/puppet/pops/model/model_label_provider.rb +0 -106
  1983. data/vendor/gems/puppet-3.7.3/lib/puppet/pops/model/model_meta.rb +0 -576
  1984. data/vendor/gems/puppet-3.7.3/lib/puppet/pops/model/model_tree_dumper.rb +0 -407
  1985. data/vendor/gems/puppet-3.7.3/lib/puppet/pops/model/tree_dumper.rb +0 -59
  1986. data/vendor/gems/puppet-3.7.3/lib/puppet/pops/parser/code_merger.rb +0 -17
  1987. data/vendor/gems/puppet-3.7.3/lib/puppet/pops/parser/egrammar.ra +0 -757
  1988. data/vendor/gems/puppet-3.7.3/lib/puppet/pops/parser/eparser.rb +0 -2655
  1989. data/vendor/gems/puppet-3.7.3/lib/puppet/pops/parser/epp_support.rb +0 -247
  1990. data/vendor/gems/puppet-3.7.3/lib/puppet/pops/parser/evaluating_parser.rb +0 -140
  1991. data/vendor/gems/puppet-3.7.3/lib/puppet/pops/parser/heredoc_support.rb +0 -139
  1992. data/vendor/gems/puppet-3.7.3/lib/puppet/pops/parser/interpolation_support.rb +0 -231
  1993. data/vendor/gems/puppet-3.7.3/lib/puppet/pops/parser/lexer2.rb +0 -696
  1994. data/vendor/gems/puppet-3.7.3/lib/puppet/pops/parser/lexer_support.rb +0 -113
  1995. data/vendor/gems/puppet-3.7.3/lib/puppet/pops/parser/locator.rb +0 -291
  1996. data/vendor/gems/puppet-3.7.3/lib/puppet/pops/parser/parser_support.rb +0 -242
  1997. data/vendor/gems/puppet-3.7.3/lib/puppet/pops/parser/slurp_support.rb +0 -95
  1998. data/vendor/gems/puppet-3.7.3/lib/puppet/pops/patterns.rb +0 -44
  1999. data/vendor/gems/puppet-3.7.3/lib/puppet/pops/types/class_loader.rb +0 -129
  2000. data/vendor/gems/puppet-3.7.3/lib/puppet/pops/types/enumeration.rb +0 -34
  2001. data/vendor/gems/puppet-3.7.3/lib/puppet/pops/types/type_calculator.rb +0 -1703
  2002. data/vendor/gems/puppet-3.7.3/lib/puppet/pops/types/type_factory.rb +0 -432
  2003. data/vendor/gems/puppet-3.7.3/lib/puppet/pops/types/type_parser.rb +0 -475
  2004. data/vendor/gems/puppet-3.7.3/lib/puppet/pops/types/types.rb +0 -397
  2005. data/vendor/gems/puppet-3.7.3/lib/puppet/pops/types/types_meta.rb +0 -223
  2006. data/vendor/gems/puppet-3.7.3/lib/puppet/pops/utils.rb +0 -142
  2007. data/vendor/gems/puppet-3.7.3/lib/puppet/pops/validation.rb +0 -432
  2008. data/vendor/gems/puppet-3.7.3/lib/puppet/pops/validation/checker4_0.rb +0 -760
  2009. data/vendor/gems/puppet-3.7.3/lib/puppet/pops/validation/validator_factory_4_0.rb +0 -30
  2010. data/vendor/gems/puppet-3.7.3/lib/puppet/pops/visitor.rb +0 -89
  2011. data/vendor/gems/puppet-3.7.3/lib/puppet/property.rb +0 -617
  2012. data/vendor/gems/puppet-3.7.3/lib/puppet/property/ensure.rb +0 -105
  2013. data/vendor/gems/puppet-3.7.3/lib/puppet/provider.rb +0 -651
  2014. data/vendor/gems/puppet-3.7.3/lib/puppet/provider/aixobject.rb +0 -392
  2015. data/vendor/gems/puppet-3.7.3/lib/puppet/provider/augeas/augeas.rb +0 -509
  2016. data/vendor/gems/puppet-3.7.3/lib/puppet/provider/command.rb +0 -25
  2017. data/vendor/gems/puppet-3.7.3/lib/puppet/provider/cron/crontab.rb +0 -260
  2018. data/vendor/gems/puppet-3.7.3/lib/puppet/provider/exec.rb +0 -100
  2019. data/vendor/gems/puppet-3.7.3/lib/puppet/provider/exec/windows.rb +0 -55
  2020. data/vendor/gems/puppet-3.7.3/lib/puppet/provider/file/posix.rb +0 -136
  2021. data/vendor/gems/puppet-3.7.3/lib/puppet/provider/file/windows.rb +0 -104
  2022. data/vendor/gems/puppet-3.7.3/lib/puppet/provider/group/aix.rb +0 -141
  2023. data/vendor/gems/puppet-3.7.3/lib/puppet/provider/group/directoryservice.rb +0 -12
  2024. data/vendor/gems/puppet-3.7.3/lib/puppet/provider/group/pw.rb +0 -48
  2025. data/vendor/gems/puppet-3.7.3/lib/puppet/provider/group/windows_adsi.rb +0 -86
  2026. data/vendor/gems/puppet-3.7.3/lib/puppet/provider/host/parsed.rb +0 -44
  2027. data/vendor/gems/puppet-3.7.3/lib/puppet/provider/macauthorization/macauthorization.rb +0 -309
  2028. data/vendor/gems/puppet-3.7.3/lib/puppet/provider/mailalias/aliases.rb +0 -39
  2029. data/vendor/gems/puppet-3.7.3/lib/puppet/provider/mount/parsed.rb +0 -123
  2030. data/vendor/gems/puppet-3.7.3/lib/puppet/provider/nameservice/directoryservice.rb +0 -588
  2031. data/vendor/gems/puppet-3.7.3/lib/puppet/provider/network_device.rb +0 -68
  2032. data/vendor/gems/puppet-3.7.3/lib/puppet/provider/package.rb +0 -52
  2033. data/vendor/gems/puppet-3.7.3/lib/puppet/provider/package/appdmg.rb +0 -106
  2034. data/vendor/gems/puppet-3.7.3/lib/puppet/provider/package/apt.rb +0 -116
  2035. data/vendor/gems/puppet-3.7.3/lib/puppet/provider/package/fink.rb +0 -79
  2036. data/vendor/gems/puppet-3.7.3/lib/puppet/provider/package/gem.rb +0 -135
  2037. data/vendor/gems/puppet-3.7.3/lib/puppet/provider/package/msi.rb +0 -125
  2038. data/vendor/gems/puppet-3.7.3/lib/puppet/provider/package/nim.rb +0 -280
  2039. data/vendor/gems/puppet-3.7.3/lib/puppet/provider/package/openbsd.rb +0 -228
  2040. data/vendor/gems/puppet-3.7.3/lib/puppet/provider/package/opkg.rb +0 -76
  2041. data/vendor/gems/puppet-3.7.3/lib/puppet/provider/package/pacman.rb +0 -234
  2042. data/vendor/gems/puppet-3.7.3/lib/puppet/provider/package/pip.rb +0 -119
  2043. data/vendor/gems/puppet-3.7.3/lib/puppet/provider/package/pkg.rb +0 -201
  2044. data/vendor/gems/puppet-3.7.3/lib/puppet/provider/package/pkgdmg.rb +0 -149
  2045. data/vendor/gems/puppet-3.7.3/lib/puppet/provider/package/pkgin.rb +0 -87
  2046. data/vendor/gems/puppet-3.7.3/lib/puppet/provider/package/portage.rb +0 -149
  2047. data/vendor/gems/puppet-3.7.3/lib/puppet/provider/package/ports.rb +0 -94
  2048. data/vendor/gems/puppet-3.7.3/lib/puppet/provider/package/portupgrade.rb +0 -241
  2049. data/vendor/gems/puppet-3.7.3/lib/puppet/provider/package/rpm.rb +0 -187
  2050. data/vendor/gems/puppet-3.7.3/lib/puppet/provider/package/rug.rb +0 -52
  2051. data/vendor/gems/puppet-3.7.3/lib/puppet/provider/package/windows.rb +0 -113
  2052. data/vendor/gems/puppet-3.7.3/lib/puppet/provider/package/windows/exe_package.rb +0 -70
  2053. data/vendor/gems/puppet-3.7.3/lib/puppet/provider/package/windows/msi_package.rb +0 -62
  2054. data/vendor/gems/puppet-3.7.3/lib/puppet/provider/package/windows/package.rb +0 -92
  2055. data/vendor/gems/puppet-3.7.3/lib/puppet/provider/package/yum.rb +0 -199
  2056. data/vendor/gems/puppet-3.7.3/lib/puppet/provider/package/yumhelper.py +0 -159
  2057. data/vendor/gems/puppet-3.7.3/lib/puppet/provider/package/zypper.rb +0 -90
  2058. data/vendor/gems/puppet-3.7.3/lib/puppet/provider/scheduled_task/win32_taskscheduler.rb +0 -558
  2059. data/vendor/gems/puppet-3.7.3/lib/puppet/provider/service/base.rb +0 -106
  2060. data/vendor/gems/puppet-3.7.3/lib/puppet/provider/service/bsd.rb +0 -51
  2061. data/vendor/gems/puppet-3.7.3/lib/puppet/provider/service/daemontools.rb +0 -194
  2062. data/vendor/gems/puppet-3.7.3/lib/puppet/provider/service/debian.rb +0 -64
  2063. data/vendor/gems/puppet-3.7.3/lib/puppet/provider/service/freebsd.rb +0 -143
  2064. data/vendor/gems/puppet-3.7.3/lib/puppet/provider/service/init.rb +0 -169
  2065. data/vendor/gems/puppet-3.7.3/lib/puppet/provider/service/launchd.rb +0 -353
  2066. data/vendor/gems/puppet-3.7.3/lib/puppet/provider/service/openbsd.rb +0 -342
  2067. data/vendor/gems/puppet-3.7.3/lib/puppet/provider/service/redhat.rb +0 -67
  2068. data/vendor/gems/puppet-3.7.3/lib/puppet/provider/service/runit.rb +0 -111
  2069. data/vendor/gems/puppet-3.7.3/lib/puppet/provider/service/smf.rb +0 -116
  2070. data/vendor/gems/puppet-3.7.3/lib/puppet/provider/service/src.rb +0 -120
  2071. data/vendor/gems/puppet-3.7.3/lib/puppet/provider/service/systemd.rb +0 -65
  2072. data/vendor/gems/puppet-3.7.3/lib/puppet/provider/service/upstart.rb +0 -355
  2073. data/vendor/gems/puppet-3.7.3/lib/puppet/provider/ssh_authorized_key/parsed.rb +0 -105
  2074. data/vendor/gems/puppet-3.7.3/lib/puppet/provider/sshkey/parsed.rb +0 -40
  2075. data/vendor/gems/puppet-3.7.3/lib/puppet/provider/user/aix.rb +0 -369
  2076. data/vendor/gems/puppet-3.7.3/lib/puppet/provider/user/directoryservice.rb +0 -685
  2077. data/vendor/gems/puppet-3.7.3/lib/puppet/provider/user/hpux.rb +0 -66
  2078. data/vendor/gems/puppet-3.7.3/lib/puppet/provider/user/pw.rb +0 -97
  2079. data/vendor/gems/puppet-3.7.3/lib/puppet/provider/user/user_role_add.rb +0 -210
  2080. data/vendor/gems/puppet-3.7.3/lib/puppet/provider/user/windows_adsi.rb +0 -99
  2081. data/vendor/gems/puppet-3.7.3/lib/puppet/provider/yumrepo/inifile.rb +0 -300
  2082. data/vendor/gems/puppet-3.7.3/lib/puppet/provider/zfs/zfs.rb +0 -83
  2083. data/vendor/gems/puppet-3.7.3/lib/puppet/provider/zone/solaris.rb +0 -361
  2084. data/vendor/gems/puppet-3.7.3/lib/puppet/provider/zpool/zpool.rb +0 -120
  2085. data/vendor/gems/puppet-3.7.3/lib/puppet/rails.rb +0 -139
  2086. data/vendor/gems/puppet-3.7.3/lib/puppet/rails/benchmark.rb +0 -63
  2087. data/vendor/gems/puppet-3.7.3/lib/puppet/rails/database/001_add_created_at_to_all_tables.rb +0 -13
  2088. data/vendor/gems/puppet-3.7.3/lib/puppet/rails/database/002_remove_duplicated_index_on_all_tables.rb +0 -13
  2089. data/vendor/gems/puppet-3.7.3/lib/puppet/rails/database/003_add_environment_to_host.rb +0 -9
  2090. data/vendor/gems/puppet-3.7.3/lib/puppet/rails/database/004_add_inventory_service_tables.rb +0 -36
  2091. data/vendor/gems/puppet-3.7.3/lib/puppet/rails/database/schema.rb +0 -136
  2092. data/vendor/gems/puppet-3.7.3/lib/puppet/rails/fact_name.rb +0 -7
  2093. data/vendor/gems/puppet-3.7.3/lib/puppet/rails/fact_value.rb +0 -10
  2094. data/vendor/gems/puppet-3.7.3/lib/puppet/rails/host.rb +0 -258
  2095. data/vendor/gems/puppet-3.7.3/lib/puppet/rails/inventory_fact.rb +0 -5
  2096. data/vendor/gems/puppet-3.7.3/lib/puppet/rails/inventory_node.rb +0 -43
  2097. data/vendor/gems/puppet-3.7.3/lib/puppet/rails/param_name.rb +0 -25
  2098. data/vendor/gems/puppet-3.7.3/lib/puppet/rails/param_value.rb +0 -74
  2099. data/vendor/gems/puppet-3.7.3/lib/puppet/rails/puppet_tag.rb +0 -10
  2100. data/vendor/gems/puppet-3.7.3/lib/puppet/rails/resource.rb +0 -235
  2101. data/vendor/gems/puppet-3.7.3/lib/puppet/rails/resource_tag.rb +0 -26
  2102. data/vendor/gems/puppet-3.7.3/lib/puppet/rails/source_file.rb +0 -8
  2103. data/vendor/gems/puppet-3.7.3/lib/puppet/reference/configuration.rb +0 -73
  2104. data/vendor/gems/puppet-3.7.3/lib/puppet/reference/indirection.rb +0 -71
  2105. data/vendor/gems/puppet-3.7.3/lib/puppet/reference/metaparameter.rb +0 -44
  2106. data/vendor/gems/puppet-3.7.3/lib/puppet/reference/providers.rb +0 -119
  2107. data/vendor/gems/puppet-3.7.3/lib/puppet/reference/report.rb +0 -23
  2108. data/vendor/gems/puppet-3.7.3/lib/puppet/reference/type.rb +0 -116
  2109. data/vendor/gems/puppet-3.7.3/lib/puppet/relationship.rb +0 -103
  2110. data/vendor/gems/puppet-3.7.3/lib/puppet/reports.rb +0 -89
  2111. data/vendor/gems/puppet-3.7.3/lib/puppet/reports/rrdgraph.rb +0 -128
  2112. data/vendor/gems/puppet-3.7.3/lib/puppet/reports/tagmail.rb +0 -179
  2113. data/vendor/gems/puppet-3.7.3/lib/puppet/resource.rb +0 -605
  2114. data/vendor/gems/puppet-3.7.3/lib/puppet/resource/catalog.rb +0 -554
  2115. data/vendor/gems/puppet-3.7.3/lib/puppet/resource/status.rb +0 -155
  2116. data/vendor/gems/puppet-3.7.3/lib/puppet/resource/type.rb +0 -413
  2117. data/vendor/gems/puppet-3.7.3/lib/puppet/resource/type_collection.rb +0 -230
  2118. data/vendor/gems/puppet-3.7.3/lib/puppet/run.rb +0 -109
  2119. data/vendor/gems/puppet-3.7.3/lib/puppet/settings.rb +0 -1442
  2120. data/vendor/gems/puppet-3.7.3/lib/puppet/settings/base_setting.rb +0 -195
  2121. data/vendor/gems/puppet-3.7.3/lib/puppet/settings/config_file.rb +0 -139
  2122. data/vendor/gems/puppet-3.7.3/lib/puppet/settings/duration_setting.rb +0 -32
  2123. data/vendor/gems/puppet-3.7.3/lib/puppet/settings/environment_conf.rb +0 -175
  2124. data/vendor/gems/puppet-3.7.3/lib/puppet/settings/file_setting.rb +0 -234
  2125. data/vendor/gems/puppet-3.7.3/lib/puppet/settings/ttl_setting.rb +0 -48
  2126. data/vendor/gems/puppet-3.7.3/lib/puppet/ssl/certificate.rb +0 -65
  2127. data/vendor/gems/puppet-3.7.3/lib/puppet/ssl/certificate_authority/interface.rb +0 -178
  2128. data/vendor/gems/puppet-3.7.3/lib/puppet/ssl/certificate_factory.rb +0 -219
  2129. data/vendor/gems/puppet-3.7.3/lib/puppet/ssl/certificate_request.rb +0 -299
  2130. data/vendor/gems/puppet-3.7.3/lib/puppet/ssl/certificate_signer.rb +0 -22
  2131. data/vendor/gems/puppet-3.7.3/lib/puppet/ssl/configuration.rb +0 -64
  2132. data/vendor/gems/puppet-3.7.3/lib/puppet/ssl/host.rb +0 -372
  2133. data/vendor/gems/puppet-3.7.3/lib/puppet/ssl/inventory.rb +0 -55
  2134. data/vendor/gems/puppet-3.7.3/lib/puppet/ssl/oids.rb +0 -78
  2135. data/vendor/gems/puppet-3.7.3/lib/puppet/ssl/validator/default_validator.rb +0 -175
  2136. data/vendor/gems/puppet-3.7.3/lib/puppet/status.rb +0 -45
  2137. data/vendor/gems/puppet-3.7.3/lib/puppet/test/test_helper.rb +0 -243
  2138. data/vendor/gems/puppet-3.7.3/lib/puppet/transaction.rb +0 -370
  2139. data/vendor/gems/puppet-3.7.3/lib/puppet/transaction/additional_resource_generator.rb +0 -126
  2140. data/vendor/gems/puppet-3.7.3/lib/puppet/transaction/event.rb +0 -107
  2141. data/vendor/gems/puppet-3.7.3/lib/puppet/transaction/event_manager.rb +0 -122
  2142. data/vendor/gems/puppet-3.7.3/lib/puppet/transaction/report.rb +0 -383
  2143. data/vendor/gems/puppet-3.7.3/lib/puppet/transaction/resource_harness.rb +0 -251
  2144. data/vendor/gems/puppet-3.7.3/lib/puppet/type.rb +0 -2452
  2145. data/vendor/gems/puppet-3.7.3/lib/puppet/type/augeas.rb +0 -201
  2146. data/vendor/gems/puppet-3.7.3/lib/puppet/type/cron.rb +0 -488
  2147. data/vendor/gems/puppet-3.7.3/lib/puppet/type/exec.rb +0 -592
  2148. data/vendor/gems/puppet-3.7.3/lib/puppet/type/file.rb +0 -933
  2149. data/vendor/gems/puppet-3.7.3/lib/puppet/type/file/content.rb +0 -241
  2150. data/vendor/gems/puppet-3.7.3/lib/puppet/type/file/ensure.rb +0 -189
  2151. data/vendor/gems/puppet-3.7.3/lib/puppet/type/file/mode.rb +0 -168
  2152. data/vendor/gems/puppet-3.7.3/lib/puppet/type/file/selcontext.rb +0 -124
  2153. data/vendor/gems/puppet-3.7.3/lib/puppet/type/file/source.rb +0 -259
  2154. data/vendor/gems/puppet-3.7.3/lib/puppet/type/file/target.rb +0 -87
  2155. data/vendor/gems/puppet-3.7.3/lib/puppet/type/filebucket.rb +0 -122
  2156. data/vendor/gems/puppet-3.7.3/lib/puppet/type/group.rb +0 -188
  2157. data/vendor/gems/puppet-3.7.3/lib/puppet/type/host.rb +0 -86
  2158. data/vendor/gems/puppet-3.7.3/lib/puppet/type/interface.rb +0 -116
  2159. data/vendor/gems/puppet-3.7.3/lib/puppet/type/k5login.rb +0 -88
  2160. data/vendor/gems/puppet-3.7.3/lib/puppet/type/macauthorization.rb +0 -167
  2161. data/vendor/gems/puppet-3.7.3/lib/puppet/type/mailalias.rb +0 -48
  2162. data/vendor/gems/puppet-3.7.3/lib/puppet/type/maillist.rb +0 -62
  2163. data/vendor/gems/puppet-3.7.3/lib/puppet/type/mount.rb +0 -286
  2164. data/vendor/gems/puppet-3.7.3/lib/puppet/type/notify.rb +0 -44
  2165. data/vendor/gems/puppet-3.7.3/lib/puppet/type/package.rb +0 -466
  2166. data/vendor/gems/puppet-3.7.3/lib/puppet/type/resources.rb +0 -187
  2167. data/vendor/gems/puppet-3.7.3/lib/puppet/type/router.rb +0 -17
  2168. data/vendor/gems/puppet-3.7.3/lib/puppet/type/schedule.rb +0 -469
  2169. data/vendor/gems/puppet-3.7.3/lib/puppet/type/scheduled_task.rb +0 -169
  2170. data/vendor/gems/puppet-3.7.3/lib/puppet/type/selboolean.rb +0 -26
  2171. data/vendor/gems/puppet-3.7.3/lib/puppet/type/service.rb +0 -234
  2172. data/vendor/gems/puppet-3.7.3/lib/puppet/type/ssh_authorized_key.rb +0 -153
  2173. data/vendor/gems/puppet-3.7.3/lib/puppet/type/sshkey.rb +0 -73
  2174. data/vendor/gems/puppet-3.7.3/lib/puppet/type/stage.rb +0 -27
  2175. data/vendor/gems/puppet-3.7.3/lib/puppet/type/tidy.rb +0 -324
  2176. data/vendor/gems/puppet-3.7.3/lib/puppet/type/user.rb +0 -698
  2177. data/vendor/gems/puppet-3.7.3/lib/puppet/type/yumrepo.rb +0 -363
  2178. data/vendor/gems/puppet-3.7.3/lib/puppet/type/zfs.rb +0 -150
  2179. data/vendor/gems/puppet-3.7.3/lib/puppet/type/zone.rb +0 -382
  2180. data/vendor/gems/puppet-3.7.3/lib/puppet/type/zpool.rb +0 -91
  2181. data/vendor/gems/puppet-3.7.3/lib/puppet/util.rb +0 -554
  2182. data/vendor/gems/puppet-3.7.3/lib/puppet/util/autoload.rb +0 -231
  2183. data/vendor/gems/puppet-3.7.3/lib/puppet/util/cacher.rb +0 -74
  2184. data/vendor/gems/puppet-3.7.3/lib/puppet/util/checksums.rb +0 -202
  2185. data/vendor/gems/puppet-3.7.3/lib/puppet/util/classgen.rb +0 -236
  2186. data/vendor/gems/puppet-3.7.3/lib/puppet/util/colors.rb +0 -217
  2187. data/vendor/gems/puppet-3.7.3/lib/puppet/util/command_line.rb +0 -199
  2188. data/vendor/gems/puppet-3.7.3/lib/puppet/util/errors.rb +0 -106
  2189. data/vendor/gems/puppet-3.7.3/lib/puppet/util/execution.rb +0 -327
  2190. data/vendor/gems/puppet-3.7.3/lib/puppet/util/feature.rb +0 -97
  2191. data/vendor/gems/puppet-3.7.3/lib/puppet/util/fileparsing.rb +0 -376
  2192. data/vendor/gems/puppet-3.7.3/lib/puppet/util/http_proxy.rb +0 -65
  2193. data/vendor/gems/puppet-3.7.3/lib/puppet/util/inline_docs.rb +0 -26
  2194. data/vendor/gems/puppet-3.7.3/lib/puppet/util/instrumentation.rb +0 -152
  2195. data/vendor/gems/puppet-3.7.3/lib/puppet/util/instrumentation/data.rb +0 -46
  2196. data/vendor/gems/puppet-3.7.3/lib/puppet/util/instrumentation/indirection_probe.rb +0 -41
  2197. data/vendor/gems/puppet-3.7.3/lib/puppet/util/instrumentation/instrumentable.rb +0 -136
  2198. data/vendor/gems/puppet-3.7.3/lib/puppet/util/instrumentation/listener.rb +0 -72
  2199. data/vendor/gems/puppet-3.7.3/lib/puppet/util/instrumentation/listeners/log.rb +0 -23
  2200. data/vendor/gems/puppet-3.7.3/lib/puppet/util/instrumentation/listeners/performance.rb +0 -24
  2201. data/vendor/gems/puppet-3.7.3/lib/puppet/util/log.rb +0 -343
  2202. data/vendor/gems/puppet-3.7.3/lib/puppet/util/log/destinations.rb +0 -232
  2203. data/vendor/gems/puppet-3.7.3/lib/puppet/util/log/rate_limited_logger.rb +0 -40
  2204. data/vendor/gems/puppet-3.7.3/lib/puppet/util/logging.rb +0 -181
  2205. data/vendor/gems/puppet-3.7.3/lib/puppet/util/metric.rb +0 -210
  2206. data/vendor/gems/puppet-3.7.3/lib/puppet/util/monkey_patches.rb +0 -225
  2207. data/vendor/gems/puppet-3.7.3/lib/puppet/util/monkey_patches/lines.rb +0 -13
  2208. data/vendor/gems/puppet-3.7.3/lib/puppet/util/network_device/base.rb +0 -27
  2209. data/vendor/gems/puppet-3.7.3/lib/puppet/util/network_device/cisco/device.rb +0 -267
  2210. data/vendor/gems/puppet-3.7.3/lib/puppet/util/network_device/cisco/interface.rb +0 -82
  2211. data/vendor/gems/puppet-3.7.3/lib/puppet/util/network_device/config.rb +0 -93
  2212. data/vendor/gems/puppet-3.7.3/lib/puppet/util/network_device/transport/ssh.rb +0 -122
  2213. data/vendor/gems/puppet-3.7.3/lib/puppet/util/network_device/transport/telnet.rb +0 -44
  2214. data/vendor/gems/puppet-3.7.3/lib/puppet/util/plugins.rb +0 -82
  2215. data/vendor/gems/puppet-3.7.3/lib/puppet/util/profiler.rb +0 -53
  2216. data/vendor/gems/puppet-3.7.3/lib/puppet/util/profiler/aggregate.rb +0 -85
  2217. data/vendor/gems/puppet-3.7.3/lib/puppet/util/profiler/around_profiler.rb +0 -67
  2218. data/vendor/gems/puppet-3.7.3/lib/puppet/util/pson.rb +0 -13
  2219. data/vendor/gems/puppet-3.7.3/lib/puppet/util/queue.rb +0 -96
  2220. data/vendor/gems/puppet-3.7.3/lib/puppet/util/queue/stomp.rb +0 -60
  2221. data/vendor/gems/puppet-3.7.3/lib/puppet/util/rails/cache_accumulator.rb +0 -65
  2222. data/vendor/gems/puppet-3.7.3/lib/puppet/util/rails/collection_merger.rb +0 -17
  2223. data/vendor/gems/puppet-3.7.3/lib/puppet/util/rails/reference_serializer.rb +0 -32
  2224. data/vendor/gems/puppet-3.7.3/lib/puppet/util/rdoc.rb +0 -96
  2225. data/vendor/gems/puppet-3.7.3/lib/puppet/util/resource_template.rb +0 -61
  2226. data/vendor/gems/puppet-3.7.3/lib/puppet/util/retryaction.rb +0 -47
  2227. data/vendor/gems/puppet-3.7.3/lib/puppet/util/run_mode.rb +0 -82
  2228. data/vendor/gems/puppet-3.7.3/lib/puppet/util/selinux.rb +0 -222
  2229. data/vendor/gems/puppet-3.7.3/lib/puppet/util/ssl.rb +0 -53
  2230. data/vendor/gems/puppet-3.7.3/lib/puppet/util/suidmanager.rb +0 -191
  2231. data/vendor/gems/puppet-3.7.3/lib/puppet/util/tag_set.rb +0 -41
  2232. data/vendor/gems/puppet-3.7.3/lib/puppet/util/tagging.rb +0 -56
  2233. data/vendor/gems/puppet-3.7.3/lib/puppet/util/warnings.rb +0 -32
  2234. data/vendor/gems/puppet-3.7.3/lib/puppet/util/windows.rb +0 -28
  2235. data/vendor/gems/puppet-3.7.3/lib/puppet/util/windows/access_control_entry.rb +0 -84
  2236. data/vendor/gems/puppet-3.7.3/lib/puppet/util/windows/access_control_list.rb +0 -113
  2237. data/vendor/gems/puppet-3.7.3/lib/puppet/util/windows/adsi.rb +0 -430
  2238. data/vendor/gems/puppet-3.7.3/lib/puppet/util/windows/api_types.rb +0 -255
  2239. data/vendor/gems/puppet-3.7.3/lib/puppet/util/windows/com.rb +0 -224
  2240. data/vendor/gems/puppet-3.7.3/lib/puppet/util/windows/error.rb +0 -83
  2241. data/vendor/gems/puppet-3.7.3/lib/puppet/util/windows/file.rb +0 -401
  2242. data/vendor/gems/puppet-3.7.3/lib/puppet/util/windows/process.rb +0 -354
  2243. data/vendor/gems/puppet-3.7.3/lib/puppet/util/windows/registry.rb +0 -80
  2244. data/vendor/gems/puppet-3.7.3/lib/puppet/util/windows/root_certs.rb +0 -108
  2245. data/vendor/gems/puppet-3.7.3/lib/puppet/util/windows/security.rb +0 -920
  2246. data/vendor/gems/puppet-3.7.3/lib/puppet/util/windows/security_descriptor.rb +0 -62
  2247. data/vendor/gems/puppet-3.7.3/lib/puppet/util/windows/sid.rb +0 -162
  2248. data/vendor/gems/puppet-3.7.3/lib/puppet/util/windows/taskscheduler.rb +0 -1241
  2249. data/vendor/gems/puppet-3.7.3/lib/puppet/util/windows/user.rb +0 -292
  2250. data/vendor/gems/puppet-3.7.3/lib/puppet/util/zaml.rb +0 -419
  2251. data/vendor/gems/puppet-3.7.3/lib/puppet/vendor/load_rgen.rb +0 -1
  2252. data/vendor/gems/puppet-3.7.3/lib/puppet/vendor/load_safe_yaml.rb +0 -1
  2253. data/vendor/gems/puppet-3.7.3/lib/puppet/vendor/pathspec/LICENSE +0 -201
  2254. data/vendor/gems/puppet-3.7.3/lib/puppet/vendor/pathspec/README.md +0 -53
  2255. data/vendor/gems/puppet-3.7.3/lib/puppet/vendor/require_vendored.rb +0 -9
  2256. data/vendor/gems/puppet-3.7.3/lib/puppet/vendor/rgen/README.rdoc +0 -78
  2257. data/vendor/gems/puppet-3.7.3/lib/puppet/vendor/safe_yaml/CHANGES.md +0 -104
  2258. data/vendor/gems/puppet-3.7.3/lib/puppet/vendor/safe_yaml/Gemfile +0 -11
  2259. data/vendor/gems/puppet-3.7.3/lib/puppet/vendor/safe_yaml/LICENSE.txt +0 -22
  2260. data/vendor/gems/puppet-3.7.3/lib/puppet/vendor/safe_yaml/PUPPET_README.md +0 -6
  2261. data/vendor/gems/puppet-3.7.3/lib/puppet/vendor/safe_yaml/README.md +0 -179
  2262. data/vendor/gems/puppet-3.7.3/lib/puppet/vendor/safe_yaml/Rakefile +0 -6
  2263. data/vendor/gems/puppet-3.7.3/lib/puppet/vendor/safe_yaml/lib/safe_yaml.rb +0 -253
  2264. data/vendor/gems/puppet-3.7.3/lib/puppet/vendor/safe_yaml/lib/safe_yaml/deep.rb +0 -34
  2265. data/vendor/gems/puppet-3.7.3/lib/puppet/vendor/safe_yaml/lib/safe_yaml/parse/date.rb +0 -27
  2266. data/vendor/gems/puppet-3.7.3/lib/puppet/vendor/safe_yaml/lib/safe_yaml/parse/hexadecimal.rb +0 -12
  2267. data/vendor/gems/puppet-3.7.3/lib/puppet/vendor/safe_yaml/lib/safe_yaml/parse/sexagesimal.rb +0 -26
  2268. data/vendor/gems/puppet-3.7.3/lib/puppet/vendor/safe_yaml/lib/safe_yaml/psych_handler.rb +0 -92
  2269. data/vendor/gems/puppet-3.7.3/lib/puppet/vendor/safe_yaml/lib/safe_yaml/psych_resolver.rb +0 -52
  2270. data/vendor/gems/puppet-3.7.3/lib/puppet/vendor/safe_yaml/lib/safe_yaml/resolver.rb +0 -94
  2271. data/vendor/gems/puppet-3.7.3/lib/puppet/vendor/safe_yaml/lib/safe_yaml/safe_to_ruby_visitor.rb +0 -17
  2272. data/vendor/gems/puppet-3.7.3/lib/puppet/vendor/safe_yaml/lib/safe_yaml/syck_hack.rb +0 -36
  2273. data/vendor/gems/puppet-3.7.3/lib/puppet/vendor/safe_yaml/lib/safe_yaml/syck_node_monkeypatch.rb +0 -43
  2274. data/vendor/gems/puppet-3.7.3/lib/puppet/vendor/safe_yaml/lib/safe_yaml/syck_resolver.rb +0 -38
  2275. data/vendor/gems/puppet-3.7.3/lib/puppet/vendor/safe_yaml/lib/safe_yaml/transform.rb +0 -41
  2276. data/vendor/gems/puppet-3.7.3/lib/puppet/vendor/safe_yaml/lib/safe_yaml/transform/to_boolean.rb +0 -21
  2277. data/vendor/gems/puppet-3.7.3/lib/puppet/vendor/safe_yaml/lib/safe_yaml/transform/to_date.rb +0 -11
  2278. data/vendor/gems/puppet-3.7.3/lib/puppet/vendor/safe_yaml/lib/safe_yaml/transform/to_float.rb +0 -33
  2279. data/vendor/gems/puppet-3.7.3/lib/puppet/vendor/safe_yaml/lib/safe_yaml/transform/to_integer.rb +0 -25
  2280. data/vendor/gems/puppet-3.7.3/lib/puppet/vendor/safe_yaml/lib/safe_yaml/transform/to_nil.rb +0 -18
  2281. data/vendor/gems/puppet-3.7.3/lib/puppet/vendor/safe_yaml/lib/safe_yaml/transform/to_symbol.rb +0 -13
  2282. data/vendor/gems/puppet-3.7.3/lib/puppet/vendor/safe_yaml/lib/safe_yaml/transform/transformation_map.rb +0 -47
  2283. data/vendor/gems/puppet-3.7.3/lib/puppet/vendor/safe_yaml/lib/safe_yaml/version.rb +0 -3
  2284. data/vendor/gems/puppet-3.7.3/lib/puppet/vendor/safe_yaml/run_specs_all_ruby_versions.sh +0 -21
  2285. data/vendor/gems/puppet-3.7.3/lib/puppet/vendor/safe_yaml/safe_yaml.gemspec +0 -18
  2286. data/vendor/gems/puppet-3.7.3/lib/puppet/vendor/safe_yaml/spec/exploit.1.9.2.yaml +0 -2
  2287. data/vendor/gems/puppet-3.7.3/lib/puppet/vendor/safe_yaml/spec/exploit.1.9.3.yaml +0 -2
  2288. data/vendor/gems/puppet-3.7.3/lib/puppet/vendor/safe_yaml/spec/psych_resolver_spec.rb +0 -10
  2289. data/vendor/gems/puppet-3.7.3/lib/puppet/vendor/safe_yaml/spec/resolver_specs.rb +0 -250
  2290. data/vendor/gems/puppet-3.7.3/lib/puppet/vendor/safe_yaml/spec/safe_yaml_spec.rb +0 -702
  2291. data/vendor/gems/puppet-3.7.3/lib/puppet/vendor/safe_yaml/spec/spec_helper.rb +0 -18
  2292. data/vendor/gems/puppet-3.7.3/lib/puppet/vendor/safe_yaml/spec/support/exploitable_back_door.rb +0 -29
  2293. data/vendor/gems/puppet-3.7.3/lib/puppet/vendor/safe_yaml/spec/syck_resolver_spec.rb +0 -10
  2294. data/vendor/gems/puppet-3.7.3/lib/puppet/vendor/safe_yaml/spec/transform/base64_spec.rb +0 -11
  2295. data/vendor/gems/puppet-3.7.3/lib/puppet/vendor/safe_yaml/spec/transform/to_date_spec.rb +0 -34
  2296. data/vendor/gems/puppet-3.7.3/lib/puppet/vendor/safe_yaml/spec/transform/to_float_spec.rb +0 -42
  2297. data/vendor/gems/puppet-3.7.3/lib/puppet/vendor/safe_yaml/spec/transform/to_integer_spec.rb +0 -59
  2298. data/vendor/gems/puppet-3.7.3/lib/puppet/vendor/safe_yaml/spec/transform/to_symbol_spec.rb +0 -49
  2299. data/vendor/gems/puppet-3.7.3/lib/puppet/vendor/safe_yaml_patches.rb +0 -9
  2300. data/vendor/gems/puppet-3.7.3/lib/puppet/vendor/semantic/lib/semantic/dependency/module_release.rb +0 -46
  2301. data/vendor/gems/puppet-3.7.3/lib/puppet/version.rb +0 -89
  2302. data/vendor/gems/puppet-3.7.3/lib/puppetx.rb +0 -89
  2303. data/vendor/gems/puppet-3.7.3/lib/puppetx/puppet/bindings_scheme_handler.rb +0 -130
  2304. data/vendor/gems/puppet-3.7.3/lib/puppetx/puppet/syntax_checker.rb +0 -91
  2305. data/vendor/gems/puppet-3.7.3/lib/puppetx/puppetlabs/syntax_checkers/json.rb +0 -37
  2306. data/vendor/gems/puppet-3.7.3/lib/semver.rb +0 -124
  2307. data/vendor/gems/puppet-3.7.3/puppet-3.7.3.gemspec +0 -3648
  2308. data/vendor/gems/puppet-3.7.3/tasks/benchmark.rake +0 -144
  2309. data/vendor/gems/puppet-3.7.3/tasks/ci.rake +0 -29
  2310. data/vendor/gems/puppet-3.7.3/tasks/manpages.rake +0 -84
  2311. data/vendor/gems/puppet-3.7.3/tasks/memwalk.rake +0 -195
  2312. data/vendor/gems/puppet-3.7.3/tasks/parallel.rake +0 -408
  2313. data/vendor/gems/puppet-3.7.3/tasks/parser.rake +0 -19
  2314. data/vendor/gems/puppet-3.7.3/tasks/yard.rake +0 -59
@@ -0,0 +1,94 @@
1
+ # Handler of Epp call/evaluation from the epp and inline_epp functions
2
+ #
3
+ class Puppet::Pops::Evaluator::EppEvaluator
4
+
5
+ def self.inline_epp(scope, epp_source, template_args = nil)
6
+ unless epp_source.is_a?(String)
7
+ raise ArgumentError, "inline_epp(): the first argument must be a String with the epp source text, got a #{epp_source.class}"
8
+ end
9
+
10
+ # Parse and validate the source
11
+ parser = Puppet::Pops::Parser::EvaluatingParser::EvaluatingEppParser.new
12
+ begin
13
+ result = parser.parse_string(epp_source, 'inlined-epp-text')
14
+ rescue Puppet::ParseError => e
15
+ raise ArgumentError, "inline_epp(): Invalid EPP: #{e.message}"
16
+ end
17
+
18
+ # Evaluate (and check template_args)
19
+ evaluate(parser, 'inline_epp', scope, false, result, template_args)
20
+ end
21
+
22
+ def self.epp(scope, file, env_name, template_args = nil)
23
+ unless file.is_a?(String)
24
+ raise ArgumentError, "epp(): the first argument must be a String with the filename, got a #{file.class}"
25
+ end
26
+
27
+ unless Puppet::FileSystem.exist?(file)
28
+ unless file =~ /\.epp$/
29
+ file = file + ".epp"
30
+ end
31
+ end
32
+
33
+ scope.debug "Retrieving epp template #{file}"
34
+ template_file = Puppet::Parser::Files.find_template(file, env_name)
35
+ if template_file.nil? || !Puppet::FileSystem.exist?(template_file)
36
+ raise Puppet::ParseError, "Could not find template '#{file}'"
37
+ end
38
+
39
+ # Parse and validate the source
40
+ parser = Puppet::Pops::Parser::EvaluatingParser::EvaluatingEppParser.new
41
+ begin
42
+ result = parser.parse_file(template_file)
43
+ rescue Puppet::ParseError => e
44
+ raise ArgumentError, "epp(): Invalid EPP: #{e.message}"
45
+ end
46
+
47
+ # Evaluate (and check template_args)
48
+ evaluate(parser, 'epp', scope, true, result, template_args)
49
+ end
50
+
51
+ private
52
+
53
+ def self.evaluate(parser, func_name, scope, use_global_scope_only, parse_result, template_args)
54
+ template_args, template_args_set = handle_template_args(func_name, template_args)
55
+
56
+ body = parse_result.body
57
+ unless body.is_a?(Puppet::Pops::Model::LambdaExpression)
58
+ raise ArgumentError, "#{func_name}(): the parser did not produce a LambdaExpression, got '#{body.class}'"
59
+ end
60
+ unless body.body.is_a?(Puppet::Pops::Model::EppExpression)
61
+ raise ArgumentError, "#{func_name}(): the parser did not produce an EppExpression, got '#{body.body.class}'"
62
+ end
63
+ unless parse_result.definitions.empty?
64
+ raise ArgumentError, "#{func_name}(): The EPP template contains illegal expressions (definitions)"
65
+ end
66
+
67
+ parameters_specified = body.body.parameters_specified
68
+ if parameters_specified || template_args_set
69
+ enforce_parameters = parameters_specified
70
+ else
71
+ enforce_parameters = true
72
+ end
73
+
74
+ # inline_epp() logic sees all local variables, epp() all global
75
+ if use_global_scope_only
76
+ scope.with_global_scope do |global_scope|
77
+ parser.closure(body, global_scope).call_by_name(template_args, enforce_parameters)
78
+ end
79
+ else
80
+ parser.closure(body, scope).call_by_name(template_args, enforce_parameters)
81
+ end
82
+ end
83
+
84
+ def self.handle_template_args(func_name, template_args)
85
+ if template_args.nil?
86
+ [{}, false]
87
+ else
88
+ unless template_args.is_a?(Hash)
89
+ raise ArgumentError, "#{func_name}(): the template_args must be a Hash, got a #{template_args.class}"
90
+ end
91
+ [template_args, true]
92
+ end
93
+ end
94
+ end
@@ -0,0 +1,1218 @@
1
+ require 'rgen/ecore/ecore'
2
+ require 'puppet/parser/scope'
3
+ require 'puppet/pops/evaluator/compare_operator'
4
+ require 'puppet/pops/evaluator/relationship_operator'
5
+ require 'puppet/pops/evaluator/access_operator'
6
+ require 'puppet/pops/evaluator/closure'
7
+ require 'puppet/pops/evaluator/external_syntax_support'
8
+ require 'puppet/pops/types/iterable'
9
+
10
+ module Puppet::Pops
11
+ module Evaluator
12
+ # This implementation of {Evaluator} performs evaluation using the puppet 3.x runtime system
13
+ # in a manner largely compatible with Puppet 3.x, but adds new features and introduces constraints.
14
+ #
15
+ # The evaluation uses _polymorphic dispatch_ which works by dispatching to the first found method named after
16
+ # the class or one of its super-classes. The EvaluatorImpl itself mainly deals with evaluation (it currently
17
+ # also handles assignment), and it uses a delegation pattern to more specialized handlers of some operators
18
+ # that in turn use polymorphic dispatch; this to not clutter EvaluatorImpl with too much responsibility).
19
+ #
20
+ # Since a pattern is used, only the main entry points are fully documented. The parameters _o_ and _scope_ are
21
+ # the same in all the polymorphic methods, (the type of the parameter _o_ is reflected in the method's name;
22
+ # either the actual class, or one of its super classes). The _scope_ parameter is always the scope in which
23
+ # the evaluation takes place. If nothing else is mentioned, the return is always the result of evaluation.
24
+ #
25
+ # See {Visitable} and {Visitor} for more information about
26
+ # polymorphic calling.
27
+ #
28
+ class EvaluatorImpl
29
+ include Utils
30
+
31
+ # Provides access to the Puppet 3.x runtime (scope, etc.)
32
+ # This separation has been made to make it easier to later migrate the evaluator to an improved runtime.
33
+ #
34
+ include Runtime3Support
35
+ include ExternalSyntaxSupport
36
+
37
+ EMPTY_STRING = ''.freeze
38
+ COMMA_SEPARATOR = ', '.freeze
39
+
40
+ # Reference to Issues name space makes it easier to refer to issues
41
+ # (Issues are shared with the validator).
42
+ #
43
+ Issues = Issues
44
+
45
+ def initialize
46
+ @@eval_visitor ||= Visitor.new(self, "eval", 1, 1)
47
+ @@lvalue_visitor ||= Visitor.new(self, "lvalue", 1, 1)
48
+ @@assign_visitor ||= Visitor.new(self, "assign", 3, 3)
49
+ @@string_visitor ||= Visitor.new(self, "string", 1, 1)
50
+
51
+ @@type_calculator ||= Types::TypeCalculator.new()
52
+ @@type_parser ||= Types::TypeParser.new()
53
+
54
+ @@compare_operator ||= CompareOperator.new()
55
+ @@relationship_operator ||= RelationshipOperator.new()
56
+
57
+ # Use null migration checker unless given in context
58
+ @migration_checker = (Puppet.lookup(:migration_checker) { Migration::MigrationChecker.new() })
59
+ end
60
+
61
+ # @api private
62
+ def type_calculator
63
+ @@type_calculator
64
+ end
65
+
66
+ # Evaluates the given _target_ object in the given scope.
67
+ #
68
+ # @overload evaluate(target, scope)
69
+ # @param target [Object] evaluation target - see methods on the pattern assign_TYPE for actual supported types.
70
+ # @param scope [Object] the runtime specific scope class where evaluation should take place
71
+ # @return [Object] the result of the evaluation
72
+ #
73
+ # @api public
74
+ #
75
+ def evaluate(target, scope)
76
+ begin
77
+ @@eval_visitor.visit_this_1(self, target, scope)
78
+
79
+ rescue SemanticError => e
80
+ # A raised issue may not know the semantic target, use errors call stack, but fill in the
81
+ # rest from a supplied semantic object, or the target instruction if there is not semantic
82
+ # object.
83
+ #
84
+ fail(e.issue, e.semantic || target, e.options, e)
85
+
86
+ rescue Puppet::PreformattedError => e
87
+ # Already formatted with location information, and with the wanted call stack.
88
+ # Note this is currently a specialized ParseError, so rescue-order is important
89
+ #
90
+ raise e
91
+
92
+ rescue Puppet::ParseError => e
93
+ # ParseError may be raised in ruby code without knowing the location
94
+ # in puppet code.
95
+ # Accept a ParseError that has file or line information available
96
+ # as an error that should be used verbatim. (Tests typically run without
97
+ # setting a file name).
98
+ # ParseError can supply an original - it is impossible to determine which
99
+ # call stack that should be propagated, using the ParseError's backtrace.
100
+ #
101
+ if e.file || e.line
102
+ raise e
103
+ else
104
+ # Since it had no location information, treat it as user intended a general purpose
105
+ # error. Pass on its call stack.
106
+ fail(Issues::RUNTIME_ERROR, target, {:detail => e.message}, e)
107
+ end
108
+
109
+
110
+ rescue Puppet::Error => e
111
+ # PuppetError has the ability to wrap an exception, if so, use the wrapped exception's
112
+ # call stack instead
113
+ fail(Issues::RUNTIME_ERROR, target, {:detail => e.message}, e.original || e)
114
+
115
+ rescue StandardError => e
116
+ # All other errors, use its message and call stack
117
+ fail(Issues::RUNTIME_ERROR, target, {:detail => e.message}, e)
118
+ end
119
+ end
120
+
121
+ # Assigns the given _value_ to the given _target_. The additional argument _o_ is the instruction that
122
+ # produced the target/value tuple and it is used to set the origin of the result.
123
+ #
124
+ # @param target [Object] assignment target - see methods on the pattern assign_TYPE for actual supported types.
125
+ # @param value [Object] the value to assign to `target`
126
+ # @param o [Model::PopsObject] originating instruction
127
+ # @param scope [Object] the runtime specific scope where evaluation should take place
128
+ #
129
+ # @api private
130
+ #
131
+ def assign(target, value, o, scope)
132
+ @@assign_visitor.visit_this_3(self, target, value, o, scope)
133
+ end
134
+
135
+ # Computes a value that can be used as the LHS in an assignment.
136
+ # @param o [Object] the expression to evaluate as a left (assignable) entity
137
+ # @param scope [Object] the runtime specific scope where evaluation should take place
138
+ #
139
+ # @api private
140
+ #
141
+ def lvalue(o, scope)
142
+ @@lvalue_visitor.visit_this_1(self, o, scope)
143
+ end
144
+
145
+ # Produces a String representation of the given object _o_ as used in interpolation.
146
+ # @param o [Object] the expression of which a string representation is wanted
147
+ # @param scope [Object] the runtime specific scope where evaluation should take place
148
+ #
149
+ # @api public
150
+ #
151
+ def string(o, scope)
152
+ @@string_visitor.visit_this_1(self, o, scope)
153
+ end
154
+
155
+ # Evaluate a BlockExpression in a new scope with variables bound to the
156
+ # given values.
157
+ #
158
+ # @param scope [Puppet::Parser::Scope] the parent scope
159
+ # @param variable_bindings [Hash{String => Object}] the variable names and values to bind (names are keys, bound values are values)
160
+ # @param block [Model::BlockExpression] the sequence of expressions to evaluate in the new scope
161
+ #
162
+ # @api private
163
+ #
164
+ def evaluate_block_with_bindings(scope, variable_bindings, block_expr)
165
+ scope.with_guarded_scope do
166
+ # change to create local scope_from - cannot give it file and line -
167
+ # that is the place of the call, not "here"
168
+ create_local_scope_from(variable_bindings, scope)
169
+ evaluate(block_expr, scope)
170
+ end
171
+ end
172
+
173
+ protected
174
+
175
+ def lvalue_VariableExpression(o, scope)
176
+ # evaluate the name
177
+ evaluate(o.expr, scope)
178
+ end
179
+
180
+ # Catches all illegal lvalues
181
+ #
182
+ def lvalue_Object(o, scope)
183
+ fail(Issues::ILLEGAL_ASSIGNMENT, o)
184
+ end
185
+
186
+ # An array is assignable if all entries are lvalues
187
+ def lvalue_LiteralList(o, scope)
188
+ o.values.map {|x| lvalue(x, scope) }
189
+ end
190
+
191
+ # Assign value to named variable.
192
+ # The '$' sign is never part of the name.
193
+ # @example In Puppet DSL
194
+ # $name = value
195
+ # @param name [String] name of variable without $
196
+ # @param value [Object] value to assign to the variable
197
+ # @param o [Model::PopsObject] originating instruction
198
+ # @param scope [Object] the runtime specific scope where evaluation should take place
199
+ # @return [value<Object>]
200
+ #
201
+ def assign_String(name, value, o, scope)
202
+ if name =~ /::/
203
+ fail(Issues::CROSS_SCOPE_ASSIGNMENT, o.left_expr, {:name => name})
204
+ end
205
+ set_variable(name, value, o, scope)
206
+ value
207
+ end
208
+
209
+ def assign_Numeric(n, value, o, scope)
210
+ fail(Issues::ILLEGAL_NUMERIC_ASSIGNMENT, o.left_expr, {:varname => n.to_s})
211
+ end
212
+
213
+ # Catches all illegal assignment (e.g. 1 = 2, {'a'=>1} = 2, etc)
214
+ #
215
+ def assign_Object(name, value, o, scope)
216
+ fail(Issues::ILLEGAL_ASSIGNMENT, o)
217
+ end
218
+
219
+ def assign_Array(lvalues, values, o, scope)
220
+ if values.is_a?(Hash)
221
+ lvalues.map do |lval|
222
+ assign(lval,
223
+ values.fetch(lval) {|k| fail(Issues::MISSING_MULTI_ASSIGNMENT_KEY, o, :key =>k)},
224
+ o, scope)
225
+ end
226
+ elsif values.is_a?(Puppet::Pops::Types::PHostClassType)
227
+ # assign variables from class variables
228
+ # lookup class resource and return one or more parameter values
229
+ # TODO: behavior when class_name is nil
230
+ resource = find_resource(scope, 'class', values.class_name)
231
+ if resource
232
+ base_name = "#{values.class_name.downcase}::"
233
+ idx = -1
234
+ result = lvalues.map do |lval|
235
+ idx += 1
236
+ varname = "#{base_name}#{lval}"
237
+ if variable_exists?(varname, scope)
238
+ result = get_variable_value(varname, o, scope)
239
+ assign(lval, result, o, scope)
240
+ else
241
+ fail(Puppet::Pops::Issues::MISSING_MULTI_ASSIGNMENT_VARIABLE, o.left_expr.values[idx], {:name => varname})
242
+ end
243
+ end
244
+ else
245
+ fail(Issues::UNKNOWN_RESOURCE, o.right_expr, {:type_name => 'Class', :title => values.class_name})
246
+ end
247
+
248
+ else
249
+ values = [values] unless values.is_a?(Array)
250
+ if values.size != lvalues.size
251
+ fail(Issues::ILLEGAL_MULTI_ASSIGNMENT_SIZE, o, :expected =>lvalues.size, :actual => values.size)
252
+ end
253
+ lvalues.zip(values).map { |lval, val| assign(lval, val, o, scope) }
254
+ end
255
+ end
256
+
257
+ def eval_Factory(o, scope)
258
+ evaluate(o.current, scope)
259
+ end
260
+
261
+ # Evaluates any object not evaluated to something else to itself.
262
+ def eval_Object o, scope
263
+ o
264
+ end
265
+
266
+ # Allows nil to be used as a Nop, Evaluates to nil
267
+ def eval_NilClass(o, scope)
268
+ nil
269
+ end
270
+
271
+ # Evaluates Nop to nil.
272
+ def eval_Nop(o, scope)
273
+ nil
274
+ end
275
+
276
+ # Captures all LiteralValues not handled elsewhere.
277
+ #
278
+ def eval_LiteralValue(o, scope)
279
+ o.value
280
+ end
281
+
282
+ # Reserved Words fail to evaluate
283
+ #
284
+ def eval_ReservedWord(o, scope)
285
+ if !o.future
286
+ fail(Issues::RESERVED_WORD, o, {:word => o.word})
287
+ else
288
+ o.word
289
+ end
290
+ end
291
+
292
+ def eval_LiteralDefault(o, scope)
293
+ :default
294
+ end
295
+
296
+ def eval_LiteralUndef(o, scope)
297
+ nil
298
+ end
299
+
300
+ # A QualifiedReference (i.e. a capitalized qualified name such as Foo, or Foo::Bar) evaluates to a PType
301
+ #
302
+ def eval_QualifiedReference(o, scope)
303
+ type = @@type_parser.interpret(o, scope)
304
+ fail(Issues::UNKNOWN_RESOURCE_TYPE, o, {:type_name => type.type_string }) if type.is_a?(Types::PTypeReferenceType)
305
+ type
306
+ end
307
+
308
+ def eval_NotExpression(o, scope)
309
+ ! is_true?(evaluate(o.expr, scope), o.expr)
310
+ end
311
+
312
+ def eval_UnaryMinusExpression(o, scope)
313
+ - coerce_numeric(evaluate(o.expr, scope), o, scope)
314
+ end
315
+
316
+ def eval_UnfoldExpression(o, scope)
317
+ candidate = evaluate(o.expr, scope)
318
+ case candidate
319
+ when nil
320
+ []
321
+ when Array
322
+ candidate
323
+ when Hash
324
+ candidate.to_a
325
+ when Puppet::Pops::Types::Iterator
326
+ candidate.to_a
327
+ else
328
+ # turns anything else into an array (so result can be unfolded)
329
+ [candidate]
330
+ end
331
+ end
332
+
333
+ # Abstract evaluation, returns array [left, right] with the evaluated result of left_expr and
334
+ # right_expr
335
+ # @return <Array<Object, Object>> array with result of evaluating left and right expressions
336
+ #
337
+ def eval_BinaryExpression o, scope
338
+ [ evaluate(o.left_expr, scope), evaluate(o.right_expr, scope) ]
339
+ end
340
+
341
+ # Evaluates assignment with operators =, +=, -= and
342
+ #
343
+ # @example Puppet DSL
344
+ # $a = 1
345
+ # $a += 1
346
+ # $a -= 1
347
+ #
348
+ def eval_AssignmentExpression(o, scope)
349
+ name = lvalue(o.left_expr, scope)
350
+ value = evaluate(o.right_expr, scope)
351
+
352
+ if o.operator == :'='
353
+ assign(name, value, o, scope)
354
+ else
355
+ fail(Issues::UNSUPPORTED_OPERATOR, o, {:operator => o.operator})
356
+ end
357
+ value
358
+ end
359
+
360
+ ARITHMETIC_OPERATORS = [:'+', :'-', :'*', :'/', :'%', :'<<', :'>>']
361
+ COLLECTION_OPERATORS = [:'+', :'-', :'<<']
362
+
363
+ # Handles binary expression where lhs and rhs are array/hash or numeric and operator is +, - , *, % / << >>
364
+ #
365
+ def eval_ArithmeticExpression(o, scope)
366
+ left = evaluate(o.left_expr, scope)
367
+ right = evaluate(o.right_expr, scope)
368
+
369
+ begin
370
+ result = calculate(left, right, o.operator, o.left_expr, o.right_expr, scope)
371
+ rescue ArgumentError => e
372
+ fail(Issues::RUNTIME_ERROR, o, {:detail => e.message}, e)
373
+ end
374
+ result
375
+ end
376
+
377
+
378
+ # Handles binary expression where lhs and rhs are array/hash or numeric and operator is +, - , *, % / << >>
379
+ #
380
+ def calculate(left, right, operator, left_o, right_o, scope)
381
+ unless ARITHMETIC_OPERATORS.include?(operator)
382
+ fail(Issues::UNSUPPORTED_OPERATOR, left_o.eContainer, {:operator => o.operator})
383
+ end
384
+
385
+ if (left.is_a?(Array) || left.is_a?(Hash)) && COLLECTION_OPERATORS.include?(operator)
386
+ # Handle operation on collections
387
+ case operator
388
+ when :'+'
389
+ concatenate(left, right)
390
+ when :'-'
391
+ delete(left, right)
392
+ when :'<<'
393
+ unless left.is_a?(Array)
394
+ fail(Issues::OPERATOR_NOT_APPLICABLE, left_o, {:operator => operator, :left_value => left})
395
+ end
396
+ left + [right]
397
+ end
398
+ else
399
+ # Handle operation on numeric
400
+ left = coerce_numeric(left, left_o, scope)
401
+ right = coerce_numeric(right, right_o, scope)
402
+ begin
403
+ if operator == :'%' && (left.is_a?(Float) || right.is_a?(Float))
404
+ # Deny users the fun of seeing severe rounding errors and confusing results
405
+ fail(Issues::OPERATOR_NOT_APPLICABLE, left_o, {:operator => operator, :left_value => left})
406
+ end
407
+ result = left.send(operator, right)
408
+ rescue NoMethodError => e
409
+ fail(Issues::OPERATOR_NOT_APPLICABLE, left_o, {:operator => operator, :left_value => left})
410
+ rescue ZeroDivisionError => e
411
+ fail(Issues::DIV_BY_ZERO, right_o)
412
+ end
413
+ if result == Float::INFINITY || result == -Float::INFINITY
414
+ fail(Issues::RESULT_IS_INFINITY, left_o, {:operator => operator})
415
+ end
416
+ result
417
+ end
418
+ end
419
+
420
+ def eval_EppExpression(o, scope)
421
+ scope["@epp"] = []
422
+ evaluate(o.body, scope)
423
+ result = scope["@epp"].join
424
+ result
425
+ end
426
+
427
+ def eval_RenderStringExpression(o, scope)
428
+ scope["@epp"] << o.value.dup
429
+ nil
430
+ end
431
+
432
+ def eval_RenderExpression(o, scope)
433
+ scope["@epp"] << string(evaluate(o.expr, scope), scope)
434
+ nil
435
+ end
436
+
437
+ # Evaluates Puppet DSL ->, ~>, <-, and <~
438
+ def eval_RelationshipExpression(o, scope)
439
+ # First level evaluation, reduction to basic data types or puppet types, the relationship operator then translates this
440
+ # to the final set of references (turning strings into references, which can not naturally be done by the main evaluator since
441
+ # all strings should not be turned into references.
442
+ #
443
+ real = eval_BinaryExpression(o, scope)
444
+ @@relationship_operator.evaluate(real, o, scope)
445
+ end
446
+
447
+ # Evaluates x[key, key, ...]
448
+ #
449
+ def eval_AccessExpression(o, scope)
450
+ left = evaluate(o.left_expr, scope)
451
+ keys = o.keys || []
452
+ if left.is_a?(Types::PHostClassType)
453
+ # Evaluate qualified references without errors no undefined types
454
+ keys = keys.map {|key| key.is_a?(Model::QualifiedReference) ? @@type_parser.interpret(key, scope) : evaluate(key, scope) }
455
+ else
456
+ keys = keys.map {|key| evaluate(key, scope) }
457
+ # Resource[File] becomes File
458
+ return keys[0] if Types::PResourceType::DEFAULT == left && keys.size == 1 && keys[0].is_a?(Types::PResourceType)
459
+ end
460
+ AccessOperator.new(o).access(left, scope, *keys)
461
+ end
462
+
463
+ # Evaluates <, <=, >, >=, and ==
464
+ #
465
+ def eval_ComparisonExpression o, scope
466
+ left = evaluate(o.left_expr, scope)
467
+ right = evaluate(o.right_expr, scope)
468
+
469
+ begin
470
+ # Left is a type
471
+ if left.is_a?(Types::PAnyType)
472
+ case o.operator
473
+ when :'=='
474
+ @@type_calculator.equals(left,right)
475
+
476
+ when :'!='
477
+ !@@type_calculator.equals(left,right)
478
+
479
+ when :'<'
480
+ # left can be assigned to right, but they are not equal
481
+ @@type_calculator.assignable?(right, left) && ! @@type_calculator.equals(left,right)
482
+ when :'<='
483
+ # left can be assigned to right
484
+ @@type_calculator.assignable?(right, left)
485
+ when :'>'
486
+ # right can be assigned to left, but they are not equal
487
+ @@type_calculator.assignable?(left,right) && ! @@type_calculator.equals(left,right)
488
+ when :'>='
489
+ # right can be assigned to left
490
+ @@type_calculator.assignable?(left, right)
491
+ else
492
+ fail(Issues::UNSUPPORTED_OPERATOR, o, {:operator => o.operator})
493
+ end
494
+ else
495
+ case o.operator
496
+ when :'=='
497
+ @@compare_operator.equals(left,right)
498
+ when :'!='
499
+ ! @@compare_operator.equals(left,right)
500
+ when :'<'
501
+ @@compare_operator.compare(left,right) < 0
502
+ when :'<='
503
+ @@compare_operator.compare(left,right) <= 0
504
+ when :'>'
505
+ @@compare_operator.compare(left,right) > 0
506
+ when :'>='
507
+ @@compare_operator.compare(left,right) >= 0
508
+ else
509
+ fail(Issues::UNSUPPORTED_OPERATOR, o, {:operator => o.operator})
510
+ end
511
+ end
512
+ rescue ArgumentError => e
513
+ fail(Issues::COMPARISON_NOT_POSSIBLE, o, {
514
+ :operator => o.operator,
515
+ :left_value => left,
516
+ :right_value => right,
517
+ :detail => e.message}, e)
518
+ end
519
+ end
520
+
521
+ # Evaluates matching expressions with type, string or regexp rhs expression.
522
+ # If RHS is a type, the =~ matches compatible (instance? of) type.
523
+ #
524
+ # @example
525
+ # x =~ /abc.*/
526
+ # @example
527
+ # x =~ "abc.*/"
528
+ # @example
529
+ # y = "abc"
530
+ # x =~ "${y}.*"
531
+ # @example
532
+ # [1,2,3] =~ Array[Integer[1,10]]
533
+ #
534
+ # Note that a string is not instance? of Regexp, only Regular expressions are.
535
+ # The Pattern type should instead be used as it is specified as subtype of String.
536
+ #
537
+ # @return [Boolean] if a match was made or not. Also sets $0..$n to matchdata in current scope.
538
+ #
539
+ def eval_MatchExpression o, scope
540
+ left = evaluate(o.left_expr, scope)
541
+ pattern = evaluate(o.right_expr, scope)
542
+
543
+ # matches RHS types as instance of for all types except a parameterized Regexp[R]
544
+ if pattern.is_a?(Types::PAnyType)
545
+ # evaluate as instance? of type check
546
+ matched = pattern.instance?(left)
547
+ # convert match result to Boolean true, or false
548
+ return o.operator == :'=~' ? !!matched : !matched
549
+ end
550
+
551
+ if pattern.is_a?(Semantic::VersionRange)
552
+ # evaluate if range includes version
553
+ matched = Types::PSemVerRangeType.include?(pattern, left)
554
+ return o.operator == :'=~' ? matched : !matched
555
+ end
556
+
557
+ begin
558
+ pattern = Regexp.new(pattern) unless pattern.is_a?(Regexp)
559
+ rescue StandardError => e
560
+ fail(Issues::MATCH_NOT_REGEXP, o.right_expr, {:detail => e.message}, e)
561
+ end
562
+ unless left.is_a?(String)
563
+ fail(Issues::MATCH_NOT_STRING, o.left_expr, {:left_value => left})
564
+ end
565
+
566
+ matched = pattern.match(left) # nil, or MatchData
567
+ set_match_data(matched,scope) # creates ephemeral
568
+
569
+ # convert match result to Boolean true, or false
570
+ o.operator == :'=~' ? !!matched : !matched
571
+ end
572
+
573
+ # Evaluates Puppet DSL `in` expression
574
+ #
575
+ def eval_InExpression o, scope
576
+ left = evaluate(o.left_expr, scope)
577
+ right = evaluate(o.right_expr, scope)
578
+ @@compare_operator.include?(right, left, scope)
579
+ end
580
+
581
+ # @example
582
+ # $a and $b
583
+ # b is only evaluated if a is true
584
+ #
585
+ def eval_AndExpression o, scope
586
+ is_true?(evaluate(o.left_expr, scope), o.left_expr) ? is_true?(evaluate(o.right_expr, scope), o.right_expr) : false
587
+ end
588
+
589
+ # @example
590
+ # a or b
591
+ # b is only evaluated if a is false
592
+ #
593
+ def eval_OrExpression o, scope
594
+ is_true?(evaluate(o.left_expr, scope), o.left_expr) ? true : is_true?(evaluate(o.right_expr, scope), o.right_expr)
595
+ end
596
+
597
+ # Evaluates each entry of the literal list and creates a new Array
598
+ # Supports unfolding of entries
599
+ # @return [Array] with the evaluated content
600
+ #
601
+ def eval_LiteralList o, scope
602
+ unfold([], o.values, scope)
603
+ end
604
+
605
+ # Evaluates each entry of the literal hash and creates a new Hash.
606
+ # @return [Hash] with the evaluated content
607
+ #
608
+ def eval_LiteralHash o, scope
609
+ # optimized
610
+ o.entries.reduce({}) {|h,entry| h[evaluate(entry.key, scope)] = evaluate(entry.value, scope); h }
611
+ end
612
+
613
+ # Evaluates all statements and produces the last evaluated value
614
+ #
615
+ def eval_BlockExpression o, scope
616
+ r = nil
617
+ o.statements.each {|s| r = evaluate(s, scope)}
618
+ r
619
+ end
620
+
621
+ # Performs optimized search over case option values, lazily evaluating each
622
+ # until there is a match. If no match is found, the case expression's default expression
623
+ # is evaluated (it may be nil or Nop if there is no default, thus producing nil).
624
+ # If an option matches, the result of evaluating that option is returned.
625
+ # @return [Object, nil] what a matched option returns, or nil if nothing matched.
626
+ #
627
+ def eval_CaseExpression(o, scope)
628
+ # memo scope level before evaluating test - don't want a match in the case test to leak $n match vars
629
+ # to expressions after the case expression.
630
+ #
631
+ scope.with_guarded_scope do
632
+ test = evaluate(o.test, scope)
633
+
634
+ result = nil
635
+ the_default = nil
636
+ if o.options.find do |co|
637
+ # the first case option that matches
638
+ if co.values.find do |c|
639
+ c = unwind_parentheses(c)
640
+ case c
641
+ when Model::LiteralDefault
642
+ the_default = co.then_expr
643
+ next false
644
+ when Model::UnfoldExpression
645
+ # not ideal for error reporting, since it is not known which unfolded result
646
+ # that caused an error - the entire unfold expression is blamed (i.e. the var c, passed to is_match?)
647
+ evaluate(c, scope).any? {|v| is_match?(test, v, c, co, scope) }
648
+ else
649
+ is_match?(test, evaluate(c, scope), c, co, scope)
650
+ end
651
+ end
652
+ result = evaluate(co.then_expr, scope)
653
+ true # the option was picked
654
+ end
655
+ end
656
+ result # an option was picked, and produced a result
657
+ else
658
+ evaluate(the_default, scope) # evaluate the default (should be a nop/nil) if there is no default).
659
+ end
660
+ end
661
+ end
662
+
663
+ # Evaluates a CollectExpression by creating a collector transformer. The transformer
664
+ # will evaulate the collection, create the appropriate collector, and hand it off
665
+ # to the compiler to collect the resources specified by the query.
666
+ #
667
+ def eval_CollectExpression o, scope
668
+ if o.query.is_a?(Model::ExportedQuery)
669
+ optionally_fail(Issues::RT_NO_STORECONFIGS, o);
670
+ end
671
+ CollectorTransformer.new().transform(o,scope)
672
+ end
673
+
674
+ def eval_ParenthesizedExpression(o, scope)
675
+ evaluate(o.expr, scope)
676
+ end
677
+
678
+ # This evaluates classes, nodes and resource type definitions to nil, since 3x:
679
+ # instantiates them, and evaluates their parameters and body. This is achieved by
680
+ # providing bridge AST classes in Puppet::Parser::AST::PopsBridge that bridges a
681
+ # Pops Program and a Pops Expression.
682
+ #
683
+ # Since all Definitions are handled "out of band", they are treated as a no-op when
684
+ # evaluated.
685
+ #
686
+ def eval_Definition(o, scope)
687
+ nil
688
+ end
689
+
690
+ def eval_Program(o, scope)
691
+ evaluate(o.body, scope)
692
+ end
693
+
694
+ # Produces Array[PAnyType], an array of resource references
695
+ #
696
+ def eval_ResourceExpression(o, scope)
697
+ exported = o.exported
698
+ virtual = o.virtual
699
+
700
+ # Get the type name
701
+ type_name =
702
+ if (tmp_name = o.type_name).is_a?(Model::QualifiedName)
703
+ tmp_name.value # already validated as a name
704
+ else
705
+ type_name_acceptable =
706
+ case o.type_name
707
+ when Model::QualifiedReference
708
+ true
709
+ when Model::AccessExpression
710
+ o.type_name.left_expr.is_a?(Model::QualifiedReference)
711
+ end
712
+
713
+ evaluated_name = evaluate(tmp_name, scope)
714
+ unless type_name_acceptable
715
+ actual = type_calculator.generalize(type_calculator.infer(evaluated_name)).to_s
716
+ fail(Issues::ILLEGAL_RESOURCE_TYPE, o.type_name, {:actual => actual})
717
+ end
718
+
719
+ # must be a CatalogEntry subtype
720
+ case evaluated_name
721
+ when Types::PHostClassType
722
+ unless evaluated_name.class_name.nil?
723
+ fail(Issues::ILLEGAL_RESOURCE_TYPE, o.type_name, {:actual=> evaluated_name.to_s})
724
+ end
725
+ 'class'
726
+
727
+ when Types::PResourceType
728
+ unless evaluated_name.title().nil?
729
+ fail(Issues::ILLEGAL_RESOURCE_TYPE, o.type_name, {:actual=> evaluated_name.to_s})
730
+ end
731
+ evaluated_name.type_name # assume validated
732
+
733
+ when Types::PTypeReferenceType
734
+ fail(Issues::UNKNOWN_RESOURCE_TYPE, o.type_string, {:type_name => evaluated_name.to_s})
735
+
736
+ else
737
+ actual = type_calculator.generalize(type_calculator.infer(evaluated_name)).to_s
738
+ fail(Issues::ILLEGAL_RESOURCE_TYPE, o.type_name, {:actual=>actual})
739
+ end
740
+ end
741
+
742
+ # This is a runtime check - the model is valid, but will have runtime issues when evaluated
743
+ # and storeconfigs is not set.
744
+ if(o.exported)
745
+ optionally_fail(Issues::RT_NO_STORECONFIGS_EXPORT, o);
746
+ end
747
+
748
+ titles_to_body = {}
749
+ body_to_titles = {}
750
+ body_to_params = {}
751
+
752
+ # titles are evaluated before attribute operations
753
+ o.bodies.map do | body |
754
+ titles = evaluate(body.title, scope)
755
+
756
+ # Title may not be nil
757
+ # Titles may be given as an array, it is ok if it is empty, but not if it contains nil entries
758
+ # Titles may not be an empty String
759
+ # Titles must be unique in the same resource expression
760
+ # There may be a :default entry, its entries apply with lower precedence
761
+ #
762
+ if titles.nil?
763
+ fail(Issues::MISSING_TITLE, body.title)
764
+ end
765
+ titles = [titles].flatten
766
+
767
+ # Check types of evaluated titles and duplicate entries
768
+ titles.each_with_index do |title, index|
769
+ if title.nil?
770
+ fail(Issues::MISSING_TITLE_AT, body.title, {:index => index})
771
+
772
+ elsif !title.is_a?(String) && title != :default
773
+ actual = type_calculator.generalize(type_calculator.infer(title)).to_s
774
+ fail(Issues::ILLEGAL_TITLE_TYPE_AT, body.title, {:index => index, :actual => actual})
775
+
776
+ elsif title == EMPTY_STRING
777
+ fail(Issues::EMPTY_STRING_TITLE_AT, body.title, {:index => index})
778
+
779
+ elsif titles_to_body[title]
780
+ fail(Issues::DUPLICATE_TITLE, o, {:title => title})
781
+ end
782
+ titles_to_body[title] = body
783
+ end
784
+
785
+ # Do not create a real instance from the :default case
786
+ titles.delete(:default)
787
+
788
+ body_to_titles[body] = titles
789
+
790
+ # Store evaluated parameters in a hash associated with the body, but do not yet create resource
791
+ # since the entry containing :defaults may appear later
792
+ body_to_params[body] = body.operations.reduce({}) do |param_memo, op|
793
+ params = evaluate(op, scope)
794
+ params = [params] unless params.is_a?(Array)
795
+ params.each do |p|
796
+ if param_memo.include? p.name
797
+ fail(Issues::DUPLICATE_ATTRIBUTE, o, {:attribute => p.name})
798
+ end
799
+ param_memo[p.name] = p
800
+ end
801
+ param_memo
802
+ end
803
+ end
804
+
805
+ # Titles and Operations have now been evaluated and resources can be created
806
+ # Each production is a PResource, and an array of all is produced as the result of
807
+ # evaluating the ResourceExpression.
808
+ #
809
+ defaults_hash = body_to_params[titles_to_body[:default]] || {}
810
+ o.bodies.map do | body |
811
+ titles = body_to_titles[body]
812
+ params = defaults_hash.merge(body_to_params[body] || {})
813
+ create_resources(o, scope, virtual, exported, type_name, titles, params.values)
814
+ end.flatten.compact
815
+ end
816
+
817
+ def eval_ResourceOverrideExpression(o, scope)
818
+ evaluated_resources = evaluate(o.resources, scope)
819
+ evaluated_parameters = o.operations.map { |op| evaluate(op, scope) }
820
+ create_resource_overrides(o, scope, [evaluated_resources].flatten, evaluated_parameters)
821
+ evaluated_resources
822
+ end
823
+
824
+ # Produces 3x parameter
825
+ def eval_AttributeOperation(o, scope)
826
+ create_resource_parameter(o, scope, o.attribute_name, evaluate(o.value_expr, scope), o.operator)
827
+ end
828
+
829
+ def eval_AttributesOperation(o, scope)
830
+ hashed_params = evaluate(o.expr, scope)
831
+ unless hashed_params.is_a?(Hash)
832
+ actual = type_calculator.generalize(type_calculator.infer(hashed_params)).to_s
833
+ fail(Issues::TYPE_MISMATCH, o.expr, {:expected => 'Hash', :actual => actual})
834
+ end
835
+ hashed_params.map { |k,v| create_resource_parameter(o, scope, k, v, :'=>') }
836
+ end
837
+
838
+ # Sets default parameter values for a type, produces the type
839
+ #
840
+ def eval_ResourceDefaultsExpression(o, scope)
841
+ type = evaluate(o.type_ref, scope)
842
+ type_name =
843
+ if type.is_a?(Types::PResourceType) && !type.type_name.nil? && type.title.nil?
844
+ type.type_name # assume it is a valid name
845
+ else
846
+ actual = type_calculator.generalize(type_calculator.infer(type))
847
+ fail(Issues::ILLEGAL_RESOURCE_TYPE, o.type_ref, {:actual => actual})
848
+ end
849
+ evaluated_parameters = o.operations.map {|op| evaluate(op, scope) }
850
+ create_resource_defaults(o, scope, type_name, evaluated_parameters)
851
+ # Produce the type
852
+ type
853
+ end
854
+
855
+ # Evaluates function call by name.
856
+ #
857
+ def eval_CallNamedFunctionExpression(o, scope)
858
+ # If LHS is a type (i.e. Integer, or Integer[...]
859
+ # the call is taken as an instantiation of the given type
860
+ #
861
+ functor = o.functor_expr
862
+ if functor.is_a?(Model::QualifiedReference) ||
863
+ functor.is_a?(Model::AccessExpression) && functor.left_expr.is_a?(Model::QualifiedReference)
864
+ # instantiation
865
+ type = evaluate(functor, scope)
866
+ return call_function_with_block('new', unfold([type], o.arguments || [], scope), o, scope)
867
+ end
868
+
869
+ # The functor expression is not evaluated, it is not possible to select the function to call
870
+ # via an expression like $a()
871
+ case functor
872
+ when Model::QualifiedName
873
+ # ok
874
+ when Model::RenderStringExpression
875
+ # helpful to point out this easy to make Epp error
876
+ fail(Issues::ILLEGAL_EPP_PARAMETERS, o)
877
+ else
878
+ fail(Issues::ILLEGAL_EXPRESSION, o.functor_expr, {:feature=>'function name', :container => o})
879
+ end
880
+ name = o.functor_expr.value
881
+ call_function_with_block(name, unfold([], o.arguments, scope), o, scope)
882
+ end
883
+
884
+ # Evaluation of CallMethodExpression handles a NamedAccessExpression functor (receiver.function_name)
885
+ #
886
+ def eval_CallMethodExpression(o, scope)
887
+ unless o.functor_expr.is_a? Model::NamedAccessExpression
888
+ fail(Issues::ILLEGAL_EXPRESSION, o.functor_expr, {:feature=>'function accessor', :container => o})
889
+ end
890
+ receiver = unfold([], [o.functor_expr.left_expr], scope)
891
+ name = o.functor_expr.right_expr
892
+ unless name.is_a? Model::QualifiedName
893
+ fail(Issues::ILLEGAL_EXPRESSION, o.functor_expr, {:feature=>'function name', :container => o})
894
+ end
895
+ name = name.value # the string function name
896
+
897
+ obj = receiver[0]
898
+ receiver_type = Types::TypeCalculator.infer(obj)
899
+ if receiver_type.is_a?(Types::PObjectType)
900
+ member = receiver_type[name]
901
+ unless member.nil?
902
+ args = unfold([], o.arguments || [], scope)
903
+ return o.lambda.nil? ? member.invoke(obj, scope, args) : member.invoke(obj, scope, args, &proc_from_lambda(o.lambda, scope))
904
+ end
905
+ end
906
+
907
+ call_function_with_block(name, unfold(receiver, o.arguments || [], scope), o, scope)
908
+ end
909
+
910
+ def call_function_with_block(name, evaluated_arguments, o, scope)
911
+ if o.lambda.nil?
912
+ call_function(name, evaluated_arguments, o, scope)
913
+ else
914
+ call_function(name, evaluated_arguments, o, scope, &proc_from_lambda(o.lambda, scope))
915
+ end
916
+ end
917
+ private :call_function_with_block
918
+
919
+ def proc_from_lambda(lambda, scope)
920
+ closure = Closure.new(self, lambda, scope)
921
+ PuppetProc.new(closure) { |*args| closure.call(*args) }
922
+ end
923
+ private :proc_from_lambda
924
+
925
+ # @example
926
+ # $x ? { 10 => true, 20 => false, default => 0 }
927
+ #
928
+ def eval_SelectorExpression o, scope
929
+ # memo scope level before evaluating test - don't want a match in the case test to leak $n match vars
930
+ # to expressions after the selector expression.
931
+ #
932
+ scope.with_guarded_scope do
933
+ test = evaluate(o.left_expr, scope)
934
+
935
+ the_default = nil
936
+ selected = o.selectors.find do |s|
937
+ me = unwind_parentheses(s.matching_expr)
938
+ case me
939
+ when Model::LiteralDefault
940
+ the_default = s.value_expr
941
+ false
942
+ when Model::UnfoldExpression
943
+ # not ideal for error reporting, since it is not known which unfolded result
944
+ # that caused an error - the entire unfold expression is blamed (i.e. the var c, passed to is_match?)
945
+ evaluate(me, scope).any? {|v| is_match?(test, v, me, s, scope) }
946
+ else
947
+ is_match?(test, evaluate(me, scope), me, s, scope)
948
+ end
949
+ end
950
+ if selected
951
+ evaluate(selected.value_expr, scope)
952
+ elsif the_default
953
+ evaluate(the_default, scope)
954
+ else
955
+ fail(Issues::UNMATCHED_SELECTOR, o.left_expr, :param_value => test)
956
+ end
957
+ end
958
+ end
959
+
960
+ # SubLocatable is simply an expression that holds location information
961
+ def eval_SubLocatedExpression o, scope
962
+ evaluate(o.expr, scope)
963
+ end
964
+
965
+ # Evaluates Puppet DSL Heredoc
966
+ def eval_HeredocExpression o, scope
967
+ result = evaluate(o.text_expr, scope)
968
+ assert_external_syntax(scope, result, o.syntax, o.text_expr)
969
+ result
970
+ end
971
+
972
+ # Evaluates Puppet DSL `if`
973
+ def eval_IfExpression o, scope
974
+ scope.with_guarded_scope do
975
+ if is_true?(evaluate(o.test, scope), o.test)
976
+ evaluate(o.then_expr, scope)
977
+ else
978
+ evaluate(o.else_expr, scope)
979
+ end
980
+ end
981
+ end
982
+
983
+ # Evaluates Puppet DSL `unless`
984
+ def eval_UnlessExpression o, scope
985
+ scope.with_guarded_scope do
986
+ unless is_true?(evaluate(o.test, scope), o.test)
987
+ evaluate(o.then_expr, scope)
988
+ else
989
+ evaluate(o.else_expr, scope)
990
+ end
991
+ end
992
+ end
993
+
994
+ # Evaluates a variable (getting its value)
995
+ # The evaluator is lenient; any expression producing a String is used as a name
996
+ # of a variable.
997
+ #
998
+ def eval_VariableExpression o, scope
999
+ # Evaluator is not too fussy about what constitutes a name as long as the result
1000
+ # is a String and a valid variable name
1001
+ #
1002
+ name = evaluate(o.expr, scope)
1003
+
1004
+ # Should be caught by validation, but make this explicit here as well, or mysterious evaluation issues
1005
+ # may occur for some evaluation use cases.
1006
+ case name
1007
+ when String
1008
+ when Numeric
1009
+ else
1010
+ fail(Issues::ILLEGAL_VARIABLE_EXPRESSION, o.expr)
1011
+ end
1012
+ get_variable_value(name, o, scope)
1013
+ end
1014
+
1015
+ # Evaluates double quoted strings that may contain interpolation
1016
+ #
1017
+ def eval_ConcatenatedString o, scope
1018
+ o.segments.collect {|expr| string(evaluate(expr, scope), scope)}.join
1019
+ end
1020
+
1021
+
1022
+ # If the wrapped expression is a QualifiedName, it is taken as the name of a variable in scope.
1023
+ # Note that this is different from the 3.x implementation, where an initial qualified name
1024
+ # is accepted. (e.g. `"---${var + 1}---"` is legal. This implementation requires such concrete
1025
+ # syntax to be expressed in a model as `(TextExpression (+ (Variable var) 1)` - i.e. moving the decision to
1026
+ # the parser.
1027
+ #
1028
+ # Semantics; the result of an expression is turned into a string, nil is silently transformed to empty
1029
+ # string.
1030
+ # @return [String] the interpolated result
1031
+ #
1032
+ def eval_TextExpression o, scope
1033
+ if o.expr.is_a?(Model::QualifiedName)
1034
+ string(get_variable_value(o.expr.value, o, scope), scope)
1035
+ else
1036
+ string(evaluate(o.expr, scope), scope)
1037
+ end
1038
+ end
1039
+
1040
+ def string_Object(o, scope)
1041
+ o.to_s
1042
+ end
1043
+
1044
+ def string_Symbol(o, scope)
1045
+ if :undef == o # optimized comparison 1.44 vs 1.95
1046
+ EMPTY_STRING
1047
+ else
1048
+ o.to_s
1049
+ end
1050
+ end
1051
+
1052
+ def string_Array(o, scope)
1053
+ "[#{o.map {|e| string(e, scope)}.join(COMMA_SEPARATOR)}]"
1054
+ end
1055
+
1056
+ def string_Hash(o, scope)
1057
+ "{#{o.map {|k,v| "#{string(k, scope)} => #{string(v, scope)}"}.join(COMMA_SEPARATOR)}}"
1058
+ end
1059
+
1060
+ def string_Regexp(o, scope)
1061
+ "/#{o.source}/"
1062
+ end
1063
+
1064
+ def string_PAnyType(o, scope)
1065
+ o.to_s
1066
+ end
1067
+
1068
+ # Produces concatenation / merge of x and y.
1069
+ #
1070
+ # When x is an Array, y of type produces:
1071
+ #
1072
+ # * Array => concatenation `[1,2], [3,4] => [1,2,3,4]`
1073
+ # * Hash => concatenation of hash as array `[key, value, key, value, ...]`
1074
+ # * any other => concatenation of single value
1075
+ #
1076
+ # When x is a Hash, y of type produces:
1077
+ #
1078
+ # * Array => merge of array interpreted as `[key, value, key, value,...]`
1079
+ # * Hash => a merge, where entries in `y` overrides
1080
+ # * any other => error
1081
+ #
1082
+ # When x is something else, wrap it in an array first.
1083
+ #
1084
+ # When x is nil, an empty array is used instead.
1085
+ #
1086
+ # @note to concatenate an Array, nest the array - i.e. `[1,2], [[2,3]]`
1087
+ #
1088
+ # @overload concatenate(obj_x, obj_y)
1089
+ # @param obj_x [Object] object to wrap in an array and concatenate to; see other overloaded methods for return type
1090
+ # @param ary_y [Object] array to concatenate at end of `ary_x`
1091
+ # @return [Object] wraps obj_x in array before using other overloaded option based on type of obj_y
1092
+ # @overload concatenate(ary_x, ary_y)
1093
+ # @param ary_x [Array] array to concatenate to
1094
+ # @param ary_y [Array] array to concatenate at end of `ary_x`
1095
+ # @return [Array] new array with `ary_x` + `ary_y`
1096
+ # @overload concatenate(ary_x, hsh_y)
1097
+ # @param ary_x [Array] array to concatenate to
1098
+ # @param hsh_y [Hash] converted to array form, and concatenated to array
1099
+ # @return [Array] new array with `ary_x` + `hsh_y` converted to array
1100
+ # @overload concatenate (ary_x, obj_y)
1101
+ # @param ary_x [Array] array to concatenate to
1102
+ # @param obj_y [Object] non array or hash object to add to array
1103
+ # @return [Array] new array with `ary_x` + `obj_y` added as last entry
1104
+ # @overload concatenate(hsh_x, ary_y)
1105
+ # @param hsh_x [Hash] the hash to merge with
1106
+ # @param ary_y [Array] array interpreted as even numbered sequence of key, value merged with `hsh_x`
1107
+ # @return [Hash] new hash with `hsh_x` merged with `ary_y` interpreted as hash in array form
1108
+ # @overload concatenate(hsh_x, hsh_y)
1109
+ # @param hsh_x [Hash] the hash to merge to
1110
+ # @param hsh_y [Hash] hash merged with `hsh_x`
1111
+ # @return [Hash] new hash with `hsh_x` merged with `hsh_y`
1112
+ # @raise [ArgumentError] when `xxx_x` is neither an Array nor a Hash
1113
+ # @raise [ArgumentError] when `xxx_x` is a Hash, and `xxx_y` is neither Array nor Hash.
1114
+ #
1115
+ def concatenate(x, y)
1116
+ x = [x] unless x.is_a?(Array) || x.is_a?(Hash)
1117
+ case x
1118
+ when Array
1119
+ y = case y
1120
+ when Array then y
1121
+ when Hash then y.to_a
1122
+ else
1123
+ [y]
1124
+ end
1125
+ x + y # new array with concatenation
1126
+ when Hash
1127
+ y = case y
1128
+ when Hash then y
1129
+ when Array
1130
+ # Hash[[a, 1, b, 2]] => {}
1131
+ # Hash[a,1,b,2] => {a => 1, b => 2}
1132
+ # Hash[[a,1], [b,2]] => {[a,1] => [b,2]}
1133
+ # Hash[[[a,1], [b,2]]] => {a => 1, b => 2}
1134
+ # Use type calcultor to determine if array is Array[Array[?]], and if so use second form
1135
+ # of call
1136
+ t = @@type_calculator.infer(y)
1137
+ if t.element_type.is_a? Types::PArrayType
1138
+ Hash[y]
1139
+ else
1140
+ Hash[*y]
1141
+ end
1142
+ else
1143
+ raise ArgumentError.new("Can only append Array or Hash to a Hash")
1144
+ end
1145
+ x.merge y # new hash with overwrite
1146
+ else
1147
+ raise ArgumentError.new("Can only append to an Array or a Hash.")
1148
+ end
1149
+ end
1150
+
1151
+ # Produces the result x \ y (set difference)
1152
+ # When `x` is an Array, `y` is transformed to an array and then all matching elements removed from x.
1153
+ # When `x` is a Hash, all contained keys are removed from x as listed in `y` if it is an Array, or all its keys if it is a Hash.
1154
+ # The difference is returned. The given `x` and `y` are not modified by this operation.
1155
+ # @raise [ArgumentError] when `x` is neither an Array nor a Hash
1156
+ #
1157
+ def delete(x, y)
1158
+ result = x.dup
1159
+ case x
1160
+ when Array
1161
+ y = case y
1162
+ when Array then y
1163
+ when Hash then y.to_a
1164
+ else
1165
+ [y]
1166
+ end
1167
+ y.each {|e| result.delete(e) }
1168
+ when Hash
1169
+ y = case y
1170
+ when Array then y
1171
+ when Hash then y.keys
1172
+ else
1173
+ [y]
1174
+ end
1175
+ y.each {|e| result.delete(e) }
1176
+ else
1177
+ raise ArgumentError.new("Can only delete from an Array or Hash.")
1178
+ end
1179
+ result
1180
+ end
1181
+
1182
+ # Implementation of case option matching.
1183
+ #
1184
+ # This is the type of matching performed in a case option, using == for every type
1185
+ # of value except regular expression where a match is performed.
1186
+ #
1187
+ def is_match?(left, right, o, option_expr, scope)
1188
+ @@compare_operator.match(left, right, scope)
1189
+ end
1190
+
1191
+ # Maps the expression in the given array to their product except for UnfoldExpressions which are first unfolded.
1192
+ # The result is added to the given result Array.
1193
+ # @param result [Array] Where to add the result (may contain information to add to)
1194
+ # @param array [Array[Model::Expression] the expressions to map
1195
+ # @param scope [Puppet::Parser::Scope] the scope to evaluate in
1196
+ # @return [Array] the given result array with content added from the operation
1197
+ #
1198
+ def unfold(result, array, scope)
1199
+ array.each do |x|
1200
+ x = unwind_parentheses(x)
1201
+ if x.is_a?(Model::UnfoldExpression)
1202
+ result.concat(evaluate(x, scope))
1203
+ else
1204
+ result << evaluate(x, scope)
1205
+ end
1206
+ end
1207
+ result
1208
+ end
1209
+ private :unfold
1210
+
1211
+ def unwind_parentheses(o)
1212
+ return o unless o.is_a?(Model::ParenthesizedExpression)
1213
+ unwind_parentheses(o.expr)
1214
+ end
1215
+ private :unwind_parentheses
1216
+ end
1217
+ end
1218
+ end