puppet-retrospec 1.5.0 → 1.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1848) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/.gitlab-ci.yml +8 -8
  4. data/.overcommit.yml +4 -4
  5. data/.rubocop_todo.yml +4 -4
  6. data/CHANGELOG.md +14 -0
  7. data/Gemfile +2 -1
  8. data/Gemfile.lock +5 -10
  9. data/README.md +7 -69
  10. data/lib/retrospec-puppet.rb +3 -1
  11. data/lib/retrospec/plugins/v1/plugin/generators/serializers/rspec_dumper.rb +86 -36
  12. data/lib/retrospec/plugins/v1/plugin/generators/task_generator.rb +17 -19
  13. data/lib/retrospec/plugins/v1/plugin/helpers.rb +6 -0
  14. data/lib/retrospec/plugins/v1/plugin/puppet.rb +86 -16
  15. data/lib/retrospec/plugins/v1/plugin/spec_object.rb +34 -16
  16. data/lib/retrospec/plugins/v1/plugin/template_helpers.rb +12 -6
  17. data/lib/retrospec/plugins/v1/plugin/version.rb +1 -1
  18. data/puppet-retrospec.gemspec +1 -1
  19. data/spec/fixtures/fixture_modules/one_resource_module/manifests/array_param.pp +15 -0
  20. data/spec/fixtures/parameters.txt +9 -9
  21. data/spec/integration/retrospec_spec.rb +26 -6
  22. data/spec/unit/generators/acceptance_generator_spec.rb +3 -2
  23. data/spec/unit/generators/definition_generator_spec.rb +3 -3
  24. data/spec/unit/generators/hostclass_generator_spec.rb +9 -1
  25. data/spec/unit/generators/provider_generator_spec.rb +3 -3
  26. data/spec/unit/generators/resource_base_generator_spec.rb +1 -0
  27. data/spec/unit/generators/serializers/rspec_dumper_spec.rb +2 -2
  28. data/spec/unit/generators/task_generator_spec.rb +46 -0
  29. data/vendor/pup410/lib/hiera/puppet_function.rb +81 -0
  30. data/vendor/pup410/lib/hiera/scope.rb +61 -0
  31. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/hiera_puppet.rb +0 -0
  32. data/vendor/pup410/lib/puppet.rb +353 -0
  33. data/vendor/pup410/lib/puppet/agent.rb +102 -0
  34. data/vendor/pup410/lib/puppet/application.rb +478 -0
  35. data/vendor/pup410/lib/puppet/application_support.rb +57 -0
  36. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/bindings.rb +0 -0
  37. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/coercion.rb +0 -0
  38. data/vendor/pup410/lib/puppet/compilable_resource_type.rb +15 -0
  39. data/vendor/pup410/lib/puppet/configurer.rb +446 -0
  40. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/configurer/downloader.rb +0 -0
  41. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/configurer/downloader_factory.rb +0 -0
  42. data/vendor/pup410/lib/puppet/configurer/fact_handler.rb +37 -0
  43. data/vendor/pup410/lib/puppet/configurer/plugin_handler.rb +25 -0
  44. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/confine.rb +0 -0
  45. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/confine/any.rb +0 -0
  46. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/confine/exists.rb +0 -0
  47. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/confine/false.rb +0 -0
  48. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/confine/feature.rb +0 -0
  49. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/confine/true.rb +0 -0
  50. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/confine/variable.rb +0 -0
  51. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/confine_collection.rb +0 -0
  52. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/confiner.rb +0 -0
  53. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/context.rb +0 -0
  54. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/context/trusted_information.rb +0 -0
  55. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/daemon.rb +0 -0
  56. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/data_binding.rb +0 -0
  57. data/vendor/pup410/lib/puppet/data_providers.rb +34 -0
  58. data/vendor/pup410/lib/puppet/data_providers/data_adapter.rb +37 -0
  59. data/vendor/pup410/lib/puppet/data_providers/data_function_support.rb +32 -0
  60. data/vendor/pup410/lib/puppet/data_providers/function_env_data_provider.rb +26 -0
  61. data/vendor/pup410/lib/puppet/data_providers/function_module_data_provider.rb +24 -0
  62. data/vendor/pup410/lib/puppet/data_providers/hiera_config.rb +151 -0
  63. data/vendor/pup410/lib/puppet/data_providers/hiera_env_data_provider.rb +25 -0
  64. data/vendor/pup410/lib/puppet/data_providers/hiera_interpolate.rb +21 -0
  65. data/vendor/pup410/lib/puppet/data_providers/hiera_module_data_provider.rb +30 -0
  66. data/vendor/pup410/lib/puppet/data_providers/hiera_support.rb +42 -0
  67. data/vendor/pup410/lib/puppet/data_providers/json_data_provider_factory.rb +38 -0
  68. data/vendor/pup410/lib/puppet/data_providers/yaml_data_provider_factory.rb +40 -0
  69. data/vendor/pup410/lib/puppet/defaults.rb +2011 -0
  70. data/vendor/pup410/lib/puppet/environments.rb +492 -0
  71. data/vendor/pup410/lib/puppet/error.rb +100 -0
  72. data/vendor/pup410/lib/puppet/etc.rb +161 -0
  73. data/vendor/pup410/lib/puppet/external/dot.rb +326 -0
  74. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/external/nagios.rb +0 -0
  75. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/external/nagios/base.rb +0 -0
  76. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/external/nagios/grammar.ry +0 -0
  77. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/external/nagios/makefile +0 -0
  78. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/external/nagios/parser.rb +0 -0
  79. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/external/pson/common.rb +0 -0
  80. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/external/pson/pure.rb +0 -0
  81. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/external/pson/pure/generator.rb +0 -0
  82. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/external/pson/pure/parser.rb +0 -0
  83. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/external/pson/version.rb +0 -0
  84. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/face.rb +0 -0
  85. data/vendor/pup410/lib/puppet/face/ca.rb +259 -0
  86. data/vendor/pup410/lib/puppet/face/catalog.rb +130 -0
  87. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/face/catalog/select.rb +0 -0
  88. data/vendor/pup410/lib/puppet/face/certificate.rb +165 -0
  89. data/vendor/pup410/lib/puppet/face/certificate_request.rb +56 -0
  90. data/vendor/pup410/lib/puppet/face/certificate_revocation_list.rb +56 -0
  91. data/vendor/pup410/lib/puppet/face/config.rb +119 -0
  92. data/vendor/pup410/lib/puppet/face/epp.rb +527 -0
  93. data/vendor/pup410/lib/puppet/face/facts.rb +38 -0
  94. data/vendor/pup410/lib/puppet/face/file.rb +50 -0
  95. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/face/file/download.rb +0 -0
  96. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/face/file/store.rb +0 -0
  97. data/vendor/pup410/lib/puppet/face/generate.rb +64 -0
  98. data/vendor/pup410/lib/puppet/face/help.rb +201 -0
  99. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/face/help/action.erb +0 -0
  100. data/vendor/pup410/lib/puppet/face/help/face.erb +114 -0
  101. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/face/help/global.erb +0 -0
  102. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/face/help/man.erb +0 -0
  103. data/vendor/pup410/lib/puppet/face/key.rb +16 -0
  104. data/vendor/pup410/lib/puppet/face/man.rb +101 -0
  105. data/vendor/pup410/lib/puppet/face/module.rb +19 -0
  106. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/face/module/build.rb +0 -0
  107. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/face/module/changes.rb +0 -0
  108. data/vendor/pup410/lib/puppet/face/module/generate.rb +251 -0
  109. data/vendor/pup410/lib/puppet/face/module/install.rb +145 -0
  110. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/face/module/list.rb +0 -0
  111. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/face/module/search.rb +0 -0
  112. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/face/module/uninstall.rb +0 -0
  113. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/face/module/upgrade.rb +0 -0
  114. data/vendor/pup410/lib/puppet/face/node.rb +42 -0
  115. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/face/node/clean.rb +0 -0
  116. data/vendor/pup410/lib/puppet/face/parser.rb +161 -0
  117. data/vendor/pup410/lib/puppet/face/plugin.rb +58 -0
  118. data/vendor/pup410/lib/puppet/face/report.rb +54 -0
  119. data/vendor/pup410/lib/puppet/face/resource.rb +53 -0
  120. data/vendor/pup410/lib/puppet/face/resource_type.rb +84 -0
  121. data/vendor/pup410/lib/puppet/face/status.rb +50 -0
  122. data/vendor/pup410/lib/puppet/feature/base.rb +94 -0
  123. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/feature/cfacter.rb +0 -0
  124. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/feature/cfpropertylist.rb +0 -0
  125. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/feature/eventlog.rb +0 -0
  126. data/vendor/pup410/lib/puppet/feature/external_facts.rb +5 -0
  127. data/vendor/pup410/lib/puppet/feature/hiera_eyaml.rb +3 -0
  128. data/vendor/pup410/lib/puppet/feature/hocon.rb +3 -0
  129. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/feature/libuser.rb +0 -0
  130. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/feature/msgpack.rb +0 -0
  131. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/feature/pe_license.rb +0 -0
  132. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/feature/rack.rb +0 -0
  133. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/feature/selinux.rb +0 -0
  134. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/feature/ssh.rb +0 -0
  135. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/feature/telnet.rb +0 -0
  136. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/feature/zlib.rb +0 -0
  137. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/file_bucket.rb +0 -0
  138. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/file_bucket/dipper.rb +0 -0
  139. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/file_bucket/file.rb +0 -0
  140. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/file_serving.rb +0 -0
  141. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/file_serving/base.rb +0 -0
  142. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/file_serving/configuration.rb +0 -0
  143. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/file_serving/configuration/parser.rb +0 -0
  144. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/file_serving/content.rb +0 -0
  145. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/file_serving/fileset.rb +0 -0
  146. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/file_serving/http_metadata.rb +0 -0
  147. data/vendor/pup410/lib/puppet/file_serving/metadata.rb +163 -0
  148. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/file_serving/mount.rb +0 -0
  149. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/file_serving/mount/file.rb +0 -0
  150. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/file_serving/mount/modules.rb +0 -0
  151. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/file_serving/mount/pluginfacts.rb +0 -0
  152. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/file_serving/mount/plugins.rb +0 -0
  153. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/file_serving/terminus_helper.rb +0 -0
  154. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/file_serving/terminus_selector.rb +0 -0
  155. data/vendor/pup410/lib/puppet/file_system.rb +404 -0
  156. data/vendor/pup410/lib/puppet/file_system/file_impl.rb +154 -0
  157. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/file_system/memory_file.rb +0 -0
  158. data/vendor/pup410/lib/puppet/file_system/memory_impl.rb +86 -0
  159. data/vendor/pup410/lib/puppet/file_system/path_pattern.rb +98 -0
  160. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/file_system/posix.rb +0 -0
  161. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/file_system/uniquefile.rb +0 -0
  162. data/vendor/pup410/lib/puppet/file_system/windows.rb +130 -0
  163. data/vendor/pup410/lib/puppet/forge.rb +228 -0
  164. data/vendor/pup410/lib/puppet/forge/cache.rb +60 -0
  165. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/forge/errors.rb +0 -0
  166. data/vendor/pup410/lib/puppet/forge/repository.rb +155 -0
  167. data/vendor/pup410/lib/puppet/functions.rb +774 -0
  168. data/vendor/pup410/lib/puppet/functions/alert.rb +14 -0
  169. data/vendor/pup410/lib/puppet/functions/assert_type.rb +93 -0
  170. data/vendor/pup410/lib/puppet/functions/binary_file.rb +19 -0
  171. data/vendor/pup410/lib/puppet/functions/break.rb +22 -0
  172. data/vendor/pup410/lib/puppet/functions/contain.rb +33 -0
  173. data/vendor/pup410/lib/puppet/functions/crit.rb +14 -0
  174. data/vendor/pup410/lib/puppet/functions/debug.rb +14 -0
  175. data/vendor/pup410/lib/puppet/functions/defined.rb +160 -0
  176. data/vendor/pup410/lib/puppet/functions/dig.rb +23 -0
  177. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/functions/each.rb +0 -0
  178. data/vendor/pup410/lib/puppet/functions/emerg.rb +14 -0
  179. data/vendor/pup410/lib/puppet/functions/epp.rb +48 -0
  180. data/vendor/pup410/lib/puppet/functions/err.rb +14 -0
  181. data/vendor/pup410/lib/puppet/functions/eyaml_lookup_key.rb +94 -0
  182. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/functions/filter.rb +0 -0
  183. data/vendor/pup410/lib/puppet/functions/find_file.rb +31 -0
  184. data/vendor/pup410/lib/puppet/functions/hiera.rb +88 -0
  185. data/vendor/pup410/lib/puppet/functions/hiera_array.rb +81 -0
  186. data/vendor/pup410/lib/puppet/functions/hiera_hash.rb +92 -0
  187. data/vendor/pup410/lib/puppet/functions/hiera_include.rb +104 -0
  188. data/vendor/pup410/lib/puppet/functions/hocon_data.rb +41 -0
  189. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/functions/import.rb +0 -0
  190. data/vendor/pup410/lib/puppet/functions/include.rb +21 -0
  191. data/vendor/pup410/lib/puppet/functions/info.rb +14 -0
  192. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/functions/inline_epp.rb +0 -0
  193. data/vendor/pup410/lib/puppet/functions/json_data.rb +33 -0
  194. data/vendor/pup410/lib/puppet/functions/lest.rb +17 -0
  195. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/functions/lookup.rb +0 -0
  196. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/functions/map.rb +0 -0
  197. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/functions/match.rb +0 -0
  198. data/vendor/pup410/lib/puppet/functions/new.rb +31 -0
  199. data/vendor/pup410/lib/puppet/functions/next.rb +23 -0
  200. data/vendor/pup410/lib/puppet/functions/notice.rb +14 -0
  201. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/functions/reduce.rb +0 -0
  202. data/vendor/pup410/lib/puppet/functions/regsubst.rb +76 -0
  203. data/vendor/pup410/lib/puppet/functions/require.rb +37 -0
  204. data/vendor/pup410/lib/puppet/functions/return.rb +22 -0
  205. data/vendor/pup410/lib/puppet/functions/reverse_each.rb +25 -0
  206. data/vendor/pup410/lib/puppet/functions/scanf.rb +44 -0
  207. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/functions/slice.rb +0 -0
  208. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/functions/split.rb +0 -0
  209. data/vendor/pup410/lib/puppet/functions/step.rb +26 -0
  210. data/vendor/pup410/lib/puppet/functions/strftime.rb +35 -0
  211. data/vendor/pup410/lib/puppet/functions/then.rb +14 -0
  212. data/vendor/pup410/lib/puppet/functions/type.rb +31 -0
  213. data/vendor/pup410/lib/puppet/functions/unwrap.rb +40 -0
  214. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/functions/versioncmp.rb +0 -0
  215. data/vendor/pup410/lib/puppet/functions/warning.rb +14 -0
  216. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/functions/with.rb +0 -0
  217. data/vendor/pup410/lib/puppet/functions/yaml_data.rb +42 -0
  218. data/vendor/pup410/lib/puppet/generate/models/type/property.rb +70 -0
  219. data/vendor/pup410/lib/puppet/generate/models/type/type.rb +62 -0
  220. data/vendor/pup410/lib/puppet/generate/templates/type/pcore.erb +42 -0
  221. data/vendor/pup410/lib/puppet/generate/type.rb +239 -0
  222. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/graph.rb +0 -0
  223. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/graph/key.rb +0 -0
  224. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/graph/prioritizer.rb +0 -0
  225. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/graph/random_prioritizer.rb +0 -0
  226. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/graph/rb_tree_map.rb +0 -0
  227. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/graph/relationship_graph.rb +0 -0
  228. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/graph/sequential_prioritizer.rb +0 -0
  229. data/vendor/pup410/lib/puppet/graph/simple_graph.rb +560 -0
  230. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/graph/title_hash_prioritizer.rb +0 -0
  231. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector.rb +0 -0
  232. data/vendor/pup410/lib/puppet/indirector/catalog/compiler.rb +370 -0
  233. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/catalog/json.rb +0 -0
  234. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/catalog/msgpack.rb +0 -0
  235. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/catalog/rest.rb +0 -0
  236. data/vendor/pup410/lib/puppet/indirector/catalog/static_compiler.rb +232 -0
  237. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/catalog/store_configs.rb +0 -0
  238. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/catalog/yaml.rb +0 -0
  239. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/certificate/ca.rb +0 -0
  240. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/certificate/disabled_ca.rb +0 -0
  241. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/certificate/file.rb +0 -0
  242. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/certificate/rest.rb +0 -0
  243. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/certificate_request/ca.rb +0 -0
  244. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/certificate_request/disabled_ca.rb +0 -0
  245. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/certificate_request/file.rb +0 -0
  246. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/certificate_request/memory.rb +0 -0
  247. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/certificate_request/rest.rb +0 -0
  248. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/certificate_revocation_list/ca.rb +0 -0
  249. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/certificate_revocation_list/disabled_ca.rb +0 -0
  250. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/certificate_revocation_list/file.rb +0 -0
  251. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/certificate_revocation_list/rest.rb +0 -0
  252. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/certificate_status.rb +0 -0
  253. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/certificate_status/file.rb +0 -0
  254. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/certificate_status/rest.rb +0 -0
  255. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/code.rb +0 -0
  256. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/data_binding/hiera.rb +0 -0
  257. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/data_binding/none.rb +0 -0
  258. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/direct_file_server.rb +0 -0
  259. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/envelope.rb +0 -0
  260. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/errors.rb +0 -0
  261. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/exec.rb +0 -0
  262. data/vendor/pup410/lib/puppet/indirector/face.rb +153 -0
  263. data/vendor/pup410/lib/puppet/indirector/facts/facter.rb +90 -0
  264. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/facts/memory.rb +0 -0
  265. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/facts/network_device.rb +0 -0
  266. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/facts/store_configs.rb +0 -0
  267. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/facts/yaml.rb +0 -0
  268. data/vendor/pup410/lib/puppet/indirector/file_bucket_file/file.rb +254 -0
  269. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/file_bucket_file/rest.rb +0 -0
  270. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/file_bucket_file/selector.rb +0 -0
  271. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/file_content.rb +0 -0
  272. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/file_content/file.rb +0 -0
  273. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/file_content/file_server.rb +0 -0
  274. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/file_content/http.rb +0 -0
  275. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/file_content/rest.rb +0 -0
  276. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/file_content/selector.rb +0 -0
  277. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/file_metadata.rb +0 -0
  278. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/file_metadata/file.rb +0 -0
  279. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/file_metadata/file_server.rb +0 -0
  280. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/file_metadata/http.rb +0 -0
  281. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/file_metadata/rest.rb +0 -0
  282. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/file_metadata/selector.rb +0 -0
  283. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/file_server.rb +0 -0
  284. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/generic_http.rb +0 -0
  285. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/hiera.rb +0 -0
  286. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/indirection.rb +0 -0
  287. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/json.rb +0 -0
  288. data/vendor/pup410/lib/puppet/indirector/key/ca.rb +16 -0
  289. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/key/disabled_ca.rb +0 -0
  290. data/vendor/pup410/lib/puppet/indirector/key/file.rb +50 -0
  291. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/key/memory.rb +0 -0
  292. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/ldap.rb +0 -0
  293. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/memory.rb +0 -0
  294. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/msgpack.rb +0 -0
  295. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/node/exec.rb +0 -0
  296. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/node/ldap.rb +0 -0
  297. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/node/memory.rb +0 -0
  298. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/node/msgpack.rb +0 -0
  299. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/node/plain.rb +0 -0
  300. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/node/rest.rb +0 -0
  301. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/node/store_configs.rb +0 -0
  302. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/node/write_only_yaml.rb +0 -0
  303. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/node/yaml.rb +0 -0
  304. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/none.rb +0 -0
  305. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/plain.rb +0 -0
  306. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/report/msgpack.rb +0 -0
  307. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/report/processor.rb +0 -0
  308. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/report/rest.rb +0 -0
  309. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/report/yaml.rb +0 -0
  310. data/vendor/pup410/lib/puppet/indirector/request.rb +282 -0
  311. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/resource/ral.rb +0 -0
  312. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/resource/store_configs.rb +0 -0
  313. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/resource/validator.rb +0 -0
  314. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/resource_type.rb +0 -0
  315. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/resource_type/parser.rb +0 -0
  316. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/resource_type/rest.rb +0 -0
  317. data/vendor/pup410/lib/puppet/indirector/rest.rb +330 -0
  318. data/vendor/pup410/lib/puppet/indirector/ssl_file.rb +201 -0
  319. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/status.rb +0 -0
  320. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/status/local.rb +0 -0
  321. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/status/rest.rb +0 -0
  322. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/store_configs.rb +0 -0
  323. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/terminus.rb +0 -0
  324. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/yaml.rb +0 -0
  325. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/info_service.rb +0 -0
  326. data/vendor/pup410/lib/puppet/info_service/class_information_service.rb +111 -0
  327. data/vendor/pup410/lib/puppet/interface.rb +240 -0
  328. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/interface/action.rb +0 -0
  329. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/interface/action_builder.rb +0 -0
  330. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/interface/action_manager.rb +0 -0
  331. data/vendor/pup410/lib/puppet/interface/documentation.rb +342 -0
  332. data/vendor/pup410/lib/puppet/interface/face_collection.rb +125 -0
  333. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/interface/option.rb +0 -0
  334. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/interface/option_builder.rb +0 -0
  335. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/interface/option_manager.rb +0 -0
  336. data/vendor/pup410/lib/puppet/loaders.rb +25 -0
  337. data/vendor/pup410/lib/puppet/metatype/manager.rb +195 -0
  338. data/vendor/pup410/lib/puppet/module.rb +410 -0
  339. data/vendor/pup410/lib/puppet/module_tool.rb +192 -0
  340. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/module_tool/applications.rb +0 -0
  341. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/module_tool/applications/application.rb +0 -0
  342. data/vendor/pup410/lib/puppet/module_tool/applications/builder.rb +149 -0
  343. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/module_tool/applications/checksummer.rb +0 -0
  344. data/vendor/pup410/lib/puppet/module_tool/applications/installer.rb +351 -0
  345. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/module_tool/applications/searcher.rb +0 -0
  346. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/module_tool/applications/uninstaller.rb +0 -0
  347. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/module_tool/applications/unpacker.rb +0 -0
  348. data/vendor/pup410/lib/puppet/module_tool/applications/upgrader.rb +277 -0
  349. data/vendor/pup410/lib/puppet/module_tool/checksums.rb +49 -0
  350. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/module_tool/contents_description.rb +0 -0
  351. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/module_tool/dependency.rb +0 -0
  352. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/module_tool/errors.rb +0 -0
  353. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/module_tool/errors/base.rb +0 -0
  354. data/vendor/pup410/lib/puppet/module_tool/errors/installer.rb +95 -0
  355. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/module_tool/errors/shared.rb +0 -0
  356. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/module_tool/errors/uninstaller.rb +0 -0
  357. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/module_tool/errors/upgrader.rb +0 -0
  358. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/module_tool/install_directory.rb +0 -0
  359. data/vendor/pup410/lib/puppet/module_tool/installed_modules.rb +96 -0
  360. data/vendor/pup410/lib/puppet/module_tool/local_tarball.rb +90 -0
  361. data/vendor/pup410/lib/puppet/module_tool/metadata.rb +221 -0
  362. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/module_tool/shared_behaviors.rb +0 -0
  363. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/module_tool/skeleton/templates/generator/Gemfile +0 -0
  364. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/module_tool/skeleton/templates/generator/README.md.erb +0 -0
  365. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/module_tool/skeleton/templates/generator/Rakefile +0 -0
  366. data/vendor/pup410/lib/puppet/module_tool/skeleton/templates/generator/examples/init.pp.erb +12 -0
  367. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/module_tool/skeleton/templates/generator/manifests/init.pp.erb +0 -0
  368. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/module_tool/skeleton/templates/generator/metadata.json.erb +0 -0
  369. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/module_tool/skeleton/templates/generator/spec/classes/init_spec.rb.erb +0 -0
  370. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/module_tool/skeleton/templates/generator/spec/spec_helper.rb +0 -0
  371. data/vendor/pup410/lib/puppet/module_tool/tar.rb +17 -0
  372. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/module_tool/tar/gnu.rb +0 -0
  373. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/module_tool/tar/mini.rb +0 -0
  374. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network.rb +0 -0
  375. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/auth_config_parser.rb +0 -0
  376. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/authconfig.rb +0 -0
  377. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/authorization.rb +0 -0
  378. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/authstore.rb +0 -0
  379. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/client_request.rb +0 -0
  380. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/format.rb +0 -0
  381. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/format_handler.rb +0 -0
  382. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/format_support.rb +0 -0
  383. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/formats.rb +0 -0
  384. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/http.rb +0 -0
  385. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/http/api.rb +0 -0
  386. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/http/api/ca.rb +0 -0
  387. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/http/api/ca/v1.rb +0 -0
  388. data/vendor/pup410/lib/puppet/network/http/api/indirected_routes.rb +239 -0
  389. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/http/api/indirection_type.rb +0 -0
  390. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/http/api/master.rb +0 -0
  391. data/vendor/pup410/lib/puppet/network/http/api/master/v3.rb +28 -0
  392. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/http/api/master/v3/authorization.rb +0 -0
  393. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/http/api/master/v3/environment.rb +0 -0
  394. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/http/api/master/v3/environments.rb +0 -0
  395. data/vendor/pup410/lib/puppet/network/http/compression.rb +117 -0
  396. data/vendor/pup410/lib/puppet/network/http/connection.rb +235 -0
  397. data/vendor/pup410/lib/puppet/network/http/error.rb +69 -0
  398. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/http/factory.rb +0 -0
  399. data/vendor/pup410/lib/puppet/network/http/handler.rb +179 -0
  400. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/http/issues.rb +0 -0
  401. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/http/memory_response.rb +0 -0
  402. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/http/nocache_pool.rb +0 -0
  403. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/http/pool.rb +0 -0
  404. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/http/rack.rb +0 -0
  405. data/vendor/pup410/lib/puppet/network/http/rack/rest.rb +162 -0
  406. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/http/request.rb +0 -0
  407. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/http/response.rb +0 -0
  408. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/http/route.rb +0 -0
  409. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/http/session.rb +0 -0
  410. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/http/site.rb +0 -0
  411. data/vendor/pup410/lib/puppet/network/http/webrick.rb +125 -0
  412. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/http/webrick/rest.rb +0 -0
  413. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/http_pool.rb +0 -0
  414. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/resolver.rb +0 -0
  415. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/rest_controller.rb +0 -0
  416. data/vendor/pup410/lib/puppet/network/rights.rb +209 -0
  417. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/server.rb +0 -0
  418. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/node.rb +0 -0
  419. data/vendor/pup410/lib/puppet/node/environment.rb +555 -0
  420. data/vendor/pup410/lib/puppet/node/facts.rb +133 -0
  421. data/vendor/pup410/lib/puppet/parameter.rb +592 -0
  422. data/vendor/pup410/lib/puppet/parameter/boolean.rb +15 -0
  423. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parameter/package_options.rb +0 -0
  424. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parameter/path.rb +0 -0
  425. data/vendor/pup410/lib/puppet/parameter/value.rb +91 -0
  426. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parameter/value_collection.rb +0 -0
  427. data/vendor/pup410/lib/puppet/parser.rb +19 -0
  428. data/vendor/pup410/lib/puppet/parser/ast.rb +65 -0
  429. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parser/ast/block_expression.rb +0 -0
  430. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parser/ast/branch.rb +0 -0
  431. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parser/ast/hostclass.rb +0 -0
  432. data/vendor/pup410/lib/puppet/parser/ast/leaf.rb +75 -0
  433. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parser/ast/node.rb +0 -0
  434. data/vendor/pup410/lib/puppet/parser/ast/pops_bridge.rb +317 -0
  435. data/vendor/pup410/lib/puppet/parser/ast/resource.rb +66 -0
  436. data/vendor/pup410/lib/puppet/parser/ast/resource_instance.rb +10 -0
  437. data/vendor/pup410/lib/puppet/parser/ast/resourceparam.rb +31 -0
  438. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parser/ast/top_level_construct.rb +0 -0
  439. data/vendor/pup410/lib/puppet/parser/compiler.rb +901 -0
  440. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parser/compiler/catalog_validator.rb +0 -0
  441. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parser/compiler/catalog_validator/env_relationship_validator.rb +0 -0
  442. data/vendor/pup410/lib/puppet/parser/compiler/catalog_validator/relationship_validator.rb +60 -0
  443. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parser/compiler/catalog_validator/site_validator.rb +0 -0
  444. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parser/e4_parser_adapter.rb +0 -0
  445. data/vendor/pup410/lib/puppet/parser/environment_compiler.rb +201 -0
  446. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parser/files.rb +0 -0
  447. data/vendor/pup410/lib/puppet/parser/functions.rb +278 -0
  448. data/vendor/pup410/lib/puppet/parser/functions/assert_type.rb +60 -0
  449. data/vendor/pup410/lib/puppet/parser/functions/binary_file.rb +24 -0
  450. data/vendor/pup410/lib/puppet/parser/functions/break.rb +39 -0
  451. data/vendor/pup410/lib/puppet/parser/functions/contain.rb +30 -0
  452. data/vendor/pup410/lib/puppet/parser/functions/create_resources.rb +106 -0
  453. data/vendor/pup410/lib/puppet/parser/functions/defined.rb +107 -0
  454. data/vendor/pup410/lib/puppet/parser/functions/dig.rb +29 -0
  455. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parser/functions/digest.rb +0 -0
  456. data/vendor/pup410/lib/puppet/parser/functions/each.rb +104 -0
  457. data/vendor/pup410/lib/puppet/parser/functions/epp.rb +39 -0
  458. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parser/functions/fail.rb +0 -0
  459. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parser/functions/file.rb +0 -0
  460. data/vendor/pup410/lib/puppet/parser/functions/filter.rb +78 -0
  461. data/vendor/pup410/lib/puppet/parser/functions/find_file.rb +28 -0
  462. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parser/functions/fqdn_rand.rb +0 -0
  463. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parser/functions/generate.rb +0 -0
  464. data/vendor/pup410/lib/puppet/parser/functions/hiera.rb +103 -0
  465. data/vendor/pup410/lib/puppet/parser/functions/hiera_array.rb +92 -0
  466. data/vendor/pup410/lib/puppet/parser/functions/hiera_hash.rb +102 -0
  467. data/vendor/pup410/lib/puppet/parser/functions/hiera_include.rb +102 -0
  468. data/vendor/pup410/lib/puppet/parser/functions/include.rb +33 -0
  469. data/vendor/pup410/lib/puppet/parser/functions/inline_epp.rb +51 -0
  470. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parser/functions/inline_template.rb +0 -0
  471. data/vendor/pup410/lib/puppet/parser/functions/lest.rb +49 -0
  472. data/vendor/pup410/lib/puppet/parser/functions/lookup.rb +132 -0
  473. data/vendor/pup410/lib/puppet/parser/functions/map.rb +76 -0
  474. data/vendor/pup410/lib/puppet/parser/functions/match.rb +43 -0
  475. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parser/functions/md5.rb +0 -0
  476. data/vendor/pup410/lib/puppet/parser/functions/new.rb +939 -0
  477. data/vendor/pup410/lib/puppet/parser/functions/next.rb +38 -0
  478. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parser/functions/realize.rb +0 -0
  479. data/vendor/pup410/lib/puppet/parser/functions/reduce.rb +106 -0
  480. data/vendor/pup410/lib/puppet/parser/functions/regsubst.rb +62 -0
  481. data/vendor/pup410/lib/puppet/parser/functions/require.rb +40 -0
  482. data/vendor/pup410/lib/puppet/parser/functions/return.rb +71 -0
  483. data/vendor/pup410/lib/puppet/parser/functions/reverse_each.rb +83 -0
  484. data/vendor/pup410/lib/puppet/parser/functions/scanf.rb +38 -0
  485. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parser/functions/sha1.rb +0 -0
  486. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parser/functions/shellquote.rb +0 -0
  487. data/vendor/pup410/lib/puppet/parser/functions/slice.rb +39 -0
  488. data/vendor/pup410/lib/puppet/parser/functions/split.rb +28 -0
  489. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parser/functions/sprintf.rb +0 -0
  490. data/vendor/pup410/lib/puppet/parser/functions/step.rb +84 -0
  491. data/vendor/pup410/lib/puppet/parser/functions/strftime.rb +185 -0
  492. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parser/functions/tag.rb +0 -0
  493. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parser/functions/tagged.rb +0 -0
  494. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parser/functions/template.rb +0 -0
  495. data/vendor/pup410/lib/puppet/parser/functions/then.rb +73 -0
  496. data/vendor/pup410/lib/puppet/parser/functions/type.rb +53 -0
  497. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parser/functions/versioncmp.rb +0 -0
  498. data/vendor/pup410/lib/puppet/parser/functions/with.rb +28 -0
  499. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parser/parser_factory.rb +0 -0
  500. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parser/relationship.rb +0 -0
  501. data/vendor/pup410/lib/puppet/parser/resource.rb +388 -0
  502. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parser/resource/param.rb +0 -0
  503. data/vendor/pup410/lib/puppet/parser/scope.rb +1138 -0
  504. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parser/templatewrapper.rb +0 -0
  505. data/vendor/pup410/lib/puppet/parser/type_loader.rb +149 -0
  506. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parser/yaml_trimmer.rb +0 -0
  507. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/plugins.rb +0 -0
  508. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/plugins/binding_schemes.rb +0 -0
  509. data/vendor/pup410/lib/puppet/plugins/configuration.rb +77 -0
  510. data/vendor/pup410/lib/puppet/plugins/data_providers.rb +45 -0
  511. data/vendor/pup410/lib/puppet/plugins/data_providers/data_provider.rb +406 -0
  512. data/vendor/pup410/lib/puppet/plugins/data_providers/registry.rb +51 -0
  513. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/plugins/syntax_checkers.rb +0 -0
  514. data/vendor/pup410/lib/puppet/pops.rb +150 -0
  515. data/vendor/pup410/lib/puppet/pops/adaptable.rb +201 -0
  516. data/vendor/pup410/lib/puppet/pops/adapters.rb +198 -0
  517. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/binder/binder.rb +0 -0
  518. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/binder/binder_issues.rb +0 -0
  519. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/binder/bindings_checker.rb +0 -0
  520. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/binder/bindings_composer.rb +0 -0
  521. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/binder/bindings_factory.rb +0 -0
  522. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/binder/bindings_label_provider.rb +0 -0
  523. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/binder/bindings_loader.rb +0 -0
  524. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/binder/bindings_model.rb +0 -0
  525. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/binder/bindings_model_dumper.rb +0 -0
  526. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/binder/bindings_model_meta.rb +0 -0
  527. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/binder/bindings_validator_factory.rb +0 -0
  528. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/binder/config/binder_config.rb +0 -0
  529. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/binder/config/binder_config_checker.rb +0 -0
  530. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/binder/config/diagnostic_producer.rb +0 -0
  531. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/binder/config/issues.rb +0 -0
  532. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/binder/injector.rb +0 -0
  533. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/binder/injector_entry.rb +0 -0
  534. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/binder/key_factory.rb +0 -0
  535. data/vendor/pup410/lib/puppet/pops/binder/producers.rb +831 -0
  536. data/vendor/pup410/lib/puppet/pops/binder/scheme_handler/confdir_scheme.rb +34 -0
  537. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/binder/scheme_handler/module_scheme.rb +0 -0
  538. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/binder/scheme_handler/symbolic_scheme.rb +0 -0
  539. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/binder/system_bindings.rb +0 -0
  540. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/containment.rb +0 -0
  541. data/vendor/pup410/lib/puppet/pops/evaluator/access_operator.rb +707 -0
  542. data/vendor/pup410/lib/puppet/pops/evaluator/callable_signature.rb +107 -0
  543. data/vendor/pup410/lib/puppet/pops/evaluator/closure.rb +365 -0
  544. data/vendor/pup410/lib/puppet/pops/evaluator/collector_transformer.rb +238 -0
  545. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/evaluator/collectors/abstract_collector.rb +0 -0
  546. data/vendor/pup410/lib/puppet/pops/evaluator/collectors/catalog_collector.rb +29 -0
  547. data/vendor/pup410/lib/puppet/pops/evaluator/collectors/exported_collector.rb +69 -0
  548. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/evaluator/collectors/fixed_set_collector.rb +0 -0
  549. data/vendor/pup410/lib/puppet/pops/evaluator/compare_operator.rb +252 -0
  550. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/evaluator/epp_evaluator.rb +0 -0
  551. data/vendor/pup410/lib/puppet/pops/evaluator/evaluator_impl.rb +1247 -0
  552. data/vendor/pup410/lib/puppet/pops/evaluator/external_syntax_support.rb +52 -0
  553. data/vendor/pup410/lib/puppet/pops/evaluator/json_strict_literal_evaluator.rb +84 -0
  554. data/vendor/pup410/lib/puppet/pops/evaluator/literal_evaluator.rb +87 -0
  555. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/evaluator/puppet_proc.rb +0 -0
  556. data/vendor/pup410/lib/puppet/pops/evaluator/relationship_operator.rb +168 -0
  557. data/vendor/pup410/lib/puppet/pops/evaluator/runtime3_converter.rb +184 -0
  558. data/vendor/pup410/lib/puppet/pops/evaluator/runtime3_resource_support.rb +117 -0
  559. data/vendor/pup410/lib/puppet/pops/evaluator/runtime3_support.rb +554 -0
  560. data/vendor/pup410/lib/puppet/pops/functions/dispatch.rb +105 -0
  561. data/vendor/pup410/lib/puppet/pops/functions/dispatcher.rb +71 -0
  562. data/vendor/pup410/lib/puppet/pops/functions/function.rb +135 -0
  563. data/vendor/pup410/lib/puppet/pops/issue_reporter.rb +115 -0
  564. data/vendor/pup410/lib/puppet/pops/issues.rb +834 -0
  565. data/vendor/pup410/lib/puppet/pops/label_provider.rb +90 -0
  566. data/vendor/pup410/lib/puppet/pops/loader/base_loader.rb +156 -0
  567. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/loader/dependency_loader.rb +0 -0
  568. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/loader/gem_support.rb +0 -0
  569. data/vendor/pup410/lib/puppet/pops/loader/loader.rb +190 -0
  570. data/vendor/pup410/lib/puppet/pops/loader/loader_paths.rb +225 -0
  571. data/vendor/pup410/lib/puppet/pops/loader/module_loaders.rb +300 -0
  572. data/vendor/pup410/lib/puppet/pops/loader/null_loader.rb +60 -0
  573. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/loader/predefined_loader.rb +0 -0
  574. data/vendor/pup410/lib/puppet/pops/loader/puppet_function_instantiator.rb +84 -0
  575. data/vendor/pup410/lib/puppet/pops/loader/puppet_resource_type_impl_instantiator.rb +80 -0
  576. data/vendor/pup410/lib/puppet/pops/loader/ruby_function_instantiator.rb +46 -0
  577. data/vendor/pup410/lib/puppet/pops/loader/runtime3_type_loader.rb +96 -0
  578. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/loader/simple_environment_loader.rb +0 -0
  579. data/vendor/pup410/lib/puppet/pops/loader/static_loader.rb +180 -0
  580. data/vendor/pup410/lib/puppet/pops/loader/type_definition_instantiator.rb +93 -0
  581. data/vendor/pup410/lib/puppet/pops/loader/typed_name.rb +49 -0
  582. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/loader/uri_helper.rb +0 -0
  583. data/vendor/pup410/lib/puppet/pops/loaders.rb +410 -0
  584. data/vendor/pup410/lib/puppet/pops/lookup.rb +94 -0
  585. data/vendor/pup410/lib/puppet/pops/lookup/configured_data_provider.rb +93 -0
  586. data/vendor/pup410/lib/puppet/pops/lookup/context.rb +200 -0
  587. data/vendor/pup410/lib/puppet/pops/lookup/data_adapter.rb +27 -0
  588. data/vendor/pup410/lib/puppet/pops/lookup/data_dig_function_provider.rb +145 -0
  589. data/vendor/pup410/lib/puppet/pops/lookup/data_hash_function_provider.rb +126 -0
  590. data/vendor/pup410/lib/puppet/pops/lookup/data_provider.rb +107 -0
  591. data/vendor/pup410/lib/puppet/pops/lookup/environment_data_provider.rb +35 -0
  592. data/vendor/pup410/lib/puppet/pops/lookup/explainer.rb +594 -0
  593. data/vendor/pup410/lib/puppet/pops/lookup/function_provider.rb +110 -0
  594. data/vendor/pup410/lib/puppet/pops/lookup/global_data_provider.rb +75 -0
  595. data/vendor/pup410/lib/puppet/pops/lookup/hiera_config.rb +784 -0
  596. data/vendor/pup410/lib/puppet/pops/lookup/interpolation.rb +153 -0
  597. data/vendor/pup410/lib/puppet/pops/lookup/invocation.rb +261 -0
  598. data/vendor/pup410/lib/puppet/pops/lookup/location_resolver.rb +99 -0
  599. data/vendor/pup410/lib/puppet/pops/lookup/lookup_adapter.rb +515 -0
  600. data/vendor/pup410/lib/puppet/pops/lookup/lookup_key.rb +99 -0
  601. data/vendor/pup410/lib/puppet/pops/lookup/lookup_key_function_provider.rb +92 -0
  602. data/vendor/pup410/lib/puppet/pops/lookup/module_data_provider.rb +89 -0
  603. data/vendor/pup410/lib/puppet/pops/lookup/sub_lookup.rb +91 -0
  604. data/vendor/pup410/lib/puppet/pops/merge_strategy.rb +419 -0
  605. data/vendor/pup410/lib/puppet/pops/migration/migration_checker.rb +58 -0
  606. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/model/ast_transformer.rb +0 -0
  607. data/vendor/pup410/lib/puppet/pops/model/factory.rb +1151 -0
  608. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/model/model.rb +0 -0
  609. data/vendor/pup410/lib/puppet/pops/model/model_label_provider.rb +130 -0
  610. data/vendor/pup410/lib/puppet/pops/model/model_meta.rb +629 -0
  611. data/vendor/pup410/lib/puppet/pops/model/model_tree_dumper.rb +451 -0
  612. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/model/tree_dumper.rb +0 -0
  613. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/parser/code_merger.rb +0 -0
  614. data/vendor/pup410/lib/puppet/pops/parser/egrammar.ra +876 -0
  615. data/vendor/pup410/lib/puppet/pops/parser/eparser.rb +3243 -0
  616. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/parser/epp_parser.rb +0 -0
  617. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/parser/epp_support.rb +0 -0
  618. data/vendor/pup410/lib/puppet/pops/parser/evaluating_parser.rb +165 -0
  619. data/vendor/pup410/lib/puppet/pops/parser/heredoc_support.rb +143 -0
  620. data/vendor/pup410/lib/puppet/pops/parser/interpolation_support.rb +244 -0
  621. data/vendor/pup410/lib/puppet/pops/parser/lexer2.rb +798 -0
  622. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/parser/lexer_support.rb +0 -0
  623. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/parser/locatable.rb +0 -0
  624. data/vendor/pup410/lib/puppet/pops/parser/locator.rb +321 -0
  625. data/vendor/pup410/lib/puppet/pops/parser/parser_support.rb +251 -0
  626. data/vendor/pup410/lib/puppet/pops/parser/slurp_support.rb +120 -0
  627. data/vendor/pup410/lib/puppet/pops/patterns.rb +60 -0
  628. data/vendor/pup410/lib/puppet/pops/pcore.rb +96 -0
  629. data/vendor/pup410/lib/puppet/pops/puppet_stack.rb +43 -0
  630. data/vendor/pup410/lib/puppet/pops/resource/param.rb +55 -0
  631. data/vendor/pup410/lib/puppet/pops/resource/resource_type_impl.rb +314 -0
  632. data/vendor/pup410/lib/puppet/pops/resource/resource_type_set.pcore +22 -0
  633. data/vendor/pup410/lib/puppet/pops/semantic_error.rb +29 -0
  634. data/vendor/pup410/lib/puppet/pops/serialization.rb +17 -0
  635. data/vendor/pup410/lib/puppet/pops/serialization/abstract_reader.rb +176 -0
  636. data/vendor/pup410/lib/puppet/pops/serialization/abstract_writer.rb +207 -0
  637. data/vendor/pup410/lib/puppet/pops/serialization/deserializer.rb +80 -0
  638. data/vendor/pup410/lib/puppet/pops/serialization/extension.rb +157 -0
  639. data/vendor/pup410/lib/puppet/pops/serialization/instance_reader.rb +19 -0
  640. data/vendor/pup410/lib/puppet/pops/serialization/instance_writer.rb +14 -0
  641. data/vendor/pup410/lib/puppet/pops/serialization/json.rb +297 -0
  642. data/vendor/pup410/lib/puppet/pops/serialization/object.rb +71 -0
  643. data/vendor/pup410/lib/puppet/pops/serialization/rgen.rb +152 -0
  644. data/vendor/pup410/lib/puppet/pops/serialization/serializer.rb +125 -0
  645. data/vendor/pup410/lib/puppet/pops/serialization/time_factory.rb +67 -0
  646. data/vendor/pup410/lib/puppet/pops/time/timespan.rb +718 -0
  647. data/vendor/pup410/lib/puppet/pops/time/timestamp.rb +148 -0
  648. data/vendor/pup410/lib/puppet/pops/types/annotatable.rb +36 -0
  649. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/types/class_loader.rb +0 -0
  650. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/types/enumeration.rb +0 -0
  651. data/vendor/pup410/lib/puppet/pops/types/implementation_registry.rb +141 -0
  652. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/types/iterable.rb +0 -0
  653. data/vendor/pup410/lib/puppet/pops/types/p_binary_type.rb +220 -0
  654. data/vendor/pup410/lib/puppet/pops/types/p_meta_type.rb +83 -0
  655. data/vendor/pup410/lib/puppet/pops/types/p_object_type.rb +886 -0
  656. data/vendor/pup410/lib/puppet/pops/types/p_runtime_type.rb +115 -0
  657. data/vendor/pup410/lib/puppet/pops/types/p_sem_ver_range_type.rb +187 -0
  658. data/vendor/pup410/lib/puppet/pops/types/p_sem_ver_type.rb +141 -0
  659. data/vendor/pup410/lib/puppet/pops/types/p_sensitive_type.rb +73 -0
  660. data/vendor/pup410/lib/puppet/pops/types/p_timespan_type.rb +141 -0
  661. data/vendor/pup410/lib/puppet/pops/types/p_timestamp_type.rb +69 -0
  662. data/vendor/pup410/lib/puppet/pops/types/p_type_set_type.rb +352 -0
  663. data/vendor/pup410/lib/puppet/pops/types/puppet_object.rb +16 -0
  664. data/vendor/pup410/lib/puppet/pops/types/recursion_guard.rb +136 -0
  665. data/vendor/pup410/lib/puppet/pops/types/ruby_generator.rb +275 -0
  666. data/vendor/pup410/lib/puppet/pops/types/string_converter.rb +1022 -0
  667. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/types/type_acceptor.rb +0 -0
  668. data/vendor/pup410/lib/puppet/pops/types/type_asserter.rb +47 -0
  669. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/types/type_assertion_error.rb +0 -0
  670. data/vendor/pup410/lib/puppet/pops/types/type_calculator.rb +836 -0
  671. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/types/type_conversion_error.rb +0 -0
  672. data/vendor/pup410/lib/puppet/pops/types/type_factory.rb +538 -0
  673. data/vendor/pup410/lib/puppet/pops/types/type_formatter.rb +686 -0
  674. data/vendor/pup410/lib/puppet/pops/types/type_mismatch_describer.rb +1105 -0
  675. data/vendor/pup410/lib/puppet/pops/types/type_parser.rb +564 -0
  676. data/vendor/pup410/lib/puppet/pops/types/type_set_reference.rb +59 -0
  677. data/vendor/pup410/lib/puppet/pops/types/types.rb +3464 -0
  678. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/utils.rb +0 -0
  679. data/vendor/pup410/lib/puppet/pops/validation.rb +470 -0
  680. data/vendor/pup410/lib/puppet/pops/validation/checker4_0.rb +980 -0
  681. data/vendor/pup410/lib/puppet/pops/validation/validator_factory_4_0.rb +39 -0
  682. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/visitable.rb +0 -0
  683. data/vendor/pup410/lib/puppet/pops/visitor.rb +95 -0
  684. data/vendor/pup410/lib/puppet/property.rb +597 -0
  685. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/property/boolean.rb +0 -0
  686. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/property/ensure.rb +0 -0
  687. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/property/keyvalue.rb +0 -0
  688. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/property/list.rb +0 -0
  689. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/property/ordered_list.rb +0 -0
  690. data/vendor/pup410/lib/puppet/provider.rb +601 -0
  691. data/vendor/pup410/lib/puppet/provider/aixobject.rb +392 -0
  692. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/augeas/augeas.rb +0 -0
  693. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/cisco.rb +0 -0
  694. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/command.rb +0 -0
  695. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/computer/computer.rb +0 -0
  696. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/confine.rb +0 -0
  697. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/cron/crontab.rb +0 -0
  698. data/vendor/pup410/lib/puppet/provider/exec.rb +98 -0
  699. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/exec/posix.rb +0 -0
  700. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/exec/shell.rb +0 -0
  701. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/exec/windows.rb +0 -0
  702. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/file/posix.rb +0 -0
  703. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/file/windows.rb +0 -0
  704. data/vendor/pup410/lib/puppet/provider/group/aix.rb +141 -0
  705. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/group/directoryservice.rb +0 -0
  706. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/group/groupadd.rb +0 -0
  707. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/group/ldap.rb +0 -0
  708. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/group/pw.rb +0 -0
  709. data/vendor/pup410/lib/puppet/provider/group/windows_adsi.rb +109 -0
  710. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/host/parsed.rb +0 -0
  711. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/interface/cisco.rb +0 -0
  712. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/ldap.rb +0 -0
  713. data/vendor/pup410/lib/puppet/provider/macauthorization/macauthorization.rb +298 -0
  714. data/vendor/pup410/lib/puppet/provider/mailalias/aliases.rb +50 -0
  715. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/maillist/mailman.rb +0 -0
  716. data/vendor/pup410/lib/puppet/provider/mcx/mcxcontent.rb +173 -0
  717. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/mount.rb +0 -0
  718. data/vendor/pup410/lib/puppet/provider/mount/parsed.rb +280 -0
  719. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/naginator.rb +0 -0
  720. data/vendor/pup410/lib/puppet/provider/nameservice.rb +317 -0
  721. data/vendor/pup410/lib/puppet/provider/nameservice/directoryservice.rb +507 -0
  722. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/nameservice/objectadd.rb +0 -0
  723. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/nameservice/pw.rb +0 -0
  724. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/network_device.rb +0 -0
  725. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/package.rb +0 -0
  726. data/vendor/pup410/lib/puppet/provider/package/aix.rb +152 -0
  727. data/vendor/pup410/lib/puppet/provider/package/appdmg.rb +110 -0
  728. data/vendor/pup410/lib/puppet/provider/package/apple.rb +47 -0
  729. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/package/apt.rb +0 -0
  730. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/package/aptitude.rb +0 -0
  731. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/package/aptrpm.rb +0 -0
  732. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/package/blastwave.rb +0 -0
  733. data/vendor/pup410/lib/puppet/provider/package/dnf.rb +46 -0
  734. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/package/dpkg.rb +0 -0
  735. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/package/fink.rb +0 -0
  736. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/package/freebsd.rb +0 -0
  737. data/vendor/pup410/lib/puppet/provider/package/gem.rb +174 -0
  738. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/package/hpux.rb +0 -0
  739. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/package/macports.rb +0 -0
  740. data/vendor/pup410/lib/puppet/provider/package/nim.rb +280 -0
  741. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/package/openbsd.rb +0 -0
  742. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/package/opkg.rb +0 -0
  743. data/vendor/pup410/lib/puppet/provider/package/pacman.rb +267 -0
  744. data/vendor/pup410/lib/puppet/provider/package/pip.rb +179 -0
  745. data/vendor/pup410/lib/puppet/provider/package/pip3.rb +20 -0
  746. data/vendor/pup410/lib/puppet/provider/package/pkg.rb +249 -0
  747. data/vendor/pup410/lib/puppet/provider/package/pkgdmg.rb +152 -0
  748. data/vendor/pup410/lib/puppet/provider/package/pkgin.rb +87 -0
  749. data/vendor/pup410/lib/puppet/provider/package/pkgng.rb +143 -0
  750. data/vendor/pup410/lib/puppet/provider/package/pkgutil.rb +186 -0
  751. data/vendor/pup410/lib/puppet/provider/package/portage.rb +193 -0
  752. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/package/ports.rb +0 -0
  753. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/package/portupgrade.rb +0 -0
  754. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/package/puppet_gem.rb +0 -0
  755. data/vendor/pup410/lib/puppet/provider/package/rpm.rb +402 -0
  756. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/package/rug.rb +0 -0
  757. data/vendor/pup410/lib/puppet/provider/package/sun.rb +132 -0
  758. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/package/sunfreeware.rb +0 -0
  759. data/vendor/pup410/lib/puppet/provider/package/tdnf.rb +28 -0
  760. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/package/up2date.rb +0 -0
  761. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/package/urpmi.rb +0 -0
  762. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/package/windows.rb +0 -0
  763. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/package/windows/exe_package.rb +0 -0
  764. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/package/windows/msi_package.rb +0 -0
  765. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/package/windows/package.rb +0 -0
  766. data/vendor/pup410/lib/puppet/provider/package/yum.rb +270 -0
  767. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/package/zypper.rb +0 -0
  768. data/vendor/pup410/lib/puppet/provider/parsedfile.rb +459 -0
  769. data/vendor/pup410/lib/puppet/provider/scheduled_task/win32_taskscheduler.rb +590 -0
  770. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/selboolean/getsetsebool.rb +0 -0
  771. data/vendor/pup410/lib/puppet/provider/selmodule/semodule.rb +138 -0
  772. data/vendor/pup410/lib/puppet/provider/service/base.rb +121 -0
  773. data/vendor/pup410/lib/puppet/provider/service/bsd.rb +51 -0
  774. data/vendor/pup410/lib/puppet/provider/service/daemontools.rb +194 -0
  775. data/vendor/pup410/lib/puppet/provider/service/debian.rb +74 -0
  776. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/service/freebsd.rb +0 -0
  777. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/service/gentoo.rb +0 -0
  778. data/vendor/pup410/lib/puppet/provider/service/init.rb +193 -0
  779. data/vendor/pup410/lib/puppet/provider/service/launchd.rb +346 -0
  780. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/service/openbsd.rb +0 -0
  781. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/service/openrc.rb +0 -0
  782. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/service/openwrt.rb +0 -0
  783. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/service/rcng.rb +0 -0
  784. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/service/redhat.rb +0 -0
  785. data/vendor/pup410/lib/puppet/provider/service/runit.rb +111 -0
  786. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/service/service.rb +0 -0
  787. data/vendor/pup410/lib/puppet/provider/service/smf.rb +167 -0
  788. data/vendor/pup410/lib/puppet/provider/service/src.rb +147 -0
  789. data/vendor/pup410/lib/puppet/provider/service/systemd.rb +186 -0
  790. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/service/upstart.rb +0 -0
  791. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/service/windows.rb +0 -0
  792. data/vendor/pup410/lib/puppet/provider/ssh_authorized_key/parsed.rb +105 -0
  793. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/sshkey/parsed.rb +0 -0
  794. data/vendor/pup410/lib/puppet/provider/user/aix.rb +375 -0
  795. data/vendor/pup410/lib/puppet/provider/user/directoryservice.rb +632 -0
  796. data/vendor/pup410/lib/puppet/provider/user/hpux.rb +95 -0
  797. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/user/ldap.rb +0 -0
  798. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/user/openbsd.rb +0 -0
  799. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/user/pw.rb +0 -0
  800. data/vendor/pup410/lib/puppet/provider/user/user_role_add.rb +227 -0
  801. data/vendor/pup410/lib/puppet/provider/user/useradd.rb +231 -0
  802. data/vendor/pup410/lib/puppet/provider/user/windows_adsi.rb +148 -0
  803. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/vlan/cisco.rb +0 -0
  804. data/vendor/pup410/lib/puppet/provider/yumrepo/inifile.rb +304 -0
  805. data/vendor/pup410/lib/puppet/provider/zfs/zfs.rb +84 -0
  806. data/vendor/pup410/lib/puppet/provider/zone/solaris.rb +364 -0
  807. data/vendor/pup410/lib/puppet/provider/zpool/zpool.rb +125 -0
  808. data/vendor/pup410/lib/puppet/reference/configuration.rb +82 -0
  809. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/reference/function.rb +0 -0
  810. data/vendor/pup410/lib/puppet/reference/indirection.rb +71 -0
  811. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/reference/metaparameter.rb +0 -0
  812. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/reference/providers.rb +0 -0
  813. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/reference/report.rb +0 -0
  814. data/vendor/pup410/lib/puppet/reference/type.rb +114 -0
  815. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/relationship.rb +0 -0
  816. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/reports.rb +0 -0
  817. data/vendor/pup410/lib/puppet/reports/http.rb +33 -0
  818. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/reports/log.rb +0 -0
  819. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/reports/store.rb +0 -0
  820. data/vendor/pup410/lib/puppet/resource.rb +728 -0
  821. data/vendor/pup410/lib/puppet/resource/capability_finder.rb +128 -0
  822. data/vendor/pup410/lib/puppet/resource/catalog.rb +675 -0
  823. data/vendor/pup410/lib/puppet/resource/status.rb +232 -0
  824. data/vendor/pup410/lib/puppet/resource/type.rb +572 -0
  825. data/vendor/pup410/lib/puppet/resource/type_collection.rb +257 -0
  826. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/scheduler.rb +0 -0
  827. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/scheduler/job.rb +0 -0
  828. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/scheduler/scheduler.rb +0 -0
  829. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/scheduler/splay_job.rb +0 -0
  830. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/scheduler/timer.rb +0 -0
  831. data/vendor/pup410/lib/puppet/settings.rb +1455 -0
  832. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/settings/array_setting.rb +0 -0
  833. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/settings/autosign_setting.rb +0 -0
  834. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/settings/base_setting.rb +0 -0
  835. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/settings/boolean_setting.rb +0 -0
  836. data/vendor/pup410/lib/puppet/settings/config_file.rb +143 -0
  837. data/vendor/pup410/lib/puppet/settings/directory_setting.rb +18 -0
  838. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/settings/duration_setting.rb +0 -0
  839. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/settings/enum_setting.rb +0 -0
  840. data/vendor/pup410/lib/puppet/settings/environment_conf.rb +204 -0
  841. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/settings/errors.rb +0 -0
  842. data/vendor/pup410/lib/puppet/settings/file_or_directory_setting.rb +40 -0
  843. data/vendor/pup410/lib/puppet/settings/file_setting.rb +245 -0
  844. data/vendor/pup410/lib/puppet/settings/ini_file.rb +171 -0
  845. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/settings/path_setting.rb +0 -0
  846. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/settings/priority_setting.rb +0 -0
  847. data/vendor/pup410/lib/puppet/settings/server_list_setting.rb +20 -0
  848. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/settings/string_setting.rb +0 -0
  849. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/settings/symbolic_enum_setting.rb +0 -0
  850. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/settings/terminus_setting.rb +0 -0
  851. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/settings/ttl_setting.rb +0 -0
  852. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/settings/value_translator.rb +0 -0
  853. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/ssl.rb +0 -0
  854. data/vendor/pup410/lib/puppet/ssl/base.rb +153 -0
  855. data/vendor/pup410/lib/puppet/ssl/certificate.rb +95 -0
  856. data/vendor/pup410/lib/puppet/ssl/certificate_authority.rb +553 -0
  857. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/ssl/certificate_authority/autosign_command.rb +0 -0
  858. data/vendor/pup410/lib/puppet/ssl/certificate_authority/interface.rb +324 -0
  859. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/ssl/certificate_factory.rb +0 -0
  860. data/vendor/pup410/lib/puppet/ssl/certificate_request.rb +327 -0
  861. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/ssl/certificate_request_attributes.rb +0 -0
  862. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/ssl/certificate_revocation_list.rb +0 -0
  863. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/ssl/certificate_signer.rb +0 -0
  864. data/vendor/pup410/lib/puppet/ssl/configuration.rb +61 -0
  865. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/ssl/digest.rb +0 -0
  866. data/vendor/pup410/lib/puppet/ssl/host.rb +387 -0
  867. data/vendor/pup410/lib/puppet/ssl/inventory.rb +55 -0
  868. data/vendor/pup410/lib/puppet/ssl/key.rb +63 -0
  869. data/vendor/pup410/lib/puppet/ssl/oids.rb +187 -0
  870. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/ssl/validator.rb +0 -0
  871. data/vendor/pup410/lib/puppet/ssl/validator/default_validator.rb +174 -0
  872. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/ssl/validator/no_validator.rb +0 -0
  873. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/status.rb +0 -0
  874. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/syntax_checkers.rb +0 -0
  875. data/vendor/pup410/lib/puppet/syntax_checkers/base64.rb +41 -0
  876. data/vendor/pup410/lib/puppet/syntax_checkers/json.rb +35 -0
  877. data/vendor/pup410/lib/puppet/test/test_helper.rb +256 -0
  878. data/vendor/pup410/lib/puppet/transaction.rb +399 -0
  879. data/vendor/pup410/lib/puppet/transaction/additional_resource_generator.rb +219 -0
  880. data/vendor/pup410/lib/puppet/transaction/event.rb +133 -0
  881. data/vendor/pup410/lib/puppet/transaction/event_manager.rb +167 -0
  882. data/vendor/pup410/lib/puppet/transaction/persistence.rb +84 -0
  883. data/vendor/pup410/lib/puppet/transaction/report.rb +460 -0
  884. data/vendor/pup410/lib/puppet/transaction/resource_harness.rb +316 -0
  885. data/vendor/pup410/lib/puppet/type.rb +2670 -0
  886. data/vendor/pup410/lib/puppet/type/augeas.rb +211 -0
  887. data/vendor/pup410/lib/puppet/type/component.rb +88 -0
  888. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/computer.rb +0 -0
  889. data/vendor/pup410/lib/puppet/type/cron.rb +492 -0
  890. data/vendor/pup410/lib/puppet/type/exec.rb +622 -0
  891. data/vendor/pup410/lib/puppet/type/file.rb +1032 -0
  892. data/vendor/pup410/lib/puppet/type/file/checksum.rb +44 -0
  893. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/file/checksum_value.rb +0 -0
  894. data/vendor/pup410/lib/puppet/type/file/content.rb +160 -0
  895. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/file/ctime.rb +0 -0
  896. data/vendor/pup410/lib/puppet/type/file/data_sync.rb +92 -0
  897. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/file/ensure.rb +0 -0
  898. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/file/group.rb +0 -0
  899. data/vendor/pup410/lib/puppet/type/file/mode.rb +177 -0
  900. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/file/mtime.rb +0 -0
  901. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/file/owner.rb +0 -0
  902. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/file/selcontext.rb +0 -0
  903. data/vendor/pup410/lib/puppet/type/file/source.rb +352 -0
  904. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/file/target.rb +0 -0
  905. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/file/type.rb +0 -0
  906. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/filebucket.rb +0 -0
  907. data/vendor/pup410/lib/puppet/type/group.rb +206 -0
  908. data/vendor/pup410/lib/puppet/type/host.rb +95 -0
  909. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/interface.rb +0 -0
  910. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/k5login.rb +0 -0
  911. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/macauthorization.rb +0 -0
  912. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/mailalias.rb +0 -0
  913. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/maillist.rb +0 -0
  914. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/mcx.rb +0 -0
  915. data/vendor/pup410/lib/puppet/type/mount.rb +310 -0
  916. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/nagios_command.rb +0 -0
  917. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/nagios_contact.rb +0 -0
  918. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/nagios_contactgroup.rb +0 -0
  919. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/nagios_host.rb +0 -0
  920. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/nagios_hostdependency.rb +0 -0
  921. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/nagios_hostescalation.rb +0 -0
  922. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/nagios_hostextinfo.rb +0 -0
  923. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/nagios_hostgroup.rb +0 -0
  924. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/nagios_service.rb +0 -0
  925. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/nagios_servicedependency.rb +0 -0
  926. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/nagios_serviceescalation.rb +0 -0
  927. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/nagios_serviceextinfo.rb +0 -0
  928. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/nagios_servicegroup.rb +0 -0
  929. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/nagios_timeperiod.rb +0 -0
  930. data/vendor/pup410/lib/puppet/type/notify.rb +44 -0
  931. data/vendor/pup410/lib/puppet/type/package.rb +571 -0
  932. data/vendor/pup410/lib/puppet/type/resources.rb +180 -0
  933. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/router.rb +0 -0
  934. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/schedule.rb +0 -0
  935. data/vendor/pup410/lib/puppet/type/scheduled_task.rb +184 -0
  936. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/selboolean.rb +0 -0
  937. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/selmodule.rb +0 -0
  938. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/service.rb +0 -0
  939. data/vendor/pup410/lib/puppet/type/ssh_authorized_key.rb +159 -0
  940. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/sshkey.rb +0 -0
  941. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/stage.rb +0 -0
  942. data/vendor/pup410/lib/puppet/type/tidy.rb +332 -0
  943. data/vendor/pup410/lib/puppet/type/user.rb +768 -0
  944. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/vlan.rb +0 -0
  945. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/whit.rb +0 -0
  946. data/vendor/pup410/lib/puppet/type/yumrepo.rb +409 -0
  947. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/zfs.rb +0 -0
  948. data/vendor/pup410/lib/puppet/type/zone.rb +382 -0
  949. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/zpool.rb +0 -0
  950. data/vendor/pup410/lib/puppet/util.rb +701 -0
  951. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/autoload.rb +0 -0
  952. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/backups.rb +0 -0
  953. data/vendor/pup410/lib/puppet/util/character_encoding.rb +98 -0
  954. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/checksums.rb +0 -0
  955. data/vendor/pup410/lib/puppet/util/classgen.rb +228 -0
  956. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/colors.rb +0 -0
  957. data/vendor/pup410/lib/puppet/util/command_line.rb +185 -0
  958. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/command_line/puppet_option_parser.rb +0 -0
  959. data/vendor/pup410/lib/puppet/util/command_line/trollop.rb +824 -0
  960. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/constant_inflector.rb +0 -0
  961. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/diff.rb +0 -0
  962. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/docs.rb +0 -0
  963. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/errors.rb +0 -0
  964. data/vendor/pup410/lib/puppet/util/execution.rb +359 -0
  965. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/execution_stub.rb +0 -0
  966. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/feature.rb +0 -0
  967. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/file_watcher.rb +0 -0
  968. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/fileparsing.rb +0 -0
  969. data/vendor/pup410/lib/puppet/util/filetype.rb +309 -0
  970. data/vendor/pup410/lib/puppet/util/http_proxy.rb +197 -0
  971. data/vendor/pup410/lib/puppet/util/inifile.rb +341 -0
  972. data/vendor/pup410/lib/puppet/util/instance_loader.rb +81 -0
  973. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/json_lockfile.rb +0 -0
  974. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/ldap.rb +0 -0
  975. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/ldap/connection.rb +0 -0
  976. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/ldap/generator.rb +0 -0
  977. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/ldap/manager.rb +0 -0
  978. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/libuser.conf +0 -0
  979. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/libuser.rb +0 -0
  980. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/limits.rb +0 -0
  981. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/lockfile.rb +0 -0
  982. data/vendor/pup410/lib/puppet/util/log.rb +411 -0
  983. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/log/destination.rb +0 -0
  984. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/log/destinations.rb +0 -0
  985. data/vendor/pup410/lib/puppet/util/logging.rb +311 -0
  986. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/metaid.rb +0 -0
  987. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/methodhelper.rb +0 -0
  988. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/metric.rb +0 -0
  989. data/vendor/pup410/lib/puppet/util/monkey_patches.rb +147 -0
  990. data/vendor/pup410/lib/puppet/util/multi_match.rb +51 -0
  991. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/nagios_maker.rb +0 -0
  992. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/network_device.rb +0 -0
  993. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/network_device/base.rb +0 -0
  994. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/network_device/cisco.rb +0 -0
  995. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/network_device/cisco/device.rb +0 -0
  996. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/network_device/cisco/facts.rb +0 -0
  997. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/network_device/cisco/interface.rb +0 -0
  998. data/vendor/pup410/lib/puppet/util/network_device/config.rb +98 -0
  999. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/network_device/ipcalc.rb +0 -0
  1000. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/network_device/transport.rb +0 -0
  1001. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/network_device/transport/base.rb +0 -0
  1002. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/network_device/transport/ssh.rb +0 -0
  1003. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/network_device/transport/telnet.rb +0 -0
  1004. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/package.rb +0 -0
  1005. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/pidlock.rb +0 -0
  1006. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/platform.rb +0 -0
  1007. data/vendor/pup410/lib/puppet/util/plist.rb +151 -0
  1008. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/posix.rb +0 -0
  1009. data/vendor/pup410/lib/puppet/util/profiler.rb +53 -0
  1010. data/vendor/pup410/lib/puppet/util/profiler/aggregate.rb +85 -0
  1011. data/vendor/pup410/lib/puppet/util/profiler/around_profiler.rb +67 -0
  1012. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/profiler/logging.rb +0 -0
  1013. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/profiler/object_counts.rb +0 -0
  1014. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/profiler/wall_clock.rb +0 -0
  1015. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/provider_features.rb +0 -0
  1016. data/vendor/pup410/lib/puppet/util/psych_support.rb +38 -0
  1017. data/vendor/pup410/lib/puppet/util/rdoc.rb +60 -0
  1018. data/vendor/pup410/lib/puppet/util/reference.rb +126 -0
  1019. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/resource_template.rb +0 -0
  1020. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/retry_action.rb +0 -0
  1021. data/vendor/pup410/lib/puppet/util/rubygems.rb +75 -0
  1022. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/run_mode.rb +0 -0
  1023. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/selinux.rb +0 -0
  1024. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/skip_tags.rb +0 -0
  1025. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/splayer.rb +0 -0
  1026. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/ssl.rb +0 -0
  1027. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/storage.rb +0 -0
  1028. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/suidmanager.rb +0 -0
  1029. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/symbolic_file_mode.rb +0 -0
  1030. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/tag_set.rb +0 -0
  1031. data/vendor/pup410/lib/puppet/util/tagging.rb +118 -0
  1032. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/terminal.rb +0 -0
  1033. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/user_attr.rb +0 -0
  1034. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/warnings.rb +0 -0
  1035. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/watched_file.rb +0 -0
  1036. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/watcher.rb +0 -0
  1037. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/watcher/change_watcher.rb +0 -0
  1038. data/vendor/pup410/lib/puppet/util/watcher/periodic_watcher.rb +37 -0
  1039. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/watcher/timer.rb +0 -0
  1040. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/windows.rb +0 -0
  1041. data/vendor/pup410/lib/puppet/util/windows/access_control_entry.rb +84 -0
  1042. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/windows/access_control_list.rb +0 -0
  1043. data/vendor/pup410/lib/puppet/util/windows/adsi.rb +548 -0
  1044. data/vendor/pup410/lib/puppet/util/windows/api_types.rb +282 -0
  1045. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/windows/com.rb +0 -0
  1046. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/windows/error.rb +0 -0
  1047. data/vendor/pup410/lib/puppet/util/windows/file.rb +488 -0
  1048. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/windows/principal.rb +0 -0
  1049. data/vendor/pup410/lib/puppet/util/windows/process.rb +497 -0
  1050. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/windows/registry.rb +0 -0
  1051. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/windows/root_certs.rb +0 -0
  1052. data/vendor/pup410/lib/puppet/util/windows/security.rb +857 -0
  1053. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/windows/security_descriptor.rb +0 -0
  1054. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/windows/sid.rb +0 -0
  1055. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/windows/string.rb +0 -0
  1056. data/vendor/pup410/lib/puppet/util/windows/taskscheduler.rb +1276 -0
  1057. data/vendor/pup410/lib/puppet/util/windows/user.rb +309 -0
  1058. data/vendor/pup410/lib/puppet/util/yaml.rb +36 -0
  1059. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor.rb +0 -0
  1060. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/deep_merge/CHANGELOG +0 -0
  1061. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/deep_merge/Gemfile +0 -0
  1062. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/deep_merge/LICENSE +0 -0
  1063. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/deep_merge/PUPPET_README.md +0 -0
  1064. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/deep_merge/README.md +0 -0
  1065. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/deep_merge/Rakefile +0 -0
  1066. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/deep_merge/deep_merge.gemspec +0 -0
  1067. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/deep_merge/lib/deep_merge.rb +0 -0
  1068. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/deep_merge/lib/deep_merge/core.rb +0 -0
  1069. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/deep_merge/lib/deep_merge/deep_merge_hash.rb +0 -0
  1070. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/deep_merge/lib/deep_merge/rails_compat.rb +0 -0
  1071. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/load_deep_merge.rb +0 -0
  1072. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/load_pathspec.rb +0 -0
  1073. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/load_rgen.rb +0 -0
  1074. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/load_semantic.rb +0 -0
  1075. data/vendor/pup410/lib/puppet/vendor/load_semantic_puppet.rb +1 -0
  1076. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/pathspec/CHANGELOG.md +0 -0
  1077. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/pathspec/LICENSE +0 -0
  1078. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/pathspec/PUPPET_README.md +0 -0
  1079. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/pathspec/README.md +0 -0
  1080. data/vendor/pup410/lib/puppet/vendor/pathspec/lib/pathspec.rb +122 -0
  1081. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/pathspec/lib/pathspec/gitignorespec.rb +0 -0
  1082. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/pathspec/lib/pathspec/regexspec.rb +0 -0
  1083. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/pathspec/lib/pathspec/spec.rb +0 -0
  1084. data/vendor/pup410/lib/puppet/vendor/require_vendored.rb +6 -0
  1085. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/CHANGELOG +0 -0
  1086. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/MIT-LICENSE +0 -0
  1087. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/PUPPET_README.md +0 -0
  1088. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/README.rdoc +0 -0
  1089. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/Rakefile +0 -0
  1090. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/TODO +0 -0
  1091. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/anounce.txt +0 -0
  1092. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/design_rationale.txt +0 -0
  1093. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/ea_support/ea_support.rb +0 -0
  1094. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/ea_support/id_store.rb +0 -0
  1095. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/ea_support/uml13_ea_metamodel.rb +0 -0
  1096. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/ea_support/uml13_ea_metamodel_ext.rb +0 -0
  1097. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/ea_support/uml13_ea_metamodel_generator.rb +0 -0
  1098. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/ea_support/uml13_ea_to_uml13.rb +0 -0
  1099. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/ea_support/uml13_to_uml13_ea.rb +0 -0
  1100. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/metamodels/uml13_metamodel.rb +0 -0
  1101. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/metamodels/uml13_metamodel_ext.rb +0 -0
  1102. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/mmgen/metamodel_generator.rb +0 -0
  1103. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/mmgen/mm_ext/ecore_mmgen_ext.rb +0 -0
  1104. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/mmgen/mmgen.rb +0 -0
  1105. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/mmgen/templates/annotations.tpl +0 -0
  1106. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/mmgen/templates/metamodel_generator.tpl +0 -0
  1107. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/array_extensions.rb +0 -0
  1108. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/ecore/ecore.rb +0 -0
  1109. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/ecore/ecore_builder_methods.rb +0 -0
  1110. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/ecore/ecore_ext.rb +0 -0
  1111. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/ecore/ecore_interface.rb +0 -0
  1112. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/ecore/ecore_to_ruby.rb +0 -0
  1113. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/ecore/ruby_to_ecore.rb +0 -0
  1114. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/environment.rb +0 -0
  1115. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/fragment/dump_file_cache.rb +0 -0
  1116. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/fragment/fragmented_model.rb +0 -0
  1117. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/fragment/model_fragment.rb +0 -0
  1118. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/instantiator/abstract_instantiator.rb +0 -0
  1119. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/instantiator/abstract_xml_instantiator.rb +0 -0
  1120. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/instantiator/default_xml_instantiator.rb +0 -0
  1121. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/instantiator/ecore_xml_instantiator.rb +0 -0
  1122. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/instantiator/json_instantiator.rb +0 -0
  1123. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/instantiator/json_parser.rb +0 -0
  1124. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/instantiator/json_parser.y +0 -0
  1125. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/instantiator/nodebased_xml_instantiator.rb +0 -0
  1126. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/instantiator/qualified_name_resolver.rb +0 -0
  1127. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/instantiator/reference_resolver.rb +0 -0
  1128. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/instantiator/resolution_helper.rb +0 -0
  1129. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/instantiator/xmi11_instantiator.rb +0 -0
  1130. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/metamodel_builder.rb +0 -0
  1131. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/metamodel_builder/builder_extensions.rb +0 -0
  1132. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/metamodel_builder/builder_runtime.rb +0 -0
  1133. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/metamodel_builder/constant_order_helper.rb +0 -0
  1134. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/metamodel_builder/data_types.rb +0 -0
  1135. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/metamodel_builder/intermediate/annotation.rb +0 -0
  1136. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/metamodel_builder/intermediate/feature.rb +0 -0
  1137. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/metamodel_builder/mm_multiple.rb +0 -0
  1138. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/metamodel_builder/module_extension.rb +0 -0
  1139. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/model_builder.rb +0 -0
  1140. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/model_builder/builder_context.rb +0 -0
  1141. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/model_builder/model_serializer.rb +0 -0
  1142. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/model_builder/reference_resolver.rb +0 -0
  1143. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/serializer/json_serializer.rb +0 -0
  1144. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/serializer/opposite_reference_filter.rb +0 -0
  1145. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/serializer/qualified_name_provider.rb +0 -0
  1146. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/serializer/xmi11_serializer.rb +0 -0
  1147. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/serializer/xmi20_serializer.rb +0 -0
  1148. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/serializer/xml_serializer.rb +0 -0
  1149. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/template_language.rb +0 -0
  1150. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/template_language/directory_template_container.rb +0 -0
  1151. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/template_language/output_handler.rb +0 -0
  1152. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/template_language/template_container.rb +0 -0
  1153. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/template_language/template_helper.rb +0 -0
  1154. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/transformer.rb +0 -0
  1155. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/util/auto_class_creator.rb +0 -0
  1156. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/util/cached_glob.rb +0 -0
  1157. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/util/file_cache_map.rb +0 -0
  1158. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/util/file_change_detector.rb +0 -0
  1159. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/util/method_delegation.rb +0 -0
  1160. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/util/model_comparator.rb +0 -0
  1161. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/util/model_comparator_base.rb +0 -0
  1162. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/util/model_dumper.rb +0 -0
  1163. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/util/name_helper.rb +0 -0
  1164. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/util/pattern_matcher.rb +0 -0
  1165. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/transformers/ecore_to_uml13.rb +0 -0
  1166. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/transformers/uml13_to_ecore.rb +0 -0
  1167. data/vendor/pup410/lib/puppet/vendor/rgen_patch.rb +132 -0
  1168. data/vendor/pup410/lib/puppet/vendor/semantic/lib/semantic.rb +5 -0
  1169. data/vendor/pup410/lib/puppet/vendor/semantic_puppet/lib/semantic_puppet.rb +17 -0
  1170. data/vendor/pup410/lib/puppet/vendor/semantic_puppet/lib/semantic_puppet/dependency.rb +181 -0
  1171. data/vendor/pup410/lib/puppet/vendor/semantic_puppet/lib/semantic_puppet/dependency/graph.rb +60 -0
  1172. data/vendor/pup410/lib/puppet/vendor/semantic_puppet/lib/semantic_puppet/dependency/graph_node.rb +117 -0
  1173. data/vendor/pup410/lib/puppet/vendor/semantic_puppet/lib/semantic_puppet/dependency/module_release.rb +58 -0
  1174. data/vendor/pup410/lib/puppet/vendor/semantic_puppet/lib/semantic_puppet/dependency/source.rb +25 -0
  1175. data/vendor/pup410/lib/puppet/vendor/semantic_puppet/lib/semantic_puppet/dependency/unsatisfiable_graph.rb +31 -0
  1176. data/vendor/pup410/lib/puppet/vendor/semantic_puppet/lib/semantic_puppet/gem_version.rb +3 -0
  1177. data/vendor/pup410/lib/puppet/vendor/semantic_puppet/lib/semantic_puppet/locales/config.yaml +21 -0
  1178. data/vendor/pup410/lib/puppet/vendor/semantic_puppet/lib/semantic_puppet/version.rb +195 -0
  1179. data/vendor/pup410/lib/puppet/vendor/semantic_puppet/lib/semantic_puppet/version_range.rb +422 -0
  1180. data/vendor/pup410/lib/puppet/version.rb +93 -0
  1181. data/vendor/pup410/lib/puppet_x.rb +14 -0
  1182. data/vendor/pup410/lib/semver.rb +146 -0
  1183. data/vendor/pup410/locales/config.yaml +29 -0
  1184. data/vendor/pup410/locales/puppet.pot +180 -0
  1185. data/vendor/pup410/puppet-4.10.8.gemspec +17 -0
  1186. metadata +1161 -1321
  1187. data/vendor/gems/puppet-4.5.2/Gemfile +0 -92
  1188. data/vendor/gems/puppet-4.5.2/bin/extlookup2hiera +0 -56
  1189. data/vendor/gems/puppet-4.5.2/bin/puppet +0 -9
  1190. data/vendor/gems/puppet-4.5.2/conf/auth.conf +0 -124
  1191. data/vendor/gems/puppet-4.5.2/conf/environment.conf +0 -18
  1192. data/vendor/gems/puppet-4.5.2/conf/fileserver.conf +0 -42
  1193. data/vendor/gems/puppet-4.5.2/conf/puppet.conf +0 -6
  1194. data/vendor/gems/puppet-4.5.2/ext/README.environment +0 -8
  1195. data/vendor/gems/puppet-4.5.2/ext/autotest/Rakefile +0 -8
  1196. data/vendor/gems/puppet-4.5.2/ext/autotest/config +0 -43
  1197. data/vendor/gems/puppet-4.5.2/ext/autotest/readme.rst +0 -16
  1198. data/vendor/gems/puppet-4.5.2/ext/build_defaults.yaml +0 -20
  1199. data/vendor/gems/puppet-4.5.2/ext/cert_inspector +0 -140
  1200. data/vendor/gems/puppet-4.5.2/ext/dbfix.sql +0 -132
  1201. data/vendor/gems/puppet-4.5.2/ext/debian/README.Debian +0 -8
  1202. data/vendor/gems/puppet-4.5.2/ext/debian/README.source +0 -2
  1203. data/vendor/gems/puppet-4.5.2/ext/debian/TODO.Debian +0 -1
  1204. data/vendor/gems/puppet-4.5.2/ext/debian/changelog.erb +0 -1122
  1205. data/vendor/gems/puppet-4.5.2/ext/debian/compat +0 -1
  1206. data/vendor/gems/puppet-4.5.2/ext/debian/control +0 -146
  1207. data/vendor/gems/puppet-4.5.2/ext/debian/copyright +0 -361
  1208. data/vendor/gems/puppet-4.5.2/ext/debian/docs +0 -1
  1209. data/vendor/gems/puppet-4.5.2/ext/debian/fileserver.conf +0 -41
  1210. data/vendor/gems/puppet-4.5.2/ext/debian/puppet-common.dirs +0 -13
  1211. data/vendor/gems/puppet-4.5.2/ext/debian/puppet-common.install +0 -4
  1212. data/vendor/gems/puppet-4.5.2/ext/debian/puppet-common.lintian-overrides +0 -5
  1213. data/vendor/gems/puppet-4.5.2/ext/debian/puppet-common.manpages +0 -30
  1214. data/vendor/gems/puppet-4.5.2/ext/debian/puppet-common.postinst +0 -35
  1215. data/vendor/gems/puppet-4.5.2/ext/debian/puppet-common.postrm +0 -33
  1216. data/vendor/gems/puppet-4.5.2/ext/debian/puppet-el.dirs +0 -1
  1217. data/vendor/gems/puppet-4.5.2/ext/debian/puppet-el.emacsen-install +0 -25
  1218. data/vendor/gems/puppet-4.5.2/ext/debian/puppet-el.emacsen-remove +0 -11
  1219. data/vendor/gems/puppet-4.5.2/ext/debian/puppet-el.emacsen-startup +0 -9
  1220. data/vendor/gems/puppet-4.5.2/ext/debian/puppet-el.install +0 -1
  1221. data/vendor/gems/puppet-4.5.2/ext/debian/puppet-testsuite.install +0 -2
  1222. data/vendor/gems/puppet-4.5.2/ext/debian/puppet-testsuite.lintian-overrides +0 -4
  1223. data/vendor/gems/puppet-4.5.2/ext/debian/puppet.default +0 -4
  1224. data/vendor/gems/puppet-4.5.2/ext/debian/puppet.init +0 -113
  1225. data/vendor/gems/puppet-4.5.2/ext/debian/puppet.lintian-overrides +0 -3
  1226. data/vendor/gems/puppet-4.5.2/ext/debian/puppet.logrotate +0 -20
  1227. data/vendor/gems/puppet-4.5.2/ext/debian/puppet.postinst +0 -20
  1228. data/vendor/gems/puppet-4.5.2/ext/debian/puppet.postrm +0 -20
  1229. data/vendor/gems/puppet-4.5.2/ext/debian/puppet.preinst +0 -20
  1230. data/vendor/gems/puppet-4.5.2/ext/debian/puppetmaster-common.install +0 -2
  1231. data/vendor/gems/puppet-4.5.2/ext/debian/puppetmaster-common.manpages +0 -2
  1232. data/vendor/gems/puppet-4.5.2/ext/debian/puppetmaster-common.postinst +0 -6
  1233. data/vendor/gems/puppet-4.5.2/ext/debian/puppetmaster-passenger.dirs +0 -4
  1234. data/vendor/gems/puppet-4.5.2/ext/debian/puppetmaster-passenger.postinst +0 -162
  1235. data/vendor/gems/puppet-4.5.2/ext/debian/puppetmaster-passenger.postrm +0 -61
  1236. data/vendor/gems/puppet-4.5.2/ext/debian/puppetmaster.README.debian +0 -17
  1237. data/vendor/gems/puppet-4.5.2/ext/debian/puppetmaster.default +0 -14
  1238. data/vendor/gems/puppet-4.5.2/ext/debian/puppetmaster.init +0 -137
  1239. data/vendor/gems/puppet-4.5.2/ext/debian/puppetmaster.lintian-overrides +0 -3
  1240. data/vendor/gems/puppet-4.5.2/ext/debian/puppetmaster.postinst +0 -20
  1241. data/vendor/gems/puppet-4.5.2/ext/debian/puppetmaster.postrm +0 -5
  1242. data/vendor/gems/puppet-4.5.2/ext/debian/puppetmaster.preinst +0 -22
  1243. data/vendor/gems/puppet-4.5.2/ext/debian/rules +0 -132
  1244. data/vendor/gems/puppet-4.5.2/ext/debian/source/format +0 -1
  1245. data/vendor/gems/puppet-4.5.2/ext/debian/source/options +0 -1
  1246. data/vendor/gems/puppet-4.5.2/ext/debian/vim-puppet.README.Debian +0 -13
  1247. data/vendor/gems/puppet-4.5.2/ext/debian/vim-puppet.dirs +0 -5
  1248. data/vendor/gems/puppet-4.5.2/ext/debian/vim-puppet.yaml +0 -7
  1249. data/vendor/gems/puppet-4.5.2/ext/debian/watch +0 -2
  1250. data/vendor/gems/puppet-4.5.2/ext/emacs/puppet-mode-init.el +0 -6
  1251. data/vendor/gems/puppet-4.5.2/ext/emacs/puppet-mode.el +0 -433
  1252. data/vendor/gems/puppet-4.5.2/ext/envpuppet +0 -139
  1253. data/vendor/gems/puppet-4.5.2/ext/envpuppet.bat +0 -14
  1254. data/vendor/gems/puppet-4.5.2/ext/freebsd/puppetd +0 -26
  1255. data/vendor/gems/puppet-4.5.2/ext/freebsd/puppetmasterd +0 -26
  1256. data/vendor/gems/puppet-4.5.2/ext/gentoo/conf.d/puppet +0 -5
  1257. data/vendor/gems/puppet-4.5.2/ext/gentoo/conf.d/puppetmaster +0 -12
  1258. data/vendor/gems/puppet-4.5.2/ext/gentoo/init.d/puppet +0 -38
  1259. data/vendor/gems/puppet-4.5.2/ext/gentoo/init.d/puppetmaster +0 -51
  1260. data/vendor/gems/puppet-4.5.2/ext/gentoo/puppet/fileserver.conf +0 -41
  1261. data/vendor/gems/puppet-4.5.2/ext/ips/puppet-agent +0 -44
  1262. data/vendor/gems/puppet-4.5.2/ext/ips/puppet-master +0 -44
  1263. data/vendor/gems/puppet-4.5.2/ext/ips/puppet.p5m.erb +0 -12
  1264. data/vendor/gems/puppet-4.5.2/ext/ips/puppetagent.xml +0 -42
  1265. data/vendor/gems/puppet-4.5.2/ext/ips/puppetmaster.xml +0 -42
  1266. data/vendor/gems/puppet-4.5.2/ext/ips/rules +0 -19
  1267. data/vendor/gems/puppet-4.5.2/ext/ips/transforms +0 -34
  1268. data/vendor/gems/puppet-4.5.2/ext/ldap/puppet.schema +0 -24
  1269. data/vendor/gems/puppet-4.5.2/ext/logcheck/puppet +0 -23
  1270. data/vendor/gems/puppet-4.5.2/ext/nagios/check_puppet.rb +0 -123
  1271. data/vendor/gems/puppet-4.5.2/ext/osx/file_mapping.yaml +0 -33
  1272. data/vendor/gems/puppet-4.5.2/ext/osx/postflight.erb +0 -109
  1273. data/vendor/gems/puppet-4.5.2/ext/osx/preflight.erb +0 -52
  1274. data/vendor/gems/puppet-4.5.2/ext/osx/prototype.plist.erb +0 -38
  1275. data/vendor/gems/puppet-4.5.2/ext/osx/puppet.plist +0 -30
  1276. data/vendor/gems/puppet-4.5.2/ext/project_data.yaml +0 -59
  1277. data/vendor/gems/puppet-4.5.2/ext/puppet-test +0 -500
  1278. data/vendor/gems/puppet-4.5.2/ext/puppetlisten/puppetlisten.rb +0 -77
  1279. data/vendor/gems/puppet-4.5.2/ext/puppetlisten/puppetrun.rb +0 -38
  1280. data/vendor/gems/puppet-4.5.2/ext/pure_ruby_dsl/dsl_test.rb +0 -7
  1281. data/vendor/gems/puppet-4.5.2/ext/rack/config.ru +0 -44
  1282. data/vendor/gems/puppet-4.5.2/ext/rack/example-passenger-vhost.conf +0 -57
  1283. data/vendor/gems/puppet-4.5.2/ext/redhat/client.init +0 -169
  1284. data/vendor/gems/puppet-4.5.2/ext/redhat/client.sysconfig +0 -2
  1285. data/vendor/gems/puppet-4.5.2/ext/redhat/fileserver.conf +0 -41
  1286. data/vendor/gems/puppet-4.5.2/ext/redhat/logrotate +0 -21
  1287. data/vendor/gems/puppet-4.5.2/ext/redhat/puppet.spec.erb +0 -849
  1288. data/vendor/gems/puppet-4.5.2/ext/redhat/server.init +0 -128
  1289. data/vendor/gems/puppet-4.5.2/ext/redhat/server.sysconfig +0 -13
  1290. data/vendor/gems/puppet-4.5.2/ext/regexp_nodes/classes/databases +0 -2
  1291. data/vendor/gems/puppet-4.5.2/ext/regexp_nodes/classes/webservers +0 -2
  1292. data/vendor/gems/puppet-4.5.2/ext/regexp_nodes/environment/development +0 -2
  1293. data/vendor/gems/puppet-4.5.2/ext/regexp_nodes/parameters/service/prod +0 -1
  1294. data/vendor/gems/puppet-4.5.2/ext/regexp_nodes/parameters/service/qa +0 -3
  1295. data/vendor/gems/puppet-4.5.2/ext/regexp_nodes/parameters/service/sandbox +0 -1
  1296. data/vendor/gems/puppet-4.5.2/ext/regexp_nodes/regexp_nodes.rb +0 -271
  1297. data/vendor/gems/puppet-4.5.2/ext/solaris/pkginfo +0 -6
  1298. data/vendor/gems/puppet-4.5.2/ext/solaris/smf/puppet +0 -44
  1299. data/vendor/gems/puppet-4.5.2/ext/solaris/smf/puppet.xml +0 -44
  1300. data/vendor/gems/puppet-4.5.2/ext/solaris/smf/puppetd.xml +0 -77
  1301. data/vendor/gems/puppet-4.5.2/ext/solaris/smf/puppetmasterd.xml +0 -77
  1302. data/vendor/gems/puppet-4.5.2/ext/solaris/smf/svc-puppetd +0 -64
  1303. data/vendor/gems/puppet-4.5.2/ext/solaris/smf/svc-puppetmasterd +0 -60
  1304. data/vendor/gems/puppet-4.5.2/ext/suse/client.init +0 -141
  1305. data/vendor/gems/puppet-4.5.2/ext/suse/puppet.spec +0 -310
  1306. data/vendor/gems/puppet-4.5.2/ext/suse/server.init +0 -173
  1307. data/vendor/gems/puppet-4.5.2/ext/systemd/puppet.service +0 -15
  1308. data/vendor/gems/puppet-4.5.2/ext/upload_facts.rb +0 -119
  1309. data/vendor/gems/puppet-4.5.2/ext/vim/README +0 -3
  1310. data/vendor/gems/puppet-4.5.2/ext/vim/ftdetect/puppet.vim +0 -2
  1311. data/vendor/gems/puppet-4.5.2/ext/vim/ftplugin/puppet.vim +0 -94
  1312. data/vendor/gems/puppet-4.5.2/ext/vim/indent/puppet.vim +0 -76
  1313. data/vendor/gems/puppet-4.5.2/ext/vim/syntax/puppet.vim +0 -115
  1314. data/vendor/gems/puppet-4.5.2/ext/windows/eventlog/Rakefile +0 -32
  1315. data/vendor/gems/puppet-4.5.2/ext/windows/eventlog/puppetres.dll +0 -0
  1316. data/vendor/gems/puppet-4.5.2/ext/windows/eventlog/puppetres.mc +0 -18
  1317. data/vendor/gems/puppet-4.5.2/ext/windows/puppet_interactive.bat +0 -6
  1318. data/vendor/gems/puppet-4.5.2/ext/windows/puppet_shell.bat +0 -9
  1319. data/vendor/gems/puppet-4.5.2/ext/windows/run_puppet_interactive.bat +0 -9
  1320. data/vendor/gems/puppet-4.5.2/ext/windows/service/daemon.bat +0 -6
  1321. data/vendor/gems/puppet-4.5.2/ext/windows/service/daemon.rb +0 -192
  1322. data/vendor/gems/puppet-4.5.2/ext/yaml_nodes.rb +0 -105
  1323. data/vendor/gems/puppet-4.5.2/install.rb +0 -477
  1324. data/vendor/gems/puppet-4.5.2/lib/hiera/puppet_function.rb +0 -82
  1325. data/vendor/gems/puppet-4.5.2/lib/hiera/scope.rb +0 -63
  1326. data/vendor/gems/puppet-4.5.2/lib/puppet.rb +0 -286
  1327. data/vendor/gems/puppet-4.5.2/lib/puppet/agent.rb +0 -102
  1328. data/vendor/gems/puppet-4.5.2/lib/puppet/agent/disabler.rb +0 -53
  1329. data/vendor/gems/puppet-4.5.2/lib/puppet/agent/locker.rb +0 -52
  1330. data/vendor/gems/puppet-4.5.2/lib/puppet/application.rb +0 -462
  1331. data/vendor/gems/puppet-4.5.2/lib/puppet/application/agent.rb +0 -456
  1332. data/vendor/gems/puppet-4.5.2/lib/puppet/application/apply.rb +0 -352
  1333. data/vendor/gems/puppet-4.5.2/lib/puppet/application/ca.rb +0 -11
  1334. data/vendor/gems/puppet-4.5.2/lib/puppet/application/catalog.rb +0 -4
  1335. data/vendor/gems/puppet-4.5.2/lib/puppet/application/cert.rb +0 -297
  1336. data/vendor/gems/puppet-4.5.2/lib/puppet/application/certificate.rb +0 -17
  1337. data/vendor/gems/puppet-4.5.2/lib/puppet/application/certificate_request.rb +0 -7
  1338. data/vendor/gems/puppet-4.5.2/lib/puppet/application/certificate_revocation_list.rb +0 -7
  1339. data/vendor/gems/puppet-4.5.2/lib/puppet/application/config.rb +0 -4
  1340. data/vendor/gems/puppet-4.5.2/lib/puppet/application/describe.rb +0 -254
  1341. data/vendor/gems/puppet-4.5.2/lib/puppet/application/device.rb +0 -256
  1342. data/vendor/gems/puppet-4.5.2/lib/puppet/application/doc.rb +0 -226
  1343. data/vendor/gems/puppet-4.5.2/lib/puppet/application/epp.rb +0 -5
  1344. data/vendor/gems/puppet-4.5.2/lib/puppet/application/face_base.rb +0 -269
  1345. data/vendor/gems/puppet-4.5.2/lib/puppet/application/facts.rb +0 -4
  1346. data/vendor/gems/puppet-4.5.2/lib/puppet/application/file.rb +0 -4
  1347. data/vendor/gems/puppet-4.5.2/lib/puppet/application/filebucket.rb +0 -258
  1348. data/vendor/gems/puppet-4.5.2/lib/puppet/application/help.rb +0 -4
  1349. data/vendor/gems/puppet-4.5.2/lib/puppet/application/indirection_base.rb +0 -4
  1350. data/vendor/gems/puppet-4.5.2/lib/puppet/application/inspect.rb +0 -179
  1351. data/vendor/gems/puppet-4.5.2/lib/puppet/application/key.rb +0 -4
  1352. data/vendor/gems/puppet-4.5.2/lib/puppet/application/lookup.rb +0 -342
  1353. data/vendor/gems/puppet-4.5.2/lib/puppet/application/man.rb +0 -4
  1354. data/vendor/gems/puppet-4.5.2/lib/puppet/application/master.rb +0 -321
  1355. data/vendor/gems/puppet-4.5.2/lib/puppet/application/module.rb +0 -4
  1356. data/vendor/gems/puppet-4.5.2/lib/puppet/application/node.rb +0 -4
  1357. data/vendor/gems/puppet-4.5.2/lib/puppet/application/parser.rb +0 -5
  1358. data/vendor/gems/puppet-4.5.2/lib/puppet/application/plugin.rb +0 -3
  1359. data/vendor/gems/puppet-4.5.2/lib/puppet/application/report.rb +0 -4
  1360. data/vendor/gems/puppet-4.5.2/lib/puppet/application/resource.rb +0 -224
  1361. data/vendor/gems/puppet-4.5.2/lib/puppet/application/resource_type.rb +0 -7
  1362. data/vendor/gems/puppet-4.5.2/lib/puppet/application/status.rb +0 -4
  1363. data/vendor/gems/puppet-4.5.2/lib/puppet/application_support.rb +0 -57
  1364. data/vendor/gems/puppet-4.5.2/lib/puppet/configurer.rb +0 -389
  1365. data/vendor/gems/puppet-4.5.2/lib/puppet/configurer/fact_handler.rb +0 -37
  1366. data/vendor/gems/puppet-4.5.2/lib/puppet/configurer/plugin_handler.rb +0 -27
  1367. data/vendor/gems/puppet-4.5.2/lib/puppet/data_providers.rb +0 -30
  1368. data/vendor/gems/puppet-4.5.2/lib/puppet/data_providers/data_adapter.rb +0 -30
  1369. data/vendor/gems/puppet-4.5.2/lib/puppet/data_providers/data_function_support.rb +0 -24
  1370. data/vendor/gems/puppet-4.5.2/lib/puppet/data_providers/function_env_data_provider.rb +0 -18
  1371. data/vendor/gems/puppet-4.5.2/lib/puppet/data_providers/function_module_data_provider.rb +0 -17
  1372. data/vendor/gems/puppet-4.5.2/lib/puppet/data_providers/hiera_config.rb +0 -129
  1373. data/vendor/gems/puppet-4.5.2/lib/puppet/data_providers/hiera_env_data_provider.rb +0 -18
  1374. data/vendor/gems/puppet-4.5.2/lib/puppet/data_providers/hiera_interpolate.rb +0 -19
  1375. data/vendor/gems/puppet-4.5.2/lib/puppet/data_providers/hiera_module_data_provider.rb +0 -23
  1376. data/vendor/gems/puppet-4.5.2/lib/puppet/data_providers/hiera_support.rb +0 -37
  1377. data/vendor/gems/puppet-4.5.2/lib/puppet/data_providers/json_data_provider_factory.rb +0 -24
  1378. data/vendor/gems/puppet-4.5.2/lib/puppet/data_providers/lookup_adapter.rb +0 -254
  1379. data/vendor/gems/puppet-4.5.2/lib/puppet/data_providers/yaml_data_provider_factory.rb +0 -26
  1380. data/vendor/gems/puppet-4.5.2/lib/puppet/defaults.rb +0 -1902
  1381. data/vendor/gems/puppet-4.5.2/lib/puppet/environments.rb +0 -487
  1382. data/vendor/gems/puppet-4.5.2/lib/puppet/error.rb +0 -100
  1383. data/vendor/gems/puppet-4.5.2/lib/puppet/external/dot.rb +0 -326
  1384. data/vendor/gems/puppet-4.5.2/lib/puppet/face/ca.rb +0 -254
  1385. data/vendor/gems/puppet-4.5.2/lib/puppet/face/catalog.rb +0 -130
  1386. data/vendor/gems/puppet-4.5.2/lib/puppet/face/certificate.rb +0 -159
  1387. data/vendor/gems/puppet-4.5.2/lib/puppet/face/certificate_request.rb +0 -54
  1388. data/vendor/gems/puppet-4.5.2/lib/puppet/face/certificate_revocation_list.rb +0 -54
  1389. data/vendor/gems/puppet-4.5.2/lib/puppet/face/config.rb +0 -119
  1390. data/vendor/gems/puppet-4.5.2/lib/puppet/face/epp.rb +0 -479
  1391. data/vendor/gems/puppet-4.5.2/lib/puppet/face/facts.rb +0 -38
  1392. data/vendor/gems/puppet-4.5.2/lib/puppet/face/file.rb +0 -47
  1393. data/vendor/gems/puppet-4.5.2/lib/puppet/face/help.rb +0 -193
  1394. data/vendor/gems/puppet-4.5.2/lib/puppet/face/help/face.erb +0 -111
  1395. data/vendor/gems/puppet-4.5.2/lib/puppet/face/key.rb +0 -15
  1396. data/vendor/gems/puppet-4.5.2/lib/puppet/face/man.rb +0 -99
  1397. data/vendor/gems/puppet-4.5.2/lib/puppet/face/module.rb +0 -19
  1398. data/vendor/gems/puppet-4.5.2/lib/puppet/face/module/generate.rb +0 -251
  1399. data/vendor/gems/puppet-4.5.2/lib/puppet/face/module/install.rb +0 -145
  1400. data/vendor/gems/puppet-4.5.2/lib/puppet/face/node.rb +0 -42
  1401. data/vendor/gems/puppet-4.5.2/lib/puppet/face/parser.rb +0 -161
  1402. data/vendor/gems/puppet-4.5.2/lib/puppet/face/plugin.rb +0 -58
  1403. data/vendor/gems/puppet-4.5.2/lib/puppet/face/report.rb +0 -54
  1404. data/vendor/gems/puppet-4.5.2/lib/puppet/face/resource.rb +0 -53
  1405. data/vendor/gems/puppet-4.5.2/lib/puppet/face/resource_type.rb +0 -84
  1406. data/vendor/gems/puppet-4.5.2/lib/puppet/face/status.rb +0 -48
  1407. data/vendor/gems/puppet-4.5.2/lib/puppet/feature/base.rb +0 -87
  1408. data/vendor/gems/puppet-4.5.2/lib/puppet/feature/external_facts.rb +0 -5
  1409. data/vendor/gems/puppet-4.5.2/lib/puppet/file_serving/metadata.rb +0 -163
  1410. data/vendor/gems/puppet-4.5.2/lib/puppet/file_system.rb +0 -376
  1411. data/vendor/gems/puppet-4.5.2/lib/puppet/file_system/file_impl.rb +0 -149
  1412. data/vendor/gems/puppet-4.5.2/lib/puppet/file_system/memory_impl.rb +0 -82
  1413. data/vendor/gems/puppet-4.5.2/lib/puppet/file_system/path_pattern.rb +0 -97
  1414. data/vendor/gems/puppet-4.5.2/lib/puppet/file_system/windows.rb +0 -103
  1415. data/vendor/gems/puppet-4.5.2/lib/puppet/forge.rb +0 -226
  1416. data/vendor/gems/puppet-4.5.2/lib/puppet/forge/cache.rb +0 -59
  1417. data/vendor/gems/puppet-4.5.2/lib/puppet/forge/repository.rb +0 -155
  1418. data/vendor/gems/puppet-4.5.2/lib/puppet/functions.rb +0 -732
  1419. data/vendor/gems/puppet-4.5.2/lib/puppet/functions/assert_type.rb +0 -95
  1420. data/vendor/gems/puppet-4.5.2/lib/puppet/functions/defined.rb +0 -161
  1421. data/vendor/gems/puppet-4.5.2/lib/puppet/functions/dig.rb +0 -39
  1422. data/vendor/gems/puppet-4.5.2/lib/puppet/functions/epp.rb +0 -45
  1423. data/vendor/gems/puppet-4.5.2/lib/puppet/functions/hiera.rb +0 -81
  1424. data/vendor/gems/puppet-4.5.2/lib/puppet/functions/hiera_array.rb +0 -74
  1425. data/vendor/gems/puppet-4.5.2/lib/puppet/functions/hiera_hash.rb +0 -84
  1426. data/vendor/gems/puppet-4.5.2/lib/puppet/functions/hiera_include.rb +0 -90
  1427. data/vendor/gems/puppet-4.5.2/lib/puppet/functions/lest.rb +0 -53
  1428. data/vendor/gems/puppet-4.5.2/lib/puppet/functions/new.rb +0 -502
  1429. data/vendor/gems/puppet-4.5.2/lib/puppet/functions/regsubst.rb +0 -80
  1430. data/vendor/gems/puppet-4.5.2/lib/puppet/functions/reverse_each.rb +0 -82
  1431. data/vendor/gems/puppet-4.5.2/lib/puppet/functions/scanf.rb +0 -44
  1432. data/vendor/gems/puppet-4.5.2/lib/puppet/functions/step.rb +0 -88
  1433. data/vendor/gems/puppet-4.5.2/lib/puppet/functions/then.rb +0 -74
  1434. data/vendor/gems/puppet-4.5.2/lib/puppet/functions/type.rb +0 -70
  1435. data/vendor/gems/puppet-4.5.2/lib/puppet/graph/simple_graph.rb +0 -562
  1436. data/vendor/gems/puppet-4.5.2/lib/puppet/indirector/catalog/compiler.rb +0 -367
  1437. data/vendor/gems/puppet-4.5.2/lib/puppet/indirector/catalog/static_compiler.rb +0 -229
  1438. data/vendor/gems/puppet-4.5.2/lib/puppet/indirector/face.rb +0 -148
  1439. data/vendor/gems/puppet-4.5.2/lib/puppet/indirector/facts/facter.rb +0 -90
  1440. data/vendor/gems/puppet-4.5.2/lib/puppet/indirector/file_bucket_file/file.rb +0 -199
  1441. data/vendor/gems/puppet-4.5.2/lib/puppet/indirector/key/ca.rb +0 -16
  1442. data/vendor/gems/puppet-4.5.2/lib/puppet/indirector/key/file.rb +0 -49
  1443. data/vendor/gems/puppet-4.5.2/lib/puppet/indirector/request.rb +0 -256
  1444. data/vendor/gems/puppet-4.5.2/lib/puppet/indirector/rest.rb +0 -260
  1445. data/vendor/gems/puppet-4.5.2/lib/puppet/indirector/ssl_file.rb +0 -180
  1446. data/vendor/gems/puppet-4.5.2/lib/puppet/info_service/class_information_service.rb +0 -112
  1447. data/vendor/gems/puppet-4.5.2/lib/puppet/interface.rb +0 -228
  1448. data/vendor/gems/puppet-4.5.2/lib/puppet/interface/documentation.rb +0 -342
  1449. data/vendor/gems/puppet-4.5.2/lib/puppet/interface/face_collection.rb +0 -125
  1450. data/vendor/gems/puppet-4.5.2/lib/puppet/loaders.rb +0 -23
  1451. data/vendor/gems/puppet-4.5.2/lib/puppet/metatype/manager.rb +0 -195
  1452. data/vendor/gems/puppet-4.5.2/lib/puppet/module.rb +0 -355
  1453. data/vendor/gems/puppet-4.5.2/lib/puppet/module_tool.rb +0 -192
  1454. data/vendor/gems/puppet-4.5.2/lib/puppet/module_tool/applications/builder.rb +0 -148
  1455. data/vendor/gems/puppet-4.5.2/lib/puppet/module_tool/applications/installer.rb +0 -351
  1456. data/vendor/gems/puppet-4.5.2/lib/puppet/module_tool/applications/upgrader.rb +0 -277
  1457. data/vendor/gems/puppet-4.5.2/lib/puppet/module_tool/checksums.rb +0 -49
  1458. data/vendor/gems/puppet-4.5.2/lib/puppet/module_tool/errors/installer.rb +0 -95
  1459. data/vendor/gems/puppet-4.5.2/lib/puppet/module_tool/installed_modules.rb +0 -96
  1460. data/vendor/gems/puppet-4.5.2/lib/puppet/module_tool/local_tarball.rb +0 -90
  1461. data/vendor/gems/puppet-4.5.2/lib/puppet/module_tool/metadata.rb +0 -221
  1462. data/vendor/gems/puppet-4.5.2/lib/puppet/module_tool/skeleton/templates/generator/examples/init.pp.erb +0 -12
  1463. data/vendor/gems/puppet-4.5.2/lib/puppet/module_tool/tar.rb +0 -17
  1464. data/vendor/gems/puppet-4.5.2/lib/puppet/network/http/api/indirected_routes.rb +0 -248
  1465. data/vendor/gems/puppet-4.5.2/lib/puppet/network/http/api/master/v3.rb +0 -28
  1466. data/vendor/gems/puppet-4.5.2/lib/puppet/network/http/compression.rb +0 -116
  1467. data/vendor/gems/puppet-4.5.2/lib/puppet/network/http/connection.rb +0 -233
  1468. data/vendor/gems/puppet-4.5.2/lib/puppet/network/http/error.rb +0 -69
  1469. data/vendor/gems/puppet-4.5.2/lib/puppet/network/http/handler.rb +0 -178
  1470. data/vendor/gems/puppet-4.5.2/lib/puppet/network/http/rack/rest.rb +0 -147
  1471. data/vendor/gems/puppet-4.5.2/lib/puppet/network/http/webrick.rb +0 -124
  1472. data/vendor/gems/puppet-4.5.2/lib/puppet/network/rights.rb +0 -219
  1473. data/vendor/gems/puppet-4.5.2/lib/puppet/node/environment.rb +0 -540
  1474. data/vendor/gems/puppet-4.5.2/lib/puppet/node/facts.rb +0 -133
  1475. data/vendor/gems/puppet-4.5.2/lib/puppet/parameter.rb +0 -572
  1476. data/vendor/gems/puppet-4.5.2/lib/puppet/parameter/boolean.rb +0 -15
  1477. data/vendor/gems/puppet-4.5.2/lib/puppet/parameter/value.rb +0 -91
  1478. data/vendor/gems/puppet-4.5.2/lib/puppet/parser.rb +0 -20
  1479. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/ast.rb +0 -60
  1480. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/ast/leaf.rb +0 -75
  1481. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/ast/pops_bridge.rb +0 -304
  1482. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/ast/resource.rb +0 -61
  1483. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/ast/resource_instance.rb +0 -6
  1484. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/ast/resourceparam.rb +0 -26
  1485. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/compiler.rb +0 -895
  1486. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/compiler/catalog_validator/relationship_validator.rb +0 -60
  1487. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/environment_compiler.rb +0 -164
  1488. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions.rb +0 -272
  1489. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/assert_type.rb +0 -60
  1490. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/contain.rb +0 -38
  1491. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/create_resources.rb +0 -83
  1492. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/defined.rb +0 -131
  1493. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/each.rb +0 -104
  1494. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/epp.rb +0 -36
  1495. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/filter.rb +0 -78
  1496. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/hiera.rb +0 -89
  1497. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/hiera_array.rb +0 -78
  1498. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/hiera_hash.rb +0 -88
  1499. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/hiera_include.rb +0 -88
  1500. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/include.rb +0 -37
  1501. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/inline_epp.rb +0 -51
  1502. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/lookup.rb +0 -130
  1503. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/map.rb +0 -76
  1504. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/match.rb +0 -43
  1505. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/reduce.rb +0 -106
  1506. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/regsubst.rb +0 -60
  1507. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/require.rb +0 -63
  1508. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/scanf.rb +0 -33
  1509. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/slice.rb +0 -39
  1510. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/split.rb +0 -28
  1511. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/with.rb +0 -28
  1512. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/resource.rb +0 -367
  1513. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/scope.rb +0 -1082
  1514. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/type_loader.rb +0 -149
  1515. data/vendor/gems/puppet-4.5.2/lib/puppet/plugins/configuration.rb +0 -69
  1516. data/vendor/gems/puppet-4.5.2/lib/puppet/plugins/data_providers.rb +0 -42
  1517. data/vendor/gems/puppet-4.5.2/lib/puppet/plugins/data_providers/data_provider.rb +0 -336
  1518. data/vendor/gems/puppet-4.5.2/lib/puppet/plugins/data_providers/registry.rb +0 -84
  1519. data/vendor/gems/puppet-4.5.2/lib/puppet/pops.rb +0 -136
  1520. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/adaptable.rb +0 -204
  1521. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/adapters.rb +0 -193
  1522. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/binder/producers.rb +0 -831
  1523. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/binder/scheme_handler/confdir_scheme.rb +0 -34
  1524. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/evaluator/access_operator.rb +0 -639
  1525. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/evaluator/callable_signature.rb +0 -100
  1526. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/evaluator/closure.rb +0 -270
  1527. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/evaluator/collector_transformer.rb +0 -229
  1528. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/evaluator/collectors/catalog_collector.rb +0 -29
  1529. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/evaluator/collectors/exported_collector.rb +0 -69
  1530. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/evaluator/compare_operator.rb +0 -229
  1531. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/evaluator/evaluator_impl.rb +0 -1218
  1532. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/evaluator/external_syntax_support.rb +0 -52
  1533. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/evaluator/json_strict_literal_evaluator.rb +0 -85
  1534. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/evaluator/literal_evaluator.rb +0 -88
  1535. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/evaluator/relationship_operator.rb +0 -169
  1536. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/evaluator/runtime3_converter.rb +0 -192
  1537. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/evaluator/runtime3_support.rb +0 -537
  1538. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/functions/dispatch.rb +0 -85
  1539. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/functions/dispatcher.rb +0 -76
  1540. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/functions/function.rb +0 -113
  1541. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/issue_reporter.rb +0 -115
  1542. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/issues.rb +0 -729
  1543. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/label_provider.rb +0 -76
  1544. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/loader/base_loader.rb +0 -143
  1545. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/loader/loader.rb +0 -204
  1546. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/loader/loader_paths.rb +0 -194
  1547. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/loader/module_loaders.rb +0 -273
  1548. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/loader/null_loader.rb +0 -44
  1549. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/loader/puppet_function_instantiator.rb +0 -83
  1550. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/loader/ruby_function_instantiator.rb +0 -47
  1551. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/loader/runtime3_type_loader.rb +0 -57
  1552. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/loader/static_loader.rb +0 -166
  1553. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/loader/type_definition_instantiator.rb +0 -77
  1554. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/loaders.rb +0 -352
  1555. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/lookup.rb +0 -79
  1556. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/lookup/explainer.rb +0 -509
  1557. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/lookup/interpolation.rb +0 -115
  1558. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/lookup/invocation.rb +0 -119
  1559. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/lookup/sub_lookup.rb +0 -86
  1560. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/merge_strategy.rb +0 -338
  1561. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/migration/migration_checker.rb +0 -54
  1562. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/model/factory.rb +0 -1139
  1563. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/model/model_label_provider.rb +0 -125
  1564. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/model/model_meta.rb +0 -627
  1565. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/model/model_tree_dumper.rb +0 -437
  1566. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/parser/egrammar.ra +0 -866
  1567. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/parser/eparser.rb +0 -3157
  1568. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/parser/evaluating_parser.rb +0 -165
  1569. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/parser/heredoc_support.rb +0 -144
  1570. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/parser/interpolation_support.rb +0 -237
  1571. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/parser/lexer2.rb +0 -768
  1572. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/parser/locator.rb +0 -292
  1573. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/parser/parser_support.rb +0 -254
  1574. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/parser/slurp_support.rb +0 -119
  1575. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/patterns.rb +0 -47
  1576. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/pcore.rb +0 -30
  1577. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/semantic_error.rb +0 -17
  1578. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/types/implementation_registry.rb +0 -146
  1579. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/types/p_object_type.rb +0 -846
  1580. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/types/p_runtime_type.rb +0 -102
  1581. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/types/p_sem_ver_range_type.rb +0 -164
  1582. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/types/p_sem_ver_type.rb +0 -113
  1583. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/types/puppet_object.rb +0 -21
  1584. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/types/recursion_guard.rb +0 -92
  1585. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/types/ruby_generator.rb +0 -258
  1586. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/types/string_converter.rb +0 -922
  1587. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/types/type_asserter.rb +0 -47
  1588. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/types/type_calculator.rb +0 -807
  1589. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/types/type_factory.rb +0 -491
  1590. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/types/type_formatter.rb +0 -569
  1591. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/types/type_mismatch_describer.rb +0 -1039
  1592. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/types/type_parser.rb +0 -525
  1593. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/types/types.rb +0 -2855
  1594. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/validation.rb +0 -462
  1595. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/validation/checker4_0.rb +0 -956
  1596. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/validation/validator_factory_4_0.rb +0 -37
  1597. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/visitor.rb +0 -94
  1598. data/vendor/gems/puppet-4.5.2/lib/puppet/property.rb +0 -537
  1599. data/vendor/gems/puppet-4.5.2/lib/puppet/provider.rb +0 -604
  1600. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/aixobject.rb +0 -392
  1601. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/exec.rb +0 -96
  1602. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/group/aix.rb +0 -141
  1603. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/group/windows_adsi.rb +0 -106
  1604. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/macauthorization/macauthorization.rb +0 -298
  1605. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/mailalias/aliases.rb +0 -50
  1606. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/mcx/mcxcontent.rb +0 -172
  1607. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/mount/parsed.rb +0 -280
  1608. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/nameservice.rb +0 -292
  1609. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/nameservice/directoryservice.rb +0 -499
  1610. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/package/aix.rb +0 -152
  1611. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/package/appdmg.rb +0 -110
  1612. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/package/apple.rb +0 -47
  1613. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/package/dnf.rb +0 -41
  1614. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/package/gem.rb +0 -169
  1615. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/package/nim.rb +0 -280
  1616. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/package/pacman.rb +0 -267
  1617. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/package/pip.rb +0 -178
  1618. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/package/pip3.rb +0 -20
  1619. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/package/pkg.rb +0 -245
  1620. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/package/pkgdmg.rb +0 -152
  1621. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/package/pkgin.rb +0 -87
  1622. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/package/pkgng.rb +0 -143
  1623. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/package/pkgutil.rb +0 -186
  1624. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/package/portage.rb +0 -153
  1625. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/package/rpm.rb +0 -402
  1626. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/package/sun.rb +0 -132
  1627. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/package/yum.rb +0 -241
  1628. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/parsedfile.rb +0 -459
  1629. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/scheduled_task/win32_taskscheduler.rb +0 -583
  1630. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/selmodule/semodule.rb +0 -134
  1631. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/service/base.rb +0 -121
  1632. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/service/bsd.rb +0 -51
  1633. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/service/daemontools.rb +0 -194
  1634. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/service/debian.rb +0 -74
  1635. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/service/init.rb +0 -191
  1636. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/service/launchd.rb +0 -331
  1637. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/service/runit.rb +0 -111
  1638. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/service/smf.rb +0 -160
  1639. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/service/src.rb +0 -147
  1640. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/service/systemd.rb +0 -149
  1641. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/ssh_authorized_key/parsed.rb +0 -105
  1642. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/user/aix.rb +0 -369
  1643. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/user/directoryservice.rb +0 -630
  1644. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/user/hpux.rb +0 -95
  1645. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/user/user_role_add.rb +0 -212
  1646. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/user/useradd.rb +0 -231
  1647. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/user/windows_adsi.rb +0 -142
  1648. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/yumrepo/inifile.rb +0 -304
  1649. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/zfs/zfs.rb +0 -84
  1650. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/zone/solaris.rb +0 -361
  1651. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/zpool/zpool.rb +0 -125
  1652. data/vendor/gems/puppet-4.5.2/lib/puppet/reference/configuration.rb +0 -80
  1653. data/vendor/gems/puppet-4.5.2/lib/puppet/reference/indirection.rb +0 -71
  1654. data/vendor/gems/puppet-4.5.2/lib/puppet/reference/type.rb +0 -114
  1655. data/vendor/gems/puppet-4.5.2/lib/puppet/reports/http.rb +0 -31
  1656. data/vendor/gems/puppet-4.5.2/lib/puppet/resource.rb +0 -623
  1657. data/vendor/gems/puppet-4.5.2/lib/puppet/resource/capability_finder.rb +0 -102
  1658. data/vendor/gems/puppet-4.5.2/lib/puppet/resource/catalog.rb +0 -652
  1659. data/vendor/gems/puppet-4.5.2/lib/puppet/resource/status.rb +0 -223
  1660. data/vendor/gems/puppet-4.5.2/lib/puppet/resource/type.rb +0 -562
  1661. data/vendor/gems/puppet-4.5.2/lib/puppet/resource/type_collection.rb +0 -256
  1662. data/vendor/gems/puppet-4.5.2/lib/puppet/resource/type_collection_helper.rb +0 -7
  1663. data/vendor/gems/puppet-4.5.2/lib/puppet/settings.rb +0 -1431
  1664. data/vendor/gems/puppet-4.5.2/lib/puppet/settings/config_file.rb +0 -142
  1665. data/vendor/gems/puppet-4.5.2/lib/puppet/settings/directory_setting.rb +0 -12
  1666. data/vendor/gems/puppet-4.5.2/lib/puppet/settings/environment_conf.rb +0 -192
  1667. data/vendor/gems/puppet-4.5.2/lib/puppet/settings/file_or_directory_setting.rb +0 -34
  1668. data/vendor/gems/puppet-4.5.2/lib/puppet/settings/file_setting.rb +0 -235
  1669. data/vendor/gems/puppet-4.5.2/lib/puppet/settings/ini_file.rb +0 -171
  1670. data/vendor/gems/puppet-4.5.2/lib/puppet/ssl/base.rb +0 -140
  1671. data/vendor/gems/puppet-4.5.2/lib/puppet/ssl/certificate.rb +0 -95
  1672. data/vendor/gems/puppet-4.5.2/lib/puppet/ssl/certificate_authority.rb +0 -517
  1673. data/vendor/gems/puppet-4.5.2/lib/puppet/ssl/certificate_authority/interface.rb +0 -184
  1674. data/vendor/gems/puppet-4.5.2/lib/puppet/ssl/certificate_request.rb +0 -327
  1675. data/vendor/gems/puppet-4.5.2/lib/puppet/ssl/configuration.rb +0 -58
  1676. data/vendor/gems/puppet-4.5.2/lib/puppet/ssl/host.rb +0 -365
  1677. data/vendor/gems/puppet-4.5.2/lib/puppet/ssl/inventory.rb +0 -48
  1678. data/vendor/gems/puppet-4.5.2/lib/puppet/ssl/key.rb +0 -59
  1679. data/vendor/gems/puppet-4.5.2/lib/puppet/ssl/oids.rb +0 -177
  1680. data/vendor/gems/puppet-4.5.2/lib/puppet/ssl/validator/default_validator.rb +0 -174
  1681. data/vendor/gems/puppet-4.5.2/lib/puppet/syntax_checkers/json.rb +0 -37
  1682. data/vendor/gems/puppet-4.5.2/lib/puppet/test/test_helper.rb +0 -253
  1683. data/vendor/gems/puppet-4.5.2/lib/puppet/transaction.rb +0 -381
  1684. data/vendor/gems/puppet-4.5.2/lib/puppet/transaction/additional_resource_generator.rb +0 -207
  1685. data/vendor/gems/puppet-4.5.2/lib/puppet/transaction/event.rb +0 -106
  1686. data/vendor/gems/puppet-4.5.2/lib/puppet/transaction/event_manager.rb +0 -167
  1687. data/vendor/gems/puppet-4.5.2/lib/puppet/transaction/report.rb +0 -408
  1688. data/vendor/gems/puppet-4.5.2/lib/puppet/transaction/resource_harness.rb +0 -236
  1689. data/vendor/gems/puppet-4.5.2/lib/puppet/type.rb +0 -2615
  1690. data/vendor/gems/puppet-4.5.2/lib/puppet/type/augeas.rb +0 -211
  1691. data/vendor/gems/puppet-4.5.2/lib/puppet/type/component.rb +0 -77
  1692. data/vendor/gems/puppet-4.5.2/lib/puppet/type/cron.rb +0 -492
  1693. data/vendor/gems/puppet-4.5.2/lib/puppet/type/exec.rb +0 -601
  1694. data/vendor/gems/puppet-4.5.2/lib/puppet/type/file.rb +0 -995
  1695. data/vendor/gems/puppet-4.5.2/lib/puppet/type/file/checksum.rb +0 -43
  1696. data/vendor/gems/puppet-4.5.2/lib/puppet/type/file/content.rb +0 -160
  1697. data/vendor/gems/puppet-4.5.2/lib/puppet/type/file/data_sync.rb +0 -84
  1698. data/vendor/gems/puppet-4.5.2/lib/puppet/type/file/mode.rb +0 -173
  1699. data/vendor/gems/puppet-4.5.2/lib/puppet/type/file/source.rb +0 -346
  1700. data/vendor/gems/puppet-4.5.2/lib/puppet/type/group.rb +0 -200
  1701. data/vendor/gems/puppet-4.5.2/lib/puppet/type/host.rb +0 -95
  1702. data/vendor/gems/puppet-4.5.2/lib/puppet/type/mount.rb +0 -314
  1703. data/vendor/gems/puppet-4.5.2/lib/puppet/type/notify.rb +0 -44
  1704. data/vendor/gems/puppet-4.5.2/lib/puppet/type/package.rb +0 -571
  1705. data/vendor/gems/puppet-4.5.2/lib/puppet/type/resources.rb +0 -180
  1706. data/vendor/gems/puppet-4.5.2/lib/puppet/type/scheduled_task.rb +0 -184
  1707. data/vendor/gems/puppet-4.5.2/lib/puppet/type/ssh_authorized_key.rb +0 -153
  1708. data/vendor/gems/puppet-4.5.2/lib/puppet/type/tidy.rb +0 -329
  1709. data/vendor/gems/puppet-4.5.2/lib/puppet/type/user.rb +0 -747
  1710. data/vendor/gems/puppet-4.5.2/lib/puppet/type/yumrepo.rb +0 -409
  1711. data/vendor/gems/puppet-4.5.2/lib/puppet/type/zone.rb +0 -382
  1712. data/vendor/gems/puppet-4.5.2/lib/puppet/util.rb +0 -579
  1713. data/vendor/gems/puppet-4.5.2/lib/puppet/util/classgen.rb +0 -228
  1714. data/vendor/gems/puppet-4.5.2/lib/puppet/util/command_line.rb +0 -181
  1715. data/vendor/gems/puppet-4.5.2/lib/puppet/util/command_line/trollop.rb +0 -824
  1716. data/vendor/gems/puppet-4.5.2/lib/puppet/util/execution.rb +0 -356
  1717. data/vendor/gems/puppet-4.5.2/lib/puppet/util/filetype.rb +0 -303
  1718. data/vendor/gems/puppet-4.5.2/lib/puppet/util/http_proxy.rb +0 -197
  1719. data/vendor/gems/puppet-4.5.2/lib/puppet/util/inifile.rb +0 -341
  1720. data/vendor/gems/puppet-4.5.2/lib/puppet/util/instance_loader.rb +0 -81
  1721. data/vendor/gems/puppet-4.5.2/lib/puppet/util/log.rb +0 -386
  1722. data/vendor/gems/puppet-4.5.2/lib/puppet/util/logging.rb +0 -310
  1723. data/vendor/gems/puppet-4.5.2/lib/puppet/util/monkey_patches.rb +0 -145
  1724. data/vendor/gems/puppet-4.5.2/lib/puppet/util/multi_match.rb +0 -51
  1725. data/vendor/gems/puppet-4.5.2/lib/puppet/util/network_device/config.rb +0 -98
  1726. data/vendor/gems/puppet-4.5.2/lib/puppet/util/plist.rb +0 -130
  1727. data/vendor/gems/puppet-4.5.2/lib/puppet/util/profiler.rb +0 -53
  1728. data/vendor/gems/puppet-4.5.2/lib/puppet/util/profiler/aggregate.rb +0 -85
  1729. data/vendor/gems/puppet-4.5.2/lib/puppet/util/profiler/around_profiler.rb +0 -67
  1730. data/vendor/gems/puppet-4.5.2/lib/puppet/util/psych_support.rb +0 -38
  1731. data/vendor/gems/puppet-4.5.2/lib/puppet/util/rdoc.rb +0 -60
  1732. data/vendor/gems/puppet-4.5.2/lib/puppet/util/reference.rb +0 -124
  1733. data/vendor/gems/puppet-4.5.2/lib/puppet/util/rubygems.rb +0 -75
  1734. data/vendor/gems/puppet-4.5.2/lib/puppet/util/tagging.rb +0 -118
  1735. data/vendor/gems/puppet-4.5.2/lib/puppet/util/watcher/periodic_watcher.rb +0 -37
  1736. data/vendor/gems/puppet-4.5.2/lib/puppet/util/windows/access_control_entry.rb +0 -84
  1737. data/vendor/gems/puppet-4.5.2/lib/puppet/util/windows/adsi.rb +0 -523
  1738. data/vendor/gems/puppet-4.5.2/lib/puppet/util/windows/api_types.rb +0 -275
  1739. data/vendor/gems/puppet-4.5.2/lib/puppet/util/windows/file.rb +0 -425
  1740. data/vendor/gems/puppet-4.5.2/lib/puppet/util/windows/process.rb +0 -479
  1741. data/vendor/gems/puppet-4.5.2/lib/puppet/util/windows/security.rb +0 -857
  1742. data/vendor/gems/puppet-4.5.2/lib/puppet/util/windows/taskscheduler.rb +0 -1220
  1743. data/vendor/gems/puppet-4.5.2/lib/puppet/util/windows/user.rb +0 -291
  1744. data/vendor/gems/puppet-4.5.2/lib/puppet/util/yaml.rb +0 -24
  1745. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/deep_merge/test/test_deep_merge.rb +0 -608
  1746. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/pathspec/lib/pathspec.rb +0 -121
  1747. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/require_vendored.rb +0 -7
  1748. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/array_extensions_test.rb +0 -64
  1749. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/ea_instantiator_test.rb +0 -35
  1750. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/ea_serializer_test.rb +0 -23
  1751. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/ecore_self_test.rb +0 -54
  1752. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/environment_test.rb +0 -90
  1753. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/json_test.rb +0 -171
  1754. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/metamodel_builder_test.rb +0 -1482
  1755. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/metamodel_from_ecore_test.rb +0 -57
  1756. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/metamodel_order_test.rb +0 -131
  1757. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/metamodel_roundtrip_test.rb +0 -98
  1758. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/metamodel_roundtrip_test/TestModel.rb +0 -70
  1759. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/metamodel_roundtrip_test/houseMetamodel.ecore +0 -42
  1760. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/metamodel_roundtrip_test/houseMetamodel_from_ecore.rb +0 -44
  1761. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/metamodel_roundtrip_test/using_builtin_types.ecore +0 -9
  1762. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/method_delegation_test.rb +0 -178
  1763. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/model_builder/builder_context_test.rb +0 -59
  1764. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/model_builder/builder_test.rb +0 -242
  1765. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/model_builder/ecore_original.rb +0 -163
  1766. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/model_builder/ecore_original_regenerated.rb +0 -163
  1767. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/model_builder/reference_resolver_test.rb +0 -156
  1768. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/model_builder/serializer_test.rb +0 -94
  1769. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/model_builder/statemachine_metamodel.rb +0 -42
  1770. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/model_builder/test_model/statemachine1.rb +0 -23
  1771. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/model_builder_test.rb +0 -6
  1772. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/model_fragment_test.rb +0 -30
  1773. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/output_handler_test.rb +0 -58
  1774. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/qualified_name_provider_test.rb +0 -48
  1775. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/qualified_name_resolver_test.rb +0 -102
  1776. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/reference_resolver_test.rb +0 -117
  1777. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/rgen_test.rb +0 -26
  1778. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/template_language_test.rb +0 -163
  1779. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/template_language_test/expected_result1.txt +0 -29
  1780. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/template_language_test/expected_result2.txt +0 -9
  1781. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/template_language_test/expected_result3.txt +0 -4
  1782. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/template_language_test/indentStringTestDefaultIndent.out +0 -1
  1783. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/template_language_test/indentStringTestTabIndent.out +0 -1
  1784. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/template_language_test/templates/callback_indent_test/a.tpl +0 -12
  1785. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/template_language_test/templates/callback_indent_test/b.tpl +0 -5
  1786. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/template_language_test/templates/code/array.tpl +0 -11
  1787. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/template_language_test/templates/content/author.tpl +0 -7
  1788. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/template_language_test/templates/content/chapter.tpl +0 -5
  1789. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/template_language_test/templates/define_local_test/local.tpl +0 -8
  1790. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/template_language_test/templates/define_local_test/test.tpl +0 -8
  1791. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/template_language_test/templates/evaluate_test/test.tpl +0 -7
  1792. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/template_language_test/templates/indent_string_test.tpl +0 -12
  1793. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/template_language_test/templates/index/c/cmod.tpl +0 -1
  1794. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/template_language_test/templates/index/chapter.tpl +0 -3
  1795. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/template_language_test/templates/no_backslash_r_test.tpl +0 -5
  1796. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/template_language_test/templates/no_indent_test/no_indent.tpl +0 -3
  1797. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/template_language_test/templates/no_indent_test/sub1/no_indent.tpl +0 -3
  1798. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/template_language_test/templates/no_indent_test/test.tpl +0 -24
  1799. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/template_language_test/templates/no_indent_test/test2.tpl +0 -13
  1800. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/template_language_test/templates/no_indent_test/test3.tpl +0 -10
  1801. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/template_language_test/templates/null_context_test.tpl +0 -17
  1802. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/template_language_test/templates/root.tpl +0 -31
  1803. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/template_language_test/templates/template_resolution_test/sub1.tpl +0 -9
  1804. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/template_language_test/templates/template_resolution_test/sub1/sub1.tpl +0 -3
  1805. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/template_language_test/templates/template_resolution_test/test.tpl +0 -4
  1806. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/template_language_test/testout.txt +0 -29
  1807. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/testmodel/class_model_checker.rb +0 -119
  1808. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/testmodel/ea_testmodel.eap +0 -0
  1809. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/testmodel/ea_testmodel.xml +0 -1029
  1810. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/testmodel/ea_testmodel_partial.xml +0 -317
  1811. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/testmodel/ecore_model_checker.rb +0 -101
  1812. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/testmodel/manual_testmodel.xml +0 -22
  1813. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/testmodel/object_model_checker.rb +0 -67
  1814. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/transformer_test.rb +0 -254
  1815. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/util/file_cache_map_test.rb +0 -99
  1816. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/util/pattern_matcher_test.rb +0 -97
  1817. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/util_test.rb +0 -5
  1818. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/xml_instantiator_test.rb +0 -160
  1819. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/xml_instantiator_test/simple_ecore_model_checker.rb +0 -94
  1820. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/xml_instantiator_test/simple_xmi_ecore_instantiator.rb +0 -53
  1821. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/xml_instantiator_test/simple_xmi_metamodel.rb +0 -49
  1822. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/xml_instantiator_test/simple_xmi_to_ecore.rb +0 -75
  1823. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen_patch.rb +0 -132
  1824. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/semantic/Gemfile +0 -20
  1825. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/semantic/PUPPET_README.md +0 -6
  1826. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/semantic/Rakefile +0 -69
  1827. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/semantic/lib/semantic.rb +0 -7
  1828. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/semantic/lib/semantic/dependency.rb +0 -181
  1829. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/semantic/lib/semantic/dependency/graph.rb +0 -60
  1830. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/semantic/lib/semantic/dependency/graph_node.rb +0 -117
  1831. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/semantic/lib/semantic/dependency/module_release.rb +0 -60
  1832. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/semantic/lib/semantic/dependency/source.rb +0 -25
  1833. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/semantic/lib/semantic/dependency/unsatisfiable_graph.rb +0 -31
  1834. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/semantic/lib/semantic/version.rb +0 -168
  1835. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/semantic/lib/semantic/version_range.rb +0 -424
  1836. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/semantic/spec/spec_helper.rb +0 -24
  1837. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/semantic/spec/unit/semantic/dependency/graph_node_spec.rb +0 -141
  1838. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/semantic/spec/unit/semantic/dependency/graph_spec.rb +0 -162
  1839. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/semantic/spec/unit/semantic/dependency/module_release_spec.rb +0 -143
  1840. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/semantic/spec/unit/semantic/dependency/source_spec.rb +0 -5
  1841. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/semantic/spec/unit/semantic/dependency/unsatisfiable_graph_spec.rb +0 -44
  1842. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/semantic/spec/unit/semantic/dependency_spec.rb +0 -383
  1843. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/semantic/spec/unit/semantic/version_range_spec.rb +0 -307
  1844. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/semantic/spec/unit/semantic/version_spec.rb +0 -608
  1845. data/vendor/gems/puppet-4.5.2/lib/puppet/version.rb +0 -89
  1846. data/vendor/gems/puppet-4.5.2/lib/puppet_x.rb +0 -8
  1847. data/vendor/gems/puppet-4.5.2/lib/semver.rb +0 -139
  1848. data/vendor/gems/puppet-4.5.2/puppet-4.5.2.gemspec +0 -104
