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
@@ -1,29 +0,0 @@
1
- class Puppet::Pops::Evaluator::Collectors::CatalogCollector < Puppet::Pops::Evaluator::Collectors::AbstractCollector
2
-
3
- # Creates a CatalogCollector using the AbstractCollector's
4
- # constructor to set the scope and overrides
5
- #
6
- # param [Symbol] type the resource type to be collected
7
- # param [Proc] query the query which defines which resources to match
8
- def initialize(scope, type, query, overrides = nil)
9
- super(scope, overrides)
10
-
11
- @query = query
12
-
13
- @type = Puppet::Resource.new(type, "whatever").type
14
- end
15
-
16
- # Collects virtual resources based off a collection in a manifest
17
- def collect
18
- t = @type
19
- q = @query
20
-
21
- scope.compiler.resources.find_all do |resource|
22
- resource.type == t && (q ? q.call(resource) : true)
23
- end
24
- end
25
-
26
- def to_s
27
- "Catalog-Collector[#{@type.to_s}]"
28
- end
29
- end
@@ -1,69 +0,0 @@
1
- class Puppet::Pops::Evaluator::Collectors::ExportedCollector < Puppet::Pops::Evaluator::Collectors::AbstractCollector
2
-
3
- # Creates an ExportedCollector using the AbstractCollector's
4
- # constructor to set the scope and overrides
5
- #
6
- # param [Symbol] type the resource type to be collected
7
- # param [Array] equery an array representation of the query (exported query)
8
- # param [Proc] cquery a proc representation of the query (catalog query)
9
- def initialize(scope, type, equery, cquery, overrides = nil)
10
- super(scope, overrides)
11
-
12
- @equery = equery
13
- @cquery = cquery
14
-
15
- @type = Puppet::Resource.new(type, "whatever").type
16
- end
17
-
18
- # Ensures that storeconfigs is present before calling AbstractCollector's
19
- # evaluate method
20
- def evaluate
21
- if Puppet[:storeconfigs] != true
22
- return false
23
- end
24
-
25
- super
26
- end
27
-
28
- # Collect exported resources as defined by an exported
29
- # collection. Used with PuppetDB
30
- def collect
31
- resources = []
32
-
33
- time = Puppet::Util.thinmark do
34
- t = @type
35
- q = @cquery
36
-
37
- resources = scope.compiler.resources.find_all do |resource|
38
- resource.type == t && resource.exported? && (q.nil? || q.call(resource))
39
- end
40
-
41
- found = Puppet::Resource.indirection.
42
- search(@type, :host => @scope.compiler.node.name, :filter => @equery, :scope => @scope)
43
-
44
- found_resources = found.map {|x| x.is_a?(Puppet::Parser::Resource) ? x : x.to_resource(@scope)}
45
-
46
- found_resources.each do |item|
47
- if existing = @scope.findresource(item.type, item.title)
48
- unless existing.collector_id == item.collector_id
49
- raise Puppet::ParseError,
50
- "A duplicate resource was found while collecting exported resources, with the type and title #{item.ref}"
51
- end
52
- else
53
- item.exported = false
54
- @scope.compiler.add_resource(@scope, item)
55
- resources << item
56
- end
57
- end
58
- end
59
-
60
- scope.debug("Collected %s %s resource%s in %.2f seconds" %
61
- [resources.length, @type, resources.length == 1 ? "" : "s", time])
62
-
63
- resources
64
- end
65
-
66
- def to_s
67
- "Exported-Collector[#{@type.to_s}]"
68
- end
69
- end
@@ -1,229 +0,0 @@
1
- module Puppet::Pops
2
- module Evaluator
3
- # Compares the puppet DSL way
4
- #
5
- # ==Equality
6
- # All string vs. numeric equalities check for numeric equality first, then string equality
7
- # Arrays are equal to arrays if they have the same length, and each element #equals
8
- # Hashes are equal to hashes if they have the same size and keys and values #equals.
9
- # All other objects are equal if they are ruby #== equal
10
- #
11
- class CompareOperator
12
- include Utils
13
-
14
- # Provides access to the Puppet 3.x runtime (scope, etc.)
15
- # This separation has been made to make it easier to later migrate the evaluator to an improved runtime.
16
- #
17
- include Runtime3Support
18
-
19
- def initialize
20
- @@equals_visitor ||= Visitor.new(self, "equals", 1, 1)
21
- @@compare_visitor ||= Visitor.new(self, "cmp", 1, 1)
22
- @@match_visitor ||= Visitor.new(self, "match", 2, 2)
23
- @@include_visitor ||= Visitor.new(self, "include", 2, 2)
24
- end
25
-
26
- def equals (a, b)
27
- @@equals_visitor.visit_this_1(self, a, b)
28
- end
29
-
30
- # Performs a comparison of a and b, and return > 0 if a is bigger, 0 if equal, and < 0 if b is bigger.
31
- # Comparison of String vs. Numeric always compares using numeric.
32
- def compare(a, b)
33
- @@compare_visitor.visit_this_1(self, a, b)
34
- end
35
-
36
- # Performs a match of a and b, and returns true if b matches a
37
- def match(a, b, scope)
38
- @@match_visitor.visit_this_2(self, b, a, scope)
39
- end
40
-
41
- # Answers is b included in a
42
- def include?(a, b, scope)
43
- @@include_visitor.visit_this_2(self, a, b, scope)
44
- end
45
-
46
- protected
47
-
48
- def cmp_String(a, b)
49
- return a.casecmp(b) if b.is_a?(String)
50
- raise ArgumentError.new("A String is not comparable to a non String")
51
- end
52
-
53
- # Equality is case independent.
54
- def equals_String(a, b)
55
- return false unless b.is_a?(String)
56
- a.casecmp(b) == 0
57
- end
58
-
59
- def cmp_Numeric(a, b)
60
- if b.is_a?(Numeric)
61
- a <=> b
62
- else
63
- raise ArgumentError.new("A Numeric is not comparable to non Numeric")
64
- end
65
- end
66
-
67
- def equals_Numeric(a, b)
68
- if b.is_a?(Numeric)
69
- a == b
70
- else
71
- false
72
- end
73
- end
74
-
75
- def equals_Array(a, b)
76
- return false unless b.is_a?(Array) && a.size == b.size
77
- a.each_index {|i| return false unless equals(a.slice(i), b.slice(i)) }
78
- true
79
- end
80
-
81
- def equals_Hash(a, b)
82
- return false unless b.is_a?(Hash) && a.size == b.size
83
- a.each {|ak, av| return false unless equals(b[ak], av)}
84
- true
85
- end
86
-
87
- def cmp_Symbol(a, b)
88
- if b.is_a?(Symbol)
89
- a <=> b
90
- else
91
- raise ArgumentError.new("Symbol not comparable to non Symbol")
92
- end
93
- end
94
-
95
- def cmp_Version(a, b)
96
- raise ArgumentError.new('Versions not comparable to non Versions') unless b.is_a?(Semantic::Version)
97
- a <=> b
98
- end
99
-
100
- def cmp_Object(a, b)
101
- raise ArgumentError.new('Only Strings, Numbers, and Versions are comparable')
102
- end
103
-
104
-
105
- def equals_Object(a, b)
106
- a == b
107
- end
108
-
109
- def equals_NilClass(a, b)
110
- # :undef supported in case it is passed from a 3x data structure
111
- b.nil? || b == :undef
112
- end
113
-
114
- def equals_Symbol(a, b)
115
- # :undef supported in case it is passed from a 3x data structure
116
- a == b || a == :undef && b.nil?
117
- end
118
-
119
- def include_Object(a, b, scope)
120
- false
121
- end
122
-
123
- def include_String(a, b, scope)
124
- case b
125
- when String
126
- # subsstring search downcased
127
- a.downcase.include?(b.downcase)
128
- when Regexp
129
- matched = a.match(b) # nil, or MatchData
130
- set_match_data(matched, scope) # creates ephemeral
131
- !!matched # match (convert to boolean)
132
- when Numeric
133
- # convert string to number, true if ==
134
- equals(a, b)
135
- else
136
- false
137
- end
138
- end
139
-
140
- def include_Array(a, b, scope)
141
- case b
142
- when Regexp
143
- matched = nil
144
- a.each do |element|
145
- next unless element.is_a? String
146
- matched = element.match(b) # nil, or MatchData
147
- break if matched
148
- end
149
- # Always set match data, a "not found" should not keep old match data visible
150
- set_match_data(matched, scope) # creates ephemeral
151
- return !!matched
152
- when String, Semantic::Version
153
- a.any? { |element| match(b, element, scope) }
154
- when Types::PAnyType
155
- a.each {|element| return true if b.instance?(element) }
156
- return false
157
- else
158
- a.each {|element| return true if equals(element, b) }
159
- return false
160
- end
161
- end
162
-
163
- def include_Hash(a, b, scope)
164
- include?(a.keys, b, scope)
165
- end
166
-
167
- def include_VersionRange(a, b, scope)
168
- Types::PSemVerRangeType.include?(a, b)
169
- end
170
-
171
- # Matches in general by using == operator
172
- def match_Object(pattern, a, scope)
173
- equals(a, pattern)
174
- end
175
-
176
- # Matches only against strings
177
- def match_Regexp(regexp, left, scope)
178
- return false unless left.is_a? String
179
- matched = regexp.match(left)
180
- set_match_data(matched, scope) # creates or clears ephemeral
181
- !!matched # convert to boolean
182
- end
183
-
184
- # Matches against semvers and strings
185
- def match_Version(version, left, scope)
186
- if left.is_a?(Semantic::Version)
187
- version == left
188
- elsif left.is_a? String
189
- begin
190
- version == Semantic::Version.parse(left)
191
- rescue ArgumentError
192
- false
193
- end
194
- else
195
- false
196
- end
197
- end
198
-
199
- # Matches against semvers and strings
200
- def match_VersionRange(range, left, scope)
201
- Types::PSemVerRangeType.include?(range, left)
202
- end
203
-
204
- def match_PAnyType(any_type, left, scope)
205
- # right is a type and left is not - check if left is an instance of the given type
206
- # (The reverse is not terribly meaningful - computing which of the case options that first produces
207
- # an instance of a given type).
208
- #
209
- any_type.instance?(left)
210
- end
211
-
212
- def match_Array(array, left, scope)
213
- return false unless left.is_a?(Array)
214
- return false unless left.length == array.length
215
- array.each_with_index.all? { | pattern, index| match(left[index], pattern, scope) }
216
- end
217
-
218
- def match_Hash(hash, left, scope)
219
- return false unless left.is_a?(Hash)
220
- hash.all? {|x,y| match(left[x], y, scope) }
221
- end
222
-
223
- def match_Symbol(symbol, left, scope)
224
- return true if symbol == :default
225
- equals(left, default, scope)
226
- end
227
- end
228
- end
229
- end
@@ -1,1218 +0,0 @@
1
- require 'rgen/ecore/ecore'
2
- require 'puppet/parser/scope'
3
- require 'puppet/pops/evaluator/compare_operator'
4
- require 'puppet/pops/evaluator/relationship_operator'
5
- require 'puppet/pops/evaluator/access_operator'
6
- require 'puppet/pops/evaluator/closure'
7
- require 'puppet/pops/evaluator/external_syntax_support'
8
- require 'puppet/pops/types/iterable'
9
-
10
- module Puppet::Pops
11
- module Evaluator
12
- # This implementation of {Evaluator} performs evaluation using the puppet 3.x runtime system
13
- # in a manner largely compatible with Puppet 3.x, but adds new features and introduces constraints.
14
- #
15
- # The evaluation uses _polymorphic dispatch_ which works by dispatching to the first found method named after
16
- # the class or one of its super-classes. The EvaluatorImpl itself mainly deals with evaluation (it currently
17
- # also handles assignment), and it uses a delegation pattern to more specialized handlers of some operators
18
- # that in turn use polymorphic dispatch; this to not clutter EvaluatorImpl with too much responsibility).
19
- #
20
- # Since a pattern is used, only the main entry points are fully documented. The parameters _o_ and _scope_ are
21
- # the same in all the polymorphic methods, (the type of the parameter _o_ is reflected in the method's name;
22
- # either the actual class, or one of its super classes). The _scope_ parameter is always the scope in which
23
- # the evaluation takes place. If nothing else is mentioned, the return is always the result of evaluation.
24
- #
25
- # See {Visitable} and {Visitor} for more information about
26
- # polymorphic calling.
27
- #
28
- class EvaluatorImpl
29
- include Utils
30
-
31
- # Provides access to the Puppet 3.x runtime (scope, etc.)
32
- # This separation has been made to make it easier to later migrate the evaluator to an improved runtime.
33
- #
34
- include Runtime3Support
35
- include ExternalSyntaxSupport
36
-
37
- EMPTY_STRING = ''.freeze
38
- COMMA_SEPARATOR = ', '.freeze
39
-
40
- # Reference to Issues name space makes it easier to refer to issues
41
- # (Issues are shared with the validator).
42
- #
43
- Issues = Issues
44
-
45
- def initialize
46
- @@eval_visitor ||= Visitor.new(self, "eval", 1, 1)
47
- @@lvalue_visitor ||= Visitor.new(self, "lvalue", 1, 1)
48
- @@assign_visitor ||= Visitor.new(self, "assign", 3, 3)
49
- @@string_visitor ||= Visitor.new(self, "string", 1, 1)
50
-
51
- @@type_calculator ||= Types::TypeCalculator.new()
52
- @@type_parser ||= Types::TypeParser.new()
53
-
54
- @@compare_operator ||= CompareOperator.new()
55
- @@relationship_operator ||= RelationshipOperator.new()
56
-
57
- # Use null migration checker unless given in context
58
- @migration_checker = (Puppet.lookup(:migration_checker) { Migration::MigrationChecker.new() })
59
- end
60
-
61
- # @api private
62
- def type_calculator
63
- @@type_calculator
64
- end
65
-
66
- # Evaluates the given _target_ object in the given scope.
67
- #
68
- # @overload evaluate(target, scope)
69
- # @param target [Object] evaluation target - see methods on the pattern assign_TYPE for actual supported types.
70
- # @param scope [Object] the runtime specific scope class where evaluation should take place
71
- # @return [Object] the result of the evaluation
72
- #
73
- # @api public
74
- #
75
- def evaluate(target, scope)
76
- begin
77
- @@eval_visitor.visit_this_1(self, target, scope)
78
-
79
- rescue SemanticError => e
80
- # A raised issue may not know the semantic target, use errors call stack, but fill in the
81
- # rest from a supplied semantic object, or the target instruction if there is not semantic
82
- # object.
83
- #
84
- fail(e.issue, e.semantic || target, e.options, e)
85
-
86
- rescue Puppet::PreformattedError => e
87
- # Already formatted with location information, and with the wanted call stack.
88
- # Note this is currently a specialized ParseError, so rescue-order is important
89
- #
90
- raise e
91
-
92
- rescue Puppet::ParseError => e
93
- # ParseError may be raised in ruby code without knowing the location
94
- # in puppet code.
95
- # Accept a ParseError that has file or line information available
96
- # as an error that should be used verbatim. (Tests typically run without
97
- # setting a file name).
98
- # ParseError can supply an original - it is impossible to determine which
99
- # call stack that should be propagated, using the ParseError's backtrace.
100
- #
101
- if e.file || e.line
102
- raise e
103
- else
104
- # Since it had no location information, treat it as user intended a general purpose
105
- # error. Pass on its call stack.
106
- fail(Issues::RUNTIME_ERROR, target, {:detail => e.message}, e)
107
- end
108
-
109
-
110
- rescue Puppet::Error => e
111
- # PuppetError has the ability to wrap an exception, if so, use the wrapped exception's
112
- # call stack instead
113
- fail(Issues::RUNTIME_ERROR, target, {:detail => e.message}, e.original || e)
114
-
115
- rescue StandardError => e
116
- # All other errors, use its message and call stack
117
- fail(Issues::RUNTIME_ERROR, target, {:detail => e.message}, e)
118
- end
119
- end
120
-
121
- # Assigns the given _value_ to the given _target_. The additional argument _o_ is the instruction that
122
- # produced the target/value tuple and it is used to set the origin of the result.
123
- #
124
- # @param target [Object] assignment target - see methods on the pattern assign_TYPE for actual supported types.
125
- # @param value [Object] the value to assign to `target`
126
- # @param o [Model::PopsObject] originating instruction
127
- # @param scope [Object] the runtime specific scope where evaluation should take place
128
- #
129
- # @api private
130
- #
131
- def assign(target, value, o, scope)
132
- @@assign_visitor.visit_this_3(self, target, value, o, scope)
133
- end
134
-
135
- # Computes a value that can be used as the LHS in an assignment.
136
- # @param o [Object] the expression to evaluate as a left (assignable) entity
137
- # @param scope [Object] the runtime specific scope where evaluation should take place
138
- #
139
- # @api private
140
- #
141
- def lvalue(o, scope)
142
- @@lvalue_visitor.visit_this_1(self, o, scope)
143
- end
144
-
145
- # Produces a String representation of the given object _o_ as used in interpolation.
146
- # @param o [Object] the expression of which a string representation is wanted
147
- # @param scope [Object] the runtime specific scope where evaluation should take place
148
- #
149
- # @api public
150
- #
151
- def string(o, scope)
152
- @@string_visitor.visit_this_1(self, o, scope)
153
- end
154
-
155
- # Evaluate a BlockExpression in a new scope with variables bound to the
156
- # given values.
157
- #
158
- # @param scope [Puppet::Parser::Scope] the parent scope
159
- # @param variable_bindings [Hash{String => Object}] the variable names and values to bind (names are keys, bound values are values)
160
- # @param block [Model::BlockExpression] the sequence of expressions to evaluate in the new scope
161
- #
162
- # @api private
163
- #
164
- def evaluate_block_with_bindings(scope, variable_bindings, block_expr)
165
- scope.with_guarded_scope do
166
- # change to create local scope_from - cannot give it file and line -
167
- # that is the place of the call, not "here"
168
- create_local_scope_from(variable_bindings, scope)
169
- evaluate(block_expr, scope)
170
- end
171
- end
172
-
173
- protected
174
-
175
- def lvalue_VariableExpression(o, scope)
176
- # evaluate the name
177
- evaluate(o.expr, scope)
178
- end
179
-
180
- # Catches all illegal lvalues
181
- #
182
- def lvalue_Object(o, scope)
183
- fail(Issues::ILLEGAL_ASSIGNMENT, o)
184
- end
185
-
186
- # An array is assignable if all entries are lvalues
187
- def lvalue_LiteralList(o, scope)
188
- o.values.map {|x| lvalue(x, scope) }
189
- end
190
-
191
- # Assign value to named variable.
192
- # The '$' sign is never part of the name.
193
- # @example In Puppet DSL
194
- # $name = value
195
- # @param name [String] name of variable without $
196
- # @param value [Object] value to assign to the variable
197
- # @param o [Model::PopsObject] originating instruction
198
- # @param scope [Object] the runtime specific scope where evaluation should take place
199
- # @return [value<Object>]
200
- #
201
- def assign_String(name, value, o, scope)
202
- if name =~ /::/
203
- fail(Issues::CROSS_SCOPE_ASSIGNMENT, o.left_expr, {:name => name})
204
- end
205
- set_variable(name, value, o, scope)
206
- value
207
- end
208
-
209
- def assign_Numeric(n, value, o, scope)
210
- fail(Issues::ILLEGAL_NUMERIC_ASSIGNMENT, o.left_expr, {:varname => n.to_s})
211
- end
212
-
213
- # Catches all illegal assignment (e.g. 1 = 2, {'a'=>1} = 2, etc)
214
- #
215
- def assign_Object(name, value, o, scope)
216
- fail(Issues::ILLEGAL_ASSIGNMENT, o)
217
- end
218
-
219
- def assign_Array(lvalues, values, o, scope)
220
- if values.is_a?(Hash)
221
- lvalues.map do |lval|
222
- assign(lval,
223
- values.fetch(lval) {|k| fail(Issues::MISSING_MULTI_ASSIGNMENT_KEY, o, :key =>k)},
224
- o, scope)
225
- end
226
- elsif values.is_a?(Puppet::Pops::Types::PHostClassType)
227
- # assign variables from class variables
228
- # lookup class resource and return one or more parameter values
229
- # TODO: behavior when class_name is nil
230
- resource = find_resource(scope, 'class', values.class_name)
231
- if resource
232
- base_name = "#{values.class_name.downcase}::"
233
- idx = -1
234
- result = lvalues.map do |lval|
235
- idx += 1
236
- varname = "#{base_name}#{lval}"
237
- if variable_exists?(varname, scope)
238
- result = get_variable_value(varname, o, scope)
239
- assign(lval, result, o, scope)
240
- else
241
- fail(Puppet::Pops::Issues::MISSING_MULTI_ASSIGNMENT_VARIABLE, o.left_expr.values[idx], {:name => varname})
242
- end
243
- end
244
- else
245
- fail(Issues::UNKNOWN_RESOURCE, o.right_expr, {:type_name => 'Class', :title => values.class_name})
246
- end
247
-
248
- else
249
- values = [values] unless values.is_a?(Array)
250
- if values.size != lvalues.size
251
- fail(Issues::ILLEGAL_MULTI_ASSIGNMENT_SIZE, o, :expected =>lvalues.size, :actual => values.size)
252
- end
253
- lvalues.zip(values).map { |lval, val| assign(lval, val, o, scope) }
254
- end
255
- end
256
-
257
- def eval_Factory(o, scope)
258
- evaluate(o.current, scope)
259
- end
260
-
261
- # Evaluates any object not evaluated to something else to itself.
262
- def eval_Object o, scope
263
- o
264
- end
265
-
266
- # Allows nil to be used as a Nop, Evaluates to nil
267
- def eval_NilClass(o, scope)
268
- nil
269
- end
270
-
271
- # Evaluates Nop to nil.
272
- def eval_Nop(o, scope)
273
- nil
274
- end
275
-
276
- # Captures all LiteralValues not handled elsewhere.
277
- #
278
- def eval_LiteralValue(o, scope)
279
- o.value
280
- end
281
-
282
- # Reserved Words fail to evaluate
283
- #
284
- def eval_ReservedWord(o, scope)
285
- if !o.future
286
- fail(Issues::RESERVED_WORD, o, {:word => o.word})
287
- else
288
- o.word
289
- end
290
- end
291
-
292
- def eval_LiteralDefault(o, scope)
293
- :default
294
- end
295
-
296
- def eval_LiteralUndef(o, scope)
297
- nil
298
- end
299
-
300
- # A QualifiedReference (i.e. a capitalized qualified name such as Foo, or Foo::Bar) evaluates to a PType
301
- #
302
- def eval_QualifiedReference(o, scope)
303
- type = @@type_parser.interpret(o, scope)
304
- fail(Issues::UNKNOWN_RESOURCE_TYPE, o, {:type_name => type.type_string }) if type.is_a?(Types::PTypeReferenceType)
305
- type
306
- end
307
-
308
- def eval_NotExpression(o, scope)
309
- ! is_true?(evaluate(o.expr, scope), o.expr)
310
- end
311
-
312
- def eval_UnaryMinusExpression(o, scope)
313
- - coerce_numeric(evaluate(o.expr, scope), o, scope)
314
- end
315
-
316
- def eval_UnfoldExpression(o, scope)
317
- candidate = evaluate(o.expr, scope)
318
- case candidate
319
- when nil
320
- []
321
- when Array
322
- candidate
323
- when Hash
324
- candidate.to_a
325
- when Puppet::Pops::Types::Iterator
326
- candidate.to_a
327
- else
328
- # turns anything else into an array (so result can be unfolded)
329
- [candidate]
330
- end
331
- end
332
-
333
- # Abstract evaluation, returns array [left, right] with the evaluated result of left_expr and
334
- # right_expr
335
- # @return <Array<Object, Object>> array with result of evaluating left and right expressions
336
- #
337
- def eval_BinaryExpression o, scope
338
- [ evaluate(o.left_expr, scope), evaluate(o.right_expr, scope) ]
339
- end
340
-
341
- # Evaluates assignment with operators =, +=, -= and
342
- #
343
- # @example Puppet DSL
344
- # $a = 1
345
- # $a += 1
346
- # $a -= 1
347
- #
348
- def eval_AssignmentExpression(o, scope)
349
- name = lvalue(o.left_expr, scope)
350
- value = evaluate(o.right_expr, scope)
351
-
352
- if o.operator == :'='
353
- assign(name, value, o, scope)
354
- else
355
- fail(Issues::UNSUPPORTED_OPERATOR, o, {:operator => o.operator})
356
- end
357
- value
358
- end
359
-
360
- ARITHMETIC_OPERATORS = [:'+', :'-', :'*', :'/', :'%', :'<<', :'>>']
361
- COLLECTION_OPERATORS = [:'+', :'-', :'<<']
362
-
363
- # Handles binary expression where lhs and rhs are array/hash or numeric and operator is +, - , *, % / << >>
364
- #
365
- def eval_ArithmeticExpression(o, scope)
366
- left = evaluate(o.left_expr, scope)
367
- right = evaluate(o.right_expr, scope)
368
-
369
- begin
370
- result = calculate(left, right, o.operator, o.left_expr, o.right_expr, scope)
371
- rescue ArgumentError => e
372
- fail(Issues::RUNTIME_ERROR, o, {:detail => e.message}, e)
373
- end
374
- result
375
- end
376
-
377
-
378
- # Handles binary expression where lhs and rhs are array/hash or numeric and operator is +, - , *, % / << >>
379
- #
380
- def calculate(left, right, operator, left_o, right_o, scope)
381
- unless ARITHMETIC_OPERATORS.include?(operator)
382
- fail(Issues::UNSUPPORTED_OPERATOR, left_o.eContainer, {:operator => o.operator})
383
- end
384
-
385
- if (left.is_a?(Array) || left.is_a?(Hash)) && COLLECTION_OPERATORS.include?(operator)
386
- # Handle operation on collections
387
- case operator
388
- when :'+'
389
- concatenate(left, right)
390
- when :'-'
391
- delete(left, right)
392
- when :'<<'
393
- unless left.is_a?(Array)
394
- fail(Issues::OPERATOR_NOT_APPLICABLE, left_o, {:operator => operator, :left_value => left})
395
- end
396
- left + [right]
397
- end
398
- else
399
- # Handle operation on numeric
400
- left = coerce_numeric(left, left_o, scope)
401
- right = coerce_numeric(right, right_o, scope)
402
- begin
403
- if operator == :'%' && (left.is_a?(Float) || right.is_a?(Float))
404
- # Deny users the fun of seeing severe rounding errors and confusing results
405
- fail(Issues::OPERATOR_NOT_APPLICABLE, left_o, {:operator => operator, :left_value => left})
406
- end
407
- result = left.send(operator, right)
408
- rescue NoMethodError => e
409
- fail(Issues::OPERATOR_NOT_APPLICABLE, left_o, {:operator => operator, :left_value => left})
410
- rescue ZeroDivisionError => e
411
- fail(Issues::DIV_BY_ZERO, right_o)
412
- end
413
- if result == Float::INFINITY || result == -Float::INFINITY
414
- fail(Issues::RESULT_IS_INFINITY, left_o, {:operator => operator})
415
- end
416
- result
417
- end
418
- end
419
-
420
- def eval_EppExpression(o, scope)
421
- scope["@epp"] = []
422
- evaluate(o.body, scope)
423
- result = scope["@epp"].join
424
- result
425
- end
426
-
427
- def eval_RenderStringExpression(o, scope)
428
- scope["@epp"] << o.value.dup
429
- nil
430
- end
431
-
432
- def eval_RenderExpression(o, scope)
433
- scope["@epp"] << string(evaluate(o.expr, scope), scope)
434
- nil
435
- end
436
-
437
- # Evaluates Puppet DSL ->, ~>, <-, and <~
438
- def eval_RelationshipExpression(o, scope)
439
- # First level evaluation, reduction to basic data types or puppet types, the relationship operator then translates this
440
- # to the final set of references (turning strings into references, which can not naturally be done by the main evaluator since
441
- # all strings should not be turned into references.
442
- #
443
- real = eval_BinaryExpression(o, scope)
444
- @@relationship_operator.evaluate(real, o, scope)
445
- end
446
-
447
- # Evaluates x[key, key, ...]
448
- #
449
- def eval_AccessExpression(o, scope)
450
- left = evaluate(o.left_expr, scope)
451
- keys = o.keys || []
452
- if left.is_a?(Types::PHostClassType)
453
- # Evaluate qualified references without errors no undefined types
454
- keys = keys.map {|key| key.is_a?(Model::QualifiedReference) ? @@type_parser.interpret(key, scope) : evaluate(key, scope) }
455
- else
456
- keys = keys.map {|key| evaluate(key, scope) }
457
- # Resource[File] becomes File
458
- return keys[0] if Types::PResourceType::DEFAULT == left && keys.size == 1 && keys[0].is_a?(Types::PResourceType)
459
- end
460
- AccessOperator.new(o).access(left, scope, *keys)
461
- end
462
-
463
- # Evaluates <, <=, >, >=, and ==
464
- #
465
- def eval_ComparisonExpression o, scope
466
- left = evaluate(o.left_expr, scope)
467
- right = evaluate(o.right_expr, scope)
468
-
469
- begin
470
- # Left is a type
471
- if left.is_a?(Types::PAnyType)
472
- case o.operator
473
- when :'=='
474
- @@type_calculator.equals(left,right)
475
-
476
- when :'!='
477
- !@@type_calculator.equals(left,right)
478
-
479
- when :'<'
480
- # left can be assigned to right, but they are not equal
481
- @@type_calculator.assignable?(right, left) && ! @@type_calculator.equals(left,right)
482
- when :'<='
483
- # left can be assigned to right
484
- @@type_calculator.assignable?(right, left)
485
- when :'>'
486
- # right can be assigned to left, but they are not equal
487
- @@type_calculator.assignable?(left,right) && ! @@type_calculator.equals(left,right)
488
- when :'>='
489
- # right can be assigned to left
490
- @@type_calculator.assignable?(left, right)
491
- else
492
- fail(Issues::UNSUPPORTED_OPERATOR, o, {:operator => o.operator})
493
- end
494
- else
495
- case o.operator
496
- when :'=='
497
- @@compare_operator.equals(left,right)
498
- when :'!='
499
- ! @@compare_operator.equals(left,right)
500
- when :'<'
501
- @@compare_operator.compare(left,right) < 0
502
- when :'<='
503
- @@compare_operator.compare(left,right) <= 0
504
- when :'>'
505
- @@compare_operator.compare(left,right) > 0
506
- when :'>='
507
- @@compare_operator.compare(left,right) >= 0
508
- else
509
- fail(Issues::UNSUPPORTED_OPERATOR, o, {:operator => o.operator})
510
- end
511
- end
512
- rescue ArgumentError => e
513
- fail(Issues::COMPARISON_NOT_POSSIBLE, o, {
514
- :operator => o.operator,
515
- :left_value => left,
516
- :right_value => right,
517
- :detail => e.message}, e)
518
- end
519
- end
520
-
521
- # Evaluates matching expressions with type, string or regexp rhs expression.
522
- # If RHS is a type, the =~ matches compatible (instance? of) type.
523
- #
524
- # @example
525
- # x =~ /abc.*/
526
- # @example
527
- # x =~ "abc.*/"
528
- # @example
529
- # y = "abc"
530
- # x =~ "${y}.*"
531
- # @example
532
- # [1,2,3] =~ Array[Integer[1,10]]
533
- #
534
- # Note that a string is not instance? of Regexp, only Regular expressions are.
535
- # The Pattern type should instead be used as it is specified as subtype of String.
536
- #
537
- # @return [Boolean] if a match was made or not. Also sets $0..$n to matchdata in current scope.
538
- #
539
- def eval_MatchExpression o, scope
540
- left = evaluate(o.left_expr, scope)
541
- pattern = evaluate(o.right_expr, scope)
542
-
543
- # matches RHS types as instance of for all types except a parameterized Regexp[R]
544
- if pattern.is_a?(Types::PAnyType)
545
- # evaluate as instance? of type check
546
- matched = pattern.instance?(left)
547
- # convert match result to Boolean true, or false
548
- return o.operator == :'=~' ? !!matched : !matched
549
- end
550
-
551
- if pattern.is_a?(Semantic::VersionRange)
552
- # evaluate if range includes version
553
- matched = Types::PSemVerRangeType.include?(pattern, left)
554
- return o.operator == :'=~' ? matched : !matched
555
- end
556
-
557
- begin
558
- pattern = Regexp.new(pattern) unless pattern.is_a?(Regexp)
559
- rescue StandardError => e
560
- fail(Issues::MATCH_NOT_REGEXP, o.right_expr, {:detail => e.message}, e)
561
- end
562
- unless left.is_a?(String)
563
- fail(Issues::MATCH_NOT_STRING, o.left_expr, {:left_value => left})
564
- end
565
-
566
- matched = pattern.match(left) # nil, or MatchData
567
- set_match_data(matched,scope) # creates ephemeral
568
-
569
- # convert match result to Boolean true, or false
570
- o.operator == :'=~' ? !!matched : !matched
571
- end
572
-
573
- # Evaluates Puppet DSL `in` expression
574
- #
575
- def eval_InExpression o, scope
576
- left = evaluate(o.left_expr, scope)
577
- right = evaluate(o.right_expr, scope)
578
- @@compare_operator.include?(right, left, scope)
579
- end
580
-
581
- # @example
582
- # $a and $b
583
- # b is only evaluated if a is true
584
- #
585
- def eval_AndExpression o, scope
586
- is_true?(evaluate(o.left_expr, scope), o.left_expr) ? is_true?(evaluate(o.right_expr, scope), o.right_expr) : false
587
- end
588
-
589
- # @example
590
- # a or b
591
- # b is only evaluated if a is false
592
- #
593
- def eval_OrExpression o, scope
594
- is_true?(evaluate(o.left_expr, scope), o.left_expr) ? true : is_true?(evaluate(o.right_expr, scope), o.right_expr)
595
- end
596
-
597
- # Evaluates each entry of the literal list and creates a new Array
598
- # Supports unfolding of entries
599
- # @return [Array] with the evaluated content
600
- #
601
- def eval_LiteralList o, scope
602
- unfold([], o.values, scope)
603
- end
604
-
605
- # Evaluates each entry of the literal hash and creates a new Hash.
606
- # @return [Hash] with the evaluated content
607
- #
608
- def eval_LiteralHash o, scope
609
- # optimized
610
- o.entries.reduce({}) {|h,entry| h[evaluate(entry.key, scope)] = evaluate(entry.value, scope); h }
611
- end
612
-
613
- # Evaluates all statements and produces the last evaluated value
614
- #
615
- def eval_BlockExpression o, scope
616
- r = nil
617
- o.statements.each {|s| r = evaluate(s, scope)}
618
- r
619
- end
620
-
621
- # Performs optimized search over case option values, lazily evaluating each
622
- # until there is a match. If no match is found, the case expression's default expression
623
- # is evaluated (it may be nil or Nop if there is no default, thus producing nil).
624
- # If an option matches, the result of evaluating that option is returned.
625
- # @return [Object, nil] what a matched option returns, or nil if nothing matched.
626
- #
627
- def eval_CaseExpression(o, scope)
628
- # memo scope level before evaluating test - don't want a match in the case test to leak $n match vars
629
- # to expressions after the case expression.
630
- #
631
- scope.with_guarded_scope do
632
- test = evaluate(o.test, scope)
633
-
634
- result = nil
635
- the_default = nil
636
- if o.options.find do |co|
637
- # the first case option that matches
638
- if co.values.find do |c|
639
- c = unwind_parentheses(c)
640
- case c
641
- when Model::LiteralDefault
642
- the_default = co.then_expr
643
- next false
644
- when Model::UnfoldExpression
645
- # not ideal for error reporting, since it is not known which unfolded result
646
- # that caused an error - the entire unfold expression is blamed (i.e. the var c, passed to is_match?)
647
- evaluate(c, scope).any? {|v| is_match?(test, v, c, co, scope) }
648
- else
649
- is_match?(test, evaluate(c, scope), c, co, scope)
650
- end
651
- end
652
- result = evaluate(co.then_expr, scope)
653
- true # the option was picked
654
- end
655
- end
656
- result # an option was picked, and produced a result
657
- else
658
- evaluate(the_default, scope) # evaluate the default (should be a nop/nil) if there is no default).
659
- end
660
- end
661
- end
662
-
663
- # Evaluates a CollectExpression by creating a collector transformer. The transformer
664
- # will evaulate the collection, create the appropriate collector, and hand it off
665
- # to the compiler to collect the resources specified by the query.
666
- #
667
- def eval_CollectExpression o, scope
668
- if o.query.is_a?(Model::ExportedQuery)
669
- optionally_fail(Issues::RT_NO_STORECONFIGS, o);
670
- end
671
- CollectorTransformer.new().transform(o,scope)
672
- end
673
-
674
- def eval_ParenthesizedExpression(o, scope)
675
- evaluate(o.expr, scope)
676
- end
677
-
678
- # This evaluates classes, nodes and resource type definitions to nil, since 3x:
679
- # instantiates them, and evaluates their parameters and body. This is achieved by
680
- # providing bridge AST classes in Puppet::Parser::AST::PopsBridge that bridges a
681
- # Pops Program and a Pops Expression.
682
- #
683
- # Since all Definitions are handled "out of band", they are treated as a no-op when
684
- # evaluated.
685
- #
686
- def eval_Definition(o, scope)
687
- nil
688
- end
689
-
690
- def eval_Program(o, scope)
691
- evaluate(o.body, scope)
692
- end
693
-
694
- # Produces Array[PAnyType], an array of resource references
695
- #
696
- def eval_ResourceExpression(o, scope)
697
- exported = o.exported
698
- virtual = o.virtual
699
-
700
- # Get the type name
701
- type_name =
702
- if (tmp_name = o.type_name).is_a?(Model::QualifiedName)
703
- tmp_name.value # already validated as a name
704
- else
705
- type_name_acceptable =
706
- case o.type_name
707
- when Model::QualifiedReference
708
- true
709
- when Model::AccessExpression
710
- o.type_name.left_expr.is_a?(Model::QualifiedReference)
711
- end
712
-
713
- evaluated_name = evaluate(tmp_name, scope)
714
- unless type_name_acceptable
715
- actual = type_calculator.generalize(type_calculator.infer(evaluated_name)).to_s
716
- fail(Issues::ILLEGAL_RESOURCE_TYPE, o.type_name, {:actual => actual})
717
- end
718
-
719
- # must be a CatalogEntry subtype
720
- case evaluated_name
721
- when Types::PHostClassType
722
- unless evaluated_name.class_name.nil?
723
- fail(Issues::ILLEGAL_RESOURCE_TYPE, o.type_name, {:actual=> evaluated_name.to_s})
724
- end
725
- 'class'
726
-
727
- when Types::PResourceType
728
- unless evaluated_name.title().nil?
729
- fail(Issues::ILLEGAL_RESOURCE_TYPE, o.type_name, {:actual=> evaluated_name.to_s})
730
- end
731
- evaluated_name.type_name # assume validated
732
-
733
- when Types::PTypeReferenceType
734
- fail(Issues::UNKNOWN_RESOURCE_TYPE, o.type_string, {:type_name => evaluated_name.to_s})
735
-
736
- else
737
- actual = type_calculator.generalize(type_calculator.infer(evaluated_name)).to_s
738
- fail(Issues::ILLEGAL_RESOURCE_TYPE, o.type_name, {:actual=>actual})
739
- end
740
- end
741
-
742
- # This is a runtime check - the model is valid, but will have runtime issues when evaluated
743
- # and storeconfigs is not set.
744
- if(o.exported)
745
- optionally_fail(Issues::RT_NO_STORECONFIGS_EXPORT, o);
746
- end
747
-
748
- titles_to_body = {}
749
- body_to_titles = {}
750
- body_to_params = {}
751
-
752
- # titles are evaluated before attribute operations
753
- o.bodies.map do | body |
754
- titles = evaluate(body.title, scope)
755
-
756
- # Title may not be nil
757
- # Titles may be given as an array, it is ok if it is empty, but not if it contains nil entries
758
- # Titles may not be an empty String
759
- # Titles must be unique in the same resource expression
760
- # There may be a :default entry, its entries apply with lower precedence
761
- #
762
- if titles.nil?
763
- fail(Issues::MISSING_TITLE, body.title)
764
- end
765
- titles = [titles].flatten
766
-
767
- # Check types of evaluated titles and duplicate entries
768
- titles.each_with_index do |title, index|
769
- if title.nil?
770
- fail(Issues::MISSING_TITLE_AT, body.title, {:index => index})
771
-
772
- elsif !title.is_a?(String) && title != :default
773
- actual = type_calculator.generalize(type_calculator.infer(title)).to_s
774
- fail(Issues::ILLEGAL_TITLE_TYPE_AT, body.title, {:index => index, :actual => actual})
775
-
776
- elsif title == EMPTY_STRING
777
- fail(Issues::EMPTY_STRING_TITLE_AT, body.title, {:index => index})
778
-
779
- elsif titles_to_body[title]
780
- fail(Issues::DUPLICATE_TITLE, o, {:title => title})
781
- end
782
- titles_to_body[title] = body
783
- end
784
-
785
- # Do not create a real instance from the :default case
786
- titles.delete(:default)
787
-
788
- body_to_titles[body] = titles
789
-
790
- # Store evaluated parameters in a hash associated with the body, but do not yet create resource
791
- # since the entry containing :defaults may appear later
792
- body_to_params[body] = body.operations.reduce({}) do |param_memo, op|
793
- params = evaluate(op, scope)
794
- params = [params] unless params.is_a?(Array)
795
- params.each do |p|
796
- if param_memo.include? p.name
797
- fail(Issues::DUPLICATE_ATTRIBUTE, o, {:attribute => p.name})
798
- end
799
- param_memo[p.name] = p
800
- end
801
- param_memo
802
- end
803
- end
804
-
805
- # Titles and Operations have now been evaluated and resources can be created
806
- # Each production is a PResource, and an array of all is produced as the result of
807
- # evaluating the ResourceExpression.
808
- #
809
- defaults_hash = body_to_params[titles_to_body[:default]] || {}
810
- o.bodies.map do | body |
811
- titles = body_to_titles[body]
812
- params = defaults_hash.merge(body_to_params[body] || {})
813
- create_resources(o, scope, virtual, exported, type_name, titles, params.values)
814
- end.flatten.compact
815
- end
816
-
817
- def eval_ResourceOverrideExpression(o, scope)
818
- evaluated_resources = evaluate(o.resources, scope)
819
- evaluated_parameters = o.operations.map { |op| evaluate(op, scope) }
820
- create_resource_overrides(o, scope, [evaluated_resources].flatten, evaluated_parameters)
821
- evaluated_resources
822
- end
823
-
824
- # Produces 3x parameter
825
- def eval_AttributeOperation(o, scope)
826
- create_resource_parameter(o, scope, o.attribute_name, evaluate(o.value_expr, scope), o.operator)
827
- end
828
-
829
- def eval_AttributesOperation(o, scope)
830
- hashed_params = evaluate(o.expr, scope)
831
- unless hashed_params.is_a?(Hash)
832
- actual = type_calculator.generalize(type_calculator.infer(hashed_params)).to_s
833
- fail(Issues::TYPE_MISMATCH, o.expr, {:expected => 'Hash', :actual => actual})
834
- end
835
- hashed_params.map { |k,v| create_resource_parameter(o, scope, k, v, :'=>') }
836
- end
837
-
838
- # Sets default parameter values for a type, produces the type
839
- #
840
- def eval_ResourceDefaultsExpression(o, scope)
841
- type = evaluate(o.type_ref, scope)
842
- type_name =
843
- if type.is_a?(Types::PResourceType) && !type.type_name.nil? && type.title.nil?
844
- type.type_name # assume it is a valid name
845
- else
846
- actual = type_calculator.generalize(type_calculator.infer(type))
847
- fail(Issues::ILLEGAL_RESOURCE_TYPE, o.type_ref, {:actual => actual})
848
- end
849
- evaluated_parameters = o.operations.map {|op| evaluate(op, scope) }
850
- create_resource_defaults(o, scope, type_name, evaluated_parameters)
851
- # Produce the type
852
- type
853
- end
854
-
855
- # Evaluates function call by name.
856
- #
857
- def eval_CallNamedFunctionExpression(o, scope)
858
- # If LHS is a type (i.e. Integer, or Integer[...]
859
- # the call is taken as an instantiation of the given type
860
- #
861
- functor = o.functor_expr
862
- if functor.is_a?(Model::QualifiedReference) ||
863
- functor.is_a?(Model::AccessExpression) && functor.left_expr.is_a?(Model::QualifiedReference)
864
- # instantiation
865
- type = evaluate(functor, scope)
866
- return call_function_with_block('new', unfold([type], o.arguments || [], scope), o, scope)
867
- end
868
-
869
- # The functor expression is not evaluated, it is not possible to select the function to call
870
- # via an expression like $a()
871
- case functor
872
- when Model::QualifiedName
873
- # ok
874
- when Model::RenderStringExpression
875
- # helpful to point out this easy to make Epp error
876
- fail(Issues::ILLEGAL_EPP_PARAMETERS, o)
877
- else
878
- fail(Issues::ILLEGAL_EXPRESSION, o.functor_expr, {:feature=>'function name', :container => o})
879
- end
880
- name = o.functor_expr.value
881
- call_function_with_block(name, unfold([], o.arguments, scope), o, scope)
882
- end
883
-
884
- # Evaluation of CallMethodExpression handles a NamedAccessExpression functor (receiver.function_name)
885
- #
886
- def eval_CallMethodExpression(o, scope)
887
- unless o.functor_expr.is_a? Model::NamedAccessExpression
888
- fail(Issues::ILLEGAL_EXPRESSION, o.functor_expr, {:feature=>'function accessor', :container => o})
889
- end
890
- receiver = unfold([], [o.functor_expr.left_expr], scope)
891
- name = o.functor_expr.right_expr
892
- unless name.is_a? Model::QualifiedName
893
- fail(Issues::ILLEGAL_EXPRESSION, o.functor_expr, {:feature=>'function name', :container => o})
894
- end
895
- name = name.value # the string function name
896
-
897
- obj = receiver[0]
898
- receiver_type = Types::TypeCalculator.infer(obj)
899
- if receiver_type.is_a?(Types::PObjectType)
900
- member = receiver_type[name]
901
- unless member.nil?
902
- args = unfold([], o.arguments || [], scope)
903
- return o.lambda.nil? ? member.invoke(obj, scope, args) : member.invoke(obj, scope, args, &proc_from_lambda(o.lambda, scope))
904
- end
905
- end
906
-
907
- call_function_with_block(name, unfold(receiver, o.arguments || [], scope), o, scope)
908
- end
909
-
910
- def call_function_with_block(name, evaluated_arguments, o, scope)
911
- if o.lambda.nil?
912
- call_function(name, evaluated_arguments, o, scope)
913
- else
914
- call_function(name, evaluated_arguments, o, scope, &proc_from_lambda(o.lambda, scope))
915
- end
916
- end
917
- private :call_function_with_block
918
-
919
- def proc_from_lambda(lambda, scope)
920
- closure = Closure.new(self, lambda, scope)
921
- PuppetProc.new(closure) { |*args| closure.call(*args) }
922
- end
923
- private :proc_from_lambda
924
-
925
- # @example
926
- # $x ? { 10 => true, 20 => false, default => 0 }
927
- #
928
- def eval_SelectorExpression o, scope
929
- # memo scope level before evaluating test - don't want a match in the case test to leak $n match vars
930
- # to expressions after the selector expression.
931
- #
932
- scope.with_guarded_scope do
933
- test = evaluate(o.left_expr, scope)
934
-
935
- the_default = nil
936
- selected = o.selectors.find do |s|
937
- me = unwind_parentheses(s.matching_expr)
938
- case me
939
- when Model::LiteralDefault
940
- the_default = s.value_expr
941
- false
942
- when Model::UnfoldExpression
943
- # not ideal for error reporting, since it is not known which unfolded result
944
- # that caused an error - the entire unfold expression is blamed (i.e. the var c, passed to is_match?)
945
- evaluate(me, scope).any? {|v| is_match?(test, v, me, s, scope) }
946
- else
947
- is_match?(test, evaluate(me, scope), me, s, scope)
948
- end
949
- end
950
- if selected
951
- evaluate(selected.value_expr, scope)
952
- elsif the_default
953
- evaluate(the_default, scope)
954
- else
955
- fail(Issues::UNMATCHED_SELECTOR, o.left_expr, :param_value => test)
956
- end
957
- end
958
- end
959
-
960
- # SubLocatable is simply an expression that holds location information
961
- def eval_SubLocatedExpression o, scope
962
- evaluate(o.expr, scope)
963
- end
964
-
965
- # Evaluates Puppet DSL Heredoc
966
- def eval_HeredocExpression o, scope
967
- result = evaluate(o.text_expr, scope)
968
- assert_external_syntax(scope, result, o.syntax, o.text_expr)
969
- result
970
- end
971
-
972
- # Evaluates Puppet DSL `if`
973
- def eval_IfExpression o, scope
974
- scope.with_guarded_scope do
975
- if is_true?(evaluate(o.test, scope), o.test)
976
- evaluate(o.then_expr, scope)
977
- else
978
- evaluate(o.else_expr, scope)
979
- end
980
- end
981
- end
982
-
983
- # Evaluates Puppet DSL `unless`
984
- def eval_UnlessExpression o, scope
985
- scope.with_guarded_scope do
986
- unless is_true?(evaluate(o.test, scope), o.test)
987
- evaluate(o.then_expr, scope)
988
- else
989
- evaluate(o.else_expr, scope)
990
- end
991
- end
992
- end
993
-
994
- # Evaluates a variable (getting its value)
995
- # The evaluator is lenient; any expression producing a String is used as a name
996
- # of a variable.
997
- #
998
- def eval_VariableExpression o, scope
999
- # Evaluator is not too fussy about what constitutes a name as long as the result
1000
- # is a String and a valid variable name
1001
- #
1002
- name = evaluate(o.expr, scope)
1003
-
1004
- # Should be caught by validation, but make this explicit here as well, or mysterious evaluation issues
1005
- # may occur for some evaluation use cases.
1006
- case name
1007
- when String
1008
- when Numeric
1009
- else
1010
- fail(Issues::ILLEGAL_VARIABLE_EXPRESSION, o.expr)
1011
- end
1012
- get_variable_value(name, o, scope)
1013
- end
1014
-
1015
- # Evaluates double quoted strings that may contain interpolation
1016
- #
1017
- def eval_ConcatenatedString o, scope
1018
- o.segments.collect {|expr| string(evaluate(expr, scope), scope)}.join
1019
- end
1020
-
1021
-
1022
- # If the wrapped expression is a QualifiedName, it is taken as the name of a variable in scope.
1023
- # Note that this is different from the 3.x implementation, where an initial qualified name
1024
- # is accepted. (e.g. `"---${var + 1}---"` is legal. This implementation requires such concrete
1025
- # syntax to be expressed in a model as `(TextExpression (+ (Variable var) 1)` - i.e. moving the decision to
1026
- # the parser.
1027
- #
1028
- # Semantics; the result of an expression is turned into a string, nil is silently transformed to empty
1029
- # string.
1030
- # @return [String] the interpolated result
1031
- #
1032
- def eval_TextExpression o, scope
1033
- if o.expr.is_a?(Model::QualifiedName)
1034
- string(get_variable_value(o.expr.value, o, scope), scope)
1035
- else
1036
- string(evaluate(o.expr, scope), scope)
1037
- end
1038
- end
1039
-
1040
- def string_Object(o, scope)
1041
- o.to_s
1042
- end
1043
-
1044
- def string_Symbol(o, scope)
1045
- if :undef == o # optimized comparison 1.44 vs 1.95
1046
- EMPTY_STRING
1047
- else
1048
- o.to_s
1049
- end
1050
- end
1051
-
1052
- def string_Array(o, scope)
1053
- "[#{o.map {|e| string(e, scope)}.join(COMMA_SEPARATOR)}]"
1054
- end
1055
-
1056
- def string_Hash(o, scope)
1057
- "{#{o.map {|k,v| "#{string(k, scope)} => #{string(v, scope)}"}.join(COMMA_SEPARATOR)}}"
1058
- end
1059
-
1060
- def string_Regexp(o, scope)
1061
- "/#{o.source}/"
1062
- end
1063
-
1064
- def string_PAnyType(o, scope)
1065
- o.to_s
1066
- end
1067
-
1068
- # Produces concatenation / merge of x and y.
1069
- #
1070
- # When x is an Array, y of type produces:
1071
- #
1072
- # * Array => concatenation `[1,2], [3,4] => [1,2,3,4]`
1073
- # * Hash => concatenation of hash as array `[key, value, key, value, ...]`
1074
- # * any other => concatenation of single value
1075
- #
1076
- # When x is a Hash, y of type produces:
1077
- #
1078
- # * Array => merge of array interpreted as `[key, value, key, value,...]`
1079
- # * Hash => a merge, where entries in `y` overrides
1080
- # * any other => error
1081
- #
1082
- # When x is something else, wrap it in an array first.
1083
- #
1084
- # When x is nil, an empty array is used instead.
1085
- #
1086
- # @note to concatenate an Array, nest the array - i.e. `[1,2], [[2,3]]`
1087
- #
1088
- # @overload concatenate(obj_x, obj_y)
1089
- # @param obj_x [Object] object to wrap in an array and concatenate to; see other overloaded methods for return type
1090
- # @param ary_y [Object] array to concatenate at end of `ary_x`
1091
- # @return [Object] wraps obj_x in array before using other overloaded option based on type of obj_y
1092
- # @overload concatenate(ary_x, ary_y)
1093
- # @param ary_x [Array] array to concatenate to
1094
- # @param ary_y [Array] array to concatenate at end of `ary_x`
1095
- # @return [Array] new array with `ary_x` + `ary_y`
1096
- # @overload concatenate(ary_x, hsh_y)
1097
- # @param ary_x [Array] array to concatenate to
1098
- # @param hsh_y [Hash] converted to array form, and concatenated to array
1099
- # @return [Array] new array with `ary_x` + `hsh_y` converted to array
1100
- # @overload concatenate (ary_x, obj_y)
1101
- # @param ary_x [Array] array to concatenate to
1102
- # @param obj_y [Object] non array or hash object to add to array
1103
- # @return [Array] new array with `ary_x` + `obj_y` added as last entry
1104
- # @overload concatenate(hsh_x, ary_y)
1105
- # @param hsh_x [Hash] the hash to merge with
1106
- # @param ary_y [Array] array interpreted as even numbered sequence of key, value merged with `hsh_x`
1107
- # @return [Hash] new hash with `hsh_x` merged with `ary_y` interpreted as hash in array form
1108
- # @overload concatenate(hsh_x, hsh_y)
1109
- # @param hsh_x [Hash] the hash to merge to
1110
- # @param hsh_y [Hash] hash merged with `hsh_x`
1111
- # @return [Hash] new hash with `hsh_x` merged with `hsh_y`
1112
- # @raise [ArgumentError] when `xxx_x` is neither an Array nor a Hash
1113
- # @raise [ArgumentError] when `xxx_x` is a Hash, and `xxx_y` is neither Array nor Hash.
1114
- #
1115
- def concatenate(x, y)
1116
- x = [x] unless x.is_a?(Array) || x.is_a?(Hash)
1117
- case x
1118
- when Array
1119
- y = case y
1120
- when Array then y
1121
- when Hash then y.to_a
1122
- else
1123
- [y]
1124
- end
1125
- x + y # new array with concatenation
1126
- when Hash
1127
- y = case y
1128
- when Hash then y
1129
- when Array
1130
- # Hash[[a, 1, b, 2]] => {}
1131
- # Hash[a,1,b,2] => {a => 1, b => 2}
1132
- # Hash[[a,1], [b,2]] => {[a,1] => [b,2]}
1133
- # Hash[[[a,1], [b,2]]] => {a => 1, b => 2}
1134
- # Use type calcultor to determine if array is Array[Array[?]], and if so use second form
1135
- # of call
1136
- t = @@type_calculator.infer(y)
1137
- if t.element_type.is_a? Types::PArrayType
1138
- Hash[y]
1139
- else
1140
- Hash[*y]
1141
- end
1142
- else
1143
- raise ArgumentError.new("Can only append Array or Hash to a Hash")
1144
- end
1145
- x.merge y # new hash with overwrite
1146
- else
1147
- raise ArgumentError.new("Can only append to an Array or a Hash.")
1148
- end
1149
- end
1150
-
1151
- # Produces the result x \ y (set difference)
1152
- # When `x` is an Array, `y` is transformed to an array and then all matching elements removed from x.
1153
- # When `x` is a Hash, all contained keys are removed from x as listed in `y` if it is an Array, or all its keys if it is a Hash.
1154
- # The difference is returned. The given `x` and `y` are not modified by this operation.
1155
- # @raise [ArgumentError] when `x` is neither an Array nor a Hash
1156
- #
1157
- def delete(x, y)
1158
- result = x.dup
1159
- case x
1160
- when Array
1161
- y = case y
1162
- when Array then y
1163
- when Hash then y.to_a
1164
- else
1165
- [y]
1166
- end
1167
- y.each {|e| result.delete(e) }
1168
- when Hash
1169
- y = case y
1170
- when Array then y
1171
- when Hash then y.keys
1172
- else
1173
- [y]
1174
- end
1175
- y.each {|e| result.delete(e) }
1176
- else
1177
- raise ArgumentError.new("Can only delete from an Array or Hash.")
1178
- end
1179
- result
1180
- end
1181
-
1182
- # Implementation of case option matching.
1183
- #
1184
- # This is the type of matching performed in a case option, using == for every type
1185
- # of value except regular expression where a match is performed.
1186
- #
1187
- def is_match?(left, right, o, option_expr, scope)
1188
- @@compare_operator.match(left, right, scope)
1189
- end
1190
-
1191
- # Maps the expression in the given array to their product except for UnfoldExpressions which are first unfolded.
1192
- # The result is added to the given result Array.
1193
- # @param result [Array] Where to add the result (may contain information to add to)
1194
- # @param array [Array[Model::Expression] the expressions to map
1195
- # @param scope [Puppet::Parser::Scope] the scope to evaluate in
1196
- # @return [Array] the given result array with content added from the operation
1197
- #
1198
- def unfold(result, array, scope)
1199
- array.each do |x|
1200
- x = unwind_parentheses(x)
1201
- if x.is_a?(Model::UnfoldExpression)
1202
- result.concat(evaluate(x, scope))
1203
- else
1204
- result << evaluate(x, scope)
1205
- end
1206
- end
1207
- result
1208
- end
1209
- private :unfold
1210
-
1211
- def unwind_parentheses(o)
1212
- return o unless o.is_a?(Model::ParenthesizedExpression)
1213
- unwind_parentheses(o.expr)
1214
- end
1215
- private :unwind_parentheses
1216
- end
1217
- end
1218
- end