puppet-retrospec 1.5.0 → 1.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1848) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/.gitlab-ci.yml +8 -8
  4. data/.overcommit.yml +4 -4
  5. data/.rubocop_todo.yml +4 -4
  6. data/CHANGELOG.md +14 -0
  7. data/Gemfile +2 -1
  8. data/Gemfile.lock +5 -10
  9. data/README.md +7 -69
  10. data/lib/retrospec-puppet.rb +3 -1
  11. data/lib/retrospec/plugins/v1/plugin/generators/serializers/rspec_dumper.rb +86 -36
  12. data/lib/retrospec/plugins/v1/plugin/generators/task_generator.rb +17 -19
  13. data/lib/retrospec/plugins/v1/plugin/helpers.rb +6 -0
  14. data/lib/retrospec/plugins/v1/plugin/puppet.rb +86 -16
  15. data/lib/retrospec/plugins/v1/plugin/spec_object.rb +34 -16
  16. data/lib/retrospec/plugins/v1/plugin/template_helpers.rb +12 -6
  17. data/lib/retrospec/plugins/v1/plugin/version.rb +1 -1
  18. data/puppet-retrospec.gemspec +1 -1
  19. data/spec/fixtures/fixture_modules/one_resource_module/manifests/array_param.pp +15 -0
  20. data/spec/fixtures/parameters.txt +9 -9
  21. data/spec/integration/retrospec_spec.rb +26 -6
  22. data/spec/unit/generators/acceptance_generator_spec.rb +3 -2
  23. data/spec/unit/generators/definition_generator_spec.rb +3 -3
  24. data/spec/unit/generators/hostclass_generator_spec.rb +9 -1
  25. data/spec/unit/generators/provider_generator_spec.rb +3 -3
  26. data/spec/unit/generators/resource_base_generator_spec.rb +1 -0
  27. data/spec/unit/generators/serializers/rspec_dumper_spec.rb +2 -2
  28. data/spec/unit/generators/task_generator_spec.rb +46 -0
  29. data/vendor/pup410/lib/hiera/puppet_function.rb +81 -0
  30. data/vendor/pup410/lib/hiera/scope.rb +61 -0
  31. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/hiera_puppet.rb +0 -0
  32. data/vendor/pup410/lib/puppet.rb +353 -0
  33. data/vendor/pup410/lib/puppet/agent.rb +102 -0
  34. data/vendor/pup410/lib/puppet/application.rb +478 -0
  35. data/vendor/pup410/lib/puppet/application_support.rb +57 -0
  36. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/bindings.rb +0 -0
  37. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/coercion.rb +0 -0
  38. data/vendor/pup410/lib/puppet/compilable_resource_type.rb +15 -0
  39. data/vendor/pup410/lib/puppet/configurer.rb +446 -0
  40. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/configurer/downloader.rb +0 -0
  41. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/configurer/downloader_factory.rb +0 -0
  42. data/vendor/pup410/lib/puppet/configurer/fact_handler.rb +37 -0
  43. data/vendor/pup410/lib/puppet/configurer/plugin_handler.rb +25 -0
  44. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/confine.rb +0 -0
  45. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/confine/any.rb +0 -0
  46. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/confine/exists.rb +0 -0
  47. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/confine/false.rb +0 -0
  48. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/confine/feature.rb +0 -0
  49. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/confine/true.rb +0 -0
  50. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/confine/variable.rb +0 -0
  51. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/confine_collection.rb +0 -0
  52. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/confiner.rb +0 -0
  53. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/context.rb +0 -0
  54. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/context/trusted_information.rb +0 -0
  55. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/daemon.rb +0 -0
  56. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/data_binding.rb +0 -0
  57. data/vendor/pup410/lib/puppet/data_providers.rb +34 -0
  58. data/vendor/pup410/lib/puppet/data_providers/data_adapter.rb +37 -0
  59. data/vendor/pup410/lib/puppet/data_providers/data_function_support.rb +32 -0
  60. data/vendor/pup410/lib/puppet/data_providers/function_env_data_provider.rb +26 -0
  61. data/vendor/pup410/lib/puppet/data_providers/function_module_data_provider.rb +24 -0
  62. data/vendor/pup410/lib/puppet/data_providers/hiera_config.rb +151 -0
  63. data/vendor/pup410/lib/puppet/data_providers/hiera_env_data_provider.rb +25 -0
  64. data/vendor/pup410/lib/puppet/data_providers/hiera_interpolate.rb +21 -0
  65. data/vendor/pup410/lib/puppet/data_providers/hiera_module_data_provider.rb +30 -0
  66. data/vendor/pup410/lib/puppet/data_providers/hiera_support.rb +42 -0
  67. data/vendor/pup410/lib/puppet/data_providers/json_data_provider_factory.rb +38 -0
  68. data/vendor/pup410/lib/puppet/data_providers/yaml_data_provider_factory.rb +40 -0
  69. data/vendor/pup410/lib/puppet/defaults.rb +2011 -0
  70. data/vendor/pup410/lib/puppet/environments.rb +492 -0
  71. data/vendor/pup410/lib/puppet/error.rb +100 -0
  72. data/vendor/pup410/lib/puppet/etc.rb +161 -0
  73. data/vendor/pup410/lib/puppet/external/dot.rb +326 -0
  74. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/external/nagios.rb +0 -0
  75. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/external/nagios/base.rb +0 -0
  76. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/external/nagios/grammar.ry +0 -0
  77. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/external/nagios/makefile +0 -0
  78. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/external/nagios/parser.rb +0 -0
  79. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/external/pson/common.rb +0 -0
  80. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/external/pson/pure.rb +0 -0
  81. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/external/pson/pure/generator.rb +0 -0
  82. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/external/pson/pure/parser.rb +0 -0
  83. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/external/pson/version.rb +0 -0
  84. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/face.rb +0 -0
  85. data/vendor/pup410/lib/puppet/face/ca.rb +259 -0
  86. data/vendor/pup410/lib/puppet/face/catalog.rb +130 -0
  87. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/face/catalog/select.rb +0 -0
  88. data/vendor/pup410/lib/puppet/face/certificate.rb +165 -0
  89. data/vendor/pup410/lib/puppet/face/certificate_request.rb +56 -0
  90. data/vendor/pup410/lib/puppet/face/certificate_revocation_list.rb +56 -0
  91. data/vendor/pup410/lib/puppet/face/config.rb +119 -0
  92. data/vendor/pup410/lib/puppet/face/epp.rb +527 -0
  93. data/vendor/pup410/lib/puppet/face/facts.rb +38 -0
  94. data/vendor/pup410/lib/puppet/face/file.rb +50 -0
  95. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/face/file/download.rb +0 -0
  96. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/face/file/store.rb +0 -0
  97. data/vendor/pup410/lib/puppet/face/generate.rb +64 -0
  98. data/vendor/pup410/lib/puppet/face/help.rb +201 -0
  99. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/face/help/action.erb +0 -0
  100. data/vendor/pup410/lib/puppet/face/help/face.erb +114 -0
  101. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/face/help/global.erb +0 -0
  102. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/face/help/man.erb +0 -0
  103. data/vendor/pup410/lib/puppet/face/key.rb +16 -0
  104. data/vendor/pup410/lib/puppet/face/man.rb +101 -0
  105. data/vendor/pup410/lib/puppet/face/module.rb +19 -0
  106. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/face/module/build.rb +0 -0
  107. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/face/module/changes.rb +0 -0
  108. data/vendor/pup410/lib/puppet/face/module/generate.rb +251 -0
  109. data/vendor/pup410/lib/puppet/face/module/install.rb +145 -0
  110. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/face/module/list.rb +0 -0
  111. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/face/module/search.rb +0 -0
  112. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/face/module/uninstall.rb +0 -0
  113. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/face/module/upgrade.rb +0 -0
  114. data/vendor/pup410/lib/puppet/face/node.rb +42 -0
  115. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/face/node/clean.rb +0 -0
  116. data/vendor/pup410/lib/puppet/face/parser.rb +161 -0
  117. data/vendor/pup410/lib/puppet/face/plugin.rb +58 -0
  118. data/vendor/pup410/lib/puppet/face/report.rb +54 -0
  119. data/vendor/pup410/lib/puppet/face/resource.rb +53 -0
  120. data/vendor/pup410/lib/puppet/face/resource_type.rb +84 -0
  121. data/vendor/pup410/lib/puppet/face/status.rb +50 -0
  122. data/vendor/pup410/lib/puppet/feature/base.rb +94 -0
  123. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/feature/cfacter.rb +0 -0
  124. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/feature/cfpropertylist.rb +0 -0
  125. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/feature/eventlog.rb +0 -0
  126. data/vendor/pup410/lib/puppet/feature/external_facts.rb +5 -0
  127. data/vendor/pup410/lib/puppet/feature/hiera_eyaml.rb +3 -0
  128. data/vendor/pup410/lib/puppet/feature/hocon.rb +3 -0
  129. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/feature/libuser.rb +0 -0
  130. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/feature/msgpack.rb +0 -0
  131. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/feature/pe_license.rb +0 -0
  132. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/feature/rack.rb +0 -0
  133. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/feature/selinux.rb +0 -0
  134. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/feature/ssh.rb +0 -0
  135. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/feature/telnet.rb +0 -0
  136. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/feature/zlib.rb +0 -0
  137. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/file_bucket.rb +0 -0
  138. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/file_bucket/dipper.rb +0 -0
  139. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/file_bucket/file.rb +0 -0
  140. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/file_serving.rb +0 -0
  141. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/file_serving/base.rb +0 -0
  142. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/file_serving/configuration.rb +0 -0
  143. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/file_serving/configuration/parser.rb +0 -0
  144. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/file_serving/content.rb +0 -0
  145. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/file_serving/fileset.rb +0 -0
  146. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/file_serving/http_metadata.rb +0 -0
  147. data/vendor/pup410/lib/puppet/file_serving/metadata.rb +163 -0
  148. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/file_serving/mount.rb +0 -0
  149. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/file_serving/mount/file.rb +0 -0
  150. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/file_serving/mount/modules.rb +0 -0
  151. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/file_serving/mount/pluginfacts.rb +0 -0
  152. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/file_serving/mount/plugins.rb +0 -0
  153. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/file_serving/terminus_helper.rb +0 -0
  154. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/file_serving/terminus_selector.rb +0 -0
  155. data/vendor/pup410/lib/puppet/file_system.rb +404 -0
  156. data/vendor/pup410/lib/puppet/file_system/file_impl.rb +154 -0
  157. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/file_system/memory_file.rb +0 -0
  158. data/vendor/pup410/lib/puppet/file_system/memory_impl.rb +86 -0
  159. data/vendor/pup410/lib/puppet/file_system/path_pattern.rb +98 -0
  160. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/file_system/posix.rb +0 -0
  161. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/file_system/uniquefile.rb +0 -0
  162. data/vendor/pup410/lib/puppet/file_system/windows.rb +130 -0
  163. data/vendor/pup410/lib/puppet/forge.rb +228 -0
  164. data/vendor/pup410/lib/puppet/forge/cache.rb +60 -0
  165. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/forge/errors.rb +0 -0
  166. data/vendor/pup410/lib/puppet/forge/repository.rb +155 -0
  167. data/vendor/pup410/lib/puppet/functions.rb +774 -0
  168. data/vendor/pup410/lib/puppet/functions/alert.rb +14 -0
  169. data/vendor/pup410/lib/puppet/functions/assert_type.rb +93 -0
  170. data/vendor/pup410/lib/puppet/functions/binary_file.rb +19 -0
  171. data/vendor/pup410/lib/puppet/functions/break.rb +22 -0
  172. data/vendor/pup410/lib/puppet/functions/contain.rb +33 -0
  173. data/vendor/pup410/lib/puppet/functions/crit.rb +14 -0
  174. data/vendor/pup410/lib/puppet/functions/debug.rb +14 -0
  175. data/vendor/pup410/lib/puppet/functions/defined.rb +160 -0
  176. data/vendor/pup410/lib/puppet/functions/dig.rb +23 -0
  177. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/functions/each.rb +0 -0
  178. data/vendor/pup410/lib/puppet/functions/emerg.rb +14 -0
  179. data/vendor/pup410/lib/puppet/functions/epp.rb +48 -0
  180. data/vendor/pup410/lib/puppet/functions/err.rb +14 -0
  181. data/vendor/pup410/lib/puppet/functions/eyaml_lookup_key.rb +94 -0
  182. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/functions/filter.rb +0 -0
  183. data/vendor/pup410/lib/puppet/functions/find_file.rb +31 -0
  184. data/vendor/pup410/lib/puppet/functions/hiera.rb +88 -0
  185. data/vendor/pup410/lib/puppet/functions/hiera_array.rb +81 -0
  186. data/vendor/pup410/lib/puppet/functions/hiera_hash.rb +92 -0
  187. data/vendor/pup410/lib/puppet/functions/hiera_include.rb +104 -0
  188. data/vendor/pup410/lib/puppet/functions/hocon_data.rb +41 -0
  189. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/functions/import.rb +0 -0
  190. data/vendor/pup410/lib/puppet/functions/include.rb +21 -0
  191. data/vendor/pup410/lib/puppet/functions/info.rb +14 -0
  192. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/functions/inline_epp.rb +0 -0
  193. data/vendor/pup410/lib/puppet/functions/json_data.rb +33 -0
  194. data/vendor/pup410/lib/puppet/functions/lest.rb +17 -0
  195. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/functions/lookup.rb +0 -0
  196. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/functions/map.rb +0 -0
  197. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/functions/match.rb +0 -0
  198. data/vendor/pup410/lib/puppet/functions/new.rb +31 -0
  199. data/vendor/pup410/lib/puppet/functions/next.rb +23 -0
  200. data/vendor/pup410/lib/puppet/functions/notice.rb +14 -0
  201. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/functions/reduce.rb +0 -0
  202. data/vendor/pup410/lib/puppet/functions/regsubst.rb +76 -0
  203. data/vendor/pup410/lib/puppet/functions/require.rb +37 -0
  204. data/vendor/pup410/lib/puppet/functions/return.rb +22 -0
  205. data/vendor/pup410/lib/puppet/functions/reverse_each.rb +25 -0
  206. data/vendor/pup410/lib/puppet/functions/scanf.rb +44 -0
  207. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/functions/slice.rb +0 -0
  208. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/functions/split.rb +0 -0
  209. data/vendor/pup410/lib/puppet/functions/step.rb +26 -0
  210. data/vendor/pup410/lib/puppet/functions/strftime.rb +35 -0
  211. data/vendor/pup410/lib/puppet/functions/then.rb +14 -0
  212. data/vendor/pup410/lib/puppet/functions/type.rb +31 -0
  213. data/vendor/pup410/lib/puppet/functions/unwrap.rb +40 -0
  214. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/functions/versioncmp.rb +0 -0
  215. data/vendor/pup410/lib/puppet/functions/warning.rb +14 -0
  216. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/functions/with.rb +0 -0
  217. data/vendor/pup410/lib/puppet/functions/yaml_data.rb +42 -0
  218. data/vendor/pup410/lib/puppet/generate/models/type/property.rb +70 -0
  219. data/vendor/pup410/lib/puppet/generate/models/type/type.rb +62 -0
  220. data/vendor/pup410/lib/puppet/generate/templates/type/pcore.erb +42 -0
  221. data/vendor/pup410/lib/puppet/generate/type.rb +239 -0
  222. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/graph.rb +0 -0
  223. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/graph/key.rb +0 -0
  224. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/graph/prioritizer.rb +0 -0
  225. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/graph/random_prioritizer.rb +0 -0
  226. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/graph/rb_tree_map.rb +0 -0
  227. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/graph/relationship_graph.rb +0 -0
  228. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/graph/sequential_prioritizer.rb +0 -0
  229. data/vendor/pup410/lib/puppet/graph/simple_graph.rb +560 -0
  230. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/graph/title_hash_prioritizer.rb +0 -0
  231. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector.rb +0 -0
  232. data/vendor/pup410/lib/puppet/indirector/catalog/compiler.rb +370 -0
  233. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/catalog/json.rb +0 -0
  234. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/catalog/msgpack.rb +0 -0
  235. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/catalog/rest.rb +0 -0
  236. data/vendor/pup410/lib/puppet/indirector/catalog/static_compiler.rb +232 -0
  237. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/catalog/store_configs.rb +0 -0
  238. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/catalog/yaml.rb +0 -0
  239. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/certificate/ca.rb +0 -0
  240. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/certificate/disabled_ca.rb +0 -0
  241. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/certificate/file.rb +0 -0
  242. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/certificate/rest.rb +0 -0
  243. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/certificate_request/ca.rb +0 -0
  244. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/certificate_request/disabled_ca.rb +0 -0
  245. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/certificate_request/file.rb +0 -0
  246. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/certificate_request/memory.rb +0 -0
  247. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/certificate_request/rest.rb +0 -0
  248. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/certificate_revocation_list/ca.rb +0 -0
  249. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/certificate_revocation_list/disabled_ca.rb +0 -0
  250. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/certificate_revocation_list/file.rb +0 -0
  251. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/certificate_revocation_list/rest.rb +0 -0
  252. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/certificate_status.rb +0 -0
  253. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/certificate_status/file.rb +0 -0
  254. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/certificate_status/rest.rb +0 -0
  255. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/code.rb +0 -0
  256. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/data_binding/hiera.rb +0 -0
  257. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/data_binding/none.rb +0 -0
  258. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/direct_file_server.rb +0 -0
  259. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/envelope.rb +0 -0
  260. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/errors.rb +0 -0
  261. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/exec.rb +0 -0
  262. data/vendor/pup410/lib/puppet/indirector/face.rb +153 -0
  263. data/vendor/pup410/lib/puppet/indirector/facts/facter.rb +90 -0
  264. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/facts/memory.rb +0 -0
  265. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/facts/network_device.rb +0 -0
  266. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/facts/store_configs.rb +0 -0
  267. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/facts/yaml.rb +0 -0
  268. data/vendor/pup410/lib/puppet/indirector/file_bucket_file/file.rb +254 -0
  269. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/file_bucket_file/rest.rb +0 -0
  270. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/file_bucket_file/selector.rb +0 -0
  271. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/file_content.rb +0 -0
  272. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/file_content/file.rb +0 -0
  273. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/file_content/file_server.rb +0 -0
  274. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/file_content/http.rb +0 -0
  275. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/file_content/rest.rb +0 -0
  276. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/file_content/selector.rb +0 -0
  277. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/file_metadata.rb +0 -0
  278. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/file_metadata/file.rb +0 -0
  279. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/file_metadata/file_server.rb +0 -0
  280. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/file_metadata/http.rb +0 -0
  281. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/file_metadata/rest.rb +0 -0
  282. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/file_metadata/selector.rb +0 -0
  283. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/file_server.rb +0 -0
  284. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/generic_http.rb +0 -0
  285. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/hiera.rb +0 -0
  286. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/indirection.rb +0 -0
  287. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/json.rb +0 -0
  288. data/vendor/pup410/lib/puppet/indirector/key/ca.rb +16 -0
  289. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/key/disabled_ca.rb +0 -0
  290. data/vendor/pup410/lib/puppet/indirector/key/file.rb +50 -0
  291. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/key/memory.rb +0 -0
  292. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/ldap.rb +0 -0
  293. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/memory.rb +0 -0
  294. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/msgpack.rb +0 -0
  295. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/node/exec.rb +0 -0
  296. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/node/ldap.rb +0 -0
  297. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/node/memory.rb +0 -0
  298. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/node/msgpack.rb +0 -0
  299. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/node/plain.rb +0 -0
  300. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/node/rest.rb +0 -0
  301. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/node/store_configs.rb +0 -0
  302. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/node/write_only_yaml.rb +0 -0
  303. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/node/yaml.rb +0 -0
  304. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/none.rb +0 -0
  305. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/plain.rb +0 -0
  306. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/report/msgpack.rb +0 -0
  307. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/report/processor.rb +0 -0
  308. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/report/rest.rb +0 -0
  309. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/report/yaml.rb +0 -0
  310. data/vendor/pup410/lib/puppet/indirector/request.rb +282 -0
  311. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/resource/ral.rb +0 -0
  312. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/resource/store_configs.rb +0 -0
  313. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/resource/validator.rb +0 -0
  314. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/resource_type.rb +0 -0
  315. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/resource_type/parser.rb +0 -0
  316. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/resource_type/rest.rb +0 -0
  317. data/vendor/pup410/lib/puppet/indirector/rest.rb +330 -0
  318. data/vendor/pup410/lib/puppet/indirector/ssl_file.rb +201 -0
  319. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/status.rb +0 -0
  320. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/status/local.rb +0 -0
  321. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/status/rest.rb +0 -0
  322. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/store_configs.rb +0 -0
  323. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/terminus.rb +0 -0
  324. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/yaml.rb +0 -0
  325. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/info_service.rb +0 -0
  326. data/vendor/pup410/lib/puppet/info_service/class_information_service.rb +111 -0
  327. data/vendor/pup410/lib/puppet/interface.rb +240 -0
  328. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/interface/action.rb +0 -0
  329. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/interface/action_builder.rb +0 -0
  330. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/interface/action_manager.rb +0 -0
  331. data/vendor/pup410/lib/puppet/interface/documentation.rb +342 -0
  332. data/vendor/pup410/lib/puppet/interface/face_collection.rb +125 -0
  333. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/interface/option.rb +0 -0
  334. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/interface/option_builder.rb +0 -0
  335. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/interface/option_manager.rb +0 -0
  336. data/vendor/pup410/lib/puppet/loaders.rb +25 -0
  337. data/vendor/pup410/lib/puppet/metatype/manager.rb +195 -0
  338. data/vendor/pup410/lib/puppet/module.rb +410 -0
  339. data/vendor/pup410/lib/puppet/module_tool.rb +192 -0
  340. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/module_tool/applications.rb +0 -0
  341. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/module_tool/applications/application.rb +0 -0
  342. data/vendor/pup410/lib/puppet/module_tool/applications/builder.rb +149 -0
  343. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/module_tool/applications/checksummer.rb +0 -0
  344. data/vendor/pup410/lib/puppet/module_tool/applications/installer.rb +351 -0
  345. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/module_tool/applications/searcher.rb +0 -0
  346. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/module_tool/applications/uninstaller.rb +0 -0
  347. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/module_tool/applications/unpacker.rb +0 -0
  348. data/vendor/pup410/lib/puppet/module_tool/applications/upgrader.rb +277 -0
  349. data/vendor/pup410/lib/puppet/module_tool/checksums.rb +49 -0
  350. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/module_tool/contents_description.rb +0 -0
  351. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/module_tool/dependency.rb +0 -0
  352. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/module_tool/errors.rb +0 -0
  353. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/module_tool/errors/base.rb +0 -0
  354. data/vendor/pup410/lib/puppet/module_tool/errors/installer.rb +95 -0
  355. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/module_tool/errors/shared.rb +0 -0
  356. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/module_tool/errors/uninstaller.rb +0 -0
  357. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/module_tool/errors/upgrader.rb +0 -0
  358. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/module_tool/install_directory.rb +0 -0
  359. data/vendor/pup410/lib/puppet/module_tool/installed_modules.rb +96 -0
  360. data/vendor/pup410/lib/puppet/module_tool/local_tarball.rb +90 -0
  361. data/vendor/pup410/lib/puppet/module_tool/metadata.rb +221 -0
  362. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/module_tool/shared_behaviors.rb +0 -0
  363. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/module_tool/skeleton/templates/generator/Gemfile +0 -0
  364. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/module_tool/skeleton/templates/generator/README.md.erb +0 -0
  365. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/module_tool/skeleton/templates/generator/Rakefile +0 -0
  366. data/vendor/pup410/lib/puppet/module_tool/skeleton/templates/generator/examples/init.pp.erb +12 -0
  367. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/module_tool/skeleton/templates/generator/manifests/init.pp.erb +0 -0
  368. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/module_tool/skeleton/templates/generator/metadata.json.erb +0 -0
  369. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/module_tool/skeleton/templates/generator/spec/classes/init_spec.rb.erb +0 -0
  370. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/module_tool/skeleton/templates/generator/spec/spec_helper.rb +0 -0
  371. data/vendor/pup410/lib/puppet/module_tool/tar.rb +17 -0
  372. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/module_tool/tar/gnu.rb +0 -0
  373. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/module_tool/tar/mini.rb +0 -0
  374. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network.rb +0 -0
  375. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/auth_config_parser.rb +0 -0
  376. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/authconfig.rb +0 -0
  377. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/authorization.rb +0 -0
  378. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/authstore.rb +0 -0
  379. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/client_request.rb +0 -0
  380. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/format.rb +0 -0
  381. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/format_handler.rb +0 -0
  382. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/format_support.rb +0 -0
  383. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/formats.rb +0 -0
  384. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/http.rb +0 -0
  385. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/http/api.rb +0 -0
  386. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/http/api/ca.rb +0 -0
  387. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/http/api/ca/v1.rb +0 -0
  388. data/vendor/pup410/lib/puppet/network/http/api/indirected_routes.rb +239 -0
  389. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/http/api/indirection_type.rb +0 -0
  390. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/http/api/master.rb +0 -0
  391. data/vendor/pup410/lib/puppet/network/http/api/master/v3.rb +28 -0
  392. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/http/api/master/v3/authorization.rb +0 -0
  393. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/http/api/master/v3/environment.rb +0 -0
  394. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/http/api/master/v3/environments.rb +0 -0
  395. data/vendor/pup410/lib/puppet/network/http/compression.rb +117 -0
  396. data/vendor/pup410/lib/puppet/network/http/connection.rb +235 -0
  397. data/vendor/pup410/lib/puppet/network/http/error.rb +69 -0
  398. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/http/factory.rb +0 -0
  399. data/vendor/pup410/lib/puppet/network/http/handler.rb +179 -0
  400. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/http/issues.rb +0 -0
  401. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/http/memory_response.rb +0 -0
  402. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/http/nocache_pool.rb +0 -0
  403. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/http/pool.rb +0 -0
  404. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/http/rack.rb +0 -0
  405. data/vendor/pup410/lib/puppet/network/http/rack/rest.rb +162 -0
  406. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/http/request.rb +0 -0
  407. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/http/response.rb +0 -0
  408. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/http/route.rb +0 -0
  409. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/http/session.rb +0 -0
  410. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/http/site.rb +0 -0
  411. data/vendor/pup410/lib/puppet/network/http/webrick.rb +125 -0
  412. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/http/webrick/rest.rb +0 -0
  413. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/http_pool.rb +0 -0
  414. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/resolver.rb +0 -0
  415. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/rest_controller.rb +0 -0
  416. data/vendor/pup410/lib/puppet/network/rights.rb +209 -0
  417. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/server.rb +0 -0
  418. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/node.rb +0 -0
  419. data/vendor/pup410/lib/puppet/node/environment.rb +555 -0
  420. data/vendor/pup410/lib/puppet/node/facts.rb +133 -0
  421. data/vendor/pup410/lib/puppet/parameter.rb +592 -0
  422. data/vendor/pup410/lib/puppet/parameter/boolean.rb +15 -0
  423. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parameter/package_options.rb +0 -0
  424. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parameter/path.rb +0 -0
  425. data/vendor/pup410/lib/puppet/parameter/value.rb +91 -0
  426. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parameter/value_collection.rb +0 -0
  427. data/vendor/pup410/lib/puppet/parser.rb +19 -0
  428. data/vendor/pup410/lib/puppet/parser/ast.rb +65 -0
  429. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parser/ast/block_expression.rb +0 -0
  430. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parser/ast/branch.rb +0 -0
  431. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parser/ast/hostclass.rb +0 -0
  432. data/vendor/pup410/lib/puppet/parser/ast/leaf.rb +75 -0
  433. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parser/ast/node.rb +0 -0
  434. data/vendor/pup410/lib/puppet/parser/ast/pops_bridge.rb +317 -0
  435. data/vendor/pup410/lib/puppet/parser/ast/resource.rb +66 -0
  436. data/vendor/pup410/lib/puppet/parser/ast/resource_instance.rb +10 -0
  437. data/vendor/pup410/lib/puppet/parser/ast/resourceparam.rb +31 -0
  438. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parser/ast/top_level_construct.rb +0 -0
  439. data/vendor/pup410/lib/puppet/parser/compiler.rb +901 -0
  440. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parser/compiler/catalog_validator.rb +0 -0
  441. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parser/compiler/catalog_validator/env_relationship_validator.rb +0 -0
  442. data/vendor/pup410/lib/puppet/parser/compiler/catalog_validator/relationship_validator.rb +60 -0
  443. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parser/compiler/catalog_validator/site_validator.rb +0 -0
  444. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parser/e4_parser_adapter.rb +0 -0
  445. data/vendor/pup410/lib/puppet/parser/environment_compiler.rb +201 -0
  446. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parser/files.rb +0 -0
  447. data/vendor/pup410/lib/puppet/parser/functions.rb +278 -0
  448. data/vendor/pup410/lib/puppet/parser/functions/assert_type.rb +60 -0
  449. data/vendor/pup410/lib/puppet/parser/functions/binary_file.rb +24 -0
  450. data/vendor/pup410/lib/puppet/parser/functions/break.rb +39 -0
  451. data/vendor/pup410/lib/puppet/parser/functions/contain.rb +30 -0
  452. data/vendor/pup410/lib/puppet/parser/functions/create_resources.rb +106 -0
  453. data/vendor/pup410/lib/puppet/parser/functions/defined.rb +107 -0
  454. data/vendor/pup410/lib/puppet/parser/functions/dig.rb +29 -0
  455. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parser/functions/digest.rb +0 -0
  456. data/vendor/pup410/lib/puppet/parser/functions/each.rb +104 -0
  457. data/vendor/pup410/lib/puppet/parser/functions/epp.rb +39 -0
  458. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parser/functions/fail.rb +0 -0
  459. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parser/functions/file.rb +0 -0
  460. data/vendor/pup410/lib/puppet/parser/functions/filter.rb +78 -0
  461. data/vendor/pup410/lib/puppet/parser/functions/find_file.rb +28 -0
  462. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parser/functions/fqdn_rand.rb +0 -0
  463. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parser/functions/generate.rb +0 -0
  464. data/vendor/pup410/lib/puppet/parser/functions/hiera.rb +103 -0
  465. data/vendor/pup410/lib/puppet/parser/functions/hiera_array.rb +92 -0
  466. data/vendor/pup410/lib/puppet/parser/functions/hiera_hash.rb +102 -0
  467. data/vendor/pup410/lib/puppet/parser/functions/hiera_include.rb +102 -0
  468. data/vendor/pup410/lib/puppet/parser/functions/include.rb +33 -0
  469. data/vendor/pup410/lib/puppet/parser/functions/inline_epp.rb +51 -0
  470. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parser/functions/inline_template.rb +0 -0
  471. data/vendor/pup410/lib/puppet/parser/functions/lest.rb +49 -0
  472. data/vendor/pup410/lib/puppet/parser/functions/lookup.rb +132 -0
  473. data/vendor/pup410/lib/puppet/parser/functions/map.rb +76 -0
  474. data/vendor/pup410/lib/puppet/parser/functions/match.rb +43 -0
  475. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parser/functions/md5.rb +0 -0
  476. data/vendor/pup410/lib/puppet/parser/functions/new.rb +939 -0
  477. data/vendor/pup410/lib/puppet/parser/functions/next.rb +38 -0
  478. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parser/functions/realize.rb +0 -0
  479. data/vendor/pup410/lib/puppet/parser/functions/reduce.rb +106 -0
  480. data/vendor/pup410/lib/puppet/parser/functions/regsubst.rb +62 -0
  481. data/vendor/pup410/lib/puppet/parser/functions/require.rb +40 -0
  482. data/vendor/pup410/lib/puppet/parser/functions/return.rb +71 -0
  483. data/vendor/pup410/lib/puppet/parser/functions/reverse_each.rb +83 -0
  484. data/vendor/pup410/lib/puppet/parser/functions/scanf.rb +38 -0
  485. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parser/functions/sha1.rb +0 -0
  486. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parser/functions/shellquote.rb +0 -0
  487. data/vendor/pup410/lib/puppet/parser/functions/slice.rb +39 -0
  488. data/vendor/pup410/lib/puppet/parser/functions/split.rb +28 -0
  489. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parser/functions/sprintf.rb +0 -0
  490. data/vendor/pup410/lib/puppet/parser/functions/step.rb +84 -0
  491. data/vendor/pup410/lib/puppet/parser/functions/strftime.rb +185 -0
  492. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parser/functions/tag.rb +0 -0
  493. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parser/functions/tagged.rb +0 -0
  494. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parser/functions/template.rb +0 -0
  495. data/vendor/pup410/lib/puppet/parser/functions/then.rb +73 -0
  496. data/vendor/pup410/lib/puppet/parser/functions/type.rb +53 -0
  497. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parser/functions/versioncmp.rb +0 -0
  498. data/vendor/pup410/lib/puppet/parser/functions/with.rb +28 -0
  499. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parser/parser_factory.rb +0 -0
  500. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parser/relationship.rb +0 -0
  501. data/vendor/pup410/lib/puppet/parser/resource.rb +388 -0
  502. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parser/resource/param.rb +0 -0
  503. data/vendor/pup410/lib/puppet/parser/scope.rb +1138 -0
  504. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parser/templatewrapper.rb +0 -0
  505. data/vendor/pup410/lib/puppet/parser/type_loader.rb +149 -0
  506. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parser/yaml_trimmer.rb +0 -0
  507. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/plugins.rb +0 -0
  508. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/plugins/binding_schemes.rb +0 -0
  509. data/vendor/pup410/lib/puppet/plugins/configuration.rb +77 -0
  510. data/vendor/pup410/lib/puppet/plugins/data_providers.rb +45 -0
  511. data/vendor/pup410/lib/puppet/plugins/data_providers/data_provider.rb +406 -0
  512. data/vendor/pup410/lib/puppet/plugins/data_providers/registry.rb +51 -0
  513. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/plugins/syntax_checkers.rb +0 -0
  514. data/vendor/pup410/lib/puppet/pops.rb +150 -0
  515. data/vendor/pup410/lib/puppet/pops/adaptable.rb +201 -0
  516. data/vendor/pup410/lib/puppet/pops/adapters.rb +198 -0
  517. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/binder/binder.rb +0 -0
  518. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/binder/binder_issues.rb +0 -0
  519. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/binder/bindings_checker.rb +0 -0
  520. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/binder/bindings_composer.rb +0 -0
  521. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/binder/bindings_factory.rb +0 -0
  522. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/binder/bindings_label_provider.rb +0 -0
  523. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/binder/bindings_loader.rb +0 -0
  524. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/binder/bindings_model.rb +0 -0
  525. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/binder/bindings_model_dumper.rb +0 -0
  526. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/binder/bindings_model_meta.rb +0 -0
  527. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/binder/bindings_validator_factory.rb +0 -0
  528. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/binder/config/binder_config.rb +0 -0
  529. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/binder/config/binder_config_checker.rb +0 -0
  530. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/binder/config/diagnostic_producer.rb +0 -0
  531. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/binder/config/issues.rb +0 -0
  532. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/binder/injector.rb +0 -0
  533. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/binder/injector_entry.rb +0 -0
  534. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/binder/key_factory.rb +0 -0
  535. data/vendor/pup410/lib/puppet/pops/binder/producers.rb +831 -0
  536. data/vendor/pup410/lib/puppet/pops/binder/scheme_handler/confdir_scheme.rb +34 -0
  537. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/binder/scheme_handler/module_scheme.rb +0 -0
  538. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/binder/scheme_handler/symbolic_scheme.rb +0 -0
  539. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/binder/system_bindings.rb +0 -0
  540. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/containment.rb +0 -0
  541. data/vendor/pup410/lib/puppet/pops/evaluator/access_operator.rb +707 -0
  542. data/vendor/pup410/lib/puppet/pops/evaluator/callable_signature.rb +107 -0
  543. data/vendor/pup410/lib/puppet/pops/evaluator/closure.rb +365 -0
  544. data/vendor/pup410/lib/puppet/pops/evaluator/collector_transformer.rb +238 -0
  545. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/evaluator/collectors/abstract_collector.rb +0 -0
  546. data/vendor/pup410/lib/puppet/pops/evaluator/collectors/catalog_collector.rb +29 -0
  547. data/vendor/pup410/lib/puppet/pops/evaluator/collectors/exported_collector.rb +69 -0
  548. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/evaluator/collectors/fixed_set_collector.rb +0 -0
  549. data/vendor/pup410/lib/puppet/pops/evaluator/compare_operator.rb +252 -0
  550. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/evaluator/epp_evaluator.rb +0 -0
  551. data/vendor/pup410/lib/puppet/pops/evaluator/evaluator_impl.rb +1247 -0
  552. data/vendor/pup410/lib/puppet/pops/evaluator/external_syntax_support.rb +52 -0
  553. data/vendor/pup410/lib/puppet/pops/evaluator/json_strict_literal_evaluator.rb +84 -0
  554. data/vendor/pup410/lib/puppet/pops/evaluator/literal_evaluator.rb +87 -0
  555. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/evaluator/puppet_proc.rb +0 -0
  556. data/vendor/pup410/lib/puppet/pops/evaluator/relationship_operator.rb +168 -0
  557. data/vendor/pup410/lib/puppet/pops/evaluator/runtime3_converter.rb +184 -0
  558. data/vendor/pup410/lib/puppet/pops/evaluator/runtime3_resource_support.rb +117 -0
  559. data/vendor/pup410/lib/puppet/pops/evaluator/runtime3_support.rb +554 -0
  560. data/vendor/pup410/lib/puppet/pops/functions/dispatch.rb +105 -0
  561. data/vendor/pup410/lib/puppet/pops/functions/dispatcher.rb +71 -0
  562. data/vendor/pup410/lib/puppet/pops/functions/function.rb +135 -0
  563. data/vendor/pup410/lib/puppet/pops/issue_reporter.rb +115 -0
  564. data/vendor/pup410/lib/puppet/pops/issues.rb +834 -0
  565. data/vendor/pup410/lib/puppet/pops/label_provider.rb +90 -0
  566. data/vendor/pup410/lib/puppet/pops/loader/base_loader.rb +156 -0
  567. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/loader/dependency_loader.rb +0 -0
  568. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/loader/gem_support.rb +0 -0
  569. data/vendor/pup410/lib/puppet/pops/loader/loader.rb +190 -0
  570. data/vendor/pup410/lib/puppet/pops/loader/loader_paths.rb +225 -0
  571. data/vendor/pup410/lib/puppet/pops/loader/module_loaders.rb +300 -0
  572. data/vendor/pup410/lib/puppet/pops/loader/null_loader.rb +60 -0
  573. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/loader/predefined_loader.rb +0 -0
  574. data/vendor/pup410/lib/puppet/pops/loader/puppet_function_instantiator.rb +84 -0
  575. data/vendor/pup410/lib/puppet/pops/loader/puppet_resource_type_impl_instantiator.rb +80 -0
  576. data/vendor/pup410/lib/puppet/pops/loader/ruby_function_instantiator.rb +46 -0
  577. data/vendor/pup410/lib/puppet/pops/loader/runtime3_type_loader.rb +96 -0
  578. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/loader/simple_environment_loader.rb +0 -0
  579. data/vendor/pup410/lib/puppet/pops/loader/static_loader.rb +180 -0
  580. data/vendor/pup410/lib/puppet/pops/loader/type_definition_instantiator.rb +93 -0
  581. data/vendor/pup410/lib/puppet/pops/loader/typed_name.rb +49 -0
  582. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/loader/uri_helper.rb +0 -0
  583. data/vendor/pup410/lib/puppet/pops/loaders.rb +410 -0
  584. data/vendor/pup410/lib/puppet/pops/lookup.rb +94 -0
  585. data/vendor/pup410/lib/puppet/pops/lookup/configured_data_provider.rb +93 -0
  586. data/vendor/pup410/lib/puppet/pops/lookup/context.rb +200 -0
  587. data/vendor/pup410/lib/puppet/pops/lookup/data_adapter.rb +27 -0
  588. data/vendor/pup410/lib/puppet/pops/lookup/data_dig_function_provider.rb +145 -0
  589. data/vendor/pup410/lib/puppet/pops/lookup/data_hash_function_provider.rb +126 -0
  590. data/vendor/pup410/lib/puppet/pops/lookup/data_provider.rb +107 -0
  591. data/vendor/pup410/lib/puppet/pops/lookup/environment_data_provider.rb +35 -0
  592. data/vendor/pup410/lib/puppet/pops/lookup/explainer.rb +594 -0
  593. data/vendor/pup410/lib/puppet/pops/lookup/function_provider.rb +110 -0
  594. data/vendor/pup410/lib/puppet/pops/lookup/global_data_provider.rb +75 -0
  595. data/vendor/pup410/lib/puppet/pops/lookup/hiera_config.rb +784 -0
  596. data/vendor/pup410/lib/puppet/pops/lookup/interpolation.rb +153 -0
  597. data/vendor/pup410/lib/puppet/pops/lookup/invocation.rb +261 -0
  598. data/vendor/pup410/lib/puppet/pops/lookup/location_resolver.rb +99 -0
  599. data/vendor/pup410/lib/puppet/pops/lookup/lookup_adapter.rb +515 -0
  600. data/vendor/pup410/lib/puppet/pops/lookup/lookup_key.rb +99 -0
  601. data/vendor/pup410/lib/puppet/pops/lookup/lookup_key_function_provider.rb +92 -0
  602. data/vendor/pup410/lib/puppet/pops/lookup/module_data_provider.rb +89 -0
  603. data/vendor/pup410/lib/puppet/pops/lookup/sub_lookup.rb +91 -0
  604. data/vendor/pup410/lib/puppet/pops/merge_strategy.rb +419 -0
  605. data/vendor/pup410/lib/puppet/pops/migration/migration_checker.rb +58 -0
  606. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/model/ast_transformer.rb +0 -0
  607. data/vendor/pup410/lib/puppet/pops/model/factory.rb +1151 -0
  608. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/model/model.rb +0 -0
  609. data/vendor/pup410/lib/puppet/pops/model/model_label_provider.rb +130 -0
  610. data/vendor/pup410/lib/puppet/pops/model/model_meta.rb +629 -0
  611. data/vendor/pup410/lib/puppet/pops/model/model_tree_dumper.rb +451 -0
  612. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/model/tree_dumper.rb +0 -0
  613. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/parser/code_merger.rb +0 -0
  614. data/vendor/pup410/lib/puppet/pops/parser/egrammar.ra +876 -0
  615. data/vendor/pup410/lib/puppet/pops/parser/eparser.rb +3243 -0
  616. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/parser/epp_parser.rb +0 -0
  617. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/parser/epp_support.rb +0 -0
  618. data/vendor/pup410/lib/puppet/pops/parser/evaluating_parser.rb +165 -0
  619. data/vendor/pup410/lib/puppet/pops/parser/heredoc_support.rb +143 -0
  620. data/vendor/pup410/lib/puppet/pops/parser/interpolation_support.rb +244 -0
  621. data/vendor/pup410/lib/puppet/pops/parser/lexer2.rb +798 -0
  622. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/parser/lexer_support.rb +0 -0
  623. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/parser/locatable.rb +0 -0
  624. data/vendor/pup410/lib/puppet/pops/parser/locator.rb +321 -0
  625. data/vendor/pup410/lib/puppet/pops/parser/parser_support.rb +251 -0
  626. data/vendor/pup410/lib/puppet/pops/parser/slurp_support.rb +120 -0
  627. data/vendor/pup410/lib/puppet/pops/patterns.rb +60 -0
  628. data/vendor/pup410/lib/puppet/pops/pcore.rb +96 -0
  629. data/vendor/pup410/lib/puppet/pops/puppet_stack.rb +43 -0
  630. data/vendor/pup410/lib/puppet/pops/resource/param.rb +55 -0
  631. data/vendor/pup410/lib/puppet/pops/resource/resource_type_impl.rb +314 -0
  632. data/vendor/pup410/lib/puppet/pops/resource/resource_type_set.pcore +22 -0
  633. data/vendor/pup410/lib/puppet/pops/semantic_error.rb +29 -0
  634. data/vendor/pup410/lib/puppet/pops/serialization.rb +17 -0
  635. data/vendor/pup410/lib/puppet/pops/serialization/abstract_reader.rb +176 -0
  636. data/vendor/pup410/lib/puppet/pops/serialization/abstract_writer.rb +207 -0
  637. data/vendor/pup410/lib/puppet/pops/serialization/deserializer.rb +80 -0
  638. data/vendor/pup410/lib/puppet/pops/serialization/extension.rb +157 -0
  639. data/vendor/pup410/lib/puppet/pops/serialization/instance_reader.rb +19 -0
  640. data/vendor/pup410/lib/puppet/pops/serialization/instance_writer.rb +14 -0
  641. data/vendor/pup410/lib/puppet/pops/serialization/json.rb +297 -0
  642. data/vendor/pup410/lib/puppet/pops/serialization/object.rb +71 -0
  643. data/vendor/pup410/lib/puppet/pops/serialization/rgen.rb +152 -0
  644. data/vendor/pup410/lib/puppet/pops/serialization/serializer.rb +125 -0
  645. data/vendor/pup410/lib/puppet/pops/serialization/time_factory.rb +67 -0
  646. data/vendor/pup410/lib/puppet/pops/time/timespan.rb +718 -0
  647. data/vendor/pup410/lib/puppet/pops/time/timestamp.rb +148 -0
  648. data/vendor/pup410/lib/puppet/pops/types/annotatable.rb +36 -0
  649. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/types/class_loader.rb +0 -0
  650. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/types/enumeration.rb +0 -0
  651. data/vendor/pup410/lib/puppet/pops/types/implementation_registry.rb +141 -0
  652. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/types/iterable.rb +0 -0
  653. data/vendor/pup410/lib/puppet/pops/types/p_binary_type.rb +220 -0
  654. data/vendor/pup410/lib/puppet/pops/types/p_meta_type.rb +83 -0
  655. data/vendor/pup410/lib/puppet/pops/types/p_object_type.rb +886 -0
  656. data/vendor/pup410/lib/puppet/pops/types/p_runtime_type.rb +115 -0
  657. data/vendor/pup410/lib/puppet/pops/types/p_sem_ver_range_type.rb +187 -0
  658. data/vendor/pup410/lib/puppet/pops/types/p_sem_ver_type.rb +141 -0
  659. data/vendor/pup410/lib/puppet/pops/types/p_sensitive_type.rb +73 -0
  660. data/vendor/pup410/lib/puppet/pops/types/p_timespan_type.rb +141 -0
  661. data/vendor/pup410/lib/puppet/pops/types/p_timestamp_type.rb +69 -0
  662. data/vendor/pup410/lib/puppet/pops/types/p_type_set_type.rb +352 -0
  663. data/vendor/pup410/lib/puppet/pops/types/puppet_object.rb +16 -0
  664. data/vendor/pup410/lib/puppet/pops/types/recursion_guard.rb +136 -0
  665. data/vendor/pup410/lib/puppet/pops/types/ruby_generator.rb +275 -0
  666. data/vendor/pup410/lib/puppet/pops/types/string_converter.rb +1022 -0
  667. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/types/type_acceptor.rb +0 -0
  668. data/vendor/pup410/lib/puppet/pops/types/type_asserter.rb +47 -0
  669. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/types/type_assertion_error.rb +0 -0
  670. data/vendor/pup410/lib/puppet/pops/types/type_calculator.rb +836 -0
  671. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/types/type_conversion_error.rb +0 -0
  672. data/vendor/pup410/lib/puppet/pops/types/type_factory.rb +538 -0
  673. data/vendor/pup410/lib/puppet/pops/types/type_formatter.rb +686 -0
  674. data/vendor/pup410/lib/puppet/pops/types/type_mismatch_describer.rb +1105 -0
  675. data/vendor/pup410/lib/puppet/pops/types/type_parser.rb +564 -0
  676. data/vendor/pup410/lib/puppet/pops/types/type_set_reference.rb +59 -0
  677. data/vendor/pup410/lib/puppet/pops/types/types.rb +3464 -0
  678. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/utils.rb +0 -0
  679. data/vendor/pup410/lib/puppet/pops/validation.rb +470 -0
  680. data/vendor/pup410/lib/puppet/pops/validation/checker4_0.rb +980 -0
  681. data/vendor/pup410/lib/puppet/pops/validation/validator_factory_4_0.rb +39 -0
  682. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/visitable.rb +0 -0
  683. data/vendor/pup410/lib/puppet/pops/visitor.rb +95 -0
  684. data/vendor/pup410/lib/puppet/property.rb +597 -0
  685. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/property/boolean.rb +0 -0
  686. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/property/ensure.rb +0 -0
  687. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/property/keyvalue.rb +0 -0
  688. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/property/list.rb +0 -0
  689. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/property/ordered_list.rb +0 -0
  690. data/vendor/pup410/lib/puppet/provider.rb +601 -0
  691. data/vendor/pup410/lib/puppet/provider/aixobject.rb +392 -0
  692. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/augeas/augeas.rb +0 -0
  693. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/cisco.rb +0 -0
  694. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/command.rb +0 -0
  695. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/computer/computer.rb +0 -0
  696. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/confine.rb +0 -0
  697. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/cron/crontab.rb +0 -0
  698. data/vendor/pup410/lib/puppet/provider/exec.rb +98 -0
  699. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/exec/posix.rb +0 -0
  700. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/exec/shell.rb +0 -0
  701. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/exec/windows.rb +0 -0
  702. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/file/posix.rb +0 -0
  703. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/file/windows.rb +0 -0
  704. data/vendor/pup410/lib/puppet/provider/group/aix.rb +141 -0
  705. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/group/directoryservice.rb +0 -0
  706. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/group/groupadd.rb +0 -0
  707. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/group/ldap.rb +0 -0
  708. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/group/pw.rb +0 -0
  709. data/vendor/pup410/lib/puppet/provider/group/windows_adsi.rb +109 -0
  710. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/host/parsed.rb +0 -0
  711. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/interface/cisco.rb +0 -0
  712. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/ldap.rb +0 -0
  713. data/vendor/pup410/lib/puppet/provider/macauthorization/macauthorization.rb +298 -0
  714. data/vendor/pup410/lib/puppet/provider/mailalias/aliases.rb +50 -0
  715. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/maillist/mailman.rb +0 -0
  716. data/vendor/pup410/lib/puppet/provider/mcx/mcxcontent.rb +173 -0
  717. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/mount.rb +0 -0
  718. data/vendor/pup410/lib/puppet/provider/mount/parsed.rb +280 -0
  719. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/naginator.rb +0 -0
  720. data/vendor/pup410/lib/puppet/provider/nameservice.rb +317 -0
  721. data/vendor/pup410/lib/puppet/provider/nameservice/directoryservice.rb +507 -0
  722. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/nameservice/objectadd.rb +0 -0
  723. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/nameservice/pw.rb +0 -0
  724. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/network_device.rb +0 -0
  725. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/package.rb +0 -0
  726. data/vendor/pup410/lib/puppet/provider/package/aix.rb +152 -0
  727. data/vendor/pup410/lib/puppet/provider/package/appdmg.rb +110 -0
  728. data/vendor/pup410/lib/puppet/provider/package/apple.rb +47 -0
  729. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/package/apt.rb +0 -0
  730. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/package/aptitude.rb +0 -0
  731. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/package/aptrpm.rb +0 -0
  732. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/package/blastwave.rb +0 -0
  733. data/vendor/pup410/lib/puppet/provider/package/dnf.rb +46 -0
  734. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/package/dpkg.rb +0 -0
  735. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/package/fink.rb +0 -0
  736. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/package/freebsd.rb +0 -0
  737. data/vendor/pup410/lib/puppet/provider/package/gem.rb +174 -0
  738. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/package/hpux.rb +0 -0
  739. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/package/macports.rb +0 -0
  740. data/vendor/pup410/lib/puppet/provider/package/nim.rb +280 -0
  741. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/package/openbsd.rb +0 -0
  742. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/package/opkg.rb +0 -0
  743. data/vendor/pup410/lib/puppet/provider/package/pacman.rb +267 -0
  744. data/vendor/pup410/lib/puppet/provider/package/pip.rb +179 -0
  745. data/vendor/pup410/lib/puppet/provider/package/pip3.rb +20 -0
  746. data/vendor/pup410/lib/puppet/provider/package/pkg.rb +249 -0
  747. data/vendor/pup410/lib/puppet/provider/package/pkgdmg.rb +152 -0
  748. data/vendor/pup410/lib/puppet/provider/package/pkgin.rb +87 -0
  749. data/vendor/pup410/lib/puppet/provider/package/pkgng.rb +143 -0
  750. data/vendor/pup410/lib/puppet/provider/package/pkgutil.rb +186 -0
  751. data/vendor/pup410/lib/puppet/provider/package/portage.rb +193 -0
  752. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/package/ports.rb +0 -0
  753. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/package/portupgrade.rb +0 -0
  754. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/package/puppet_gem.rb +0 -0
  755. data/vendor/pup410/lib/puppet/provider/package/rpm.rb +402 -0
  756. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/package/rug.rb +0 -0
  757. data/vendor/pup410/lib/puppet/provider/package/sun.rb +132 -0
  758. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/package/sunfreeware.rb +0 -0
  759. data/vendor/pup410/lib/puppet/provider/package/tdnf.rb +28 -0
  760. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/package/up2date.rb +0 -0
  761. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/package/urpmi.rb +0 -0
  762. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/package/windows.rb +0 -0
  763. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/package/windows/exe_package.rb +0 -0
  764. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/package/windows/msi_package.rb +0 -0
  765. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/package/windows/package.rb +0 -0
  766. data/vendor/pup410/lib/puppet/provider/package/yum.rb +270 -0
  767. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/package/zypper.rb +0 -0
  768. data/vendor/pup410/lib/puppet/provider/parsedfile.rb +459 -0
  769. data/vendor/pup410/lib/puppet/provider/scheduled_task/win32_taskscheduler.rb +590 -0
  770. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/selboolean/getsetsebool.rb +0 -0
  771. data/vendor/pup410/lib/puppet/provider/selmodule/semodule.rb +138 -0
  772. data/vendor/pup410/lib/puppet/provider/service/base.rb +121 -0
  773. data/vendor/pup410/lib/puppet/provider/service/bsd.rb +51 -0
  774. data/vendor/pup410/lib/puppet/provider/service/daemontools.rb +194 -0
  775. data/vendor/pup410/lib/puppet/provider/service/debian.rb +74 -0
  776. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/service/freebsd.rb +0 -0
  777. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/service/gentoo.rb +0 -0
  778. data/vendor/pup410/lib/puppet/provider/service/init.rb +193 -0
  779. data/vendor/pup410/lib/puppet/provider/service/launchd.rb +346 -0
  780. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/service/openbsd.rb +0 -0
  781. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/service/openrc.rb +0 -0
  782. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/service/openwrt.rb +0 -0
  783. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/service/rcng.rb +0 -0
  784. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/service/redhat.rb +0 -0
  785. data/vendor/pup410/lib/puppet/provider/service/runit.rb +111 -0
  786. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/service/service.rb +0 -0
  787. data/vendor/pup410/lib/puppet/provider/service/smf.rb +167 -0
  788. data/vendor/pup410/lib/puppet/provider/service/src.rb +147 -0
  789. data/vendor/pup410/lib/puppet/provider/service/systemd.rb +186 -0
  790. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/service/upstart.rb +0 -0
  791. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/service/windows.rb +0 -0
  792. data/vendor/pup410/lib/puppet/provider/ssh_authorized_key/parsed.rb +105 -0
  793. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/sshkey/parsed.rb +0 -0
  794. data/vendor/pup410/lib/puppet/provider/user/aix.rb +375 -0
  795. data/vendor/pup410/lib/puppet/provider/user/directoryservice.rb +632 -0
  796. data/vendor/pup410/lib/puppet/provider/user/hpux.rb +95 -0
  797. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/user/ldap.rb +0 -0
  798. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/user/openbsd.rb +0 -0
  799. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/user/pw.rb +0 -0
  800. data/vendor/pup410/lib/puppet/provider/user/user_role_add.rb +227 -0
  801. data/vendor/pup410/lib/puppet/provider/user/useradd.rb +231 -0
  802. data/vendor/pup410/lib/puppet/provider/user/windows_adsi.rb +148 -0
  803. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/vlan/cisco.rb +0 -0
  804. data/vendor/pup410/lib/puppet/provider/yumrepo/inifile.rb +304 -0
  805. data/vendor/pup410/lib/puppet/provider/zfs/zfs.rb +84 -0
  806. data/vendor/pup410/lib/puppet/provider/zone/solaris.rb +364 -0
  807. data/vendor/pup410/lib/puppet/provider/zpool/zpool.rb +125 -0
  808. data/vendor/pup410/lib/puppet/reference/configuration.rb +82 -0
  809. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/reference/function.rb +0 -0
  810. data/vendor/pup410/lib/puppet/reference/indirection.rb +71 -0
  811. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/reference/metaparameter.rb +0 -0
  812. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/reference/providers.rb +0 -0
  813. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/reference/report.rb +0 -0
  814. data/vendor/pup410/lib/puppet/reference/type.rb +114 -0
  815. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/relationship.rb +0 -0
  816. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/reports.rb +0 -0
  817. data/vendor/pup410/lib/puppet/reports/http.rb +33 -0
  818. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/reports/log.rb +0 -0
  819. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/reports/store.rb +0 -0
  820. data/vendor/pup410/lib/puppet/resource.rb +728 -0
  821. data/vendor/pup410/lib/puppet/resource/capability_finder.rb +128 -0
  822. data/vendor/pup410/lib/puppet/resource/catalog.rb +675 -0
  823. data/vendor/pup410/lib/puppet/resource/status.rb +232 -0
  824. data/vendor/pup410/lib/puppet/resource/type.rb +572 -0
  825. data/vendor/pup410/lib/puppet/resource/type_collection.rb +257 -0
  826. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/scheduler.rb +0 -0
  827. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/scheduler/job.rb +0 -0
  828. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/scheduler/scheduler.rb +0 -0
  829. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/scheduler/splay_job.rb +0 -0
  830. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/scheduler/timer.rb +0 -0
  831. data/vendor/pup410/lib/puppet/settings.rb +1455 -0
  832. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/settings/array_setting.rb +0 -0
  833. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/settings/autosign_setting.rb +0 -0
  834. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/settings/base_setting.rb +0 -0
  835. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/settings/boolean_setting.rb +0 -0
  836. data/vendor/pup410/lib/puppet/settings/config_file.rb +143 -0
  837. data/vendor/pup410/lib/puppet/settings/directory_setting.rb +18 -0
  838. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/settings/duration_setting.rb +0 -0
  839. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/settings/enum_setting.rb +0 -0
  840. data/vendor/pup410/lib/puppet/settings/environment_conf.rb +204 -0
  841. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/settings/errors.rb +0 -0
  842. data/vendor/pup410/lib/puppet/settings/file_or_directory_setting.rb +40 -0
  843. data/vendor/pup410/lib/puppet/settings/file_setting.rb +245 -0
  844. data/vendor/pup410/lib/puppet/settings/ini_file.rb +171 -0
  845. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/settings/path_setting.rb +0 -0
  846. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/settings/priority_setting.rb +0 -0
  847. data/vendor/pup410/lib/puppet/settings/server_list_setting.rb +20 -0
  848. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/settings/string_setting.rb +0 -0
  849. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/settings/symbolic_enum_setting.rb +0 -0
  850. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/settings/terminus_setting.rb +0 -0
  851. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/settings/ttl_setting.rb +0 -0
  852. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/settings/value_translator.rb +0 -0
  853. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/ssl.rb +0 -0
  854. data/vendor/pup410/lib/puppet/ssl/base.rb +153 -0
  855. data/vendor/pup410/lib/puppet/ssl/certificate.rb +95 -0
  856. data/vendor/pup410/lib/puppet/ssl/certificate_authority.rb +553 -0
  857. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/ssl/certificate_authority/autosign_command.rb +0 -0
  858. data/vendor/pup410/lib/puppet/ssl/certificate_authority/interface.rb +324 -0
  859. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/ssl/certificate_factory.rb +0 -0
  860. data/vendor/pup410/lib/puppet/ssl/certificate_request.rb +327 -0
  861. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/ssl/certificate_request_attributes.rb +0 -0
  862. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/ssl/certificate_revocation_list.rb +0 -0
  863. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/ssl/certificate_signer.rb +0 -0
  864. data/vendor/pup410/lib/puppet/ssl/configuration.rb +61 -0
  865. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/ssl/digest.rb +0 -0
  866. data/vendor/pup410/lib/puppet/ssl/host.rb +387 -0
  867. data/vendor/pup410/lib/puppet/ssl/inventory.rb +55 -0
  868. data/vendor/pup410/lib/puppet/ssl/key.rb +63 -0
  869. data/vendor/pup410/lib/puppet/ssl/oids.rb +187 -0
  870. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/ssl/validator.rb +0 -0
  871. data/vendor/pup410/lib/puppet/ssl/validator/default_validator.rb +174 -0
  872. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/ssl/validator/no_validator.rb +0 -0
  873. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/status.rb +0 -0
  874. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/syntax_checkers.rb +0 -0
  875. data/vendor/pup410/lib/puppet/syntax_checkers/base64.rb +41 -0
  876. data/vendor/pup410/lib/puppet/syntax_checkers/json.rb +35 -0
  877. data/vendor/pup410/lib/puppet/test/test_helper.rb +256 -0
  878. data/vendor/pup410/lib/puppet/transaction.rb +399 -0
  879. data/vendor/pup410/lib/puppet/transaction/additional_resource_generator.rb +219 -0
  880. data/vendor/pup410/lib/puppet/transaction/event.rb +133 -0
  881. data/vendor/pup410/lib/puppet/transaction/event_manager.rb +167 -0
  882. data/vendor/pup410/lib/puppet/transaction/persistence.rb +84 -0
  883. data/vendor/pup410/lib/puppet/transaction/report.rb +460 -0
  884. data/vendor/pup410/lib/puppet/transaction/resource_harness.rb +316 -0
  885. data/vendor/pup410/lib/puppet/type.rb +2670 -0
  886. data/vendor/pup410/lib/puppet/type/augeas.rb +211 -0
  887. data/vendor/pup410/lib/puppet/type/component.rb +88 -0
  888. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/computer.rb +0 -0
  889. data/vendor/pup410/lib/puppet/type/cron.rb +492 -0
  890. data/vendor/pup410/lib/puppet/type/exec.rb +622 -0
  891. data/vendor/pup410/lib/puppet/type/file.rb +1032 -0
  892. data/vendor/pup410/lib/puppet/type/file/checksum.rb +44 -0
  893. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/file/checksum_value.rb +0 -0
  894. data/vendor/pup410/lib/puppet/type/file/content.rb +160 -0
  895. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/file/ctime.rb +0 -0
  896. data/vendor/pup410/lib/puppet/type/file/data_sync.rb +92 -0
  897. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/file/ensure.rb +0 -0
  898. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/file/group.rb +0 -0
  899. data/vendor/pup410/lib/puppet/type/file/mode.rb +177 -0
  900. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/file/mtime.rb +0 -0
  901. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/file/owner.rb +0 -0
  902. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/file/selcontext.rb +0 -0
  903. data/vendor/pup410/lib/puppet/type/file/source.rb +352 -0
  904. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/file/target.rb +0 -0
  905. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/file/type.rb +0 -0
  906. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/filebucket.rb +0 -0
  907. data/vendor/pup410/lib/puppet/type/group.rb +206 -0
  908. data/vendor/pup410/lib/puppet/type/host.rb +95 -0
  909. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/interface.rb +0 -0
  910. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/k5login.rb +0 -0
  911. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/macauthorization.rb +0 -0
  912. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/mailalias.rb +0 -0
  913. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/maillist.rb +0 -0
  914. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/mcx.rb +0 -0
  915. data/vendor/pup410/lib/puppet/type/mount.rb +310 -0
  916. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/nagios_command.rb +0 -0
  917. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/nagios_contact.rb +0 -0
  918. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/nagios_contactgroup.rb +0 -0
  919. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/nagios_host.rb +0 -0
  920. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/nagios_hostdependency.rb +0 -0
  921. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/nagios_hostescalation.rb +0 -0
  922. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/nagios_hostextinfo.rb +0 -0
  923. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/nagios_hostgroup.rb +0 -0
  924. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/nagios_service.rb +0 -0
  925. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/nagios_servicedependency.rb +0 -0
  926. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/nagios_serviceescalation.rb +0 -0
  927. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/nagios_serviceextinfo.rb +0 -0
  928. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/nagios_servicegroup.rb +0 -0
  929. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/nagios_timeperiod.rb +0 -0
  930. data/vendor/pup410/lib/puppet/type/notify.rb +44 -0
  931. data/vendor/pup410/lib/puppet/type/package.rb +571 -0
  932. data/vendor/pup410/lib/puppet/type/resources.rb +180 -0
  933. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/router.rb +0 -0
  934. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/schedule.rb +0 -0
  935. data/vendor/pup410/lib/puppet/type/scheduled_task.rb +184 -0
  936. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/selboolean.rb +0 -0
  937. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/selmodule.rb +0 -0
  938. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/service.rb +0 -0
  939. data/vendor/pup410/lib/puppet/type/ssh_authorized_key.rb +159 -0
  940. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/sshkey.rb +0 -0
  941. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/stage.rb +0 -0
  942. data/vendor/pup410/lib/puppet/type/tidy.rb +332 -0
  943. data/vendor/pup410/lib/puppet/type/user.rb +768 -0
  944. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/vlan.rb +0 -0
  945. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/whit.rb +0 -0
  946. data/vendor/pup410/lib/puppet/type/yumrepo.rb +409 -0
  947. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/zfs.rb +0 -0
  948. data/vendor/pup410/lib/puppet/type/zone.rb +382 -0
  949. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/zpool.rb +0 -0
  950. data/vendor/pup410/lib/puppet/util.rb +701 -0
  951. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/autoload.rb +0 -0
  952. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/backups.rb +0 -0
  953. data/vendor/pup410/lib/puppet/util/character_encoding.rb +98 -0
  954. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/checksums.rb +0 -0
  955. data/vendor/pup410/lib/puppet/util/classgen.rb +228 -0
  956. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/colors.rb +0 -0
  957. data/vendor/pup410/lib/puppet/util/command_line.rb +185 -0
  958. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/command_line/puppet_option_parser.rb +0 -0
  959. data/vendor/pup410/lib/puppet/util/command_line/trollop.rb +824 -0
  960. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/constant_inflector.rb +0 -0
  961. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/diff.rb +0 -0
  962. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/docs.rb +0 -0
  963. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/errors.rb +0 -0
  964. data/vendor/pup410/lib/puppet/util/execution.rb +359 -0
  965. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/execution_stub.rb +0 -0
  966. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/feature.rb +0 -0
  967. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/file_watcher.rb +0 -0
  968. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/fileparsing.rb +0 -0
  969. data/vendor/pup410/lib/puppet/util/filetype.rb +309 -0
  970. data/vendor/pup410/lib/puppet/util/http_proxy.rb +197 -0
  971. data/vendor/pup410/lib/puppet/util/inifile.rb +341 -0
  972. data/vendor/pup410/lib/puppet/util/instance_loader.rb +81 -0
  973. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/json_lockfile.rb +0 -0
  974. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/ldap.rb +0 -0
  975. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/ldap/connection.rb +0 -0
  976. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/ldap/generator.rb +0 -0
  977. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/ldap/manager.rb +0 -0
  978. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/libuser.conf +0 -0
  979. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/libuser.rb +0 -0
  980. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/limits.rb +0 -0
  981. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/lockfile.rb +0 -0
  982. data/vendor/pup410/lib/puppet/util/log.rb +411 -0
  983. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/log/destination.rb +0 -0
  984. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/log/destinations.rb +0 -0
  985. data/vendor/pup410/lib/puppet/util/logging.rb +311 -0
  986. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/metaid.rb +0 -0
  987. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/methodhelper.rb +0 -0
  988. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/metric.rb +0 -0
  989. data/vendor/pup410/lib/puppet/util/monkey_patches.rb +147 -0
  990. data/vendor/pup410/lib/puppet/util/multi_match.rb +51 -0
  991. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/nagios_maker.rb +0 -0
  992. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/network_device.rb +0 -0
  993. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/network_device/base.rb +0 -0
  994. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/network_device/cisco.rb +0 -0
  995. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/network_device/cisco/device.rb +0 -0
  996. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/network_device/cisco/facts.rb +0 -0
  997. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/network_device/cisco/interface.rb +0 -0
  998. data/vendor/pup410/lib/puppet/util/network_device/config.rb +98 -0
  999. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/network_device/ipcalc.rb +0 -0
  1000. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/network_device/transport.rb +0 -0
  1001. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/network_device/transport/base.rb +0 -0
  1002. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/network_device/transport/ssh.rb +0 -0
  1003. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/network_device/transport/telnet.rb +0 -0
  1004. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/package.rb +0 -0
  1005. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/pidlock.rb +0 -0
  1006. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/platform.rb +0 -0
  1007. data/vendor/pup410/lib/puppet/util/plist.rb +151 -0
  1008. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/posix.rb +0 -0
  1009. data/vendor/pup410/lib/puppet/util/profiler.rb +53 -0
  1010. data/vendor/pup410/lib/puppet/util/profiler/aggregate.rb +85 -0
  1011. data/vendor/pup410/lib/puppet/util/profiler/around_profiler.rb +67 -0
  1012. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/profiler/logging.rb +0 -0
  1013. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/profiler/object_counts.rb +0 -0
  1014. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/profiler/wall_clock.rb +0 -0
  1015. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/provider_features.rb +0 -0
  1016. data/vendor/pup410/lib/puppet/util/psych_support.rb +38 -0
  1017. data/vendor/pup410/lib/puppet/util/rdoc.rb +60 -0
  1018. data/vendor/pup410/lib/puppet/util/reference.rb +126 -0
  1019. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/resource_template.rb +0 -0
  1020. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/retry_action.rb +0 -0
  1021. data/vendor/pup410/lib/puppet/util/rubygems.rb +75 -0
  1022. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/run_mode.rb +0 -0
  1023. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/selinux.rb +0 -0
  1024. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/skip_tags.rb +0 -0
  1025. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/splayer.rb +0 -0
  1026. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/ssl.rb +0 -0
  1027. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/storage.rb +0 -0
  1028. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/suidmanager.rb +0 -0
  1029. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/symbolic_file_mode.rb +0 -0
  1030. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/tag_set.rb +0 -0
  1031. data/vendor/pup410/lib/puppet/util/tagging.rb +118 -0
  1032. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/terminal.rb +0 -0
  1033. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/user_attr.rb +0 -0
  1034. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/warnings.rb +0 -0
  1035. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/watched_file.rb +0 -0
  1036. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/watcher.rb +0 -0
  1037. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/watcher/change_watcher.rb +0 -0
  1038. data/vendor/pup410/lib/puppet/util/watcher/periodic_watcher.rb +37 -0
  1039. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/watcher/timer.rb +0 -0
  1040. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/windows.rb +0 -0
  1041. data/vendor/pup410/lib/puppet/util/windows/access_control_entry.rb +84 -0
  1042. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/windows/access_control_list.rb +0 -0
  1043. data/vendor/pup410/lib/puppet/util/windows/adsi.rb +548 -0
  1044. data/vendor/pup410/lib/puppet/util/windows/api_types.rb +282 -0
  1045. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/windows/com.rb +0 -0
  1046. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/windows/error.rb +0 -0
  1047. data/vendor/pup410/lib/puppet/util/windows/file.rb +488 -0
  1048. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/windows/principal.rb +0 -0
  1049. data/vendor/pup410/lib/puppet/util/windows/process.rb +497 -0
  1050. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/windows/registry.rb +0 -0
  1051. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/windows/root_certs.rb +0 -0
  1052. data/vendor/pup410/lib/puppet/util/windows/security.rb +857 -0
  1053. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/windows/security_descriptor.rb +0 -0
  1054. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/windows/sid.rb +0 -0
  1055. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/windows/string.rb +0 -0
  1056. data/vendor/pup410/lib/puppet/util/windows/taskscheduler.rb +1276 -0
  1057. data/vendor/pup410/lib/puppet/util/windows/user.rb +309 -0
  1058. data/vendor/pup410/lib/puppet/util/yaml.rb +36 -0
  1059. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor.rb +0 -0
  1060. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/deep_merge/CHANGELOG +0 -0
  1061. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/deep_merge/Gemfile +0 -0
  1062. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/deep_merge/LICENSE +0 -0
  1063. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/deep_merge/PUPPET_README.md +0 -0
  1064. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/deep_merge/README.md +0 -0
  1065. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/deep_merge/Rakefile +0 -0
  1066. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/deep_merge/deep_merge.gemspec +0 -0
  1067. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/deep_merge/lib/deep_merge.rb +0 -0
  1068. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/deep_merge/lib/deep_merge/core.rb +0 -0
  1069. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/deep_merge/lib/deep_merge/deep_merge_hash.rb +0 -0
  1070. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/deep_merge/lib/deep_merge/rails_compat.rb +0 -0
  1071. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/load_deep_merge.rb +0 -0
  1072. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/load_pathspec.rb +0 -0
  1073. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/load_rgen.rb +0 -0
  1074. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/load_semantic.rb +0 -0
  1075. data/vendor/pup410/lib/puppet/vendor/load_semantic_puppet.rb +1 -0
  1076. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/pathspec/CHANGELOG.md +0 -0
  1077. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/pathspec/LICENSE +0 -0
  1078. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/pathspec/PUPPET_README.md +0 -0
  1079. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/pathspec/README.md +0 -0
  1080. data/vendor/pup410/lib/puppet/vendor/pathspec/lib/pathspec.rb +122 -0
  1081. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/pathspec/lib/pathspec/gitignorespec.rb +0 -0
  1082. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/pathspec/lib/pathspec/regexspec.rb +0 -0
  1083. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/pathspec/lib/pathspec/spec.rb +0 -0
  1084. data/vendor/pup410/lib/puppet/vendor/require_vendored.rb +6 -0
  1085. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/CHANGELOG +0 -0
  1086. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/MIT-LICENSE +0 -0
  1087. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/PUPPET_README.md +0 -0
  1088. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/README.rdoc +0 -0
  1089. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/Rakefile +0 -0
  1090. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/TODO +0 -0
  1091. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/anounce.txt +0 -0
  1092. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/design_rationale.txt +0 -0
  1093. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/ea_support/ea_support.rb +0 -0
  1094. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/ea_support/id_store.rb +0 -0
  1095. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/ea_support/uml13_ea_metamodel.rb +0 -0
  1096. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/ea_support/uml13_ea_metamodel_ext.rb +0 -0
  1097. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/ea_support/uml13_ea_metamodel_generator.rb +0 -0
  1098. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/ea_support/uml13_ea_to_uml13.rb +0 -0
  1099. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/ea_support/uml13_to_uml13_ea.rb +0 -0
  1100. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/metamodels/uml13_metamodel.rb +0 -0
  1101. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/metamodels/uml13_metamodel_ext.rb +0 -0
  1102. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/mmgen/metamodel_generator.rb +0 -0
  1103. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/mmgen/mm_ext/ecore_mmgen_ext.rb +0 -0
  1104. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/mmgen/mmgen.rb +0 -0
  1105. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/mmgen/templates/annotations.tpl +0 -0
  1106. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/mmgen/templates/metamodel_generator.tpl +0 -0
  1107. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/array_extensions.rb +0 -0
  1108. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/ecore/ecore.rb +0 -0
  1109. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/ecore/ecore_builder_methods.rb +0 -0
  1110. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/ecore/ecore_ext.rb +0 -0
  1111. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/ecore/ecore_interface.rb +0 -0
  1112. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/ecore/ecore_to_ruby.rb +0 -0
  1113. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/ecore/ruby_to_ecore.rb +0 -0
  1114. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/environment.rb +0 -0
  1115. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/fragment/dump_file_cache.rb +0 -0
  1116. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/fragment/fragmented_model.rb +0 -0
  1117. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/fragment/model_fragment.rb +0 -0
  1118. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/instantiator/abstract_instantiator.rb +0 -0
  1119. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/instantiator/abstract_xml_instantiator.rb +0 -0
  1120. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/instantiator/default_xml_instantiator.rb +0 -0
  1121. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/instantiator/ecore_xml_instantiator.rb +0 -0
  1122. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/instantiator/json_instantiator.rb +0 -0
  1123. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/instantiator/json_parser.rb +0 -0
  1124. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/instantiator/json_parser.y +0 -0
  1125. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/instantiator/nodebased_xml_instantiator.rb +0 -0
  1126. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/instantiator/qualified_name_resolver.rb +0 -0
  1127. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/instantiator/reference_resolver.rb +0 -0
  1128. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/instantiator/resolution_helper.rb +0 -0
  1129. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/instantiator/xmi11_instantiator.rb +0 -0
  1130. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/metamodel_builder.rb +0 -0
  1131. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/metamodel_builder/builder_extensions.rb +0 -0
  1132. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/metamodel_builder/builder_runtime.rb +0 -0
  1133. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/metamodel_builder/constant_order_helper.rb +0 -0
  1134. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/metamodel_builder/data_types.rb +0 -0
  1135. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/metamodel_builder/intermediate/annotation.rb +0 -0
  1136. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/metamodel_builder/intermediate/feature.rb +0 -0
  1137. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/metamodel_builder/mm_multiple.rb +0 -0
  1138. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/metamodel_builder/module_extension.rb +0 -0
  1139. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/model_builder.rb +0 -0
  1140. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/model_builder/builder_context.rb +0 -0
  1141. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/model_builder/model_serializer.rb +0 -0
  1142. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/model_builder/reference_resolver.rb +0 -0
  1143. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/serializer/json_serializer.rb +0 -0
  1144. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/serializer/opposite_reference_filter.rb +0 -0
  1145. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/serializer/qualified_name_provider.rb +0 -0
  1146. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/serializer/xmi11_serializer.rb +0 -0
  1147. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/serializer/xmi20_serializer.rb +0 -0
  1148. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/serializer/xml_serializer.rb +0 -0
  1149. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/template_language.rb +0 -0
  1150. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/template_language/directory_template_container.rb +0 -0
  1151. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/template_language/output_handler.rb +0 -0
  1152. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/template_language/template_container.rb +0 -0
  1153. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/template_language/template_helper.rb +0 -0
  1154. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/transformer.rb +0 -0
  1155. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/util/auto_class_creator.rb +0 -0
  1156. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/util/cached_glob.rb +0 -0
  1157. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/util/file_cache_map.rb +0 -0
  1158. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/util/file_change_detector.rb +0 -0
  1159. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/util/method_delegation.rb +0 -0
  1160. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/util/model_comparator.rb +0 -0
  1161. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/util/model_comparator_base.rb +0 -0
  1162. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/util/model_dumper.rb +0 -0
  1163. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/util/name_helper.rb +0 -0
  1164. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/util/pattern_matcher.rb +0 -0
  1165. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/transformers/ecore_to_uml13.rb +0 -0
  1166. data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/transformers/uml13_to_ecore.rb +0 -0
  1167. data/vendor/pup410/lib/puppet/vendor/rgen_patch.rb +132 -0
  1168. data/vendor/pup410/lib/puppet/vendor/semantic/lib/semantic.rb +5 -0
  1169. data/vendor/pup410/lib/puppet/vendor/semantic_puppet/lib/semantic_puppet.rb +17 -0
  1170. data/vendor/pup410/lib/puppet/vendor/semantic_puppet/lib/semantic_puppet/dependency.rb +181 -0
  1171. data/vendor/pup410/lib/puppet/vendor/semantic_puppet/lib/semantic_puppet/dependency/graph.rb +60 -0
  1172. data/vendor/pup410/lib/puppet/vendor/semantic_puppet/lib/semantic_puppet/dependency/graph_node.rb +117 -0
  1173. data/vendor/pup410/lib/puppet/vendor/semantic_puppet/lib/semantic_puppet/dependency/module_release.rb +58 -0
  1174. data/vendor/pup410/lib/puppet/vendor/semantic_puppet/lib/semantic_puppet/dependency/source.rb +25 -0
  1175. data/vendor/pup410/lib/puppet/vendor/semantic_puppet/lib/semantic_puppet/dependency/unsatisfiable_graph.rb +31 -0
  1176. data/vendor/pup410/lib/puppet/vendor/semantic_puppet/lib/semantic_puppet/gem_version.rb +3 -0
  1177. data/vendor/pup410/lib/puppet/vendor/semantic_puppet/lib/semantic_puppet/locales/config.yaml +21 -0
  1178. data/vendor/pup410/lib/puppet/vendor/semantic_puppet/lib/semantic_puppet/version.rb +195 -0
  1179. data/vendor/pup410/lib/puppet/vendor/semantic_puppet/lib/semantic_puppet/version_range.rb +422 -0
  1180. data/vendor/pup410/lib/puppet/version.rb +93 -0
  1181. data/vendor/pup410/lib/puppet_x.rb +14 -0
  1182. data/vendor/pup410/lib/semver.rb +146 -0
  1183. data/vendor/pup410/locales/config.yaml +29 -0
  1184. data/vendor/pup410/locales/puppet.pot +180 -0
  1185. data/vendor/pup410/puppet-4.10.8.gemspec +17 -0
  1186. metadata +1161 -1321
  1187. data/vendor/gems/puppet-4.5.2/Gemfile +0 -92
  1188. data/vendor/gems/puppet-4.5.2/bin/extlookup2hiera +0 -56
  1189. data/vendor/gems/puppet-4.5.2/bin/puppet +0 -9
  1190. data/vendor/gems/puppet-4.5.2/conf/auth.conf +0 -124
  1191. data/vendor/gems/puppet-4.5.2/conf/environment.conf +0 -18
  1192. data/vendor/gems/puppet-4.5.2/conf/fileserver.conf +0 -42
  1193. data/vendor/gems/puppet-4.5.2/conf/puppet.conf +0 -6
  1194. data/vendor/gems/puppet-4.5.2/ext/README.environment +0 -8
  1195. data/vendor/gems/puppet-4.5.2/ext/autotest/Rakefile +0 -8
  1196. data/vendor/gems/puppet-4.5.2/ext/autotest/config +0 -43
  1197. data/vendor/gems/puppet-4.5.2/ext/autotest/readme.rst +0 -16
  1198. data/vendor/gems/puppet-4.5.2/ext/build_defaults.yaml +0 -20
  1199. data/vendor/gems/puppet-4.5.2/ext/cert_inspector +0 -140
  1200. data/vendor/gems/puppet-4.5.2/ext/dbfix.sql +0 -132
  1201. data/vendor/gems/puppet-4.5.2/ext/debian/README.Debian +0 -8
  1202. data/vendor/gems/puppet-4.5.2/ext/debian/README.source +0 -2
  1203. data/vendor/gems/puppet-4.5.2/ext/debian/TODO.Debian +0 -1
  1204. data/vendor/gems/puppet-4.5.2/ext/debian/changelog.erb +0 -1122
  1205. data/vendor/gems/puppet-4.5.2/ext/debian/compat +0 -1
  1206. data/vendor/gems/puppet-4.5.2/ext/debian/control +0 -146
  1207. data/vendor/gems/puppet-4.5.2/ext/debian/copyright +0 -361
  1208. data/vendor/gems/puppet-4.5.2/ext/debian/docs +0 -1
  1209. data/vendor/gems/puppet-4.5.2/ext/debian/fileserver.conf +0 -41
  1210. data/vendor/gems/puppet-4.5.2/ext/debian/puppet-common.dirs +0 -13
  1211. data/vendor/gems/puppet-4.5.2/ext/debian/puppet-common.install +0 -4
  1212. data/vendor/gems/puppet-4.5.2/ext/debian/puppet-common.lintian-overrides +0 -5
  1213. data/vendor/gems/puppet-4.5.2/ext/debian/puppet-common.manpages +0 -30
  1214. data/vendor/gems/puppet-4.5.2/ext/debian/puppet-common.postinst +0 -35
  1215. data/vendor/gems/puppet-4.5.2/ext/debian/puppet-common.postrm +0 -33
  1216. data/vendor/gems/puppet-4.5.2/ext/debian/puppet-el.dirs +0 -1
  1217. data/vendor/gems/puppet-4.5.2/ext/debian/puppet-el.emacsen-install +0 -25
  1218. data/vendor/gems/puppet-4.5.2/ext/debian/puppet-el.emacsen-remove +0 -11
  1219. data/vendor/gems/puppet-4.5.2/ext/debian/puppet-el.emacsen-startup +0 -9
  1220. data/vendor/gems/puppet-4.5.2/ext/debian/puppet-el.install +0 -1
  1221. data/vendor/gems/puppet-4.5.2/ext/debian/puppet-testsuite.install +0 -2
  1222. data/vendor/gems/puppet-4.5.2/ext/debian/puppet-testsuite.lintian-overrides +0 -4
  1223. data/vendor/gems/puppet-4.5.2/ext/debian/puppet.default +0 -4
  1224. data/vendor/gems/puppet-4.5.2/ext/debian/puppet.init +0 -113
  1225. data/vendor/gems/puppet-4.5.2/ext/debian/puppet.lintian-overrides +0 -3
  1226. data/vendor/gems/puppet-4.5.2/ext/debian/puppet.logrotate +0 -20
  1227. data/vendor/gems/puppet-4.5.2/ext/debian/puppet.postinst +0 -20
  1228. data/vendor/gems/puppet-4.5.2/ext/debian/puppet.postrm +0 -20
  1229. data/vendor/gems/puppet-4.5.2/ext/debian/puppet.preinst +0 -20
  1230. data/vendor/gems/puppet-4.5.2/ext/debian/puppetmaster-common.install +0 -2
  1231. data/vendor/gems/puppet-4.5.2/ext/debian/puppetmaster-common.manpages +0 -2
  1232. data/vendor/gems/puppet-4.5.2/ext/debian/puppetmaster-common.postinst +0 -6
  1233. data/vendor/gems/puppet-4.5.2/ext/debian/puppetmaster-passenger.dirs +0 -4
  1234. data/vendor/gems/puppet-4.5.2/ext/debian/puppetmaster-passenger.postinst +0 -162
  1235. data/vendor/gems/puppet-4.5.2/ext/debian/puppetmaster-passenger.postrm +0 -61
  1236. data/vendor/gems/puppet-4.5.2/ext/debian/puppetmaster.README.debian +0 -17
  1237. data/vendor/gems/puppet-4.5.2/ext/debian/puppetmaster.default +0 -14
  1238. data/vendor/gems/puppet-4.5.2/ext/debian/puppetmaster.init +0 -137
  1239. data/vendor/gems/puppet-4.5.2/ext/debian/puppetmaster.lintian-overrides +0 -3
  1240. data/vendor/gems/puppet-4.5.2/ext/debian/puppetmaster.postinst +0 -20
  1241. data/vendor/gems/puppet-4.5.2/ext/debian/puppetmaster.postrm +0 -5
  1242. data/vendor/gems/puppet-4.5.2/ext/debian/puppetmaster.preinst +0 -22
  1243. data/vendor/gems/puppet-4.5.2/ext/debian/rules +0 -132
  1244. data/vendor/gems/puppet-4.5.2/ext/debian/source/format +0 -1
  1245. data/vendor/gems/puppet-4.5.2/ext/debian/source/options +0 -1
  1246. data/vendor/gems/puppet-4.5.2/ext/debian/vim-puppet.README.Debian +0 -13
  1247. data/vendor/gems/puppet-4.5.2/ext/debian/vim-puppet.dirs +0 -5
  1248. data/vendor/gems/puppet-4.5.2/ext/debian/vim-puppet.yaml +0 -7
  1249. data/vendor/gems/puppet-4.5.2/ext/debian/watch +0 -2
  1250. data/vendor/gems/puppet-4.5.2/ext/emacs/puppet-mode-init.el +0 -6
  1251. data/vendor/gems/puppet-4.5.2/ext/emacs/puppet-mode.el +0 -433
  1252. data/vendor/gems/puppet-4.5.2/ext/envpuppet +0 -139
  1253. data/vendor/gems/puppet-4.5.2/ext/envpuppet.bat +0 -14
  1254. data/vendor/gems/puppet-4.5.2/ext/freebsd/puppetd +0 -26
  1255. data/vendor/gems/puppet-4.5.2/ext/freebsd/puppetmasterd +0 -26
  1256. data/vendor/gems/puppet-4.5.2/ext/gentoo/conf.d/puppet +0 -5
  1257. data/vendor/gems/puppet-4.5.2/ext/gentoo/conf.d/puppetmaster +0 -12
  1258. data/vendor/gems/puppet-4.5.2/ext/gentoo/init.d/puppet +0 -38
  1259. data/vendor/gems/puppet-4.5.2/ext/gentoo/init.d/puppetmaster +0 -51
  1260. data/vendor/gems/puppet-4.5.2/ext/gentoo/puppet/fileserver.conf +0 -41
  1261. data/vendor/gems/puppet-4.5.2/ext/ips/puppet-agent +0 -44
  1262. data/vendor/gems/puppet-4.5.2/ext/ips/puppet-master +0 -44
  1263. data/vendor/gems/puppet-4.5.2/ext/ips/puppet.p5m.erb +0 -12
  1264. data/vendor/gems/puppet-4.5.2/ext/ips/puppetagent.xml +0 -42
  1265. data/vendor/gems/puppet-4.5.2/ext/ips/puppetmaster.xml +0 -42
  1266. data/vendor/gems/puppet-4.5.2/ext/ips/rules +0 -19
  1267. data/vendor/gems/puppet-4.5.2/ext/ips/transforms +0 -34
  1268. data/vendor/gems/puppet-4.5.2/ext/ldap/puppet.schema +0 -24
  1269. data/vendor/gems/puppet-4.5.2/ext/logcheck/puppet +0 -23
  1270. data/vendor/gems/puppet-4.5.2/ext/nagios/check_puppet.rb +0 -123
  1271. data/vendor/gems/puppet-4.5.2/ext/osx/file_mapping.yaml +0 -33
  1272. data/vendor/gems/puppet-4.5.2/ext/osx/postflight.erb +0 -109
  1273. data/vendor/gems/puppet-4.5.2/ext/osx/preflight.erb +0 -52
  1274. data/vendor/gems/puppet-4.5.2/ext/osx/prototype.plist.erb +0 -38
  1275. data/vendor/gems/puppet-4.5.2/ext/osx/puppet.plist +0 -30
  1276. data/vendor/gems/puppet-4.5.2/ext/project_data.yaml +0 -59
  1277. data/vendor/gems/puppet-4.5.2/ext/puppet-test +0 -500
  1278. data/vendor/gems/puppet-4.5.2/ext/puppetlisten/puppetlisten.rb +0 -77
  1279. data/vendor/gems/puppet-4.5.2/ext/puppetlisten/puppetrun.rb +0 -38
  1280. data/vendor/gems/puppet-4.5.2/ext/pure_ruby_dsl/dsl_test.rb +0 -7
  1281. data/vendor/gems/puppet-4.5.2/ext/rack/config.ru +0 -44
  1282. data/vendor/gems/puppet-4.5.2/ext/rack/example-passenger-vhost.conf +0 -57
  1283. data/vendor/gems/puppet-4.5.2/ext/redhat/client.init +0 -169
  1284. data/vendor/gems/puppet-4.5.2/ext/redhat/client.sysconfig +0 -2
  1285. data/vendor/gems/puppet-4.5.2/ext/redhat/fileserver.conf +0 -41
  1286. data/vendor/gems/puppet-4.5.2/ext/redhat/logrotate +0 -21
  1287. data/vendor/gems/puppet-4.5.2/ext/redhat/puppet.spec.erb +0 -849
  1288. data/vendor/gems/puppet-4.5.2/ext/redhat/server.init +0 -128
  1289. data/vendor/gems/puppet-4.5.2/ext/redhat/server.sysconfig +0 -13
  1290. data/vendor/gems/puppet-4.5.2/ext/regexp_nodes/classes/databases +0 -2
  1291. data/vendor/gems/puppet-4.5.2/ext/regexp_nodes/classes/webservers +0 -2
  1292. data/vendor/gems/puppet-4.5.2/ext/regexp_nodes/environment/development +0 -2
  1293. data/vendor/gems/puppet-4.5.2/ext/regexp_nodes/parameters/service/prod +0 -1
  1294. data/vendor/gems/puppet-4.5.2/ext/regexp_nodes/parameters/service/qa +0 -3
  1295. data/vendor/gems/puppet-4.5.2/ext/regexp_nodes/parameters/service/sandbox +0 -1
  1296. data/vendor/gems/puppet-4.5.2/ext/regexp_nodes/regexp_nodes.rb +0 -271
  1297. data/vendor/gems/puppet-4.5.2/ext/solaris/pkginfo +0 -6
  1298. data/vendor/gems/puppet-4.5.2/ext/solaris/smf/puppet +0 -44
  1299. data/vendor/gems/puppet-4.5.2/ext/solaris/smf/puppet.xml +0 -44
  1300. data/vendor/gems/puppet-4.5.2/ext/solaris/smf/puppetd.xml +0 -77
  1301. data/vendor/gems/puppet-4.5.2/ext/solaris/smf/puppetmasterd.xml +0 -77
  1302. data/vendor/gems/puppet-4.5.2/ext/solaris/smf/svc-puppetd +0 -64
  1303. data/vendor/gems/puppet-4.5.2/ext/solaris/smf/svc-puppetmasterd +0 -60
  1304. data/vendor/gems/puppet-4.5.2/ext/suse/client.init +0 -141
  1305. data/vendor/gems/puppet-4.5.2/ext/suse/puppet.spec +0 -310
  1306. data/vendor/gems/puppet-4.5.2/ext/suse/server.init +0 -173
  1307. data/vendor/gems/puppet-4.5.2/ext/systemd/puppet.service +0 -15
  1308. data/vendor/gems/puppet-4.5.2/ext/upload_facts.rb +0 -119
  1309. data/vendor/gems/puppet-4.5.2/ext/vim/README +0 -3
  1310. data/vendor/gems/puppet-4.5.2/ext/vim/ftdetect/puppet.vim +0 -2
  1311. data/vendor/gems/puppet-4.5.2/ext/vim/ftplugin/puppet.vim +0 -94
  1312. data/vendor/gems/puppet-4.5.2/ext/vim/indent/puppet.vim +0 -76
  1313. data/vendor/gems/puppet-4.5.2/ext/vim/syntax/puppet.vim +0 -115
  1314. data/vendor/gems/puppet-4.5.2/ext/windows/eventlog/Rakefile +0 -32
  1315. data/vendor/gems/puppet-4.5.2/ext/windows/eventlog/puppetres.dll +0 -0
  1316. data/vendor/gems/puppet-4.5.2/ext/windows/eventlog/puppetres.mc +0 -18
  1317. data/vendor/gems/puppet-4.5.2/ext/windows/puppet_interactive.bat +0 -6
  1318. data/vendor/gems/puppet-4.5.2/ext/windows/puppet_shell.bat +0 -9
  1319. data/vendor/gems/puppet-4.5.2/ext/windows/run_puppet_interactive.bat +0 -9
  1320. data/vendor/gems/puppet-4.5.2/ext/windows/service/daemon.bat +0 -6
  1321. data/vendor/gems/puppet-4.5.2/ext/windows/service/daemon.rb +0 -192
  1322. data/vendor/gems/puppet-4.5.2/ext/yaml_nodes.rb +0 -105
  1323. data/vendor/gems/puppet-4.5.2/install.rb +0 -477
  1324. data/vendor/gems/puppet-4.5.2/lib/hiera/puppet_function.rb +0 -82
  1325. data/vendor/gems/puppet-4.5.2/lib/hiera/scope.rb +0 -63
  1326. data/vendor/gems/puppet-4.5.2/lib/puppet.rb +0 -286
  1327. data/vendor/gems/puppet-4.5.2/lib/puppet/agent.rb +0 -102
  1328. data/vendor/gems/puppet-4.5.2/lib/puppet/agent/disabler.rb +0 -53
  1329. data/vendor/gems/puppet-4.5.2/lib/puppet/agent/locker.rb +0 -52
  1330. data/vendor/gems/puppet-4.5.2/lib/puppet/application.rb +0 -462
  1331. data/vendor/gems/puppet-4.5.2/lib/puppet/application/agent.rb +0 -456
  1332. data/vendor/gems/puppet-4.5.2/lib/puppet/application/apply.rb +0 -352
  1333. data/vendor/gems/puppet-4.5.2/lib/puppet/application/ca.rb +0 -11
  1334. data/vendor/gems/puppet-4.5.2/lib/puppet/application/catalog.rb +0 -4
  1335. data/vendor/gems/puppet-4.5.2/lib/puppet/application/cert.rb +0 -297
  1336. data/vendor/gems/puppet-4.5.2/lib/puppet/application/certificate.rb +0 -17
  1337. data/vendor/gems/puppet-4.5.2/lib/puppet/application/certificate_request.rb +0 -7
  1338. data/vendor/gems/puppet-4.5.2/lib/puppet/application/certificate_revocation_list.rb +0 -7
  1339. data/vendor/gems/puppet-4.5.2/lib/puppet/application/config.rb +0 -4
  1340. data/vendor/gems/puppet-4.5.2/lib/puppet/application/describe.rb +0 -254
  1341. data/vendor/gems/puppet-4.5.2/lib/puppet/application/device.rb +0 -256
  1342. data/vendor/gems/puppet-4.5.2/lib/puppet/application/doc.rb +0 -226
  1343. data/vendor/gems/puppet-4.5.2/lib/puppet/application/epp.rb +0 -5
  1344. data/vendor/gems/puppet-4.5.2/lib/puppet/application/face_base.rb +0 -269
  1345. data/vendor/gems/puppet-4.5.2/lib/puppet/application/facts.rb +0 -4
  1346. data/vendor/gems/puppet-4.5.2/lib/puppet/application/file.rb +0 -4
  1347. data/vendor/gems/puppet-4.5.2/lib/puppet/application/filebucket.rb +0 -258
  1348. data/vendor/gems/puppet-4.5.2/lib/puppet/application/help.rb +0 -4
  1349. data/vendor/gems/puppet-4.5.2/lib/puppet/application/indirection_base.rb +0 -4
  1350. data/vendor/gems/puppet-4.5.2/lib/puppet/application/inspect.rb +0 -179
  1351. data/vendor/gems/puppet-4.5.2/lib/puppet/application/key.rb +0 -4
  1352. data/vendor/gems/puppet-4.5.2/lib/puppet/application/lookup.rb +0 -342
  1353. data/vendor/gems/puppet-4.5.2/lib/puppet/application/man.rb +0 -4
  1354. data/vendor/gems/puppet-4.5.2/lib/puppet/application/master.rb +0 -321
  1355. data/vendor/gems/puppet-4.5.2/lib/puppet/application/module.rb +0 -4
  1356. data/vendor/gems/puppet-4.5.2/lib/puppet/application/node.rb +0 -4
  1357. data/vendor/gems/puppet-4.5.2/lib/puppet/application/parser.rb +0 -5
  1358. data/vendor/gems/puppet-4.5.2/lib/puppet/application/plugin.rb +0 -3
  1359. data/vendor/gems/puppet-4.5.2/lib/puppet/application/report.rb +0 -4
  1360. data/vendor/gems/puppet-4.5.2/lib/puppet/application/resource.rb +0 -224
  1361. data/vendor/gems/puppet-4.5.2/lib/puppet/application/resource_type.rb +0 -7
  1362. data/vendor/gems/puppet-4.5.2/lib/puppet/application/status.rb +0 -4
  1363. data/vendor/gems/puppet-4.5.2/lib/puppet/application_support.rb +0 -57
  1364. data/vendor/gems/puppet-4.5.2/lib/puppet/configurer.rb +0 -389
  1365. data/vendor/gems/puppet-4.5.2/lib/puppet/configurer/fact_handler.rb +0 -37
  1366. data/vendor/gems/puppet-4.5.2/lib/puppet/configurer/plugin_handler.rb +0 -27
  1367. data/vendor/gems/puppet-4.5.2/lib/puppet/data_providers.rb +0 -30
  1368. data/vendor/gems/puppet-4.5.2/lib/puppet/data_providers/data_adapter.rb +0 -30
  1369. data/vendor/gems/puppet-4.5.2/lib/puppet/data_providers/data_function_support.rb +0 -24
  1370. data/vendor/gems/puppet-4.5.2/lib/puppet/data_providers/function_env_data_provider.rb +0 -18
  1371. data/vendor/gems/puppet-4.5.2/lib/puppet/data_providers/function_module_data_provider.rb +0 -17
  1372. data/vendor/gems/puppet-4.5.2/lib/puppet/data_providers/hiera_config.rb +0 -129
  1373. data/vendor/gems/puppet-4.5.2/lib/puppet/data_providers/hiera_env_data_provider.rb +0 -18
  1374. data/vendor/gems/puppet-4.5.2/lib/puppet/data_providers/hiera_interpolate.rb +0 -19
  1375. data/vendor/gems/puppet-4.5.2/lib/puppet/data_providers/hiera_module_data_provider.rb +0 -23
  1376. data/vendor/gems/puppet-4.5.2/lib/puppet/data_providers/hiera_support.rb +0 -37
  1377. data/vendor/gems/puppet-4.5.2/lib/puppet/data_providers/json_data_provider_factory.rb +0 -24
  1378. data/vendor/gems/puppet-4.5.2/lib/puppet/data_providers/lookup_adapter.rb +0 -254
  1379. data/vendor/gems/puppet-4.5.2/lib/puppet/data_providers/yaml_data_provider_factory.rb +0 -26
  1380. data/vendor/gems/puppet-4.5.2/lib/puppet/defaults.rb +0 -1902
  1381. data/vendor/gems/puppet-4.5.2/lib/puppet/environments.rb +0 -487
  1382. data/vendor/gems/puppet-4.5.2/lib/puppet/error.rb +0 -100
  1383. data/vendor/gems/puppet-4.5.2/lib/puppet/external/dot.rb +0 -326
  1384. data/vendor/gems/puppet-4.5.2/lib/puppet/face/ca.rb +0 -254
  1385. data/vendor/gems/puppet-4.5.2/lib/puppet/face/catalog.rb +0 -130
  1386. data/vendor/gems/puppet-4.5.2/lib/puppet/face/certificate.rb +0 -159
  1387. data/vendor/gems/puppet-4.5.2/lib/puppet/face/certificate_request.rb +0 -54
  1388. data/vendor/gems/puppet-4.5.2/lib/puppet/face/certificate_revocation_list.rb +0 -54
  1389. data/vendor/gems/puppet-4.5.2/lib/puppet/face/config.rb +0 -119
  1390. data/vendor/gems/puppet-4.5.2/lib/puppet/face/epp.rb +0 -479
  1391. data/vendor/gems/puppet-4.5.2/lib/puppet/face/facts.rb +0 -38
  1392. data/vendor/gems/puppet-4.5.2/lib/puppet/face/file.rb +0 -47
  1393. data/vendor/gems/puppet-4.5.2/lib/puppet/face/help.rb +0 -193
  1394. data/vendor/gems/puppet-4.5.2/lib/puppet/face/help/face.erb +0 -111
  1395. data/vendor/gems/puppet-4.5.2/lib/puppet/face/key.rb +0 -15
  1396. data/vendor/gems/puppet-4.5.2/lib/puppet/face/man.rb +0 -99
  1397. data/vendor/gems/puppet-4.5.2/lib/puppet/face/module.rb +0 -19
  1398. data/vendor/gems/puppet-4.5.2/lib/puppet/face/module/generate.rb +0 -251
  1399. data/vendor/gems/puppet-4.5.2/lib/puppet/face/module/install.rb +0 -145
  1400. data/vendor/gems/puppet-4.5.2/lib/puppet/face/node.rb +0 -42
  1401. data/vendor/gems/puppet-4.5.2/lib/puppet/face/parser.rb +0 -161
  1402. data/vendor/gems/puppet-4.5.2/lib/puppet/face/plugin.rb +0 -58
  1403. data/vendor/gems/puppet-4.5.2/lib/puppet/face/report.rb +0 -54
  1404. data/vendor/gems/puppet-4.5.2/lib/puppet/face/resource.rb +0 -53
  1405. data/vendor/gems/puppet-4.5.2/lib/puppet/face/resource_type.rb +0 -84
  1406. data/vendor/gems/puppet-4.5.2/lib/puppet/face/status.rb +0 -48
  1407. data/vendor/gems/puppet-4.5.2/lib/puppet/feature/base.rb +0 -87
  1408. data/vendor/gems/puppet-4.5.2/lib/puppet/feature/external_facts.rb +0 -5
  1409. data/vendor/gems/puppet-4.5.2/lib/puppet/file_serving/metadata.rb +0 -163
  1410. data/vendor/gems/puppet-4.5.2/lib/puppet/file_system.rb +0 -376
  1411. data/vendor/gems/puppet-4.5.2/lib/puppet/file_system/file_impl.rb +0 -149
  1412. data/vendor/gems/puppet-4.5.2/lib/puppet/file_system/memory_impl.rb +0 -82
  1413. data/vendor/gems/puppet-4.5.2/lib/puppet/file_system/path_pattern.rb +0 -97
  1414. data/vendor/gems/puppet-4.5.2/lib/puppet/file_system/windows.rb +0 -103
  1415. data/vendor/gems/puppet-4.5.2/lib/puppet/forge.rb +0 -226
  1416. data/vendor/gems/puppet-4.5.2/lib/puppet/forge/cache.rb +0 -59
  1417. data/vendor/gems/puppet-4.5.2/lib/puppet/forge/repository.rb +0 -155
  1418. data/vendor/gems/puppet-4.5.2/lib/puppet/functions.rb +0 -732
  1419. data/vendor/gems/puppet-4.5.2/lib/puppet/functions/assert_type.rb +0 -95
  1420. data/vendor/gems/puppet-4.5.2/lib/puppet/functions/defined.rb +0 -161
  1421. data/vendor/gems/puppet-4.5.2/lib/puppet/functions/dig.rb +0 -39
  1422. data/vendor/gems/puppet-4.5.2/lib/puppet/functions/epp.rb +0 -45
  1423. data/vendor/gems/puppet-4.5.2/lib/puppet/functions/hiera.rb +0 -81
  1424. data/vendor/gems/puppet-4.5.2/lib/puppet/functions/hiera_array.rb +0 -74
  1425. data/vendor/gems/puppet-4.5.2/lib/puppet/functions/hiera_hash.rb +0 -84
  1426. data/vendor/gems/puppet-4.5.2/lib/puppet/functions/hiera_include.rb +0 -90
  1427. data/vendor/gems/puppet-4.5.2/lib/puppet/functions/lest.rb +0 -53
  1428. data/vendor/gems/puppet-4.5.2/lib/puppet/functions/new.rb +0 -502
  1429. data/vendor/gems/puppet-4.5.2/lib/puppet/functions/regsubst.rb +0 -80
  1430. data/vendor/gems/puppet-4.5.2/lib/puppet/functions/reverse_each.rb +0 -82
  1431. data/vendor/gems/puppet-4.5.2/lib/puppet/functions/scanf.rb +0 -44
  1432. data/vendor/gems/puppet-4.5.2/lib/puppet/functions/step.rb +0 -88
  1433. data/vendor/gems/puppet-4.5.2/lib/puppet/functions/then.rb +0 -74
  1434. data/vendor/gems/puppet-4.5.2/lib/puppet/functions/type.rb +0 -70
  1435. data/vendor/gems/puppet-4.5.2/lib/puppet/graph/simple_graph.rb +0 -562
  1436. data/vendor/gems/puppet-4.5.2/lib/puppet/indirector/catalog/compiler.rb +0 -367
  1437. data/vendor/gems/puppet-4.5.2/lib/puppet/indirector/catalog/static_compiler.rb +0 -229
  1438. data/vendor/gems/puppet-4.5.2/lib/puppet/indirector/face.rb +0 -148
  1439. data/vendor/gems/puppet-4.5.2/lib/puppet/indirector/facts/facter.rb +0 -90
  1440. data/vendor/gems/puppet-4.5.2/lib/puppet/indirector/file_bucket_file/file.rb +0 -199
  1441. data/vendor/gems/puppet-4.5.2/lib/puppet/indirector/key/ca.rb +0 -16
  1442. data/vendor/gems/puppet-4.5.2/lib/puppet/indirector/key/file.rb +0 -49
  1443. data/vendor/gems/puppet-4.5.2/lib/puppet/indirector/request.rb +0 -256
  1444. data/vendor/gems/puppet-4.5.2/lib/puppet/indirector/rest.rb +0 -260
  1445. data/vendor/gems/puppet-4.5.2/lib/puppet/indirector/ssl_file.rb +0 -180
  1446. data/vendor/gems/puppet-4.5.2/lib/puppet/info_service/class_information_service.rb +0 -112
  1447. data/vendor/gems/puppet-4.5.2/lib/puppet/interface.rb +0 -228
  1448. data/vendor/gems/puppet-4.5.2/lib/puppet/interface/documentation.rb +0 -342
  1449. data/vendor/gems/puppet-4.5.2/lib/puppet/interface/face_collection.rb +0 -125
  1450. data/vendor/gems/puppet-4.5.2/lib/puppet/loaders.rb +0 -23
  1451. data/vendor/gems/puppet-4.5.2/lib/puppet/metatype/manager.rb +0 -195
  1452. data/vendor/gems/puppet-4.5.2/lib/puppet/module.rb +0 -355
  1453. data/vendor/gems/puppet-4.5.2/lib/puppet/module_tool.rb +0 -192
  1454. data/vendor/gems/puppet-4.5.2/lib/puppet/module_tool/applications/builder.rb +0 -148
  1455. data/vendor/gems/puppet-4.5.2/lib/puppet/module_tool/applications/installer.rb +0 -351
  1456. data/vendor/gems/puppet-4.5.2/lib/puppet/module_tool/applications/upgrader.rb +0 -277
  1457. data/vendor/gems/puppet-4.5.2/lib/puppet/module_tool/checksums.rb +0 -49
  1458. data/vendor/gems/puppet-4.5.2/lib/puppet/module_tool/errors/installer.rb +0 -95
  1459. data/vendor/gems/puppet-4.5.2/lib/puppet/module_tool/installed_modules.rb +0 -96
  1460. data/vendor/gems/puppet-4.5.2/lib/puppet/module_tool/local_tarball.rb +0 -90
  1461. data/vendor/gems/puppet-4.5.2/lib/puppet/module_tool/metadata.rb +0 -221
  1462. data/vendor/gems/puppet-4.5.2/lib/puppet/module_tool/skeleton/templates/generator/examples/init.pp.erb +0 -12
  1463. data/vendor/gems/puppet-4.5.2/lib/puppet/module_tool/tar.rb +0 -17
  1464. data/vendor/gems/puppet-4.5.2/lib/puppet/network/http/api/indirected_routes.rb +0 -248
  1465. data/vendor/gems/puppet-4.5.2/lib/puppet/network/http/api/master/v3.rb +0 -28
  1466. data/vendor/gems/puppet-4.5.2/lib/puppet/network/http/compression.rb +0 -116
  1467. data/vendor/gems/puppet-4.5.2/lib/puppet/network/http/connection.rb +0 -233
  1468. data/vendor/gems/puppet-4.5.2/lib/puppet/network/http/error.rb +0 -69
  1469. data/vendor/gems/puppet-4.5.2/lib/puppet/network/http/handler.rb +0 -178
  1470. data/vendor/gems/puppet-4.5.2/lib/puppet/network/http/rack/rest.rb +0 -147
  1471. data/vendor/gems/puppet-4.5.2/lib/puppet/network/http/webrick.rb +0 -124
  1472. data/vendor/gems/puppet-4.5.2/lib/puppet/network/rights.rb +0 -219
  1473. data/vendor/gems/puppet-4.5.2/lib/puppet/node/environment.rb +0 -540
  1474. data/vendor/gems/puppet-4.5.2/lib/puppet/node/facts.rb +0 -133
  1475. data/vendor/gems/puppet-4.5.2/lib/puppet/parameter.rb +0 -572
  1476. data/vendor/gems/puppet-4.5.2/lib/puppet/parameter/boolean.rb +0 -15
  1477. data/vendor/gems/puppet-4.5.2/lib/puppet/parameter/value.rb +0 -91
  1478. data/vendor/gems/puppet-4.5.2/lib/puppet/parser.rb +0 -20
  1479. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/ast.rb +0 -60
  1480. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/ast/leaf.rb +0 -75
  1481. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/ast/pops_bridge.rb +0 -304
  1482. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/ast/resource.rb +0 -61
  1483. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/ast/resource_instance.rb +0 -6
  1484. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/ast/resourceparam.rb +0 -26
  1485. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/compiler.rb +0 -895
  1486. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/compiler/catalog_validator/relationship_validator.rb +0 -60
  1487. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/environment_compiler.rb +0 -164
  1488. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions.rb +0 -272
  1489. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/assert_type.rb +0 -60
  1490. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/contain.rb +0 -38
  1491. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/create_resources.rb +0 -83
  1492. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/defined.rb +0 -131
  1493. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/each.rb +0 -104
  1494. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/epp.rb +0 -36
  1495. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/filter.rb +0 -78
  1496. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/hiera.rb +0 -89
  1497. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/hiera_array.rb +0 -78
  1498. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/hiera_hash.rb +0 -88
  1499. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/hiera_include.rb +0 -88
  1500. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/include.rb +0 -37
  1501. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/inline_epp.rb +0 -51
  1502. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/lookup.rb +0 -130
  1503. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/map.rb +0 -76
  1504. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/match.rb +0 -43
  1505. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/reduce.rb +0 -106
  1506. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/regsubst.rb +0 -60
  1507. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/require.rb +0 -63
  1508. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/scanf.rb +0 -33
  1509. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/slice.rb +0 -39
  1510. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/split.rb +0 -28
  1511. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/with.rb +0 -28
  1512. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/resource.rb +0 -367
  1513. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/scope.rb +0 -1082
  1514. data/vendor/gems/puppet-4.5.2/lib/puppet/parser/type_loader.rb +0 -149
  1515. data/vendor/gems/puppet-4.5.2/lib/puppet/plugins/configuration.rb +0 -69
  1516. data/vendor/gems/puppet-4.5.2/lib/puppet/plugins/data_providers.rb +0 -42
  1517. data/vendor/gems/puppet-4.5.2/lib/puppet/plugins/data_providers/data_provider.rb +0 -336
  1518. data/vendor/gems/puppet-4.5.2/lib/puppet/plugins/data_providers/registry.rb +0 -84
  1519. data/vendor/gems/puppet-4.5.2/lib/puppet/pops.rb +0 -136
  1520. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/adaptable.rb +0 -204
  1521. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/adapters.rb +0 -193
  1522. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/binder/producers.rb +0 -831
  1523. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/binder/scheme_handler/confdir_scheme.rb +0 -34
  1524. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/evaluator/access_operator.rb +0 -639
  1525. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/evaluator/callable_signature.rb +0 -100
  1526. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/evaluator/closure.rb +0 -270
  1527. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/evaluator/collector_transformer.rb +0 -229
  1528. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/evaluator/collectors/catalog_collector.rb +0 -29
  1529. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/evaluator/collectors/exported_collector.rb +0 -69
  1530. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/evaluator/compare_operator.rb +0 -229
  1531. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/evaluator/evaluator_impl.rb +0 -1218
  1532. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/evaluator/external_syntax_support.rb +0 -52
  1533. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/evaluator/json_strict_literal_evaluator.rb +0 -85
  1534. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/evaluator/literal_evaluator.rb +0 -88
  1535. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/evaluator/relationship_operator.rb +0 -169
  1536. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/evaluator/runtime3_converter.rb +0 -192
  1537. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/evaluator/runtime3_support.rb +0 -537
  1538. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/functions/dispatch.rb +0 -85
  1539. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/functions/dispatcher.rb +0 -76
  1540. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/functions/function.rb +0 -113
  1541. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/issue_reporter.rb +0 -115
  1542. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/issues.rb +0 -729
  1543. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/label_provider.rb +0 -76
  1544. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/loader/base_loader.rb +0 -143
  1545. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/loader/loader.rb +0 -204
  1546. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/loader/loader_paths.rb +0 -194
  1547. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/loader/module_loaders.rb +0 -273
  1548. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/loader/null_loader.rb +0 -44
  1549. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/loader/puppet_function_instantiator.rb +0 -83
  1550. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/loader/ruby_function_instantiator.rb +0 -47
  1551. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/loader/runtime3_type_loader.rb +0 -57
  1552. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/loader/static_loader.rb +0 -166
  1553. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/loader/type_definition_instantiator.rb +0 -77
  1554. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/loaders.rb +0 -352
  1555. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/lookup.rb +0 -79
  1556. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/lookup/explainer.rb +0 -509
  1557. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/lookup/interpolation.rb +0 -115
  1558. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/lookup/invocation.rb +0 -119
  1559. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/lookup/sub_lookup.rb +0 -86
  1560. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/merge_strategy.rb +0 -338
  1561. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/migration/migration_checker.rb +0 -54
  1562. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/model/factory.rb +0 -1139
  1563. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/model/model_label_provider.rb +0 -125
  1564. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/model/model_meta.rb +0 -627
  1565. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/model/model_tree_dumper.rb +0 -437
  1566. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/parser/egrammar.ra +0 -866
  1567. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/parser/eparser.rb +0 -3157
  1568. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/parser/evaluating_parser.rb +0 -165
  1569. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/parser/heredoc_support.rb +0 -144
  1570. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/parser/interpolation_support.rb +0 -237
  1571. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/parser/lexer2.rb +0 -768
  1572. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/parser/locator.rb +0 -292
  1573. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/parser/parser_support.rb +0 -254
  1574. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/parser/slurp_support.rb +0 -119
  1575. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/patterns.rb +0 -47
  1576. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/pcore.rb +0 -30
  1577. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/semantic_error.rb +0 -17
  1578. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/types/implementation_registry.rb +0 -146
  1579. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/types/p_object_type.rb +0 -846
  1580. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/types/p_runtime_type.rb +0 -102
  1581. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/types/p_sem_ver_range_type.rb +0 -164
  1582. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/types/p_sem_ver_type.rb +0 -113
  1583. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/types/puppet_object.rb +0 -21
  1584. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/types/recursion_guard.rb +0 -92
  1585. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/types/ruby_generator.rb +0 -258
  1586. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/types/string_converter.rb +0 -922
  1587. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/types/type_asserter.rb +0 -47
  1588. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/types/type_calculator.rb +0 -807
  1589. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/types/type_factory.rb +0 -491
  1590. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/types/type_formatter.rb +0 -569
  1591. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/types/type_mismatch_describer.rb +0 -1039
  1592. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/types/type_parser.rb +0 -525
  1593. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/types/types.rb +0 -2855
  1594. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/validation.rb +0 -462
  1595. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/validation/checker4_0.rb +0 -956
  1596. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/validation/validator_factory_4_0.rb +0 -37
  1597. data/vendor/gems/puppet-4.5.2/lib/puppet/pops/visitor.rb +0 -94
  1598. data/vendor/gems/puppet-4.5.2/lib/puppet/property.rb +0 -537
  1599. data/vendor/gems/puppet-4.5.2/lib/puppet/provider.rb +0 -604
  1600. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/aixobject.rb +0 -392
  1601. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/exec.rb +0 -96
  1602. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/group/aix.rb +0 -141
  1603. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/group/windows_adsi.rb +0 -106
  1604. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/macauthorization/macauthorization.rb +0 -298
  1605. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/mailalias/aliases.rb +0 -50
  1606. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/mcx/mcxcontent.rb +0 -172
  1607. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/mount/parsed.rb +0 -280
  1608. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/nameservice.rb +0 -292
  1609. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/nameservice/directoryservice.rb +0 -499
  1610. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/package/aix.rb +0 -152
  1611. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/package/appdmg.rb +0 -110
  1612. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/package/apple.rb +0 -47
  1613. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/package/dnf.rb +0 -41
  1614. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/package/gem.rb +0 -169
  1615. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/package/nim.rb +0 -280
  1616. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/package/pacman.rb +0 -267
  1617. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/package/pip.rb +0 -178
  1618. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/package/pip3.rb +0 -20
  1619. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/package/pkg.rb +0 -245
  1620. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/package/pkgdmg.rb +0 -152
  1621. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/package/pkgin.rb +0 -87
  1622. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/package/pkgng.rb +0 -143
  1623. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/package/pkgutil.rb +0 -186
  1624. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/package/portage.rb +0 -153
  1625. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/package/rpm.rb +0 -402
  1626. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/package/sun.rb +0 -132
  1627. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/package/yum.rb +0 -241
  1628. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/parsedfile.rb +0 -459
  1629. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/scheduled_task/win32_taskscheduler.rb +0 -583
  1630. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/selmodule/semodule.rb +0 -134
  1631. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/service/base.rb +0 -121
  1632. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/service/bsd.rb +0 -51
  1633. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/service/daemontools.rb +0 -194
  1634. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/service/debian.rb +0 -74
  1635. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/service/init.rb +0 -191
  1636. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/service/launchd.rb +0 -331
  1637. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/service/runit.rb +0 -111
  1638. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/service/smf.rb +0 -160
  1639. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/service/src.rb +0 -147
  1640. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/service/systemd.rb +0 -149
  1641. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/ssh_authorized_key/parsed.rb +0 -105
  1642. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/user/aix.rb +0 -369
  1643. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/user/directoryservice.rb +0 -630
  1644. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/user/hpux.rb +0 -95
  1645. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/user/user_role_add.rb +0 -212
  1646. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/user/useradd.rb +0 -231
  1647. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/user/windows_adsi.rb +0 -142
  1648. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/yumrepo/inifile.rb +0 -304
  1649. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/zfs/zfs.rb +0 -84
  1650. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/zone/solaris.rb +0 -361
  1651. data/vendor/gems/puppet-4.5.2/lib/puppet/provider/zpool/zpool.rb +0 -125
  1652. data/vendor/gems/puppet-4.5.2/lib/puppet/reference/configuration.rb +0 -80
  1653. data/vendor/gems/puppet-4.5.2/lib/puppet/reference/indirection.rb +0 -71
  1654. data/vendor/gems/puppet-4.5.2/lib/puppet/reference/type.rb +0 -114
  1655. data/vendor/gems/puppet-4.5.2/lib/puppet/reports/http.rb +0 -31
  1656. data/vendor/gems/puppet-4.5.2/lib/puppet/resource.rb +0 -623
  1657. data/vendor/gems/puppet-4.5.2/lib/puppet/resource/capability_finder.rb +0 -102
  1658. data/vendor/gems/puppet-4.5.2/lib/puppet/resource/catalog.rb +0 -652
  1659. data/vendor/gems/puppet-4.5.2/lib/puppet/resource/status.rb +0 -223
  1660. data/vendor/gems/puppet-4.5.2/lib/puppet/resource/type.rb +0 -562
  1661. data/vendor/gems/puppet-4.5.2/lib/puppet/resource/type_collection.rb +0 -256
  1662. data/vendor/gems/puppet-4.5.2/lib/puppet/resource/type_collection_helper.rb +0 -7
  1663. data/vendor/gems/puppet-4.5.2/lib/puppet/settings.rb +0 -1431
  1664. data/vendor/gems/puppet-4.5.2/lib/puppet/settings/config_file.rb +0 -142
  1665. data/vendor/gems/puppet-4.5.2/lib/puppet/settings/directory_setting.rb +0 -12
  1666. data/vendor/gems/puppet-4.5.2/lib/puppet/settings/environment_conf.rb +0 -192
  1667. data/vendor/gems/puppet-4.5.2/lib/puppet/settings/file_or_directory_setting.rb +0 -34
  1668. data/vendor/gems/puppet-4.5.2/lib/puppet/settings/file_setting.rb +0 -235
  1669. data/vendor/gems/puppet-4.5.2/lib/puppet/settings/ini_file.rb +0 -171
  1670. data/vendor/gems/puppet-4.5.2/lib/puppet/ssl/base.rb +0 -140
  1671. data/vendor/gems/puppet-4.5.2/lib/puppet/ssl/certificate.rb +0 -95
  1672. data/vendor/gems/puppet-4.5.2/lib/puppet/ssl/certificate_authority.rb +0 -517
  1673. data/vendor/gems/puppet-4.5.2/lib/puppet/ssl/certificate_authority/interface.rb +0 -184
  1674. data/vendor/gems/puppet-4.5.2/lib/puppet/ssl/certificate_request.rb +0 -327
  1675. data/vendor/gems/puppet-4.5.2/lib/puppet/ssl/configuration.rb +0 -58
  1676. data/vendor/gems/puppet-4.5.2/lib/puppet/ssl/host.rb +0 -365
  1677. data/vendor/gems/puppet-4.5.2/lib/puppet/ssl/inventory.rb +0 -48
  1678. data/vendor/gems/puppet-4.5.2/lib/puppet/ssl/key.rb +0 -59
  1679. data/vendor/gems/puppet-4.5.2/lib/puppet/ssl/oids.rb +0 -177
  1680. data/vendor/gems/puppet-4.5.2/lib/puppet/ssl/validator/default_validator.rb +0 -174
  1681. data/vendor/gems/puppet-4.5.2/lib/puppet/syntax_checkers/json.rb +0 -37
  1682. data/vendor/gems/puppet-4.5.2/lib/puppet/test/test_helper.rb +0 -253
  1683. data/vendor/gems/puppet-4.5.2/lib/puppet/transaction.rb +0 -381
  1684. data/vendor/gems/puppet-4.5.2/lib/puppet/transaction/additional_resource_generator.rb +0 -207
  1685. data/vendor/gems/puppet-4.5.2/lib/puppet/transaction/event.rb +0 -106
  1686. data/vendor/gems/puppet-4.5.2/lib/puppet/transaction/event_manager.rb +0 -167
  1687. data/vendor/gems/puppet-4.5.2/lib/puppet/transaction/report.rb +0 -408
  1688. data/vendor/gems/puppet-4.5.2/lib/puppet/transaction/resource_harness.rb +0 -236
  1689. data/vendor/gems/puppet-4.5.2/lib/puppet/type.rb +0 -2615
  1690. data/vendor/gems/puppet-4.5.2/lib/puppet/type/augeas.rb +0 -211
  1691. data/vendor/gems/puppet-4.5.2/lib/puppet/type/component.rb +0 -77
  1692. data/vendor/gems/puppet-4.5.2/lib/puppet/type/cron.rb +0 -492
  1693. data/vendor/gems/puppet-4.5.2/lib/puppet/type/exec.rb +0 -601
  1694. data/vendor/gems/puppet-4.5.2/lib/puppet/type/file.rb +0 -995
  1695. data/vendor/gems/puppet-4.5.2/lib/puppet/type/file/checksum.rb +0 -43
  1696. data/vendor/gems/puppet-4.5.2/lib/puppet/type/file/content.rb +0 -160
  1697. data/vendor/gems/puppet-4.5.2/lib/puppet/type/file/data_sync.rb +0 -84
  1698. data/vendor/gems/puppet-4.5.2/lib/puppet/type/file/mode.rb +0 -173
  1699. data/vendor/gems/puppet-4.5.2/lib/puppet/type/file/source.rb +0 -346
  1700. data/vendor/gems/puppet-4.5.2/lib/puppet/type/group.rb +0 -200
  1701. data/vendor/gems/puppet-4.5.2/lib/puppet/type/host.rb +0 -95
  1702. data/vendor/gems/puppet-4.5.2/lib/puppet/type/mount.rb +0 -314
  1703. data/vendor/gems/puppet-4.5.2/lib/puppet/type/notify.rb +0 -44
  1704. data/vendor/gems/puppet-4.5.2/lib/puppet/type/package.rb +0 -571
  1705. data/vendor/gems/puppet-4.5.2/lib/puppet/type/resources.rb +0 -180
  1706. data/vendor/gems/puppet-4.5.2/lib/puppet/type/scheduled_task.rb +0 -184
  1707. data/vendor/gems/puppet-4.5.2/lib/puppet/type/ssh_authorized_key.rb +0 -153
  1708. data/vendor/gems/puppet-4.5.2/lib/puppet/type/tidy.rb +0 -329
  1709. data/vendor/gems/puppet-4.5.2/lib/puppet/type/user.rb +0 -747
  1710. data/vendor/gems/puppet-4.5.2/lib/puppet/type/yumrepo.rb +0 -409
  1711. data/vendor/gems/puppet-4.5.2/lib/puppet/type/zone.rb +0 -382
  1712. data/vendor/gems/puppet-4.5.2/lib/puppet/util.rb +0 -579
  1713. data/vendor/gems/puppet-4.5.2/lib/puppet/util/classgen.rb +0 -228
  1714. data/vendor/gems/puppet-4.5.2/lib/puppet/util/command_line.rb +0 -181
  1715. data/vendor/gems/puppet-4.5.2/lib/puppet/util/command_line/trollop.rb +0 -824
  1716. data/vendor/gems/puppet-4.5.2/lib/puppet/util/execution.rb +0 -356
  1717. data/vendor/gems/puppet-4.5.2/lib/puppet/util/filetype.rb +0 -303
  1718. data/vendor/gems/puppet-4.5.2/lib/puppet/util/http_proxy.rb +0 -197
  1719. data/vendor/gems/puppet-4.5.2/lib/puppet/util/inifile.rb +0 -341
  1720. data/vendor/gems/puppet-4.5.2/lib/puppet/util/instance_loader.rb +0 -81
  1721. data/vendor/gems/puppet-4.5.2/lib/puppet/util/log.rb +0 -386
  1722. data/vendor/gems/puppet-4.5.2/lib/puppet/util/logging.rb +0 -310
  1723. data/vendor/gems/puppet-4.5.2/lib/puppet/util/monkey_patches.rb +0 -145
  1724. data/vendor/gems/puppet-4.5.2/lib/puppet/util/multi_match.rb +0 -51
  1725. data/vendor/gems/puppet-4.5.2/lib/puppet/util/network_device/config.rb +0 -98
  1726. data/vendor/gems/puppet-4.5.2/lib/puppet/util/plist.rb +0 -130
  1727. data/vendor/gems/puppet-4.5.2/lib/puppet/util/profiler.rb +0 -53
  1728. data/vendor/gems/puppet-4.5.2/lib/puppet/util/profiler/aggregate.rb +0 -85
  1729. data/vendor/gems/puppet-4.5.2/lib/puppet/util/profiler/around_profiler.rb +0 -67
  1730. data/vendor/gems/puppet-4.5.2/lib/puppet/util/psych_support.rb +0 -38
  1731. data/vendor/gems/puppet-4.5.2/lib/puppet/util/rdoc.rb +0 -60
  1732. data/vendor/gems/puppet-4.5.2/lib/puppet/util/reference.rb +0 -124
  1733. data/vendor/gems/puppet-4.5.2/lib/puppet/util/rubygems.rb +0 -75
  1734. data/vendor/gems/puppet-4.5.2/lib/puppet/util/tagging.rb +0 -118
  1735. data/vendor/gems/puppet-4.5.2/lib/puppet/util/watcher/periodic_watcher.rb +0 -37
  1736. data/vendor/gems/puppet-4.5.2/lib/puppet/util/windows/access_control_entry.rb +0 -84
  1737. data/vendor/gems/puppet-4.5.2/lib/puppet/util/windows/adsi.rb +0 -523
  1738. data/vendor/gems/puppet-4.5.2/lib/puppet/util/windows/api_types.rb +0 -275
  1739. data/vendor/gems/puppet-4.5.2/lib/puppet/util/windows/file.rb +0 -425
  1740. data/vendor/gems/puppet-4.5.2/lib/puppet/util/windows/process.rb +0 -479
  1741. data/vendor/gems/puppet-4.5.2/lib/puppet/util/windows/security.rb +0 -857
  1742. data/vendor/gems/puppet-4.5.2/lib/puppet/util/windows/taskscheduler.rb +0 -1220
  1743. data/vendor/gems/puppet-4.5.2/lib/puppet/util/windows/user.rb +0 -291
  1744. data/vendor/gems/puppet-4.5.2/lib/puppet/util/yaml.rb +0 -24
  1745. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/deep_merge/test/test_deep_merge.rb +0 -608
  1746. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/pathspec/lib/pathspec.rb +0 -121
  1747. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/require_vendored.rb +0 -7
  1748. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/array_extensions_test.rb +0 -64
  1749. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/ea_instantiator_test.rb +0 -35
  1750. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/ea_serializer_test.rb +0 -23
  1751. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/ecore_self_test.rb +0 -54
  1752. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/environment_test.rb +0 -90
  1753. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/json_test.rb +0 -171
  1754. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/metamodel_builder_test.rb +0 -1482
  1755. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/metamodel_from_ecore_test.rb +0 -57
  1756. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/metamodel_order_test.rb +0 -131
  1757. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/metamodel_roundtrip_test.rb +0 -98
  1758. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/metamodel_roundtrip_test/TestModel.rb +0 -70
  1759. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/metamodel_roundtrip_test/houseMetamodel.ecore +0 -42
  1760. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/metamodel_roundtrip_test/houseMetamodel_from_ecore.rb +0 -44
  1761. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/metamodel_roundtrip_test/using_builtin_types.ecore +0 -9
  1762. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/method_delegation_test.rb +0 -178
  1763. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/model_builder/builder_context_test.rb +0 -59
  1764. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/model_builder/builder_test.rb +0 -242
  1765. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/model_builder/ecore_original.rb +0 -163
  1766. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/model_builder/ecore_original_regenerated.rb +0 -163
  1767. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/model_builder/reference_resolver_test.rb +0 -156
  1768. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/model_builder/serializer_test.rb +0 -94
  1769. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/model_builder/statemachine_metamodel.rb +0 -42
  1770. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/model_builder/test_model/statemachine1.rb +0 -23
  1771. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/model_builder_test.rb +0 -6
  1772. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/model_fragment_test.rb +0 -30
  1773. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/output_handler_test.rb +0 -58
  1774. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/qualified_name_provider_test.rb +0 -48
  1775. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/qualified_name_resolver_test.rb +0 -102
  1776. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/reference_resolver_test.rb +0 -117
  1777. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/rgen_test.rb +0 -26
  1778. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/template_language_test.rb +0 -163
  1779. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/template_language_test/expected_result1.txt +0 -29
  1780. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/template_language_test/expected_result2.txt +0 -9
  1781. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/template_language_test/expected_result3.txt +0 -4
  1782. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/template_language_test/indentStringTestDefaultIndent.out +0 -1
  1783. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/template_language_test/indentStringTestTabIndent.out +0 -1
  1784. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/template_language_test/templates/callback_indent_test/a.tpl +0 -12
  1785. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/template_language_test/templates/callback_indent_test/b.tpl +0 -5
  1786. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/template_language_test/templates/code/array.tpl +0 -11
  1787. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/template_language_test/templates/content/author.tpl +0 -7
  1788. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/template_language_test/templates/content/chapter.tpl +0 -5
  1789. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/template_language_test/templates/define_local_test/local.tpl +0 -8
  1790. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/template_language_test/templates/define_local_test/test.tpl +0 -8
  1791. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/template_language_test/templates/evaluate_test/test.tpl +0 -7
  1792. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/template_language_test/templates/indent_string_test.tpl +0 -12
  1793. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/template_language_test/templates/index/c/cmod.tpl +0 -1
  1794. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/template_language_test/templates/index/chapter.tpl +0 -3
  1795. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/template_language_test/templates/no_backslash_r_test.tpl +0 -5
  1796. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/template_language_test/templates/no_indent_test/no_indent.tpl +0 -3
  1797. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/template_language_test/templates/no_indent_test/sub1/no_indent.tpl +0 -3
  1798. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/template_language_test/templates/no_indent_test/test.tpl +0 -24
  1799. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/template_language_test/templates/no_indent_test/test2.tpl +0 -13
  1800. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/template_language_test/templates/no_indent_test/test3.tpl +0 -10
  1801. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/template_language_test/templates/null_context_test.tpl +0 -17
  1802. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/template_language_test/templates/root.tpl +0 -31
  1803. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/template_language_test/templates/template_resolution_test/sub1.tpl +0 -9
  1804. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/template_language_test/templates/template_resolution_test/sub1/sub1.tpl +0 -3
  1805. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/template_language_test/templates/template_resolution_test/test.tpl +0 -4
  1806. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/template_language_test/testout.txt +0 -29
  1807. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/testmodel/class_model_checker.rb +0 -119
  1808. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/testmodel/ea_testmodel.eap +0 -0
  1809. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/testmodel/ea_testmodel.xml +0 -1029
  1810. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/testmodel/ea_testmodel_partial.xml +0 -317
  1811. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/testmodel/ecore_model_checker.rb +0 -101
  1812. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/testmodel/manual_testmodel.xml +0 -22
  1813. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/testmodel/object_model_checker.rb +0 -67
  1814. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/transformer_test.rb +0 -254
  1815. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/util/file_cache_map_test.rb +0 -99
  1816. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/util/pattern_matcher_test.rb +0 -97
  1817. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/util_test.rb +0 -5
  1818. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/xml_instantiator_test.rb +0 -160
  1819. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/xml_instantiator_test/simple_ecore_model_checker.rb +0 -94
  1820. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/xml_instantiator_test/simple_xmi_ecore_instantiator.rb +0 -53
  1821. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/xml_instantiator_test/simple_xmi_metamodel.rb +0 -49
  1822. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/xml_instantiator_test/simple_xmi_to_ecore.rb +0 -75
  1823. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen_patch.rb +0 -132
  1824. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/semantic/Gemfile +0 -20
  1825. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/semantic/PUPPET_README.md +0 -6
  1826. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/semantic/Rakefile +0 -69
  1827. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/semantic/lib/semantic.rb +0 -7
  1828. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/semantic/lib/semantic/dependency.rb +0 -181
  1829. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/semantic/lib/semantic/dependency/graph.rb +0 -60
  1830. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/semantic/lib/semantic/dependency/graph_node.rb +0 -117
  1831. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/semantic/lib/semantic/dependency/module_release.rb +0 -60
  1832. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/semantic/lib/semantic/dependency/source.rb +0 -25
  1833. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/semantic/lib/semantic/dependency/unsatisfiable_graph.rb +0 -31
  1834. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/semantic/lib/semantic/version.rb +0 -168
  1835. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/semantic/lib/semantic/version_range.rb +0 -424
  1836. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/semantic/spec/spec_helper.rb +0 -24
  1837. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/semantic/spec/unit/semantic/dependency/graph_node_spec.rb +0 -141
  1838. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/semantic/spec/unit/semantic/dependency/graph_spec.rb +0 -162
  1839. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/semantic/spec/unit/semantic/dependency/module_release_spec.rb +0 -143
  1840. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/semantic/spec/unit/semantic/dependency/source_spec.rb +0 -5
  1841. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/semantic/spec/unit/semantic/dependency/unsatisfiable_graph_spec.rb +0 -44
  1842. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/semantic/spec/unit/semantic/dependency_spec.rb +0 -383
  1843. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/semantic/spec/unit/semantic/version_range_spec.rb +0 -307
  1844. data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/semantic/spec/unit/semantic/version_spec.rb +0 -608
  1845. data/vendor/gems/puppet-4.5.2/lib/puppet/version.rb +0 -89
  1846. data/vendor/gems/puppet-4.5.2/lib/puppet_x.rb +0 -8
  1847. data/vendor/gems/puppet-4.5.2/lib/semver.rb +0 -139
  1848. data/vendor/gems/puppet-4.5.2/puppet-4.5.2.gemspec +0 -104