@@ -0,0 +1,1105 @@
1
+ module Puppet::Pops
2
+ module Types
3
+ # @api private
4
+ class TypePathElement
5
+ attr_reader :key
6
+
7
+ def initialize(key)
8
+ @key = key
9
+ end
10
+
11
+ def hash
12
+ key.hash
13
+ end
14
+
15
+ def ==(o)
16
+ self.class == o.class && key == o.key
17
+ end
18
+
19
+ def eql?(o)
20
+ self == o
21
+ end
22
+ end
23
+
24
+ # @api private
25
+ class SubjectPathElement < TypePathElement
26
+ def to_s
27
+ key
28
+ end
29
+ end
30
+
31
+ # @api private
32
+ class EntryValuePathElement < TypePathElement
33
+ def to_s
34
+ "entry '#{key}'"
35
+ end
36
+ end
37
+
38
+ # @api private
39
+ class EntryKeyPathElement < TypePathElement
40
+ def to_s
41
+ "key of entry '#{key}'"
42
+ end
43
+ end
44
+
45
+ # @api private
46
+ class ParameterPathElement < TypePathElement
47
+ def to_s
48
+ "parameter '#{key}'"
49
+ end
50
+ end
51
+
52
+ # @api private
53
+ class ReturnTypeElement < TypePathElement
54
+ def initialize(name = 'return')
55
+ super(name)
56
+ end
57
+
58
+ def to_s
59
+ key
60
+ end
61
+ end
62
+
63
+ # @api private
64
+ class BlockPathElement < ParameterPathElement
65
+ def initialize(name = 'block')
66
+ super(name)
67
+ end
68
+
69
+ def to_s
70
+ key
71
+ end
72
+ end
73
+
74
+ # @api private
75
+ class ArrayPathElement < TypePathElement
76
+ def to_s
77
+ "index #{key}"
78
+ end
79
+ end
80
+
81
+ # @api private
82
+ class VariantPathElement < TypePathElement
83
+ def to_s
84
+ "variant #{key}"
85
+ end
86
+ end
87
+
88
+ # @api private
89
+ class SignaturePathElement < VariantPathElement
90
+ def to_s
91
+ "#{key+1}."
92
+ end
93
+ end
94
+
95
+ # Module to handle present/past tense.
96
+ #
97
+ # All method names prefixed with "it_" to avoid conflict with Mocha expectations. Adding a method
98
+ # named 'expects' just doesn't work.
99
+ #
100
+ # @deprecated Will be removed in Puppet 5
101
+ # @api private
102
+ module TenseVariants
103
+ def it_expects(tense)
104
+ case tense
105
+ when :present
106
+ 'expects'
107
+ else
108
+ 'expected'
109
+ end
110
+ end
111
+
112
+ def it_does_not_expect(tense)
113
+ case tense
114
+ when :present
115
+ 'does not expect'
116
+ else
117
+ 'did not expect'
118
+ end
119
+ end
120
+
121
+ def it_has_no(tense)
122
+ case tense
123
+ when :present
124
+ 'has no'
125
+ else
126
+ 'did not have a'
127
+ end
128
+ end
129
+
130
+ def it_references(tense)
131
+ case tense
132
+ when :present
133
+ 'references'
134
+ else
135
+ 'referenced'
136
+ end
137
+ end
138
+ end
139
+
140
+ # @api private
141
+ class Mismatch
142
+ attr_reader :path
143
+
144
+ def initialize(path)
145
+ @path = path || EMPTY_ARRAY
146
+ end
147
+
148
+ def canonical_path
149
+ @canonical_path ||= @path.reject { |e| e.is_a?(VariantPathElement) }
150
+ end
151
+
152
+ def message(variant, position)
153
+ "#{variant}unknown mismatch#{position}"
154
+ end
155
+
156
+ def merge(path, o)
157
+ self.class.new(path)
158
+ end
159
+
160
+ def ==(o)
161
+ self.class == o.class && canonical_path == o.canonical_path
162
+ end
163
+
164
+ def eql?(o)
165
+ self == o
166
+ end
167
+
168
+ def hash
169
+ canonical_path.hash
170
+ end
171
+
172
+ def chop_path(element_index)
173
+ return self if element_index >= @path.size
174
+ chopped_path = @path.clone
175
+ chopped_path.delete_at(element_index)
176
+ copy = self.clone
177
+ copy.instance_variable_set(:@path, chopped_path)
178
+ copy
179
+ end
180
+
181
+ def path_string
182
+ @path.join(' ')
183
+ end
184
+
185
+ def to_s
186
+ format
187
+ end
188
+
189
+ def format
190
+ p = @path
191
+ variant = ''
192
+ position = ''
193
+ unless p.empty?
194
+ f = p.first
195
+ if f.is_a?(SignaturePathElement)
196
+ variant = " #{f}"
197
+ p = p.drop(1)
198
+ end
199
+ position = " #{p.join(' ')}" unless p.empty?
200
+ end
201
+ message(variant, position)
202
+ end
203
+ end
204
+
205
+ # @abstract
206
+ # @api private
207
+ class KeyMismatch < Mismatch
208
+ attr_reader :key
209
+
210
+ def initialize(path, key)
211
+ super(path)
212
+ @key = key
213
+ end
214
+
215
+ def ==(o)
216
+ super.==(o) && key == o.key
217
+ end
218
+
219
+ def hash
220
+ super.hash ^ key.hash
221
+ end
222
+ end
223
+
224
+ # @api private
225
+ class MissingKey < KeyMismatch
226
+ def message(variant, position)
227
+ "#{variant}#{position} expects a value for key '#{key}'"
228
+ end
229
+ end
230
+
231
+ # @api private
232
+ class MissingParameter < KeyMismatch
233
+ def message(variant, position)
234
+ "#{variant}#{position} expects a value for parameter '#{key}'"
235
+ end
236
+ end
237
+
238
+ # @api private
239
+ class ExtraneousKey < KeyMismatch
240
+ def message(variant, position)
241
+ "#{variant}#{position} unrecognized key '#{@key}'"
242
+ end
243
+ end
244
+
245
+ # @api private
246
+ class InvalidParameter < ExtraneousKey
247
+ def message(variant, position)
248
+ "#{variant}#{position} has no parameter named '#{@key}'"
249
+ end
250
+ end
251
+
252
+ # @api private
253
+ class UnexpectedBlock < Mismatch
254
+ def message(variant, position)
255
+ "#{variant}#{position} does not expect a block"
256
+ end
257
+ end
258
+
259
+ # @api private
260
+ class MissingRequiredBlock < Mismatch
261
+ def message(variant, position)
262
+ "#{variant}#{position} expects a block"
263
+ end
264
+ end
265
+
266
+ # @api private
267
+ class UnresolvedTypeReference < Mismatch
268
+ attr_reader :unresolved
269
+
270
+ def initialize(path, unresolved)
271
+ super(path)
272
+ @unresolved = unresolved
273
+ end
274
+
275
+ def ==(o)
276
+ super.==(o) && @unresolved == o.unresolved
277
+ end
278
+
279
+ def hash
280
+ @unresolved.hash
281
+ end
282
+
283
+ def message(variant, position)
284
+ "#{variant}#{position} references an unresolved type '#{@unresolved}'"
285
+ end
286
+ end
287
+
288
+ # @api private
289
+ class ExpectedActualMismatch < Mismatch
290
+ attr_reader :expected, :actual
291
+
292
+ def initialize(path, expected, actual)
293
+ super(path)
294
+ @expected = (expected.is_a?(Array) ? PVariantType.maybe_create(expected) : expected).normalize
295
+ @actual = actual.normalize
296
+ @optional = false
297
+ end
298
+
299
+ def set_optional
300
+ @optional = true
301
+ end
302
+
303
+ def ==(o)
304
+ super.==(o) && expected == o.expected && actual == o.actual
305
+ end
306
+
307
+ def hash
308
+ [canonical_path, expected, actual].hash
309
+ end
310
+
311
+ def swap_expected(expected)
312
+ copy = self.clone
313
+ copy.instance_variable_set(:@expected, expected)
314
+ copy
315
+ end
316
+ end
317
+
318
+ # @api private
319
+ class TypeMismatch < ExpectedActualMismatch
320
+ include LabelProvider
321
+
322
+ # @return A new instance with the least restrictive respective boundaries
323
+ def merge(path, o)
324
+ self.class.new(path, [expected, o.expected].flatten.uniq, actual)
325
+ end
326
+
327
+ def message(variant, position)
328
+ e = expected
329
+ a = actual
330
+ multi = false
331
+ if @optional
332
+ if e.is_a?(PVariantType)
333
+ e = [PUndefType::DEFAULT] + e.types
334
+ else
335
+ e = [PUndefType::DEFAULT, e]
336
+ end
337
+ elsif e.is_a?(PVariantType)
338
+ e = e.types
339
+ end
340
+
341
+ if e.is_a?(Array)
342
+ if report_detailed?(e, a)
343
+ a = detailed_actual_to_s(e, a)
344
+ e = e.map { |t| t.to_alias_expanded_s }
345
+ else
346
+ e = e.map { |t| t.simple_name }.uniq
347
+ a = a.simple_name
348
+ end
349
+ case e.size
350
+ when 1
351
+ e = e[0]
352
+ when 2
353
+ e = "#{e[0]} or #{e[1]}"
354
+ multi = true
355
+ else
356
+ e = "#{e[0..e.size-2].join(', ')}, or #{e[e.size-1]}"
357
+ multi = true
358
+ end
359
+ else
360
+ if report_detailed?(e, a)
361
+ a = detailed_actual_to_s(e, a)
362
+ e = e.to_alias_expanded_s
363
+ else
364
+ e = e.simple_name
365
+ a = a.simple_name
366
+ end
367
+ end
368
+ if multi
369
+ "#{variant}#{position} expects a value of type #{e}, got #{label(a)}"
370
+ else
371
+ "#{variant}#{position} expects #{a_an(e)} value, got #{label(a)}"
372
+ end
373
+ end
374
+
375
+ def label(o)
376
+ o.to_s
377
+ end
378
+
379
+ private
380
+
381
+ # Answers the question if `e` is a specialized type of `a`
382
+ # @param e [PAnyType] the expected type
383
+ # @param a [PAnyType] the actual type
384
+ # @return [Boolean] `true` when the _e_ is a specialization of _a_
385
+ #
386
+ def specialization(e, a)
387
+ case e
388
+ when PStructType
389
+ a.is_a?(PHashType)
390
+ when PTupleType
391
+ a.is_a?(PArrayType)
392
+ else
393
+ false
394
+ end
395
+ end
396
+
397
+ # Decides whether or not the report must be fully detailed, or if generalization can be permitted
398
+ # in the mismatch report. All comparisons are made using resolved aliases rather than the alias
399
+ # itself.
400
+ #
401
+ # @param e [PAnyType,Array[PAnyType]] the expected type or array of expected types
402
+ # @param a [PAnyType] the actual type
403
+ # @return [Boolean] `true` when the class of _a_ equals the class _e_ or,
404
+ # in case _e_ is an `Array`, the class of at least one element of _e_
405
+ def always_fully_detailed?(e, a)
406
+ if e.is_a?(Array)
407
+ e.any? { |t| always_fully_detailed?(t, a) }
408
+ else
409
+ e.class == a.class || e.is_a?(PTypeAliasType) || a.is_a?(PTypeAliasType) || specialization(e, a)
410
+ end
411
+ end
412
+
413
+ # @param e [PAnyType,Array[PAnyType]] the expected type or array of expected types
414
+ # @param a [PAnyType] the actual type
415
+ # @return [Boolean] `true` when _a_ is assignable to _e_ or, in case _e_ is an `Array`,
416
+ # to at least one element of _e_
417
+ def any_assignable?(e, a)
418
+ e.is_a?(Array) ? e.any? { |t| t.assignable?(a) } : e.assignable?(a)
419
+ end
420
+
421
+ # @param e [PAnyType,Array[PAnyType]] the expected type or array of expected types
422
+ # @param a [PAnyType] the actual type
423
+ # @return [Boolean] `true` when _a_ is assignable to the default generalization of _e_ or,
424
+ # in case _e_ is an `Array`, to the default generalization of at least one element of _e_
425
+ def assignable_to_default?(e, a)
426
+ if e.is_a?(Array)
427
+ e.any? { |t| assignable_to_default?(t, a) }
428
+ else
429
+ e = e.resolved_type if e.is_a?(PTypeAliasType)
430
+ e.class::DEFAULT.assignable?(a)
431
+ end
432
+ end
433
+
434
+ # @param e [PAnyType,Array[PAnyType]] the expected type or array of expected types
435
+ # @param a [PAnyType] the actual type
436
+ # @return [Boolean] `true` when either #always_fully_detailed or #assignable_to_default returns `true`
437
+ def report_detailed?(e, a)
438
+ always_fully_detailed?(e, a) || assignable_to_default?(e, a)
439
+ end
440
+
441
+ # Returns its argument with all type aliases resolved
442
+ # @param e [PAnyType,Array[PAnyType]] the expected type or array of expected types
443
+ # @return [PAnyType,Array[PAnyType]] the resolved result
444
+ def all_resolved(e)
445
+ if e.is_a?(Array)
446
+ e.map { |t| all_resolved(t) }
447
+ else
448
+ e.is_a?(PTypeAliasType) ? e.resolved_type : e
449
+ end
450
+ end
451
+
452
+ # Returns a string that either represents the generalized type _a_ or the type _a_ verbatim. The latter
453
+ # form is used when at least one of the following conditions are met:
454
+ #
455
+ # - #always_fully_detailed returns `true` for the resolved type of _e_ and _a_
456
+ # - #any_assignable? returns `true` for the resolved type of _e_ and the generalized type of _a_.
457
+ #
458
+ # @param e [PAnyType,Array[PAnyType]] the expected type or array of expected types
459
+ # @param a [PAnyType] the actual type
460
+ # @return [String] The string representation of the type _a_ or generalized type _a_
461
+ def detailed_actual_to_s(e, a)
462
+ e = all_resolved(e)
463
+ if always_fully_detailed?(e, a)
464
+ a.to_alias_expanded_s
465
+ else
466
+ g = a.generalize
467
+ any_assignable?(e, g) ? a.to_alias_expanded_s : g.to_s
468
+ end
469
+ end
470
+ end
471
+
472
+ # @api private
473
+ class PatternMismatch < TypeMismatch
474
+ def message(variant, position)
475
+ "#{variant}#{position} expects a match for #{expected.to_alias_expanded_s}, got #{actual_string}"
476
+ end
477
+
478
+ def actual_string
479
+ a = actual
480
+ a.is_a?(PStringType) && !a.value.nil? ? "'#{a.value}'" : a.simple_name
481
+ end
482
+ end
483
+
484
+ # @api private
485
+ class SizeMismatch < ExpectedActualMismatch
486
+ def from
487
+ @expected.from || 0
488
+ end
489
+
490
+ def to
491
+ @expected.to || Float::INFINITY
492
+ end
493
+
494
+ # @return A new instance with the least restrictive respective boundaries
495
+ def merge(path, o)
496
+ range = PIntegerType.new(from < o.from ? from : o.from, to > o.to ? to : o.to)
497
+ self.class.new(path, range, @actual)
498
+ end
499
+
500
+ def message(variant, position)
501
+ "#{variant}#{position} expects size to be #{range_to_s(expected, '0')}, got #{range_to_s(actual, '0')}"
502
+ end
503
+
504
+ def range_to_s(range, zero_string)
505
+ min = range.from || 0
506
+ max = range.to || Float::INFINITY
507
+ if min == max
508
+ min == 0 ? zero_string : min.to_s
509
+ elsif min == 0
510
+ max == Float::INFINITY ? 'unlimited' : "at most #{max}"
511
+ elsif max == Float::INFINITY
512
+ "at least #{min}"
513
+ else
514
+ "between #{min} and #{max}"
515
+ end
516
+ end
517
+ end
518
+
519
+ # @api private
520
+ class CountMismatch < SizeMismatch
521
+ def initialize(path, expected, actual)
522
+ super(path, expected, actual)
523
+ end
524
+
525
+ def message(variant, position)
526
+ min = expected.from || 0
527
+ max = expected.to || Float::INFINITY
528
+ suffix = min == 1 && (max == 1 || max == Float::INFINITY) || min == 0 && max == 1 ? '' : 's'
529
+ "#{variant}#{position} expects #{range_to_s(expected, 'no')} argument#{suffix}, got #{range_to_s(actual, 'none')}"
530
+ end
531
+ end
532
+
533
+ # @api private
534
+ class TypeMismatchDescriber
535
+ def self.validate_parameters(subject, params_struct, given_hash, missing_ok = false)
536
+ singleton.validate_parameters(subject, params_struct, given_hash, missing_ok)
537
+ end
538
+
539
+ def self.validate_default_parameter(subject, param_name, param_type, value)
540
+ singleton.validate_default_parameter(subject, param_name, param_type, value)
541
+ end
542
+
543
+ def self.describe_signatures(closure, signatures, args_tuple)
544
+ singleton.describe_signatures(closure, signatures, args_tuple)
545
+ end
546
+
547
+ def self.singleton
548
+ @singleton ||= new
549
+ end
550
+
551
+ def tense_deprecated
552
+ Puppet.warn_once(:deprecation, 'typemismatch#tense', "Passing a 'tense' argument to the TypeMismatchDescriber is deprecated and ignored. Everything is now reported using present tense")
553
+ end
554
+
555
+ # Validates that all entries in the give_hash exists in the given param_struct, that their type conforms
556
+ # with the corresponding param_struct element and that all required values are provided.
557
+ #
558
+ # @param subject [String] string to be prepended to the exception message
559
+ # @param params_struct [PStructType] Struct to use for validation
560
+ # @param given_hash [Hash<String,Object>] the parameters to validate
561
+ # @param missing_ok [Boolean] Do not generate errors on missing parameters
562
+ # @param tense [Symbol] deprecated and ignored
563
+ #
564
+ def validate_parameters(subject, params_struct, given_hash, missing_ok = false, tense = :ignored)
565
+ tense_deprecated unless tense == :ignored
566
+ errors = describe_struct_signature(params_struct, given_hash, missing_ok).flatten
567
+ case errors.size
568
+ when 0
569
+ when 1
570
+ raise Puppet::ParseError.new("#{subject}:#{errors[0].format}")
571
+ else
572
+ errors_str = errors.map { |error| error.format }.join("\n ")
573
+ raise Puppet::ParseError.new("#{subject}:\n #{errors_str}")
574
+ end
575
+ end
576
+
577
+ # Describe a confirmed mismatch using present tense
578
+ #
579
+ # @param name [String] name of mismatch
580
+ # @param expected [PAnyType] expected type
581
+ # @param actual [PAnyType] actual type
582
+ # @param tense [Symbol] deprecated and ignored
583
+ #
584
+ def describe_mismatch(name, expected, actual, tense = :ignored)
585
+ tense_deprecated unless tense == :ignored
586
+ errors = describe(expected, actual, [SubjectPathElement.new(name)])
587
+ case errors.size
588
+ when 0
589
+ ''
590
+ when 1
591
+ errors[0].format.strip
592
+ else
593
+ errors.map { |error| error.format }.join("\n ")
594
+ end
595
+ end
596
+
597
+ # @param subject [String] string to be prepended to the exception message
598
+ # @param param_name [String] parameter name
599
+ # @param param_type [PAnyType] parameter type
600
+ # @param value [Object] value to be validated against the given type
601
+ # @param tense [Symbol] deprecated and ignored
602
+ #
603
+ def validate_default_parameter(subject, param_name, param_type, value, tense = :ignored)
604
+ tense_deprecated unless tense == :ignored
605
+ unless param_type.instance?(value)
606
+ errors = describe(param_type, TypeCalculator.singleton.infer_set(value).generalize, [ParameterPathElement.new(param_name)])
607
+ case errors.size
608
+ when 0
609
+ when 1
610
+ raise Puppet::ParseError.new("#{subject}:#{errors[0].format}")
611
+ else
612
+ errors_str = errors.map { |error| error.format }.join("\n ")
613
+ raise Puppet::ParseError.new("#{subject}:\n #{errors_str}")
614
+ end
615
+ end
616
+ end
617
+
618
+ # Validates that all entries in the _param_hash_ exists in the given param_struct, that their type conforms
619
+ # with the corresponding param_struct element and that all required values are provided.
620
+ # An error message is created for each problem found.
621
+ #
622
+ # @param params_struct [PStructType] Struct to use for validation
623
+ # @param param_hash [Hash<String,Object>] The parameters to validate
624
+ # @param missing_ok [Boolean] Do not generate errors on missing parameters
625
+ # @return [Array<Mismatch>] An array of found errors. An empty array indicates no errors.
626
+ def describe_struct_signature(params_struct, param_hash, missing_ok = false)
627
+ param_type_hash = params_struct.hashed_elements
628
+ result = param_hash.each_key.reject { |name| param_type_hash.include?(name) }.map { |name| InvalidParameter.new(nil, name) }
629
+
630
+ params_struct.elements.each do |elem|
631
+ name = elem.name
632
+ value = param_hash[name]
633
+ value_type = elem.value_type
634
+ if param_hash.include?(name)
635
+ result << describe(value_type, TypeCalculator.singleton.infer_set(value), [ParameterPathElement.new(name)]) unless value_type.instance?(value)
636
+ else
637
+ result << MissingParameter.new(nil, name) unless missing_ok || elem.key_type.is_a?(POptionalType)
638
+ end
639
+ end
640
+ result
641
+ end
642
+
643
+ def describe_signatures(closure, signatures, args_tuple, tense = :ignored)
644
+ tense_deprecated unless tense == :ignored
645
+ error_arrays = []
646
+ signatures.each_with_index do |signature, index|
647
+ error_arrays << describe_signature_arguments(signature, args_tuple, [SignaturePathElement.new(index)])
648
+ end
649
+
650
+ # Skip block checks if all signatures have argument errors
651
+ unless error_arrays.all? { |a| !a.empty? }
652
+ block_arrays = []
653
+ signatures.each_with_index do |signature, index|
654
+ block_arrays << describe_signature_block(signature, args_tuple, [SignaturePathElement.new(index)])
655
+ end
656
+ bc_count = block_arrays.count { |a| !a.empty? }
657
+ if bc_count == block_arrays.size
658
+ # Skip argument errors when all alternatives have block errors
659
+ error_arrays = block_arrays
660
+ elsif bc_count > 0
661
+ # Merge errors giving argument errors precedence over block errors
662
+ error_arrays.each_with_index { |a, index| error_arrays[index] = block_arrays[index] if a.empty? }
663
+ end
664
+ end
665
+ return nil if error_arrays.empty?
666
+
667
+ label = closure == 'lambda' ? 'block' : "'#{closure}'"
668
+ errors = merge_descriptions(0, CountMismatch, error_arrays)
669
+ if errors.size == 1
670
+ "#{label}#{errors[0].format}"
671
+ else
672
+ if signatures.size == 1
673
+ sig = signatures[0]
674
+ result = ["#{label} expects (#{signature_string(sig)})"]
675
+ result.concat(error_arrays[0].map { |e| " rejected:#{e.chop_path(0).format}" })
676
+ else
677
+ result = ["#{label} expects one of:"]
678
+ signatures.each_with_index do |sg, index|
679
+ result << " (#{signature_string(sg)})"
680
+ result.concat(error_arrays[index].map { |e| " rejected:#{e.chop_path(0).format}" })
681
+ end
682
+ end
683
+ result.join("\n")
684
+ end
685
+ end
686
+
687
+ def describe_signature_arguments(signature, args_tuple, path)
688
+ params_tuple = signature.type.param_types
689
+ params_size_t = params_tuple.size_type || TypeFactory.range(*params_tuple.size_range)
690
+
691
+ if args_tuple.is_a?(PTupleType)
692
+ arg_types = args_tuple.types
693
+ elsif args_tuple.is_a?(PArrayType)
694
+ arg_types = Array.new(params_tuple.types.size, args_tuple.element_type || PUndefType::DEFAULT)
695
+ else
696
+ return [TypeMismatch.new(path, params_tuple, args_tuple)]
697
+ end
698
+
699
+ if arg_types.last.kind_of_callable?
700
+ # Check other arguments
701
+ arg_count = arg_types.size - 1
702
+ describe_no_block_arguments(signature, arg_types, path, params_size_t, TypeFactory.range(arg_count, arg_count), arg_count)
703
+ else
704
+ args_size_t = TypeFactory.range(*args_tuple.size_range)
705
+ describe_no_block_arguments(signature, arg_types, path, params_size_t, args_size_t, arg_types.size)
706
+ end
707
+ end
708
+
709
+ def describe_signature_block(signature, args_tuple, path)
710
+ param_block_t = signature.block_type
711
+ arg_block_t = args_tuple.is_a?(PTupleType) ? args_tuple.types.last : nil
712
+ if TypeCalculator.is_kind_of_callable?(arg_block_t)
713
+ # Can't pass a block to a callable that doesn't accept one
714
+ if param_block_t.nil?
715
+ [UnexpectedBlock.new(path)]
716
+ else
717
+ # Check that the block is of the right type
718
+ describe(param_block_t, arg_block_t, path + [BlockPathElement.new])
719
+ end
720
+ else
721
+ # Check that the block is optional
722
+ if param_block_t.nil? || param_block_t.assignable?(PUndefType::DEFAULT)
723
+ EMPTY_ARRAY
724
+ else
725
+ [MissingRequiredBlock.new(path)]
726
+ end
727
+ end
728
+ end
729
+
730
+ def describe_no_block_arguments(signature, atypes, path, expected_size, actual_size, arg_count)
731
+ # not assignable if the number of types in actual is outside number of types in expected
732
+ if expected_size.assignable?(actual_size)
733
+ etypes = signature.type.param_types.types
734
+ enames = signature.parameter_names
735
+ arg_count.times do |index|
736
+ adx = index >= etypes.size ? etypes.size - 1 : index
737
+ etype = etypes[adx]
738
+ unless etype.assignable?(atypes[index])
739
+ descriptions = describe(etype, atypes[index], path + [ParameterPathElement.new(enames[adx])])
740
+ return descriptions unless descriptions.empty?
741
+ end
742
+ end
743
+ EMPTY_ARRAY
744
+ else
745
+ [CountMismatch.new(path, expected_size, actual_size)]
746
+ end
747
+ end
748
+
749
+ def describe_PVariantType(expected, actual, path)
750
+ variant_descriptions = []
751
+ expected.types.each_with_index do |vt, index|
752
+ d = describe(vt, actual, path + [VariantPathElement.new(index)])
753
+ return EMPTY_ARRAY if d.empty?
754
+ variant_descriptions << d
755
+ end
756
+ merge_descriptions(path.length, SizeMismatch, variant_descriptions)
757
+ end
758
+
759
+ def merge_descriptions(varying_path_position, size_mismatch_class, variant_descriptions)
760
+ descriptions = variant_descriptions.flatten
761
+ [size_mismatch_class, MissingRequiredBlock, UnexpectedBlock, TypeMismatch].each do |mismatch_class|
762
+ mismatches = descriptions.select { |desc| desc.is_a?(mismatch_class) }
763
+ if mismatches.size == variant_descriptions.size
764
+ # If they all have the same canonical path, then we can compact this into one
765
+ generic_mismatch = mismatches.inject do |prev, curr|
766
+ break nil unless prev.canonical_path == curr.canonical_path
767
+ prev.merge(prev.path, curr)
768
+ end
769
+ unless generic_mismatch.nil?
770
+ # Report the generic mismatch and skip the rest
771
+ descriptions = [generic_mismatch]
772
+ break
773
+ end
774
+ end
775
+ end
776
+ descriptions = descriptions.uniq
777
+ descriptions.size == 1 ? [descriptions[0].chop_path(varying_path_position)] : descriptions
778
+ end
779
+
780
+ def describe_POptionalType(expected, actual, path)
781
+ return EMPTY_ARRAY if actual.is_a?(PUndefType)
782
+ descriptions = describe(expected.optional_type, actual, path)
783
+ descriptions.each { |description| description.set_optional }
784
+ descriptions
785
+ end
786
+
787
+ def describe_PEnumType(expected, actual, path)
788
+ [PatternMismatch.new(path, expected, actual)]
789
+ end
790
+
791
+ def describe_PPatternType(expected, actual, path)
792
+ [PatternMismatch.new(path, expected, actual)]
793
+ end
794
+
795
+ def describe_PTypeAliasType(expected, actual, path)
796
+ resolved_type = expected.resolved_type
797
+ describe(resolved_type, actual, path).map do |description|
798
+ if description.is_a?(ExpectedActualMismatch) && description.expected.equal?(resolved_type)
799
+ description.swap_expected(expected)
800
+ else
801
+ description
802
+ end
803
+ end
804
+ end
805
+
806
+ def describe_PArrayType(expected, actual, path)
807
+ descriptions = []
808
+ element_type = expected.element_type || PAnyType::DEFAULT
809
+ if actual.is_a?(PTupleType)
810
+ types = actual.types
811
+ expected_size = expected.size_type || PCollectionType::DEFAULT_SIZE
812
+ actual_size = actual.size_type || PIntegerType.new(types.size, types.size)
813
+ if expected_size.assignable?(actual_size)
814
+ types.each_with_index do |type, idx|
815
+ descriptions.concat(describe(element_type, type, path + [ArrayPathElement.new(idx)])) unless element_type.assignable?(type)
816
+ end
817
+ else
818
+ descriptions << SizeMismatch.new(path, expected_size, actual_size)
819
+ end
820
+ elsif actual.is_a?(PArrayType)
821
+ expected_size = expected.size_type
822
+ actual_size = actual.size_type || PCollectionType::DEFAULT_SIZE
823
+ if expected_size.nil? || expected_size.assignable?(actual_size)
824
+ descriptions << TypeMismatch.new(path, expected, PArrayType.new(actual.element_type))
825
+ else
826
+ descriptions << SizeMismatch.new(path, expected_size, actual_size)
827
+ end
828
+ else
829
+ descriptions << TypeMismatch.new(path, expected, actual)
830
+ end
831
+ descriptions
832
+ end
833
+
834
+ def describe_PHashType(expected, actual, path)
835
+ descriptions = []
836
+ key_type = expected.key_type || PAnyType::DEFAULT
837
+ value_type = expected.value_type || PAnyType::DEFAULT
838
+ if actual.is_a?(PStructType)
839
+ elements = actual.elements
840
+ expected_size = expected.size_type || PCollectionType::DEFAULT_SIZE
841
+ actual_size = PIntegerType.new(elements.count { |a| !a.key_type.assignable?(PUndefType::DEFAULT) }, elements.size)
842
+ if expected_size.assignable?(actual_size)
843
+ elements.each do |a|
844
+ descriptions.concat(describe(key_type, a.key_type, path + [EntryKeyPathElement.new(a.name)])) unless key_type.assignable?(a.key_type)
845
+ descriptions.concat(describe(value_type, a.value_type, path + [EntryValuePathElement.new(a.name)])) unless value_type.assignable?(a.value_type)
846
+ end
847
+ else
848
+ descriptions << SizeMismatch.new(path, expected_size, actual_size)
849
+ end
850
+ elsif actual.is_a?(PHashType)
851
+ expected_size = expected.size_type
852
+ actual_size = actual.size_type || PCollectionType::DEFAULT_SIZE
853
+ if expected_size.nil? || expected_size.assignable?(actual_size)
854
+ descriptions << TypeMismatch.new(path, expected, PHashType.new(actual.key_type, actual.value_type))
855
+ else
856
+ descriptions << SizeMismatch.new(path, expected_size, actual_size)
857
+ end
858
+ else
859
+ descriptions << TypeMismatch.new(path, expected, actual)
860
+ end
861
+ descriptions
862
+ end
863
+
864
+ def describe_PStructType(expected, actual, path)
865
+ elements = expected.elements
866
+ descriptions = []
867
+ if actual.is_a?(PStructType)
868
+ h2 = actual.hashed_elements.clone
869
+ elements.each do |e1|
870
+ key = e1.name
871
+ e2 = h2.delete(key)
872
+ if e2.nil?
873
+ descriptions << MissingKey.new(path, key) unless e1.key_type.assignable?(PUndefType::DEFAULT)
874
+ else
875
+ descriptions.concat(describe(e1.key_type, e2.key_type, path + [EntryKeyPathElement.new(key)])) unless e1.key_type.assignable?(e2.key_type)
876
+ descriptions.concat(describe(e1.value_type, e2.value_type, path + [EntryValuePathElement.new(key)])) unless e1.value_type.assignable?(e2.value_type)
877
+ end
878
+ end
879
+ h2.each_key { |key| descriptions << ExtraneousKey.new(path, key) }
880
+ elsif actual.is_a?(PHashType)
881
+ actual_size = actual.size_type || PCollectionType::DEFAULT_SIZE
882
+ expected_size = PIntegerType.new(elements.count { |e| !e.key_type.assignable?(PUndefType::DEFAULT) }, elements.size)
883
+ if expected_size.assignable?(actual_size)
884
+ descriptions << TypeMismatch.new(path, expected, PHashType.new(actual.key_type, actual.value_type))
885
+ else
886
+ descriptions << SizeMismatch.new(path, expected_size, actual_size)
887
+ end
888
+ else
889
+ descriptions << TypeMismatch.new(path, expected, actual)
890
+ end
891
+ descriptions
892
+ end
893
+
894
+ def describe_PTupleType(expected, actual, path)
895
+ describe_tuple(expected, actual, path, SizeMismatch)
896
+ end
897
+
898
+ def describe_argument_tuple(expected, actual, path)
899
+ describe_tuple(expected, actual, path, CountMismatch)
900
+ end
901
+
902
+ def describe_tuple(expected, actual, path, size_mismatch_class)
903
+ return EMPTY_ARRAY if expected == actual || expected.types.empty? && (actual.is_a?(PArrayType))
904
+ expected_size = expected.size_type || TypeFactory.range(*expected.size_range)
905
+
906
+ if actual.is_a?(PTupleType)
907
+ actual_size = actual.size_type || TypeFactory.range(*actual.size_range)
908
+
909
+ # not assignable if the number of types in actual is outside number of types in expected
910
+ if expected_size.assignable?(actual_size)
911
+ etypes = expected.types
912
+ descriptions = []
913
+ unless etypes.empty?
914
+ actual.types.each_with_index do |atype, index|
915
+ adx = index >= etypes.size ? etypes.size - 1 : index
916
+ descriptions.concat(describe(etypes[adx], atype, path + [ArrayPathElement.new(adx)]))
917
+ end
918
+ end
919
+ descriptions
920
+ else
921
+ [size_mismatch_class.new(path, expected_size, actual_size)]
922
+ end
923
+ elsif actual.is_a?(PArrayType)
924
+ t2_entry = actual.element_type
925
+
926
+ if t2_entry.nil?
927
+ # Array of anything can not be assigned (unless tuple is tuple of anything) - this case
928
+ # was handled at the top of this method.
929
+ #
930
+ [TypeMismatch.new(path, expected, actual)]
931
+ else
932
+ expected_size = expected.size_type || TypeFactory.range(*expected.size_range)
933
+ actual_size = actual.size_type || PCollectionType::DEFAULT_SIZE
934
+ if expected_size.assignable?(actual_size)
935
+ descriptions = []
936
+ expected.types.each_with_index do |etype, index|
937
+ descriptions.concat(describe(etype, actual.element_type, path + [ArrayPathElement.new(index)]))
938
+ end
939
+ descriptions
940
+ else
941
+ [size_mismatch_class.new(path, expected_size, actual_size)]
942
+ end
943
+ end
944
+ else
945
+ [TypeMismatch.new(path, expected, actual)]
946
+ end
947
+ end
948
+
949
+ def describe_PCallableType(expected, actual, path)
950
+ if actual.is_a?(PCallableType)
951
+ # nil param_types means, any other Callable is assignable
952
+ if expected.param_types.nil? && expected.return_type.nil?
953
+ EMPTY_ARRAY
954
+ else
955
+ # NOTE: these tests are made in reverse as it is calling the callable that is constrained
956
+ # (it's lower bound), not its upper bound
957
+ param_errors = describe_argument_tuple(expected.param_types, actual.param_types, path)
958
+ if param_errors.empty?
959
+ this_return_t = expected.return_type || PAnyType::DEFAULT
960
+ that_return_t = actual.return_type || PAnyType::DEFAULT
961
+ unless this_return_t.assignable?(that_return_t)
962
+ [TypeMismatch.new(path + [ReturnTypeElement.new], this_return_t, that_return_t)]
963
+ else
964
+ # names are ignored, they are just information
965
+ # Blocks must be compatible
966
+ this_block_t = expected.block_type || PUndefType::DEFAULT
967
+ that_block_t = actual.block_type || PUndefType::DEFAULT
968
+ if that_block_t.assignable?(this_block_t)
969
+ EMPTY_ARRAY
970
+ else
971
+ [TypeMismatch.new(path + [BlockPathElement.new], this_block_t, that_block_t)]
972
+ end
973
+ end
974
+ else
975
+ param_errors
976
+ end
977
+ end
978
+ else
979
+ [TypeMismatch.new(path, expected, actual)]
980
+ end
981
+ end
982
+
983
+ def describe_PAnyType(expected, actual, path)
984
+ expected.assignable?(actual) ? EMPTY_ARRAY : [TypeMismatch.new(path, expected, actual)]
985
+ end
986
+
987
+ class UnresolvedTypeFinder
988
+ include TypeAcceptor
989
+
990
+ attr_reader :unresolved
991
+
992
+ def initialize
993
+ @unresolved = nil
994
+ end
995
+
996
+ def visit(type, guard)
997
+ if @unresolved.nil? && type.is_a?(PTypeReferenceType)
998
+ @unresolved = type.type_string
999
+ end
1000
+ end
1001
+ end
1002
+
1003
+ def describe(expected, actual, path)
1004
+ ures_finder = UnresolvedTypeFinder.new
1005
+ expected.accept(ures_finder, nil)
1006
+ unresolved = ures_finder.unresolved
1007
+ if unresolved
1008
+ [UnresolvedTypeReference.new(path, unresolved)]
1009
+ else
1010
+ expected = expected.normalize
1011
+ case expected
1012
+ when PVariantType
1013
+ describe_PVariantType(expected, actual, path)
1014
+ when PStructType
1015
+ describe_PStructType(expected, actual, path)
1016
+ when PHashType
1017
+ describe_PHashType(expected, actual, path)
1018
+ when PTupleType
1019
+ describe_PTupleType(expected, actual, path)
1020
+ when PArrayType
1021
+ describe_PArrayType(expected, actual, path)
1022
+ when PCallableType
1023
+ describe_PCallableType(expected, actual, path)
1024
+ when POptionalType
1025
+ describe_POptionalType(expected, actual, path)
1026
+ when PPatternType
1027
+ describe_PPatternType(expected, actual, path)
1028
+ when PEnumType
1029
+ describe_PEnumType(expected, actual, path)
1030
+ when PTypeAliasType
1031
+ describe_PTypeAliasType(expected, actual, path)
1032
+ else
1033
+ describe_PAnyType(expected, actual, path)
1034
+ end
1035
+ end
1036
+ end
1037
+
1038
+ # Produces a string for the signature(s)
1039
+ #
1040
+ # @api private
1041
+ def signature_string(signature)
1042
+ param_types = signature.type.param_types
1043
+ param_names = signature.parameter_names
1044
+
1045
+ from, to = param_types.size_range
1046
+ if from == 0 && to == 0
1047
+ # No parameters function
1048
+ return ''
1049
+ end
1050
+
1051
+ required_count = from
1052
+ types =
1053
+ case param_types
1054
+ when PTupleType
1055
+ param_types.types
1056
+ when PArrayType
1057
+ [param_types.element_type]
1058
+ end
1059
+
1060
+ # join type with names (types are always present, names are optional)
1061
+ # separate entries with comma
1062
+ #
1063
+ param_names = Array.new(types.size, '') if param_names.empty?
1064
+ limit = param_names.size
1065
+ result = param_names.each_with_index.map do |name, index|
1066
+ type = types[index] || types[-1]
1067
+ indicator = ''
1068
+ if to == Float::INFINITY && index == limit - 1
1069
+ # Last is a repeated_param.
1070
+ indicator = from == param_names.size ? '+' : '*'
1071
+ elsif optional(index, required_count)
1072
+ indicator = '?'
1073
+ type = type.optional_type if type.is_a?(POptionalType)
1074
+ end
1075
+ "#{type} #{name}#{indicator}"
1076
+ end.join(', ')
1077
+
1078
+ # If there is a block, include it
1079
+ case signature.type.block_type
1080
+ when POptionalType
1081
+ result << ', ' unless result == ''
1082
+ result << "#{signature.type.block_type.optional_type} #{signature.block_name}?"
1083
+ when PCallableType
1084
+ result << ', ' unless result == ''
1085
+ result << "#{signature.type.block_type} #{signature.block_name}"
1086
+ when NilClass
1087
+ # nothing
1088
+ end
1089
+ result
1090
+ end
1091
+
1092
+ # Why oh why Ruby do you not have a standard Math.max ?
1093
+ # @api private
1094
+ def max(a, b)
1095
+ a >= b ? a : b
1096
+ end
1097
+
1098
+ # @api private
1099
+ def optional(index, required_count)
1100
+ count = index + 1
1101
+ count > required_count
1102
+ end
1103
+ end
1104
+ end
1105
+ end