@@ -0,0 +1,28 @@
1
+ Puppet::Parser::Functions::newfunction(
2
+ :with,
3
+ :type => :rvalue,
4
+ :arity => -1,
5
+ :doc => <<-DOC
6
+ Call a [lambda](https://docs.puppetlabs.com/puppet/latest/reference/lang_lambdas.html)
7
+ with the given arguments and return the result. Since a lambda's scope is
8
+ [local](https://docs.puppetlabs.com/puppet/latest/reference/lang_lambdas.html#lambda-scope)
9
+ to the lambda, you can use the `with` function to create private blocks of code within a
10
+ class using variables whose values cannot be accessed outside of the lambda.
11
+
12
+ **Example**: Using `with`
13
+
14
+ ~~~ puppet
15
+ # Concatenate three strings into a single string formatted as a list.
16
+ $fruit = with("apples", "oranges", "bananas") |$x, $y, $z| {
17
+ "${x}, ${y}, and ${z}"
18
+ }
19
+ $check_var = $x
20
+ # $fruit contains "apples, oranges, and bananas"
21
+ # $check_var is undefined, as the value of $x is local to the lambda.
22
+ ~~~
23
+
24
+ - Since 4.0.0
25
+ DOC
26
+ ) do |args|
27
+ Puppet::Parser::Functions::Error.is4x('with')
28
+ end
@@ -0,0 +1,388 @@
1
+ require 'puppet/resource'
2
+
3
+ # The primary difference between this class and its
4
+ # parent is that this class has rules on who can set
5
+ # parameters
6
+ class Puppet::Parser::Resource < Puppet::Resource
7
+ require 'puppet/parser/resource/param'
8
+ require 'puppet/util/tagging'
9
+ require 'puppet/parser/yaml_trimmer'
10
+
11
+ include Puppet::Util
12
+ include Puppet::Util::MethodHelper
13
+ include Puppet::Util::Errors
14
+ include Puppet::Util::Logging
15
+ include Puppet::Parser::YamlTrimmer
16
+
17
+ attr_accessor :source, :scope, :collector_id
18
+ attr_accessor :virtual, :override, :translated, :catalog, :evaluated
19
+ attr_accessor :file, :line
20
+
21
+ attr_reader :exported, :parameters
22
+
23
+ # Determine whether the provided parameter name is a relationship parameter.
24
+ def self.relationship_parameter?(name)
25
+ @relationship_names ||= Puppet::Type.relationship_params.collect { |p| p.name }
26
+ @relationship_names.include?(name)
27
+ end
28
+
29
+ # Set up some boolean test methods
30
+ def translated?; !!@translated; end
31
+ def override?; !!@override; end
32
+ def evaluated?; !!@evaluated; end
33
+
34
+ def [](param)
35
+ param = param.intern
36
+ if param == :title
37
+ return self.title
38
+ end
39
+ if @parameters.has_key?(param)
40
+ @parameters[param].value
41
+ else
42
+ nil
43
+ end
44
+ end
45
+
46
+ def eachparam
47
+ @parameters.each do |name, param|
48
+ yield param
49
+ end
50
+ end
51
+
52
+ def environment
53
+ scope.environment
54
+ end
55
+
56
+ # Process the stage metaparameter for a class. A containment edge
57
+ # is drawn from the class to the stage. The stage for containment
58
+ # defaults to main, if none is specified.
59
+ def add_edge_to_stage
60
+ return unless self.class?
61
+
62
+ unless stage = catalog.resource(:stage, self[:stage] || (scope && scope.resource && scope.resource[:stage]) || :main)
63
+ raise ArgumentError, "Could not find stage #{self[:stage] || :main} specified by #{self}"
64
+ end
65
+
66
+ self[:stage] ||= stage.title unless stage.title == :main
67
+ catalog.add_edge(stage, self)
68
+ end
69
+
70
+ # Retrieve the associated definition and evaluate it.
71
+ def evaluate
72
+ return if evaluated?
73
+ Puppet::Util::Profiler.profile("Evaluated resource #{self}", [:compiler, :evaluate_resource, self]) do
74
+ @evaluated = true
75
+ if builtin_type?
76
+ devfail "Cannot evaluate a builtin type (#{type})"
77
+ elsif resource_type.nil?
78
+ self.fail "Cannot find definition #{type}"
79
+ else
80
+ finish_evaluation() # do not finish completely (as that destroys Sensitive data)
81
+ resource_type.evaluate_code(self)
82
+ end
83
+ end
84
+ end
85
+
86
+ # Mark this resource as both exported and virtual,
87
+ # or remove the exported mark.
88
+ def exported=(value)
89
+ if value
90
+ @virtual = true
91
+ @exported = value
92
+ else
93
+ @exported = value
94
+ end
95
+ end
96
+
97
+ # Finish the evaluation by assigning defaults and scope tags
98
+ # @api private
99
+ #
100
+ def finish_evaluation
101
+ return if @evaluation_finished
102
+ add_defaults
103
+ add_scope_tags
104
+ @evaluation_finished = true
105
+ end
106
+
107
+ # Do any finishing work on this object, called before
108
+ # storage/translation. The method does nothing the second time
109
+ # it is called on the same resource.
110
+ #
111
+ # @param do_validate [Boolean] true if validation should be performed
112
+ #
113
+ # @api private
114
+ def finish(do_validate = true)
115
+ return if finished?
116
+ @finished = true
117
+ finish_evaluation
118
+ replace_sensitive_data
119
+ validate if do_validate
120
+ end
121
+
122
+ # Has this resource already been finished?
123
+ def finished?
124
+ @finished
125
+ end
126
+
127
+ def initialize(type, title, attributes)
128
+ raise ArgumentError, 'Resources require a hash as last argument' unless attributes.is_a? Hash
129
+ raise ArgumentError, 'Resources require a scope' unless attributes[:scope]
130
+ super
131
+
132
+ @source ||= scope.source
133
+ end
134
+
135
+ # Is this resource modeling an isomorphic resource type?
136
+ def isomorphic?
137
+ if builtin_type?
138
+ return resource_type.isomorphic?
139
+ else
140
+ return true
141
+ end
142
+ end
143
+
144
+ def is_unevaluated_consumer?
145
+ # We don't declare a new variable here just to test. Saves memory
146
+ instance_variable_defined?(:@unevaluated_consumer)
147
+ end
148
+
149
+ def mark_unevaluated_consumer
150
+ @unevaluated_consumer = true
151
+ end
152
+
153
+ # Merge an override resource in. This will throw exceptions if
154
+ # any overrides aren't allowed.
155
+ def merge(resource)
156
+ # Test the resource scope, to make sure the resource is even allowed
157
+ # to override.
158
+ unless self.source.object_id == resource.source.object_id || resource.source.child_of?(self.source)
159
+ raise Puppet::ParseError.new("Only subclasses can override parameters", resource.file, resource.line)
160
+ end
161
+ # Some of these might fail, but they'll fail in the way we want.
162
+ resource.parameters.each do |name, param|
163
+ override_parameter(param)
164
+ end
165
+ end
166
+
167
+ def name
168
+ self[:name] || self.title
169
+ end
170
+
171
+ # A temporary occasion, until I get paths in the scopes figured out.
172
+ alias path to_s
173
+
174
+ # Define a parameter in our resource.
175
+ # if we ever receive a parameter named 'tag', set
176
+ # the resource tags with its value.
177
+ def set_parameter(param, value = nil)
178
+ if ! param.is_a?(Puppet::Parser::Resource::Param)
179
+ param = param.name if param.is_a?(Puppet::Pops::Resource::Param)
180
+ param = Puppet::Parser::Resource::Param.new(
181
+ :name => param, :value => value, :source => self.source
182
+ )
183
+ end
184
+
185
+ tag(*param.value) if param.name == :tag
186
+
187
+ # And store it in our parameter hash.
188
+ @parameters[param.name] = param
189
+ end
190
+ alias []= set_parameter
191
+
192
+ def to_hash
193
+ @parameters.reduce({}) do |result, (_, param)|
194
+ value = param.value
195
+ value = (:undef == value) ? nil : value
196
+
197
+ unless value.nil?
198
+ case param.name
199
+ when :before, :subscribe, :notify, :require
200
+ if value.is_a?(Array)
201
+ value = value.flatten.reject {|v| v.nil? || :undef == v }
202
+ end
203
+ result[param.name] = value
204
+ else
205
+ result[param.name] = value
206
+ end
207
+ end
208
+ result
209
+ end
210
+ end
211
+
212
+ # Convert this resource to a RAL resource.
213
+ def to_ral
214
+ copy_as_resource.to_ral
215
+ end
216
+
217
+ # Answers if this resource is tagged with at least one of the tags given in downcased string form.
218
+ #
219
+ # The method is a faster variant of the tagged? method that does no conversion of its
220
+ # arguments.
221
+ #
222
+ # The match takes into account the tags that a resource will inherit from its container
223
+ # but have not been set yet.
224
+ # It does *not* take tags set via resource defaults as these will *never* be set on
225
+ # the resource itself since all resources always have tags that are automatically
226
+ # assigned.
227
+ #
228
+ # @param tag_array [Array[String]] list tags to look for
229
+ # @return [Boolean] true if this instance is tagged with at least one of the provided tags
230
+ #
231
+ def raw_tagged?(tag_array)
232
+ super || ((scope_resource = scope.resource) && !scope_resource.equal?(self) && scope_resource.raw_tagged?(tag_array))
233
+ end
234
+
235
+ # Fills resource params from a capability
236
+ #
237
+ # This backs 'consumes => Sql[one]'
238
+ # @api private
239
+ def add_parameters_from_consume
240
+ return if self[:consume].nil?
241
+
242
+ map = {}
243
+ [ self[:consume] ].flatten.map do |ref|
244
+ # Assert that the ref really is a resource reference
245
+ raise Puppet::Error, "Invalid consume in #{self.ref}: #{ref} is not a resource" unless ref.is_a?(Puppet::Resource)
246
+
247
+ # Resolve references
248
+ t = ref.type
249
+ t = Puppet::Pops::Evaluator::Runtime3ResourceSupport.find_resource_type(scope, t) unless t == 'class' || t == 'node'
250
+ cap = catalog.resource(t, ref.title)
251
+ if cap.nil?
252
+ raise "Resource #{ref} could not be found; it might not have been produced yet"
253
+ end
254
+
255
+ # Ensure that the found resource is a capability resource
256
+ raise Puppet::Error, "Invalid consume in #{ref}: #{cap} is not a capability resource" unless cap.resource_type.is_capability?
257
+ cap
258
+ end.each do |cns|
259
+ # Establish mappings
260
+ blueprint = resource_type.consumes.find do |bp|
261
+ bp[:capability] == cns.type
262
+ end
263
+ # @todo lutter 2015-08-03: catch this earlier, can we do this during
264
+ # static analysis ?
265
+ raise "Resource #{self} tries to consume #{cns} but no 'consumes' mapping exists for #{self.resource_type} and #{cns.type}" unless blueprint
266
+
267
+ # setup scope that has, for each attr of cns, a binding to cns[attr]
268
+ scope.with_global_scope do |global_scope|
269
+ cns_scope = global_scope.newscope(:source => self, :resource => self)
270
+ cns.to_hash.each { |name, value| cns_scope[name.to_s] = value }
271
+
272
+ # evaluate mappings in that scope
273
+ resource_type.arguments.keys.each do |name|
274
+ if expr = blueprint[:mappings][name]
275
+ # Explicit mapping
276
+ value = expr.safeevaluate(cns_scope)
277
+ else
278
+ value = cns[name]
279
+ end
280
+ unless value.nil?
281
+ # @todo lutter 2015-07-01: this should be caught by the checker
282
+ # much earlier. We consume several capres, at least two of which
283
+ # want to map to the same parameter (PUP-5080)
284
+ raise "Attempt to reassign attribute '#{name}' in '#{self}' caused by multiple consumed mappings to the same attribute" if map[name]
285
+ map[name] = value
286
+ end
287
+ end
288
+ end
289
+ end
290
+
291
+ map.each { |name, value| self[name] = value if self[name].nil? }
292
+ end
293
+
294
+ def offset
295
+ nil
296
+ end
297
+
298
+ def pos
299
+ nil
300
+ end
301
+
302
+ private
303
+
304
+ # Add default values from our definition.
305
+ def add_defaults
306
+ scope.lookupdefaults(self.type).each do |name, param|
307
+ unless @parameters.include?(name)
308
+ self.debug "Adding default for #{name}"
309
+
310
+ @parameters[name] = param.dup
311
+ end
312
+ end
313
+ end
314
+
315
+ def add_scope_tags
316
+ scope_resource = scope.resource
317
+ unless scope_resource.nil? || scope_resource.equal?(self)
318
+ merge_tags(scope_resource)
319
+ end
320
+ end
321
+
322
+ def replace_sensitive_data
323
+ parameters.each_pair do |name, param|
324
+ if param.value.is_a?(Puppet::Pops::Types::PSensitiveType::Sensitive)
325
+ @sensitive_parameters << name
326
+ param.value = param.value.unwrap
327
+ end
328
+ end
329
+ end
330
+
331
+ # Accept a parameter from an override.
332
+ def override_parameter(param)
333
+ # This can happen if the override is defining a new parameter, rather
334
+ # than replacing an existing one.
335
+ (set_parameter(param) and return) unless current = @parameters[param.name]
336
+
337
+ # The parameter is already set. Fail if they're not allowed to override it.
338
+ unless param.source.child_of?(current.source)
339
+ msg = "Parameter '#{param.name}' is already set on #{self}"
340
+ msg += " by #{current.source}" if current.source.to_s != ""
341
+ if current.file or current.line
342
+ fields = []
343
+ fields << current.file if current.file
344
+ fields << current.line.to_s if current.line
345
+ msg += " at #{fields.join(":")}"
346
+ end
347
+ msg += "; cannot redefine"
348
+ raise Puppet::ParseError.new(msg, param.file, param.line)
349
+ end
350
+
351
+ # If we've gotten this far, we're allowed to override.
352
+
353
+ # Merge with previous value, if the parameter was generated with the +>
354
+ # syntax. It's important that we use a copy of the new param instance
355
+ # here, not the old one, and not the original new one, so that the source
356
+ # is registered correctly for later overrides but the values aren't
357
+ # implicitly shared when multiple resources are overridden at once (see
358
+ # ticket #3556).
359
+ if param.add
360
+ param = param.dup
361
+ param.value = [current.value, param.value].flatten
362
+ end
363
+
364
+ set_parameter(param)
365
+ end
366
+
367
+ # Make sure the resource's parameters are all valid for the type.
368
+ def validate
369
+ if builtin_type?
370
+ begin
371
+ @parameters.each { |name, value| validate_parameter(name) }
372
+ rescue => detail
373
+ self.fail Puppet::ParseError, detail.to_s + " on #{self}", detail
374
+ end
375
+ else
376
+ resource_type.validate_resource(self)
377
+ end
378
+ end
379
+
380
+ def extract_parameters(params)
381
+ params.each do |param|
382
+ # Don't set the same parameter twice
383
+ self.fail Puppet::ParseError, "Duplicate parameter '#{param.name}' for on #{self}" if @parameters[param.name]
384
+
385
+ set_parameter(param)
386
+ end
387
+ end
388
+ end
@@ -0,0 +1,1138 @@
1
+
2
+ # The scope class, which handles storing and retrieving variables and types and
3
+ # such.
4
+ require 'forwardable'
5
+
6
+ require 'puppet/parser'
7
+ require 'puppet/parser/templatewrapper'
8
+
9
+ require 'puppet/util/methodhelper'
10
+
11
+ # This class is part of the internal parser/evaluator/compiler functionality of Puppet.
12
+ # It is passed between the various classes that participate in evaluation.
13
+ # None of its methods are API except those that are clearly marked as such.
14
+ #
15
+ # @api public
16
+ class Puppet::Parser::Scope
17
+ extend Forwardable
18
+ include Puppet::Util::MethodHelper
19
+
20
+ require 'puppet/parser/resource'
21
+
22
+ AST = Puppet::Parser::AST
23
+
24
+ # Variables that always exist with nil value even if not set
25
+ BUILT_IN_VARS = ['module_name'.freeze, 'caller_module_name'.freeze].freeze
26
+ EMPTY_HASH = {}.freeze
27
+
28
+ Puppet::Util.logmethods(self)
29
+
30
+ include Puppet::Util::Errors
31
+ attr_accessor :source, :resource
32
+ attr_accessor :compiler
33
+ attr_accessor :parent
34
+ attr_reader :namespaces
35
+
36
+ # Hash of hashes of default values per type name
37
+ attr_reader :defaults
38
+
39
+ # Add some alias methods that forward to the compiler, since we reference
40
+ # them frequently enough to justify the extra method call.
41
+ def_delegators :compiler, :catalog, :environment
42
+
43
+
44
+ # Abstract base class for LocalScope and MatchScope
45
+ #
46
+ class Ephemeral
47
+
48
+ attr_reader :parent
49
+
50
+ def initialize(parent = nil)
51
+ @parent = parent
52
+ end
53
+
54
+ def is_local_scope?
55
+ false
56
+ end
57
+
58
+ def [](name)
59
+ if @parent
60
+ @parent[name]
61
+ end
62
+ end
63
+
64
+ def include?(name)
65
+ (@parent and @parent.include?(name))
66
+ end
67
+
68
+ def bound?(name)
69
+ false
70
+ end
71
+
72
+ def add_entries_to(target = {})
73
+ @parent.add_entries_to(target) unless @parent.nil?
74
+ # do not include match data ($0-$n)
75
+ target
76
+ end
77
+ end
78
+
79
+ class LocalScope < Ephemeral
80
+
81
+ def initialize(parent=nil)
82
+ super parent
83
+ @symbols = {}
84
+ end
85
+
86
+ def [](name)
87
+ val = @symbols[name]
88
+ val.nil? && !@symbols.include?(name) ? super : val
89
+ end
90
+
91
+ def is_local_scope?
92
+ true
93
+ end
94
+
95
+ def []=(name, value)
96
+ @symbols[name] = value
97
+ end
98
+
99
+ def include?(name)
100
+ bound?(name) || super
101
+ end
102
+
103
+ def delete(name)
104
+ @symbols.delete(name)
105
+ end
106
+
107
+ def bound?(name)
108
+ @symbols.include?(name)
109
+ end
110
+
111
+ def add_entries_to(target = {})
112
+ super
113
+ @symbols.each do |k, v|
114
+ if v == :undef || v.nil?
115
+ target.delete(k)
116
+ else
117
+ target[ k ] = v
118
+ end
119
+ end
120
+ target
121
+ end
122
+ end
123
+
124
+ class MatchScope < Ephemeral
125
+
126
+ attr_accessor :match_data
127
+
128
+ def initialize(parent = nil, match_data = nil)
129
+ super parent
130
+ @match_data = match_data
131
+ end
132
+
133
+ def is_local_scope?
134
+ false
135
+ end
136
+
137
+ def [](name)
138
+ if bound?(name)
139
+ @match_data[name.to_i]
140
+ else
141
+ super
142
+ end
143
+ end
144
+
145
+ def include?(name)
146
+ bound?(name) or super
147
+ end
148
+
149
+ def bound?(name)
150
+ # A "match variables" scope reports all numeric variables to be bound if the scope has
151
+ # match_data. Without match data the scope is transparent.
152
+ #
153
+ @match_data && name =~ /^\d+$/
154
+ end
155
+
156
+ def []=(name, value)
157
+ # TODO: Bad choice of exception
158
+ raise Puppet::ParseError, "Numerical variables cannot be changed. Attempt to set $#{name}"
159
+ end
160
+
161
+ def delete(name)
162
+ # TODO: Bad choice of exception
163
+ raise Puppet::ParseError, "Numerical variables cannot be deleted: Attempt to delete: $#{name}"
164
+ end
165
+
166
+ def add_entries_to(target = {})
167
+ # do not include match data ($0-$n)
168
+ super
169
+ end
170
+
171
+ end
172
+
173
+ # @api private
174
+ class ParameterScope < Ephemeral
175
+ class Access
176
+ attr_accessor :value
177
+
178
+ def assigned?
179
+ instance_variable_defined?(:@value)
180
+ end
181
+ end
182
+
183
+ # A parameter default must be evaluated using a special scope. The scope that is given to this method must
184
+ # have a `ParameterScope` as its last ephemeral scope. This method will then push a `MatchScope` while the
185
+ # given `expression` is evaluated. The method will catch any throw of `:unevaluated_parameter` and produce
186
+ # an error saying that the evaluated parameter X tries to access the unevaluated parameter Y.
187
+ #
188
+ # @param name [String] the name of the currently evaluated parameter
189
+ # @param expression [Puppet::Parser::AST] the expression to evaluate
190
+ # @param scope [Puppet::Parser::Scope] a scope where a `ParameterScope` has been pushed
191
+ # @return [Object] the result of the evaluation
192
+ #
193
+ # @api private
194
+ def evaluate3x(name, expression, scope)
195
+ scope.with_guarded_scope do
196
+ bad = catch(:unevaluated_parameter) do
197
+ scope.new_match_scope(nil)
198
+ return as_read_only { expression.safeevaluate(scope) }
199
+ end
200
+ parameter_reference_failure(name, bad)
201
+ end
202
+ end
203
+
204
+ def evaluate(name, expression, scope, evaluator)
205
+ scope.with_guarded_scope do
206
+ bad = catch(:unevaluated_parameter) do
207
+ scope.new_match_scope(nil)
208
+ return as_read_only { evaluator.evaluate(expression, scope) }
209
+ end
210
+ parameter_reference_failure(name, bad)
211
+ end
212
+ end
213
+
214
+ def parameter_reference_failure(from, to)
215
+ # Parameters are evaluated in the order they have in the @params hash.
216
+ keys = @params.keys
217
+ raise Puppet::Error, "#{@callee_name}: expects a value for parameter $#{to}" if keys.index(to) < keys.index(from)
218
+ raise Puppet::Error, "#{@callee_name}: default expression for $#{from} tries to illegally access not yet evaluated $#{to}"
219
+ end
220
+ private :parameter_reference_failure
221
+
222
+ def initialize(parent, callee_name, param_names)
223
+ super(parent)
224
+ @callee_name = callee_name
225
+ @params = {}
226
+ param_names.each { |name| @params[name] = Access.new }
227
+ end
228
+
229
+ def [](name)
230
+ access = @params[name]
231
+ return super if access.nil?
232
+ throw(:unevaluated_parameter, name) unless access.assigned?
233
+ access.value
234
+ end
235
+
236
+ def []=(name, value)
237
+ raise Puppet::Error, "Attempt to assign variable #{name} when evaluating parameters" if @read_only
238
+ @params[name] ||= Access.new
239
+ @params[name].value = value
240
+ end
241
+
242
+ def bound?(name)
243
+ @params.include?(name)
244
+ end
245
+
246
+ def include?(name)
247
+ @params.include?(name) || super
248
+ end
249
+
250
+ def is_local_scope?
251
+ true
252
+ end
253
+
254
+ def as_read_only
255
+ read_only = @read_only
256
+ @read_only = true
257
+ begin
258
+ yield
259
+ ensure
260
+ @read_only = read_only
261
+ end
262
+ end
263
+
264
+ def to_hash
265
+ Hash[@params.select {|_, access| access.assigned? }.map { |name, access| [name, access.value] }]
266
+ end
267
+ end
268
+
269
+
270
+ # Returns true if the variable of the given name has a non nil value.
271
+ # TODO: This has vague semantics - does the variable exist or not?
272
+ # use ['name'] to get nil or value, and if nil check with exist?('name')
273
+ # this include? is only useful because of checking against the boolean value false.
274
+ #
275
+ def include?(name)
276
+ catch(:undefined_variable) {
277
+ return ! self[name].nil?
278
+ }
279
+ false
280
+ end
281
+
282
+ # Returns true if the variable of the given name is set to any value (including nil)
283
+ #
284
+ # @return [Boolean] if variable exists or not
285
+ #
286
+ def exist?(name)
287
+ # Note !! ensure the answer is boolean
288
+ !! if name =~ /^(.*)::(.+)$/
289
+ class_name = $1
290
+ variable_name = $2
291
+ return true if class_name == '' && BUILT_IN_VARS.include?(variable_name)
292
+
293
+ # lookup class, but do not care if it is not evaluated since that will result
294
+ # in it not existing anyway. (Tests may run with just scopes and no evaluated classes which
295
+ # will result in class_scope for "" not returning topscope).
296
+ klass = find_hostclass(class_name)
297
+ other_scope = klass.nil? ? nil : class_scope(klass)
298
+ if other_scope.nil?
299
+ class_name == '' ? compiler.topscope.exist?(variable_name) : false
300
+ else
301
+ other_scope.exist?(variable_name)
302
+ end
303
+ else
304
+ next_scope = inherited_scope || enclosing_scope
305
+ effective_symtable(true).include?(name) || next_scope && next_scope.exist?(name) || BUILT_IN_VARS.include?(name)
306
+ end
307
+ end
308
+
309
+ # Returns true if the given name is bound in the current (most nested) scope for assignments.
310
+ #
311
+ def bound?(name)
312
+ # Do not look in ephemeral (match scope), the semantics is to answer if an assignable variable is bound
313
+ effective_symtable(false).bound?(name)
314
+ end
315
+
316
+ # Is the value true? This allows us to control the definition of truth
317
+ # in one place.
318
+ def self.true?(value)
319
+ case value
320
+ when ''
321
+ false
322
+ when :undef
323
+ false
324
+ else
325
+ !!value
326
+ end
327
+ end
328
+
329
+ # Coerce value to a number, or return `nil` if it isn't one.
330
+ def self.number?(value)
331
+ case value
332
+ when Numeric
333
+ value
334
+ when /^-?\d+(:?\.\d+|(:?\.\d+)?e\d+)$/
335
+ value.to_f
336
+ when /^0x[0-9a-f]+$/i
337
+ value.to_i(16)
338
+ when /^0[0-7]+$/
339
+ value.to_i(8)
340
+ when /^-?\d+$/
341
+ value.to_i
342
+ else
343
+ nil
344
+ end
345
+ end
346
+
347
+ def find_hostclass(name)
348
+ environment.known_resource_types.find_hostclass(name)
349
+ end
350
+
351
+ def find_definition(name)
352
+ environment.known_resource_types.find_definition(name)
353
+ end
354
+
355
+ def find_global_scope()
356
+ # walk upwards until first found node_scope or top_scope
357
+ if is_nodescope? || is_topscope?
358
+ self
359
+ else
360
+ next_scope = inherited_scope || enclosing_scope
361
+ if next_scope.nil?
362
+ # this happens when testing, and there is only a single test scope and no link to any
363
+ # other scopes
364
+ self
365
+ else
366
+ next_scope.find_global_scope()
367
+ end
368
+ end
369
+ end
370
+
371
+ # This just delegates directly.
372
+ def_delegator :compiler, :findresource
373
+
374
+ # Initialize our new scope. Defaults to having no parent.
375
+ def initialize(compiler, options = {})
376
+ if compiler.is_a? Puppet::Parser::Compiler
377
+ self.compiler = compiler
378
+ else
379
+ raise Puppet::DevError, "you must pass a compiler instance to a new scope object"
380
+ end
381
+
382
+ if n = options.delete(:namespace)
383
+ @namespaces = [n.freeze].freeze
384
+ else
385
+ @namespaces = ["".freeze].freeze
386
+ end
387
+
388
+ raise Puppet::DevError, "compiler passed in options" if options.include? :compiler
389
+ set_options(options)
390
+
391
+ extend_with_functions_module
392
+
393
+ # The symbol table for this scope. This is where we store variables.
394
+ # @symtable = Ephemeral.new(nil, true)
395
+ @symtable = LocalScope.new(nil)
396
+
397
+ @ephemeral = [ MatchScope.new(@symtable, nil) ]
398
+
399
+ # All of the defaults set for types. It's a hash of hashes,
400
+ # with the first key being the type, then the second key being
401
+ # the parameter.
402
+ @defaults = Hash.new { |dhash,type|
403
+ dhash[type] = {}
404
+ }
405
+
406
+ # The table for storing class singletons. This will only actually
407
+ # be used by top scopes and node scopes.
408
+ @class_scopes = {}
409
+ end
410
+
411
+ # Store the fact that we've evaluated a class, and store a reference to
412
+ # the scope in which it was evaluated, so that we can look it up later.
413
+ def class_set(name, scope)
414
+ if parent
415
+ parent.class_set(name, scope)
416
+ else
417
+ @class_scopes[name] = scope
418
+ end
419
+ end
420
+
421
+ # Return the scope associated with a class. This is just here so
422
+ # that subclasses can set their parent scopes to be the scope of
423
+ # their parent class, and it's also used when looking up qualified
424
+ # variables.
425
+ def class_scope(klass)
426
+ # They might pass in either the class or class name
427
+ k = klass.respond_to?(:name) ? klass.name : klass
428
+ @class_scopes[k] || (parent && parent.class_scope(k))
429
+ end
430
+
431
+ # Collect all of the defaults set at any higher scopes.
432
+ # This is a different type of lookup because it's
433
+ # additive -- it collects all of the defaults, with defaults
434
+ # in closer scopes overriding those in later scopes.
435
+ #
436
+ # The lookupdefaults searches in the the order:
437
+ #
438
+ # * inherited
439
+ # * contained (recursive)
440
+ # * self
441
+ #
442
+ def lookupdefaults(type)
443
+ values = {}
444
+
445
+ # first collect the values from the parents
446
+ if parent
447
+ parent.lookupdefaults(type).each { |var,value|
448
+ values[var] = value
449
+ }
450
+ end
451
+
452
+ # then override them with any current values
453
+ # this should probably be done differently
454
+ if @defaults.include?(type)
455
+ @defaults[type].each { |var,value|
456
+ values[var] = value
457
+ }
458
+ end
459
+
460
+ values
461
+ end
462
+
463
+ # Look up a defined type.
464
+ def lookuptype(name)
465
+ # This happens a lot, avoid making a call to make a call
466
+ krt = environment.known_resource_types
467
+ krt.find_definition(name) || krt.find_hostclass(name)
468
+ end
469
+
470
+ def undef_as(x,v)
471
+ if v.nil? or v == :undef
472
+ x
473
+ else
474
+ v
475
+ end
476
+ end
477
+
478
+ # Lookup a variable within this scope using the Puppet language's
479
+ # scoping rules. Variables can be qualified using just as in a
480
+ # manifest.
481
+ #
482
+ # @param [String] name the variable name to lookup
483
+ #
484
+ # @return Object the value of the variable, or if not found; nil if `strict_variables` is false, and thrown :undefined_variable otherwise
485
+ #
486
+ # @api public
487
+ def lookupvar(name, options = EMPTY_HASH)
488
+ unless name.is_a? String
489
+ raise Puppet::ParseError, "Scope variable name #{name.inspect} is a #{name.class}, not a string"
490
+ end
491
+
492
+ if name =~ /^(.*)::(.+)$/
493
+ return lookup_qualified_variable($1, $2, options)
494
+ end
495
+
496
+ table = @ephemeral.last
497
+ val = table[name]
498
+ return val unless val.nil? && !table.include?(name)
499
+
500
+ next_scope = inherited_scope || enclosing_scope
501
+ if next_scope
502
+ next_scope.lookupvar(name, options)
503
+ else
504
+ variable_not_found(name)
505
+ end
506
+ end
507
+
508
+ UNDEFINED_VARIABLES_KIND = 'undefined_variables'.freeze
509
+ DEPRECATION_KIND = 'deprecation'.freeze
510
+
511
+ # The exception raised when a throw is uncaught is different in different versions
512
+ # of ruby. In >=2.2.0 it is UncaughtThrowError (which did not exist prior to this)
513
+ #
514
+ UNCAUGHT_THROW_EXCEPTION = defined?(UncaughtThrowError) ? UncaughtThrowError : ArgumentError
515
+
516
+ def variable_not_found(name, reason=nil)
517
+ # Built in variables and numeric variables always exist
518
+ if BUILT_IN_VARS.include?(name) || name =~ Puppet::Pops::Patterns::NUMERIC_VAR_NAME
519
+ return nil
520
+ end
521
+ begin
522
+ throw(:undefined_variable, reason)
523
+ rescue UNCAUGHT_THROW_EXCEPTION
524
+ case Puppet[:strict]
525
+ when :off
526
+ # do nothing
527
+ when :warning
528
+ Puppet.warn_once(UNDEFINED_VARIABLES_KIND, "Variable: #{name}",
529
+ "Undefined variable '#{name}'; #{reason}" )
530
+ when :error
531
+ raise ArgumentError, "Undefined variable '#{name}'; #{reason}"
532
+ end
533
+ end
534
+ nil
535
+ end
536
+
537
+ # Retrieves the variable value assigned to the name given as an argument. The name must be a String,
538
+ # and namespace can be qualified with '::'. The value is looked up in this scope, its parent scopes,
539
+ # or in a specific visible named scope.
540
+ #
541
+ # @param varname [String] the name of the variable (may be a qualified name using `(ns'::')*varname`
542
+ # @param options [Hash] Additional options, not part of api.
543
+ # @return [Object] the value assigned to the given varname
544
+ # @see #[]=
545
+ # @api public
546
+ #
547
+ def [](varname, options={})
548
+ lookupvar(varname, options)
549
+ end
550
+
551
+ # The scope of the inherited thing of this scope's resource. This could
552
+ # either be a node that was inherited or the class.
553
+ #
554
+ # @return [Puppet::Parser::Scope] The scope or nil if there is not an inherited scope
555
+ def inherited_scope
556
+ if has_inherited_class?
557
+ qualified_scope(resource.resource_type.parent)
558
+ else
559
+ nil
560
+ end
561
+ end
562
+
563
+ # The enclosing scope (topscope or nodescope) of this scope.
564
+ # The enclosing scopes are produced when a class or define is included at
565
+ # some point. The parent scope of the included class or define becomes the
566
+ # scope in which it was included. The chain of parent scopes is followed
567
+ # until a node scope or the topscope is found
568
+ #
569
+ # @return [Puppet::Parser::Scope] The scope or nil if there is no enclosing scope
570
+ def enclosing_scope
571
+ if has_enclosing_scope?
572
+ if parent.is_topscope? or parent.is_nodescope?
573
+ parent
574
+ else
575
+ parent.enclosing_scope
576
+ end
577
+ else
578
+ nil
579
+ end
580
+ end
581
+
582
+ def is_classscope?
583
+ resource and resource.type == "Class"
584
+ end
585
+
586
+ def is_nodescope?
587
+ resource and resource.type == "Node"
588
+ end
589
+
590
+ def is_topscope?
591
+ @compiler && equal?(@compiler.topscope)
592
+ end
593
+
594
+ def lookup_qualified_variable(class_name, variable_name, position)
595
+ begin
596
+ if lookup_as_local_name?(class_name, variable_name)
597
+ if is_topscope?
598
+ # This is the case where $::x is looked up from within the topscope itself, or from a local scope
599
+ # parented at the top scope. In this case, the lookup must ignore local and ephemeral scopes.
600
+ #
601
+ handle_not_found(class_name, variable_name, position) unless @symtable.include?(variable_name)
602
+ @symtable[variable_name]
603
+ else
604
+ self[variable_name]
605
+ end
606
+ else
607
+ qualified_scope(class_name).lookupvar(variable_name, position)
608
+ end
609
+ rescue RuntimeError => e
610
+ handle_not_found(class_name, variable_name, position, e.message)
611
+ end
612
+ end
613
+
614
+ def handle_not_found(class_name, variable_name, position, reason = nil)
615
+ unless Puppet[:strict_variables]
616
+ # Do not issue warning if strict variables are on, as an error will be raised by variable_not_found
617
+ location = if position[:lineproc]
618
+ " at #{position[:lineproc].call}"
619
+ elsif position[:file] && position[:line]
620
+ " at #{position[:file]}:#{position[:line]}"
621
+ else
622
+ ""
623
+ end
624
+ variable_not_found("#{class_name}::#{variable_name}", "#{reason}#{location}")
625
+ return nil
626
+ end
627
+ variable_not_found("#{class_name}::#{variable_name}", reason)
628
+ end
629
+
630
+ # Handles the special case of looking up fully qualified variable in not yet evaluated top scope
631
+ # This is ok if the lookup request originated in topscope (this happens when evaluating
632
+ # bindings; using the top scope to provide the values for facts.
633
+ # @param class_name [String] the classname part of a variable name, may be special ""
634
+ # @param variable_name [String] the variable name without the absolute leading '::'
635
+ # @return [Boolean] true if the given variable name should be looked up directly in this scope
636
+ #
637
+ def lookup_as_local_name?(class_name, variable_name)
638
+ # not a local if name has more than one segment
639
+ return nil if variable_name =~ /::/
640
+ # partial only if the class for "" cannot be found
641
+ return nil unless class_name == "" && klass = find_hostclass(class_name) && class_scope(klass).nil?
642
+ is_topscope?
643
+ end
644
+
645
+ def has_inherited_class?
646
+ is_classscope? and resource.resource_type.parent
647
+ end
648
+ private :has_inherited_class?
649
+
650
+ def has_enclosing_scope?
651
+ not parent.nil?
652
+ end
653
+ private :has_enclosing_scope?
654
+
655
+ def qualified_scope(classname)
656
+ raise "class #{classname} could not be found" unless klass = find_hostclass(classname)
657
+ raise "class #{classname} has not been evaluated" unless kscope = class_scope(klass)
658
+ kscope
659
+ end
660
+ private :qualified_scope
661
+
662
+ # Returns a Hash containing all variables and their values, optionally (and
663
+ # by default) including the values defined in parent. Local values
664
+ # shadow parent values. Ephemeral scopes for match results ($0 - $n) are not included.
665
+ #
666
+ def to_hash(recursive = true)
667
+ if recursive and has_enclosing_scope?
668
+ target = enclosing_scope.to_hash(recursive)
669
+ if !(inherited = inherited_scope).nil?
670
+ target.merge!(inherited.to_hash(recursive))
671
+ end
672
+ else
673
+ target = Hash.new
674
+ end
675
+
676
+ # add all local scopes
677
+ @ephemeral.last.add_entries_to(target)
678
+ target
679
+ end
680
+
681
+ def namespaces
682
+ @namespaces
683
+ end
684
+
685
+ # Create a new scope and set these options.
686
+ def newscope(options = {})
687
+ compiler.newscope(self, options)
688
+ end
689
+
690
+ def parent_module_name
691
+ return nil unless @parent
692
+ return nil unless @parent.source
693
+ @parent.source.module_name
694
+ end
695
+
696
+ # Set defaults for a type. The typename should already be downcased,
697
+ # so that the syntax is isolated. We don't do any kind of type-checking
698
+ # here; instead we let the resource do it when the defaults are used.
699
+ def define_settings(type, params)
700
+ table = @defaults[type]
701
+
702
+ # if we got a single param, it'll be in its own array
703
+ params = [params] unless params.is_a?(Array)
704
+
705
+ params.each { |param|
706
+ if table.include?(param.name)
707
+ raise Puppet::ParseError.new("Default already defined for #{type} { #{param.name} }; cannot redefine", param.file, param.line)
708
+ end
709
+ table[param.name] = param
710
+ }
711
+ end
712
+
713
+ # Merge all settings for the given _env_name_ into this scope
714
+ # @param env_name [Symbol] the name of the environment
715
+ def merge_settings(env_name)
716
+ settings = Puppet.settings
717
+ table = effective_symtable(false)
718
+ settings.each_key do |name|
719
+ next if :name == name
720
+ table[name.to_s] = transform_setting(settings.value_sym(name, env_name))
721
+ end
722
+ nil
723
+ end
724
+
725
+ def transform_setting(val)
726
+ if val.is_a?(String) || val.is_a?(Numeric) || true == val || false == val || nil == val
727
+ val
728
+ elsif val.is_a?(Array)
729
+ val.map {|entry| transform_setting(entry) }
730
+ elsif val.is_a?(Hash)
731
+ result = {}
732
+ val.each {|k,v| result[transform_setting(k)] = transform_setting(v) }
733
+ result
734
+ else
735
+ # not ideal, but required as there are settings values that are special
736
+ :undef == val ? nil : val.to_s
737
+ end
738
+ end
739
+ private :transform_setting
740
+
741
+ VARNAME_TRUSTED = 'trusted'.freeze
742
+ VARNAME_FACTS = 'facts'.freeze
743
+ VARNAME_SERVER_FACTS = 'server_facts'.freeze
744
+ RESERVED_VARIABLE_NAMES = [VARNAME_TRUSTED, VARNAME_FACTS].freeze
745
+
746
+ # Set a variable in the current scope. This will override settings
747
+ # in scopes above, but will not allow variables in the current scope
748
+ # to be reassigned.
749
+ # It's preferred that you use self[]= instead of this; only use this
750
+ # when you need to set options.
751
+ def setvar(name, value, options = EMPTY_HASH)
752
+ if name =~ /^[0-9]+$/
753
+ raise Puppet::ParseError.new("Cannot assign to a numeric match result variable '$#{name}'") # unless options[:ephemeral]
754
+ end
755
+ unless name.is_a? String
756
+ raise Puppet::ParseError, "Scope variable name #{name.inspect} is a #{name.class}, not a string"
757
+ end
758
+
759
+ # Check for reserved variable names
760
+ if (name == VARNAME_TRUSTED || name == VARNAME_FACTS) && !options[:privileged]
761
+ raise Puppet::ParseError, "Attempt to assign to a reserved variable name: '#{name}'"
762
+ end
763
+
764
+ # Check for server_facts reserved variable name if the trusted_sever_facts setting is true
765
+ if name == VARNAME_SERVER_FACTS && !options[:privileged] && Puppet[:trusted_server_facts]
766
+ raise Puppet::ParseError, "Attempt to assign to a reserved variable name: '#{name}'"
767
+ end
768
+
769
+ table = effective_symtable(options[:ephemeral])
770
+ if table.bound?(name)
771
+ if options[:append]
772
+ error = Puppet::ParseError.new("Cannot append, variable '$#{name}' is defined in this scope")
773
+ else
774
+ error = Puppet::ParseError.new("Cannot reassign variable '$#{name}'")
775
+ end
776
+ error.file = options[:file] if options[:file]
777
+ error.line = options[:line] if options[:line]
778
+ raise error
779
+ end
780
+
781
+ if options[:append]
782
+ # produced result (value) is the resulting appended value, note: the table[]= does not return the value
783
+ table[name] = (value = append_value(undef_as('', self[name]), value))
784
+ else
785
+ table[name] = value
786
+ end
787
+ value
788
+ end
789
+
790
+ def set_trusted(hash)
791
+ setvar('trusted', deep_freeze(hash), :privileged => true)
792
+ end
793
+
794
+ def set_facts(hash)
795
+ setvar('facts', deep_freeze(hash), :privileged => true)
796
+ end
797
+
798
+ def set_server_facts(hash)
799
+ setvar('server_facts', deep_freeze(hash), :privileged => true)
800
+ end
801
+
802
+ # Deeply freezes the given object. The object and its content must be of the types:
803
+ # Array, Hash, Numeric, Boolean, Symbol, Regexp, NilClass, or String. All other types raises an Error.
804
+ # (i.e. if they are assignable to Puppet::Pops::Types::Data type).
805
+ #
806
+ def deep_freeze(object)
807
+ case object
808
+ when Array
809
+ object.each {|v| deep_freeze(v) }
810
+ object.freeze
811
+ when Hash
812
+ object.each {|k, v| deep_freeze(k); deep_freeze(v) }
813
+ object.freeze
814
+ when NilClass, Numeric, TrueClass, FalseClass
815
+ # do nothing
816
+ when String
817
+ object.freeze
818
+ else
819
+ raise Puppet::Error, "Unsupported data type: '#{object.class}'"
820
+ end
821
+ object
822
+ end
823
+ private :deep_freeze
824
+
825
+ # Return the effective "table" for setting variables.
826
+ # This method returns the first ephemeral "table" that acts as a local scope, or this
827
+ # scope's symtable. If the parameter `use_ephemeral` is true, the "top most" ephemeral "table"
828
+ # will be returned (irrespective of it being a match scope or a local scope).
829
+ #
830
+ # @param use_ephemeral [Boolean] whether the top most ephemeral (of any kind) should be used or not
831
+ def effective_symtable(use_ephemeral)
832
+ s = @ephemeral[-1]
833
+ return s || @symtable if use_ephemeral
834
+
835
+ while s && !s.is_local_scope?()
836
+ s = s.parent
837
+ end
838
+ s || @symtable
839
+ end
840
+
841
+ # Sets the variable value of the name given as an argument to the given value. The value is
842
+ # set in the current scope and may shadow a variable with the same name in a visible outer scope.
843
+ # It is illegal to re-assign a variable in the same scope. It is illegal to set a variable in some other
844
+ # scope/namespace than the scope passed to a method.
845
+ #
846
+ # @param varname [String] The variable name to which the value is assigned. Must not contain `::`
847
+ # @param value [String] The value to assign to the given variable name.
848
+ # @param options [Hash] Additional options, not part of api and no longer used.
849
+ #
850
+ # @api public
851
+ #
852
+ def []=(varname, value, _ = nil)
853
+ setvar(varname, value)
854
+ end
855
+
856
+ def append_value(bound_value, new_value)
857
+ case new_value
858
+ when Array
859
+ bound_value + new_value
860
+ when Hash
861
+ bound_value.merge(new_value)
862
+ else
863
+ if bound_value.is_a?(Hash)
864
+ raise ArgumentError, "Trying to append to a hash with something which is not a hash is unsupported"
865
+ end
866
+ bound_value + new_value
867
+ end
868
+ end
869
+ private :append_value
870
+
871
+ # Return the tags associated with this scope.
872
+ def_delegator :resource, :tags
873
+
874
+ # Used mainly for logging
875
+ def to_s
876
+ "Scope(#{@resource})"
877
+ end
878
+
879
+ alias_method :inspect, :to_s
880
+
881
+ # Pop ephemeral scopes up to level and return them
882
+ #
883
+ # @deprecated use #pop_epehemeral
884
+ # @api private
885
+ def unset_ephemeral_var(level=:all)
886
+ Puppet.deprecation_warning('Method Parser::Scope#unset_ephemeral_var() is deprecated')
887
+ if level == :all
888
+ @ephemeral = [ MatchScope.new(@symtable, nil)]
889
+ else
890
+ @ephemeral.pop(@ephemeral.size - level)
891
+ end
892
+ end
893
+
894
+ # Pop ephemeral scopes up to level and return them
895
+ #
896
+ # @param level [Fixnum] a positive integer
897
+ # @return [Array] the removed ephemeral scopes
898
+ # @api private
899
+ def pop_ephemerals(level)
900
+ @ephemeral.pop(@ephemeral.size - level)
901
+ end
902
+
903
+ # Push ephemeral scopes onto the ephemeral scope stack
904
+ # @param ephemeral_scopes [Array]
905
+ # @api private
906
+ def push_ephemerals(ephemeral_scopes)
907
+ ephemeral_scopes.each { |ephemeral_scope| @ephemeral.push(ephemeral_scope) } unless ephemeral_scopes.nil?
908
+ end
909
+
910
+ def ephemeral_level
911
+ @ephemeral.size
912
+ end
913
+
914
+ # TODO: Who calls this?
915
+ def new_ephemeral(local_scope = false)
916
+ if local_scope
917
+ @ephemeral.push(LocalScope.new(@ephemeral.last))
918
+ else
919
+ @ephemeral.push(MatchScope.new(@ephemeral.last, nil))
920
+ end
921
+ end
922
+
923
+ # Execute given block in global scope with no ephemerals present
924
+ #
925
+ # @yieldparam [Scope] global_scope the global and ephemeral less scope
926
+ # @return [Object] the return of the block
927
+ #
928
+ # @api private
929
+ def with_global_scope(&block)
930
+ find_global_scope.without_ephemeral_scopes(&block)
931
+ end
932
+
933
+ # Execute given block with a ephemeral scope containing the given variables
934
+ # @api private
935
+ def with_local_scope(scope_variables)
936
+ local = LocalScope.new(@ephemeral.last)
937
+ scope_variables.each_pair { |k, v| local[k] = v }
938
+ @ephemeral.push(local)
939
+ begin
940
+ yield(self)
941
+ ensure
942
+ @ephemeral.pop
943
+ end
944
+ end
945
+
946
+ # Execute given block with all ephemeral popped from the ephemeral stack
947
+ #
948
+ # @api private
949
+ def without_ephemeral_scopes
950
+ save_ephemeral = @ephemeral
951
+ begin
952
+ @ephemeral = [ @symtable ]
953
+ yield(self)
954
+ ensure
955
+ @ephemeral = save_ephemeral
956
+ end
957
+ end
958
+
959
+ # Nests a parameter scope
960
+ # @param [String] callee_name the name of the function, template, or resource that defines the parameters
961
+ # @param [Array<String>] param_names list of parameter names
962
+ # @yieldparam [ParameterScope] param_scope the nested scope
963
+ # @api private
964
+ def with_parameter_scope(callee_name, param_names)
965
+ param_scope = ParameterScope.new(@ephemeral.last, callee_name, param_names)
966
+ with_guarded_scope do
967
+ @ephemeral.push(param_scope)
968
+ yield(param_scope)
969
+ end
970
+ end
971
+
972
+ # Execute given block and ensure that ephemeral level is restored
973
+ #
974
+ # @return [Object] the return of the block
975
+ #
976
+ # @api private
977
+ def with_guarded_scope
978
+ elevel = ephemeral_level
979
+ begin
980
+ yield
981
+ ensure
982
+ pop_ephemerals(elevel)
983
+ end
984
+ end
985
+
986
+ # Sets match data in the most nested scope (which always is a MatchScope), it clobbers match data already set there
987
+ #
988
+ def set_match_data(match_data)
989
+ @ephemeral.last.match_data = match_data
990
+ end
991
+
992
+ # Nests a match data scope
993
+ def new_match_scope(match_data)
994
+ @ephemeral.push(MatchScope.new(@ephemeral.last, match_data))
995
+ end
996
+
997
+ def ephemeral_from(match, file = nil, line = nil)
998
+ case match
999
+ when Hash
1000
+ # Create local scope ephemeral and set all values from hash
1001
+ new_ephemeral(true)
1002
+ match.each {|k,v| setvar(k, v, :file => file, :line => line, :ephemeral => true) }
1003
+ # Must always have an inner match data scope (that starts out as transparent)
1004
+ # In 3x slightly wasteful, since a new nested scope is created for a match
1005
+ # (TODO: Fix that problem)
1006
+ new_ephemeral(false)
1007
+ else
1008
+ raise(ArgumentError,"Invalid regex match data. Got a #{match.class}") unless match.is_a?(MatchData)
1009
+ # Create a match ephemeral and set values from match data
1010
+ new_match_scope(match)
1011
+ end
1012
+ end
1013
+
1014
+ # @api private
1015
+ def find_resource_type(type)
1016
+ raise Puppet::DevError, "Scope#find_resource_type() is no longer supported, use Puppet::Pops::Evaluator::Runtime3ResourceSupport instead"
1017
+ end
1018
+
1019
+ # @api private
1020
+ def find_builtin_resource_type(type)
1021
+ raise Puppet::DevError, "Scope#find_builtin_resource_type() is no longer supported, use Puppet::Pops::Evaluator::Runtime3ResourceSupport instead"
1022
+ end
1023
+
1024
+ # @api private
1025
+ def find_defined_resource_type(type)
1026
+ raise Puppet::DevError, "Scope#find_defined_resource_type() is no longer supported, use Puppet::Pops::Evaluator::Runtime3ResourceSupport instead"
1027
+ end
1028
+
1029
+
1030
+ def method_missing(method, *args, &block)
1031
+ method.to_s =~ /^function_(.*)$/
1032
+ name = $1
1033
+ super unless name
1034
+ super unless Puppet::Parser::Functions.function(name)
1035
+ # In odd circumstances, this might not end up defined by the previous
1036
+ # method, so we might as well be certain.
1037
+ if respond_to? method
1038
+ send(method, *args)
1039
+ else
1040
+ raise Puppet::DevError, "Function #{name} not defined despite being loaded!"
1041
+ end
1042
+ end
1043
+
1044
+ # Called from two places:
1045
+ # runtime3support when creating resources
1046
+ # ast::resource - used by create resources ?
1047
+ # @api private
1048
+ def resolve_type_and_titles(type, titles)
1049
+ raise Puppet::DevError, "Scope#resolve_type_and_title() is no longer supported, use Puppet::Pops::Evaluator::Runtime3ResourceSupport instead"
1050
+
1051
+ # Puppet.deprecation_warning('Scope#resolve_type_and_titles is deprecated.')
1052
+ #
1053
+ # raise ArgumentError, "titles must be an array" unless titles.is_a?(Array)
1054
+ #
1055
+ # case type.downcase
1056
+ # when "class"
1057
+ # # resolve the titles
1058
+ # titles = titles.collect do |a_title|
1059
+ # hostclass = find_hostclass(a_title)
1060
+ # hostclass ? hostclass.name : a_title
1061
+ # end
1062
+ # when "node"
1063
+ # # no-op
1064
+ # else
1065
+ # # resolve the type
1066
+ # resource_type = find_resource_type(type)
1067
+ # type = resource_type.name if resource_type
1068
+ # end
1069
+ #
1070
+ # return [type, titles]
1071
+ end
1072
+
1073
+ # Transforms references to classes to the form suitable for
1074
+ # lookup in the compiler.
1075
+ #
1076
+ # Makes names passed in the names array absolute if they are relative.
1077
+ #
1078
+ # Transforms Class[] and Resource[] type references to class name
1079
+ # or raises an error if a Class[] is unspecific, if a Resource is not
1080
+ # a 'class' resource, or if unspecific (no title).
1081
+ #
1082
+ #
1083
+ # @param names [Array<String>] names to (optionally) make absolute
1084
+ # @return [Array<String>] names after transformation
1085
+ #
1086
+ def transform_and_assert_classnames(names)
1087
+ names.map do |name|
1088
+ case name
1089
+ when String
1090
+ name.sub(/^([^:]{1,2})/, '::\1')
1091
+
1092
+ when Puppet::Resource
1093
+ assert_class_and_title(name.type, name.title)
1094
+ name.title.sub(/^([^:]{1,2})/, '::\1')
1095
+
1096
+ when Puppet::Pops::Types::PHostClassType
1097
+ raise ArgumentError, "Cannot use an unspecific Class[] Type" unless name.class_name
1098
+ name.class_name.sub(/^([^:]{1,2})/, '::\1')
1099
+
1100
+ when Puppet::Pops::Types::PResourceType
1101
+ assert_class_and_title(name.type_name, name.title)
1102
+ name.title.sub(/^([^:]{1,2})/, '::\1')
1103
+ end.downcase
1104
+ end
1105
+ end
1106
+
1107
+ # Calls a 3.x or 4.x function by name with arguments given in an array using the 4.x calling convention
1108
+ # and returns the result.
1109
+ # Note that it is the caller's responsibility to rescue the given ArgumentError and provide location information
1110
+ # to aid the user find the problem. The problem is otherwise reported against the source location that
1111
+ # invoked the function that ultimately called this method.
1112
+ #
1113
+ # @return [Object] the result of the called function
1114
+ # @raise ArgumentError if the function does not exist
1115
+ def call_function(func_name, args, &block)
1116
+ Puppet::Pops::Parser::EvaluatingParser.new.evaluator.external_call_function(func_name, args, self, &block)
1117
+ end
1118
+
1119
+ private
1120
+
1121
+ def assert_class_and_title(type_name, title)
1122
+ if type_name.nil? || type_name == ''
1123
+ raise ArgumentError, "Cannot use an unspecific Resource[] where a Resource['class', name] is expected"
1124
+ end
1125
+ unless type_name =~ /^[Cc]lass$/
1126
+ raise ArgumentError, "Cannot use a Resource[#{type_name}] where a Resource['class', name] is expected"
1127
+ end
1128
+ if title.nil?
1129
+ raise ArgumentError, "Cannot use an unspecific Resource['class'] where a Resource['class', name] is expected"
1130
+ end
1131
+ end
1132
+
1133
+ def extend_with_functions_module
1134
+ root = Puppet.lookup(:root_environment)
1135
+ extend Puppet::Parser::Functions.environment_module(root)
1136
+ extend Puppet::Parser::Functions.environment_module(environment) if environment != root
1137
+ end
1138
+ end