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.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/.gitlab-ci.yml +8 -8
- data/.overcommit.yml +4 -4
- data/.rubocop_todo.yml +4 -4
- data/CHANGELOG.md +14 -0
- data/Gemfile +2 -1
- data/Gemfile.lock +5 -10
- data/README.md +7 -69
- data/lib/retrospec-puppet.rb +3 -1
- data/lib/retrospec/plugins/v1/plugin/generators/serializers/rspec_dumper.rb +86 -36
- data/lib/retrospec/plugins/v1/plugin/generators/task_generator.rb +17 -19
- data/lib/retrospec/plugins/v1/plugin/helpers.rb +6 -0
- data/lib/retrospec/plugins/v1/plugin/puppet.rb +86 -16
- data/lib/retrospec/plugins/v1/plugin/spec_object.rb +34 -16
- data/lib/retrospec/plugins/v1/plugin/template_helpers.rb +12 -6
- data/lib/retrospec/plugins/v1/plugin/version.rb +1 -1
- data/puppet-retrospec.gemspec +1 -1
- data/spec/fixtures/fixture_modules/one_resource_module/manifests/array_param.pp +15 -0
- data/spec/fixtures/parameters.txt +9 -9
- data/spec/integration/retrospec_spec.rb +26 -6
- data/spec/unit/generators/acceptance_generator_spec.rb +3 -2
- data/spec/unit/generators/definition_generator_spec.rb +3 -3
- data/spec/unit/generators/hostclass_generator_spec.rb +9 -1
- data/spec/unit/generators/provider_generator_spec.rb +3 -3
- data/spec/unit/generators/resource_base_generator_spec.rb +1 -0
- data/spec/unit/generators/serializers/rspec_dumper_spec.rb +2 -2
- data/spec/unit/generators/task_generator_spec.rb +46 -0
- data/vendor/pup410/lib/hiera/puppet_function.rb +81 -0
- data/vendor/pup410/lib/hiera/scope.rb +61 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/hiera_puppet.rb +0 -0
- data/vendor/pup410/lib/puppet.rb +353 -0
- data/vendor/pup410/lib/puppet/agent.rb +102 -0
- data/vendor/pup410/lib/puppet/application.rb +478 -0
- data/vendor/pup410/lib/puppet/application_support.rb +57 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/bindings.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/coercion.rb +0 -0
- data/vendor/pup410/lib/puppet/compilable_resource_type.rb +15 -0
- data/vendor/pup410/lib/puppet/configurer.rb +446 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/configurer/downloader.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/configurer/downloader_factory.rb +0 -0
- data/vendor/pup410/lib/puppet/configurer/fact_handler.rb +37 -0
- data/vendor/pup410/lib/puppet/configurer/plugin_handler.rb +25 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/confine.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/confine/any.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/confine/exists.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/confine/false.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/confine/feature.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/confine/true.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/confine/variable.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/confine_collection.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/confiner.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/context.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/context/trusted_information.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/daemon.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/data_binding.rb +0 -0
- data/vendor/pup410/lib/puppet/data_providers.rb +34 -0
- data/vendor/pup410/lib/puppet/data_providers/data_adapter.rb +37 -0
- data/vendor/pup410/lib/puppet/data_providers/data_function_support.rb +32 -0
- data/vendor/pup410/lib/puppet/data_providers/function_env_data_provider.rb +26 -0
- data/vendor/pup410/lib/puppet/data_providers/function_module_data_provider.rb +24 -0
- data/vendor/pup410/lib/puppet/data_providers/hiera_config.rb +151 -0
- data/vendor/pup410/lib/puppet/data_providers/hiera_env_data_provider.rb +25 -0
- data/vendor/pup410/lib/puppet/data_providers/hiera_interpolate.rb +21 -0
- data/vendor/pup410/lib/puppet/data_providers/hiera_module_data_provider.rb +30 -0
- data/vendor/pup410/lib/puppet/data_providers/hiera_support.rb +42 -0
- data/vendor/pup410/lib/puppet/data_providers/json_data_provider_factory.rb +38 -0
- data/vendor/pup410/lib/puppet/data_providers/yaml_data_provider_factory.rb +40 -0
- data/vendor/pup410/lib/puppet/defaults.rb +2011 -0
- data/vendor/pup410/lib/puppet/environments.rb +492 -0
- data/vendor/pup410/lib/puppet/error.rb +100 -0
- data/vendor/pup410/lib/puppet/etc.rb +161 -0
- data/vendor/pup410/lib/puppet/external/dot.rb +326 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/external/nagios.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/external/nagios/base.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/external/nagios/grammar.ry +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/external/nagios/makefile +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/external/nagios/parser.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/external/pson/common.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/external/pson/pure.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/external/pson/pure/generator.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/external/pson/pure/parser.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/external/pson/version.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/face.rb +0 -0
- data/vendor/pup410/lib/puppet/face/ca.rb +259 -0
- data/vendor/pup410/lib/puppet/face/catalog.rb +130 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/face/catalog/select.rb +0 -0
- data/vendor/pup410/lib/puppet/face/certificate.rb +165 -0
- data/vendor/pup410/lib/puppet/face/certificate_request.rb +56 -0
- data/vendor/pup410/lib/puppet/face/certificate_revocation_list.rb +56 -0
- data/vendor/pup410/lib/puppet/face/config.rb +119 -0
- data/vendor/pup410/lib/puppet/face/epp.rb +527 -0
- data/vendor/pup410/lib/puppet/face/facts.rb +38 -0
- data/vendor/pup410/lib/puppet/face/file.rb +50 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/face/file/download.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/face/file/store.rb +0 -0
- data/vendor/pup410/lib/puppet/face/generate.rb +64 -0
- data/vendor/pup410/lib/puppet/face/help.rb +201 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/face/help/action.erb +0 -0
- data/vendor/pup410/lib/puppet/face/help/face.erb +114 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/face/help/global.erb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/face/help/man.erb +0 -0
- data/vendor/pup410/lib/puppet/face/key.rb +16 -0
- data/vendor/pup410/lib/puppet/face/man.rb +101 -0
- data/vendor/pup410/lib/puppet/face/module.rb +19 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/face/module/build.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/face/module/changes.rb +0 -0
- data/vendor/pup410/lib/puppet/face/module/generate.rb +251 -0
- data/vendor/pup410/lib/puppet/face/module/install.rb +145 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/face/module/list.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/face/module/search.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/face/module/uninstall.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/face/module/upgrade.rb +0 -0
- data/vendor/pup410/lib/puppet/face/node.rb +42 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/face/node/clean.rb +0 -0
- data/vendor/pup410/lib/puppet/face/parser.rb +161 -0
- data/vendor/pup410/lib/puppet/face/plugin.rb +58 -0
- data/vendor/pup410/lib/puppet/face/report.rb +54 -0
- data/vendor/pup410/lib/puppet/face/resource.rb +53 -0
- data/vendor/pup410/lib/puppet/face/resource_type.rb +84 -0
- data/vendor/pup410/lib/puppet/face/status.rb +50 -0
- data/vendor/pup410/lib/puppet/feature/base.rb +94 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/feature/cfacter.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/feature/cfpropertylist.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/feature/eventlog.rb +0 -0
- data/vendor/pup410/lib/puppet/feature/external_facts.rb +5 -0
- data/vendor/pup410/lib/puppet/feature/hiera_eyaml.rb +3 -0
- data/vendor/pup410/lib/puppet/feature/hocon.rb +3 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/feature/libuser.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/feature/msgpack.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/feature/pe_license.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/feature/rack.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/feature/selinux.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/feature/ssh.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/feature/telnet.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/feature/zlib.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/file_bucket.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/file_bucket/dipper.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/file_bucket/file.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/file_serving.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/file_serving/base.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/file_serving/configuration.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/file_serving/configuration/parser.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/file_serving/content.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/file_serving/fileset.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/file_serving/http_metadata.rb +0 -0
- data/vendor/pup410/lib/puppet/file_serving/metadata.rb +163 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/file_serving/mount.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/file_serving/mount/file.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/file_serving/mount/modules.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/file_serving/mount/pluginfacts.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/file_serving/mount/plugins.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/file_serving/terminus_helper.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/file_serving/terminus_selector.rb +0 -0
- data/vendor/pup410/lib/puppet/file_system.rb +404 -0
- data/vendor/pup410/lib/puppet/file_system/file_impl.rb +154 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/file_system/memory_file.rb +0 -0
- data/vendor/pup410/lib/puppet/file_system/memory_impl.rb +86 -0
- data/vendor/pup410/lib/puppet/file_system/path_pattern.rb +98 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/file_system/posix.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/file_system/uniquefile.rb +0 -0
- data/vendor/pup410/lib/puppet/file_system/windows.rb +130 -0
- data/vendor/pup410/lib/puppet/forge.rb +228 -0
- data/vendor/pup410/lib/puppet/forge/cache.rb +60 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/forge/errors.rb +0 -0
- data/vendor/pup410/lib/puppet/forge/repository.rb +155 -0
- data/vendor/pup410/lib/puppet/functions.rb +774 -0
- data/vendor/pup410/lib/puppet/functions/alert.rb +14 -0
- data/vendor/pup410/lib/puppet/functions/assert_type.rb +93 -0
- data/vendor/pup410/lib/puppet/functions/binary_file.rb +19 -0
- data/vendor/pup410/lib/puppet/functions/break.rb +22 -0
- data/vendor/pup410/lib/puppet/functions/contain.rb +33 -0
- data/vendor/pup410/lib/puppet/functions/crit.rb +14 -0
- data/vendor/pup410/lib/puppet/functions/debug.rb +14 -0
- data/vendor/pup410/lib/puppet/functions/defined.rb +160 -0
- data/vendor/pup410/lib/puppet/functions/dig.rb +23 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/functions/each.rb +0 -0
- data/vendor/pup410/lib/puppet/functions/emerg.rb +14 -0
- data/vendor/pup410/lib/puppet/functions/epp.rb +48 -0
- data/vendor/pup410/lib/puppet/functions/err.rb +14 -0
- data/vendor/pup410/lib/puppet/functions/eyaml_lookup_key.rb +94 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/functions/filter.rb +0 -0
- data/vendor/pup410/lib/puppet/functions/find_file.rb +31 -0
- data/vendor/pup410/lib/puppet/functions/hiera.rb +88 -0
- data/vendor/pup410/lib/puppet/functions/hiera_array.rb +81 -0
- data/vendor/pup410/lib/puppet/functions/hiera_hash.rb +92 -0
- data/vendor/pup410/lib/puppet/functions/hiera_include.rb +104 -0
- data/vendor/pup410/lib/puppet/functions/hocon_data.rb +41 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/functions/import.rb +0 -0
- data/vendor/pup410/lib/puppet/functions/include.rb +21 -0
- data/vendor/pup410/lib/puppet/functions/info.rb +14 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/functions/inline_epp.rb +0 -0
- data/vendor/pup410/lib/puppet/functions/json_data.rb +33 -0
- data/vendor/pup410/lib/puppet/functions/lest.rb +17 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/functions/lookup.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/functions/map.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/functions/match.rb +0 -0
- data/vendor/pup410/lib/puppet/functions/new.rb +31 -0
- data/vendor/pup410/lib/puppet/functions/next.rb +23 -0
- data/vendor/pup410/lib/puppet/functions/notice.rb +14 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/functions/reduce.rb +0 -0
- data/vendor/pup410/lib/puppet/functions/regsubst.rb +76 -0
- data/vendor/pup410/lib/puppet/functions/require.rb +37 -0
- data/vendor/pup410/lib/puppet/functions/return.rb +22 -0
- data/vendor/pup410/lib/puppet/functions/reverse_each.rb +25 -0
- data/vendor/pup410/lib/puppet/functions/scanf.rb +44 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/functions/slice.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/functions/split.rb +0 -0
- data/vendor/pup410/lib/puppet/functions/step.rb +26 -0
- data/vendor/pup410/lib/puppet/functions/strftime.rb +35 -0
- data/vendor/pup410/lib/puppet/functions/then.rb +14 -0
- data/vendor/pup410/lib/puppet/functions/type.rb +31 -0
- data/vendor/pup410/lib/puppet/functions/unwrap.rb +40 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/functions/versioncmp.rb +0 -0
- data/vendor/pup410/lib/puppet/functions/warning.rb +14 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/functions/with.rb +0 -0
- data/vendor/pup410/lib/puppet/functions/yaml_data.rb +42 -0
- data/vendor/pup410/lib/puppet/generate/models/type/property.rb +70 -0
- data/vendor/pup410/lib/puppet/generate/models/type/type.rb +62 -0
- data/vendor/pup410/lib/puppet/generate/templates/type/pcore.erb +42 -0
- data/vendor/pup410/lib/puppet/generate/type.rb +239 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/graph.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/graph/key.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/graph/prioritizer.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/graph/random_prioritizer.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/graph/rb_tree_map.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/graph/relationship_graph.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/graph/sequential_prioritizer.rb +0 -0
- data/vendor/pup410/lib/puppet/graph/simple_graph.rb +560 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/graph/title_hash_prioritizer.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector.rb +0 -0
- data/vendor/pup410/lib/puppet/indirector/catalog/compiler.rb +370 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/catalog/json.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/catalog/msgpack.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/catalog/rest.rb +0 -0
- data/vendor/pup410/lib/puppet/indirector/catalog/static_compiler.rb +232 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/catalog/store_configs.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/catalog/yaml.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/certificate/ca.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/certificate/disabled_ca.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/certificate/file.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/certificate/rest.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/certificate_request/ca.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/certificate_request/disabled_ca.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/certificate_request/file.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/certificate_request/memory.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/certificate_request/rest.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/certificate_revocation_list/ca.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/certificate_revocation_list/disabled_ca.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/certificate_revocation_list/file.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/certificate_revocation_list/rest.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/certificate_status.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/certificate_status/file.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/certificate_status/rest.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/code.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/data_binding/hiera.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/data_binding/none.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/direct_file_server.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/envelope.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/errors.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/exec.rb +0 -0
- data/vendor/pup410/lib/puppet/indirector/face.rb +153 -0
- data/vendor/pup410/lib/puppet/indirector/facts/facter.rb +90 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/facts/memory.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/facts/network_device.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/facts/store_configs.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/facts/yaml.rb +0 -0
- data/vendor/pup410/lib/puppet/indirector/file_bucket_file/file.rb +254 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/file_bucket_file/rest.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/file_bucket_file/selector.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/file_content.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/file_content/file.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/file_content/file_server.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/file_content/http.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/file_content/rest.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/file_content/selector.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/file_metadata.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/file_metadata/file.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/file_metadata/file_server.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/file_metadata/http.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/file_metadata/rest.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/file_metadata/selector.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/file_server.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/generic_http.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/hiera.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/indirection.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/json.rb +0 -0
- data/vendor/pup410/lib/puppet/indirector/key/ca.rb +16 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/key/disabled_ca.rb +0 -0
- data/vendor/pup410/lib/puppet/indirector/key/file.rb +50 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/key/memory.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/ldap.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/memory.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/msgpack.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/node/exec.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/node/ldap.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/node/memory.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/node/msgpack.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/node/plain.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/node/rest.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/node/store_configs.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/node/write_only_yaml.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/node/yaml.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/none.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/plain.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/report/msgpack.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/report/processor.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/report/rest.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/report/yaml.rb +0 -0
- data/vendor/pup410/lib/puppet/indirector/request.rb +282 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/resource/ral.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/resource/store_configs.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/resource/validator.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/resource_type.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/resource_type/parser.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/resource_type/rest.rb +0 -0
- data/vendor/pup410/lib/puppet/indirector/rest.rb +330 -0
- data/vendor/pup410/lib/puppet/indirector/ssl_file.rb +201 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/status.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/status/local.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/status/rest.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/store_configs.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/terminus.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/indirector/yaml.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/info_service.rb +0 -0
- data/vendor/pup410/lib/puppet/info_service/class_information_service.rb +111 -0
- data/vendor/pup410/lib/puppet/interface.rb +240 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/interface/action.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/interface/action_builder.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/interface/action_manager.rb +0 -0
- data/vendor/pup410/lib/puppet/interface/documentation.rb +342 -0
- data/vendor/pup410/lib/puppet/interface/face_collection.rb +125 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/interface/option.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/interface/option_builder.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/interface/option_manager.rb +0 -0
- data/vendor/pup410/lib/puppet/loaders.rb +25 -0
- data/vendor/pup410/lib/puppet/metatype/manager.rb +195 -0
- data/vendor/pup410/lib/puppet/module.rb +410 -0
- data/vendor/pup410/lib/puppet/module_tool.rb +192 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/module_tool/applications.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/module_tool/applications/application.rb +0 -0
- data/vendor/pup410/lib/puppet/module_tool/applications/builder.rb +149 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/module_tool/applications/checksummer.rb +0 -0
- data/vendor/pup410/lib/puppet/module_tool/applications/installer.rb +351 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/module_tool/applications/searcher.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/module_tool/applications/uninstaller.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/module_tool/applications/unpacker.rb +0 -0
- data/vendor/pup410/lib/puppet/module_tool/applications/upgrader.rb +277 -0
- data/vendor/pup410/lib/puppet/module_tool/checksums.rb +49 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/module_tool/contents_description.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/module_tool/dependency.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/module_tool/errors.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/module_tool/errors/base.rb +0 -0
- data/vendor/pup410/lib/puppet/module_tool/errors/installer.rb +95 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/module_tool/errors/shared.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/module_tool/errors/uninstaller.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/module_tool/errors/upgrader.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/module_tool/install_directory.rb +0 -0
- data/vendor/pup410/lib/puppet/module_tool/installed_modules.rb +96 -0
- data/vendor/pup410/lib/puppet/module_tool/local_tarball.rb +90 -0
- data/vendor/pup410/lib/puppet/module_tool/metadata.rb +221 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/module_tool/shared_behaviors.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/module_tool/skeleton/templates/generator/Gemfile +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/module_tool/skeleton/templates/generator/README.md.erb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/module_tool/skeleton/templates/generator/Rakefile +0 -0
- data/vendor/pup410/lib/puppet/module_tool/skeleton/templates/generator/examples/init.pp.erb +12 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/module_tool/skeleton/templates/generator/manifests/init.pp.erb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/module_tool/skeleton/templates/generator/metadata.json.erb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/module_tool/skeleton/templates/generator/spec/classes/init_spec.rb.erb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/module_tool/skeleton/templates/generator/spec/spec_helper.rb +0 -0
- data/vendor/pup410/lib/puppet/module_tool/tar.rb +17 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/module_tool/tar/gnu.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/module_tool/tar/mini.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/auth_config_parser.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/authconfig.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/authorization.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/authstore.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/client_request.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/format.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/format_handler.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/format_support.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/formats.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/http.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/http/api.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/http/api/ca.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/http/api/ca/v1.rb +0 -0
- data/vendor/pup410/lib/puppet/network/http/api/indirected_routes.rb +239 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/http/api/indirection_type.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/http/api/master.rb +0 -0
- data/vendor/pup410/lib/puppet/network/http/api/master/v3.rb +28 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/http/api/master/v3/authorization.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/http/api/master/v3/environment.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/http/api/master/v3/environments.rb +0 -0
- data/vendor/pup410/lib/puppet/network/http/compression.rb +117 -0
- data/vendor/pup410/lib/puppet/network/http/connection.rb +235 -0
- data/vendor/pup410/lib/puppet/network/http/error.rb +69 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/http/factory.rb +0 -0
- data/vendor/pup410/lib/puppet/network/http/handler.rb +179 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/http/issues.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/http/memory_response.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/http/nocache_pool.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/http/pool.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/http/rack.rb +0 -0
- data/vendor/pup410/lib/puppet/network/http/rack/rest.rb +162 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/http/request.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/http/response.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/http/route.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/http/session.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/http/site.rb +0 -0
- data/vendor/pup410/lib/puppet/network/http/webrick.rb +125 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/http/webrick/rest.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/http_pool.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/resolver.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/rest_controller.rb +0 -0
- data/vendor/pup410/lib/puppet/network/rights.rb +209 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/network/server.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/node.rb +0 -0
- data/vendor/pup410/lib/puppet/node/environment.rb +555 -0
- data/vendor/pup410/lib/puppet/node/facts.rb +133 -0
- data/vendor/pup410/lib/puppet/parameter.rb +592 -0
- data/vendor/pup410/lib/puppet/parameter/boolean.rb +15 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parameter/package_options.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parameter/path.rb +0 -0
- data/vendor/pup410/lib/puppet/parameter/value.rb +91 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parameter/value_collection.rb +0 -0
- data/vendor/pup410/lib/puppet/parser.rb +19 -0
- data/vendor/pup410/lib/puppet/parser/ast.rb +65 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parser/ast/block_expression.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parser/ast/branch.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parser/ast/hostclass.rb +0 -0
- data/vendor/pup410/lib/puppet/parser/ast/leaf.rb +75 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parser/ast/node.rb +0 -0
- data/vendor/pup410/lib/puppet/parser/ast/pops_bridge.rb +317 -0
- data/vendor/pup410/lib/puppet/parser/ast/resource.rb +66 -0
- data/vendor/pup410/lib/puppet/parser/ast/resource_instance.rb +10 -0
- data/vendor/pup410/lib/puppet/parser/ast/resourceparam.rb +31 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parser/ast/top_level_construct.rb +0 -0
- data/vendor/pup410/lib/puppet/parser/compiler.rb +901 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parser/compiler/catalog_validator.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parser/compiler/catalog_validator/env_relationship_validator.rb +0 -0
- data/vendor/pup410/lib/puppet/parser/compiler/catalog_validator/relationship_validator.rb +60 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parser/compiler/catalog_validator/site_validator.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parser/e4_parser_adapter.rb +0 -0
- data/vendor/pup410/lib/puppet/parser/environment_compiler.rb +201 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parser/files.rb +0 -0
- data/vendor/pup410/lib/puppet/parser/functions.rb +278 -0
- data/vendor/pup410/lib/puppet/parser/functions/assert_type.rb +60 -0
- data/vendor/pup410/lib/puppet/parser/functions/binary_file.rb +24 -0
- data/vendor/pup410/lib/puppet/parser/functions/break.rb +39 -0
- data/vendor/pup410/lib/puppet/parser/functions/contain.rb +30 -0
- data/vendor/pup410/lib/puppet/parser/functions/create_resources.rb +106 -0
- data/vendor/pup410/lib/puppet/parser/functions/defined.rb +107 -0
- data/vendor/pup410/lib/puppet/parser/functions/dig.rb +29 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parser/functions/digest.rb +0 -0
- data/vendor/pup410/lib/puppet/parser/functions/each.rb +104 -0
- data/vendor/pup410/lib/puppet/parser/functions/epp.rb +39 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parser/functions/fail.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parser/functions/file.rb +0 -0
- data/vendor/pup410/lib/puppet/parser/functions/filter.rb +78 -0
- data/vendor/pup410/lib/puppet/parser/functions/find_file.rb +28 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parser/functions/fqdn_rand.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parser/functions/generate.rb +0 -0
- data/vendor/pup410/lib/puppet/parser/functions/hiera.rb +103 -0
- data/vendor/pup410/lib/puppet/parser/functions/hiera_array.rb +92 -0
- data/vendor/pup410/lib/puppet/parser/functions/hiera_hash.rb +102 -0
- data/vendor/pup410/lib/puppet/parser/functions/hiera_include.rb +102 -0
- data/vendor/pup410/lib/puppet/parser/functions/include.rb +33 -0
- data/vendor/pup410/lib/puppet/parser/functions/inline_epp.rb +51 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parser/functions/inline_template.rb +0 -0
- data/vendor/pup410/lib/puppet/parser/functions/lest.rb +49 -0
- data/vendor/pup410/lib/puppet/parser/functions/lookup.rb +132 -0
- data/vendor/pup410/lib/puppet/parser/functions/map.rb +76 -0
- data/vendor/pup410/lib/puppet/parser/functions/match.rb +43 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parser/functions/md5.rb +0 -0
- data/vendor/pup410/lib/puppet/parser/functions/new.rb +939 -0
- data/vendor/pup410/lib/puppet/parser/functions/next.rb +38 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parser/functions/realize.rb +0 -0
- data/vendor/pup410/lib/puppet/parser/functions/reduce.rb +106 -0
- data/vendor/pup410/lib/puppet/parser/functions/regsubst.rb +62 -0
- data/vendor/pup410/lib/puppet/parser/functions/require.rb +40 -0
- data/vendor/pup410/lib/puppet/parser/functions/return.rb +71 -0
- data/vendor/pup410/lib/puppet/parser/functions/reverse_each.rb +83 -0
- data/vendor/pup410/lib/puppet/parser/functions/scanf.rb +38 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parser/functions/sha1.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parser/functions/shellquote.rb +0 -0
- data/vendor/pup410/lib/puppet/parser/functions/slice.rb +39 -0
- data/vendor/pup410/lib/puppet/parser/functions/split.rb +28 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parser/functions/sprintf.rb +0 -0
- data/vendor/pup410/lib/puppet/parser/functions/step.rb +84 -0
- data/vendor/pup410/lib/puppet/parser/functions/strftime.rb +185 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parser/functions/tag.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parser/functions/tagged.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parser/functions/template.rb +0 -0
- data/vendor/pup410/lib/puppet/parser/functions/then.rb +73 -0
- data/vendor/pup410/lib/puppet/parser/functions/type.rb +53 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parser/functions/versioncmp.rb +0 -0
- data/vendor/pup410/lib/puppet/parser/functions/with.rb +28 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parser/parser_factory.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parser/relationship.rb +0 -0
- data/vendor/pup410/lib/puppet/parser/resource.rb +388 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parser/resource/param.rb +0 -0
- data/vendor/pup410/lib/puppet/parser/scope.rb +1138 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parser/templatewrapper.rb +0 -0
- data/vendor/pup410/lib/puppet/parser/type_loader.rb +149 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/parser/yaml_trimmer.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/plugins.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/plugins/binding_schemes.rb +0 -0
- data/vendor/pup410/lib/puppet/plugins/configuration.rb +77 -0
- data/vendor/pup410/lib/puppet/plugins/data_providers.rb +45 -0
- data/vendor/pup410/lib/puppet/plugins/data_providers/data_provider.rb +406 -0
- data/vendor/pup410/lib/puppet/plugins/data_providers/registry.rb +51 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/plugins/syntax_checkers.rb +0 -0
- data/vendor/pup410/lib/puppet/pops.rb +150 -0
- data/vendor/pup410/lib/puppet/pops/adaptable.rb +201 -0
- data/vendor/pup410/lib/puppet/pops/adapters.rb +198 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/binder/binder.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/binder/binder_issues.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/binder/bindings_checker.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/binder/bindings_composer.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/binder/bindings_factory.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/binder/bindings_label_provider.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/binder/bindings_loader.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/binder/bindings_model.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/binder/bindings_model_dumper.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/binder/bindings_model_meta.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/binder/bindings_validator_factory.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/binder/config/binder_config.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/binder/config/binder_config_checker.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/binder/config/diagnostic_producer.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/binder/config/issues.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/binder/injector.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/binder/injector_entry.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/binder/key_factory.rb +0 -0
- data/vendor/pup410/lib/puppet/pops/binder/producers.rb +831 -0
- data/vendor/pup410/lib/puppet/pops/binder/scheme_handler/confdir_scheme.rb +34 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/binder/scheme_handler/module_scheme.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/binder/scheme_handler/symbolic_scheme.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/binder/system_bindings.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/containment.rb +0 -0
- data/vendor/pup410/lib/puppet/pops/evaluator/access_operator.rb +707 -0
- data/vendor/pup410/lib/puppet/pops/evaluator/callable_signature.rb +107 -0
- data/vendor/pup410/lib/puppet/pops/evaluator/closure.rb +365 -0
- data/vendor/pup410/lib/puppet/pops/evaluator/collector_transformer.rb +238 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/evaluator/collectors/abstract_collector.rb +0 -0
- data/vendor/pup410/lib/puppet/pops/evaluator/collectors/catalog_collector.rb +29 -0
- data/vendor/pup410/lib/puppet/pops/evaluator/collectors/exported_collector.rb +69 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/evaluator/collectors/fixed_set_collector.rb +0 -0
- data/vendor/pup410/lib/puppet/pops/evaluator/compare_operator.rb +252 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/evaluator/epp_evaluator.rb +0 -0
- data/vendor/pup410/lib/puppet/pops/evaluator/evaluator_impl.rb +1247 -0
- data/vendor/pup410/lib/puppet/pops/evaluator/external_syntax_support.rb +52 -0
- data/vendor/pup410/lib/puppet/pops/evaluator/json_strict_literal_evaluator.rb +84 -0
- data/vendor/pup410/lib/puppet/pops/evaluator/literal_evaluator.rb +87 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/evaluator/puppet_proc.rb +0 -0
- data/vendor/pup410/lib/puppet/pops/evaluator/relationship_operator.rb +168 -0
- data/vendor/pup410/lib/puppet/pops/evaluator/runtime3_converter.rb +184 -0
- data/vendor/pup410/lib/puppet/pops/evaluator/runtime3_resource_support.rb +117 -0
- data/vendor/pup410/lib/puppet/pops/evaluator/runtime3_support.rb +554 -0
- data/vendor/pup410/lib/puppet/pops/functions/dispatch.rb +105 -0
- data/vendor/pup410/lib/puppet/pops/functions/dispatcher.rb +71 -0
- data/vendor/pup410/lib/puppet/pops/functions/function.rb +135 -0
- data/vendor/pup410/lib/puppet/pops/issue_reporter.rb +115 -0
- data/vendor/pup410/lib/puppet/pops/issues.rb +834 -0
- data/vendor/pup410/lib/puppet/pops/label_provider.rb +90 -0
- data/vendor/pup410/lib/puppet/pops/loader/base_loader.rb +156 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/loader/dependency_loader.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/loader/gem_support.rb +0 -0
- data/vendor/pup410/lib/puppet/pops/loader/loader.rb +190 -0
- data/vendor/pup410/lib/puppet/pops/loader/loader_paths.rb +225 -0
- data/vendor/pup410/lib/puppet/pops/loader/module_loaders.rb +300 -0
- data/vendor/pup410/lib/puppet/pops/loader/null_loader.rb +60 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/loader/predefined_loader.rb +0 -0
- data/vendor/pup410/lib/puppet/pops/loader/puppet_function_instantiator.rb +84 -0
- data/vendor/pup410/lib/puppet/pops/loader/puppet_resource_type_impl_instantiator.rb +80 -0
- data/vendor/pup410/lib/puppet/pops/loader/ruby_function_instantiator.rb +46 -0
- data/vendor/pup410/lib/puppet/pops/loader/runtime3_type_loader.rb +96 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/loader/simple_environment_loader.rb +0 -0
- data/vendor/pup410/lib/puppet/pops/loader/static_loader.rb +180 -0
- data/vendor/pup410/lib/puppet/pops/loader/type_definition_instantiator.rb +93 -0
- data/vendor/pup410/lib/puppet/pops/loader/typed_name.rb +49 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/loader/uri_helper.rb +0 -0
- data/vendor/pup410/lib/puppet/pops/loaders.rb +410 -0
- data/vendor/pup410/lib/puppet/pops/lookup.rb +94 -0
- data/vendor/pup410/lib/puppet/pops/lookup/configured_data_provider.rb +93 -0
- data/vendor/pup410/lib/puppet/pops/lookup/context.rb +200 -0
- data/vendor/pup410/lib/puppet/pops/lookup/data_adapter.rb +27 -0
- data/vendor/pup410/lib/puppet/pops/lookup/data_dig_function_provider.rb +145 -0
- data/vendor/pup410/lib/puppet/pops/lookup/data_hash_function_provider.rb +126 -0
- data/vendor/pup410/lib/puppet/pops/lookup/data_provider.rb +107 -0
- data/vendor/pup410/lib/puppet/pops/lookup/environment_data_provider.rb +35 -0
- data/vendor/pup410/lib/puppet/pops/lookup/explainer.rb +594 -0
- data/vendor/pup410/lib/puppet/pops/lookup/function_provider.rb +110 -0
- data/vendor/pup410/lib/puppet/pops/lookup/global_data_provider.rb +75 -0
- data/vendor/pup410/lib/puppet/pops/lookup/hiera_config.rb +784 -0
- data/vendor/pup410/lib/puppet/pops/lookup/interpolation.rb +153 -0
- data/vendor/pup410/lib/puppet/pops/lookup/invocation.rb +261 -0
- data/vendor/pup410/lib/puppet/pops/lookup/location_resolver.rb +99 -0
- data/vendor/pup410/lib/puppet/pops/lookup/lookup_adapter.rb +515 -0
- data/vendor/pup410/lib/puppet/pops/lookup/lookup_key.rb +99 -0
- data/vendor/pup410/lib/puppet/pops/lookup/lookup_key_function_provider.rb +92 -0
- data/vendor/pup410/lib/puppet/pops/lookup/module_data_provider.rb +89 -0
- data/vendor/pup410/lib/puppet/pops/lookup/sub_lookup.rb +91 -0
- data/vendor/pup410/lib/puppet/pops/merge_strategy.rb +419 -0
- data/vendor/pup410/lib/puppet/pops/migration/migration_checker.rb +58 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/model/ast_transformer.rb +0 -0
- data/vendor/pup410/lib/puppet/pops/model/factory.rb +1151 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/model/model.rb +0 -0
- data/vendor/pup410/lib/puppet/pops/model/model_label_provider.rb +130 -0
- data/vendor/pup410/lib/puppet/pops/model/model_meta.rb +629 -0
- data/vendor/pup410/lib/puppet/pops/model/model_tree_dumper.rb +451 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/model/tree_dumper.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/parser/code_merger.rb +0 -0
- data/vendor/pup410/lib/puppet/pops/parser/egrammar.ra +876 -0
- data/vendor/pup410/lib/puppet/pops/parser/eparser.rb +3243 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/parser/epp_parser.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/parser/epp_support.rb +0 -0
- data/vendor/pup410/lib/puppet/pops/parser/evaluating_parser.rb +165 -0
- data/vendor/pup410/lib/puppet/pops/parser/heredoc_support.rb +143 -0
- data/vendor/pup410/lib/puppet/pops/parser/interpolation_support.rb +244 -0
- data/vendor/pup410/lib/puppet/pops/parser/lexer2.rb +798 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/parser/lexer_support.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/parser/locatable.rb +0 -0
- data/vendor/pup410/lib/puppet/pops/parser/locator.rb +321 -0
- data/vendor/pup410/lib/puppet/pops/parser/parser_support.rb +251 -0
- data/vendor/pup410/lib/puppet/pops/parser/slurp_support.rb +120 -0
- data/vendor/pup410/lib/puppet/pops/patterns.rb +60 -0
- data/vendor/pup410/lib/puppet/pops/pcore.rb +96 -0
- data/vendor/pup410/lib/puppet/pops/puppet_stack.rb +43 -0
- data/vendor/pup410/lib/puppet/pops/resource/param.rb +55 -0
- data/vendor/pup410/lib/puppet/pops/resource/resource_type_impl.rb +314 -0
- data/vendor/pup410/lib/puppet/pops/resource/resource_type_set.pcore +22 -0
- data/vendor/pup410/lib/puppet/pops/semantic_error.rb +29 -0
- data/vendor/pup410/lib/puppet/pops/serialization.rb +17 -0
- data/vendor/pup410/lib/puppet/pops/serialization/abstract_reader.rb +176 -0
- data/vendor/pup410/lib/puppet/pops/serialization/abstract_writer.rb +207 -0
- data/vendor/pup410/lib/puppet/pops/serialization/deserializer.rb +80 -0
- data/vendor/pup410/lib/puppet/pops/serialization/extension.rb +157 -0
- data/vendor/pup410/lib/puppet/pops/serialization/instance_reader.rb +19 -0
- data/vendor/pup410/lib/puppet/pops/serialization/instance_writer.rb +14 -0
- data/vendor/pup410/lib/puppet/pops/serialization/json.rb +297 -0
- data/vendor/pup410/lib/puppet/pops/serialization/object.rb +71 -0
- data/vendor/pup410/lib/puppet/pops/serialization/rgen.rb +152 -0
- data/vendor/pup410/lib/puppet/pops/serialization/serializer.rb +125 -0
- data/vendor/pup410/lib/puppet/pops/serialization/time_factory.rb +67 -0
- data/vendor/pup410/lib/puppet/pops/time/timespan.rb +718 -0
- data/vendor/pup410/lib/puppet/pops/time/timestamp.rb +148 -0
- data/vendor/pup410/lib/puppet/pops/types/annotatable.rb +36 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/types/class_loader.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/types/enumeration.rb +0 -0
- data/vendor/pup410/lib/puppet/pops/types/implementation_registry.rb +141 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/types/iterable.rb +0 -0
- data/vendor/pup410/lib/puppet/pops/types/p_binary_type.rb +220 -0
- data/vendor/pup410/lib/puppet/pops/types/p_meta_type.rb +83 -0
- data/vendor/pup410/lib/puppet/pops/types/p_object_type.rb +886 -0
- data/vendor/pup410/lib/puppet/pops/types/p_runtime_type.rb +115 -0
- data/vendor/pup410/lib/puppet/pops/types/p_sem_ver_range_type.rb +187 -0
- data/vendor/pup410/lib/puppet/pops/types/p_sem_ver_type.rb +141 -0
- data/vendor/pup410/lib/puppet/pops/types/p_sensitive_type.rb +73 -0
- data/vendor/pup410/lib/puppet/pops/types/p_timespan_type.rb +141 -0
- data/vendor/pup410/lib/puppet/pops/types/p_timestamp_type.rb +69 -0
- data/vendor/pup410/lib/puppet/pops/types/p_type_set_type.rb +352 -0
- data/vendor/pup410/lib/puppet/pops/types/puppet_object.rb +16 -0
- data/vendor/pup410/lib/puppet/pops/types/recursion_guard.rb +136 -0
- data/vendor/pup410/lib/puppet/pops/types/ruby_generator.rb +275 -0
- data/vendor/pup410/lib/puppet/pops/types/string_converter.rb +1022 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/types/type_acceptor.rb +0 -0
- data/vendor/pup410/lib/puppet/pops/types/type_asserter.rb +47 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/types/type_assertion_error.rb +0 -0
- data/vendor/pup410/lib/puppet/pops/types/type_calculator.rb +836 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/types/type_conversion_error.rb +0 -0
- data/vendor/pup410/lib/puppet/pops/types/type_factory.rb +538 -0
- data/vendor/pup410/lib/puppet/pops/types/type_formatter.rb +686 -0
- data/vendor/pup410/lib/puppet/pops/types/type_mismatch_describer.rb +1105 -0
- data/vendor/pup410/lib/puppet/pops/types/type_parser.rb +564 -0
- data/vendor/pup410/lib/puppet/pops/types/type_set_reference.rb +59 -0
- data/vendor/pup410/lib/puppet/pops/types/types.rb +3464 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/utils.rb +0 -0
- data/vendor/pup410/lib/puppet/pops/validation.rb +470 -0
- data/vendor/pup410/lib/puppet/pops/validation/checker4_0.rb +980 -0
- data/vendor/pup410/lib/puppet/pops/validation/validator_factory_4_0.rb +39 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/pops/visitable.rb +0 -0
- data/vendor/pup410/lib/puppet/pops/visitor.rb +95 -0
- data/vendor/pup410/lib/puppet/property.rb +597 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/property/boolean.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/property/ensure.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/property/keyvalue.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/property/list.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/property/ordered_list.rb +0 -0
- data/vendor/pup410/lib/puppet/provider.rb +601 -0
- data/vendor/pup410/lib/puppet/provider/aixobject.rb +392 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/augeas/augeas.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/cisco.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/command.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/computer/computer.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/confine.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/cron/crontab.rb +0 -0
- data/vendor/pup410/lib/puppet/provider/exec.rb +98 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/exec/posix.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/exec/shell.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/exec/windows.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/file/posix.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/file/windows.rb +0 -0
- data/vendor/pup410/lib/puppet/provider/group/aix.rb +141 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/group/directoryservice.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/group/groupadd.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/group/ldap.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/group/pw.rb +0 -0
- data/vendor/pup410/lib/puppet/provider/group/windows_adsi.rb +109 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/host/parsed.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/interface/cisco.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/ldap.rb +0 -0
- data/vendor/pup410/lib/puppet/provider/macauthorization/macauthorization.rb +298 -0
- data/vendor/pup410/lib/puppet/provider/mailalias/aliases.rb +50 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/maillist/mailman.rb +0 -0
- data/vendor/pup410/lib/puppet/provider/mcx/mcxcontent.rb +173 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/mount.rb +0 -0
- data/vendor/pup410/lib/puppet/provider/mount/parsed.rb +280 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/naginator.rb +0 -0
- data/vendor/pup410/lib/puppet/provider/nameservice.rb +317 -0
- data/vendor/pup410/lib/puppet/provider/nameservice/directoryservice.rb +507 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/nameservice/objectadd.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/nameservice/pw.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/network_device.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/package.rb +0 -0
- data/vendor/pup410/lib/puppet/provider/package/aix.rb +152 -0
- data/vendor/pup410/lib/puppet/provider/package/appdmg.rb +110 -0
- data/vendor/pup410/lib/puppet/provider/package/apple.rb +47 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/package/apt.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/package/aptitude.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/package/aptrpm.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/package/blastwave.rb +0 -0
- data/vendor/pup410/lib/puppet/provider/package/dnf.rb +46 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/package/dpkg.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/package/fink.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/package/freebsd.rb +0 -0
- data/vendor/pup410/lib/puppet/provider/package/gem.rb +174 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/package/hpux.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/package/macports.rb +0 -0
- data/vendor/pup410/lib/puppet/provider/package/nim.rb +280 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/package/openbsd.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/package/opkg.rb +0 -0
- data/vendor/pup410/lib/puppet/provider/package/pacman.rb +267 -0
- data/vendor/pup410/lib/puppet/provider/package/pip.rb +179 -0
- data/vendor/pup410/lib/puppet/provider/package/pip3.rb +20 -0
- data/vendor/pup410/lib/puppet/provider/package/pkg.rb +249 -0
- data/vendor/pup410/lib/puppet/provider/package/pkgdmg.rb +152 -0
- data/vendor/pup410/lib/puppet/provider/package/pkgin.rb +87 -0
- data/vendor/pup410/lib/puppet/provider/package/pkgng.rb +143 -0
- data/vendor/pup410/lib/puppet/provider/package/pkgutil.rb +186 -0
- data/vendor/pup410/lib/puppet/provider/package/portage.rb +193 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/package/ports.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/package/portupgrade.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/package/puppet_gem.rb +0 -0
- data/vendor/pup410/lib/puppet/provider/package/rpm.rb +402 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/package/rug.rb +0 -0
- data/vendor/pup410/lib/puppet/provider/package/sun.rb +132 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/package/sunfreeware.rb +0 -0
- data/vendor/pup410/lib/puppet/provider/package/tdnf.rb +28 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/package/up2date.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/package/urpmi.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/package/windows.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/package/windows/exe_package.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/package/windows/msi_package.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/package/windows/package.rb +0 -0
- data/vendor/pup410/lib/puppet/provider/package/yum.rb +270 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/package/zypper.rb +0 -0
- data/vendor/pup410/lib/puppet/provider/parsedfile.rb +459 -0
- data/vendor/pup410/lib/puppet/provider/scheduled_task/win32_taskscheduler.rb +590 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/selboolean/getsetsebool.rb +0 -0
- data/vendor/pup410/lib/puppet/provider/selmodule/semodule.rb +138 -0
- data/vendor/pup410/lib/puppet/provider/service/base.rb +121 -0
- data/vendor/pup410/lib/puppet/provider/service/bsd.rb +51 -0
- data/vendor/pup410/lib/puppet/provider/service/daemontools.rb +194 -0
- data/vendor/pup410/lib/puppet/provider/service/debian.rb +74 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/service/freebsd.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/service/gentoo.rb +0 -0
- data/vendor/pup410/lib/puppet/provider/service/init.rb +193 -0
- data/vendor/pup410/lib/puppet/provider/service/launchd.rb +346 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/service/openbsd.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/service/openrc.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/service/openwrt.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/service/rcng.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/service/redhat.rb +0 -0
- data/vendor/pup410/lib/puppet/provider/service/runit.rb +111 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/service/service.rb +0 -0
- data/vendor/pup410/lib/puppet/provider/service/smf.rb +167 -0
- data/vendor/pup410/lib/puppet/provider/service/src.rb +147 -0
- data/vendor/pup410/lib/puppet/provider/service/systemd.rb +186 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/service/upstart.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/service/windows.rb +0 -0
- data/vendor/pup410/lib/puppet/provider/ssh_authorized_key/parsed.rb +105 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/sshkey/parsed.rb +0 -0
- data/vendor/pup410/lib/puppet/provider/user/aix.rb +375 -0
- data/vendor/pup410/lib/puppet/provider/user/directoryservice.rb +632 -0
- data/vendor/pup410/lib/puppet/provider/user/hpux.rb +95 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/user/ldap.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/user/openbsd.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/user/pw.rb +0 -0
- data/vendor/pup410/lib/puppet/provider/user/user_role_add.rb +227 -0
- data/vendor/pup410/lib/puppet/provider/user/useradd.rb +231 -0
- data/vendor/pup410/lib/puppet/provider/user/windows_adsi.rb +148 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/provider/vlan/cisco.rb +0 -0
- data/vendor/pup410/lib/puppet/provider/yumrepo/inifile.rb +304 -0
- data/vendor/pup410/lib/puppet/provider/zfs/zfs.rb +84 -0
- data/vendor/pup410/lib/puppet/provider/zone/solaris.rb +364 -0
- data/vendor/pup410/lib/puppet/provider/zpool/zpool.rb +125 -0
- data/vendor/pup410/lib/puppet/reference/configuration.rb +82 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/reference/function.rb +0 -0
- data/vendor/pup410/lib/puppet/reference/indirection.rb +71 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/reference/metaparameter.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/reference/providers.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/reference/report.rb +0 -0
- data/vendor/pup410/lib/puppet/reference/type.rb +114 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/relationship.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/reports.rb +0 -0
- data/vendor/pup410/lib/puppet/reports/http.rb +33 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/reports/log.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/reports/store.rb +0 -0
- data/vendor/pup410/lib/puppet/resource.rb +728 -0
- data/vendor/pup410/lib/puppet/resource/capability_finder.rb +128 -0
- data/vendor/pup410/lib/puppet/resource/catalog.rb +675 -0
- data/vendor/pup410/lib/puppet/resource/status.rb +232 -0
- data/vendor/pup410/lib/puppet/resource/type.rb +572 -0
- data/vendor/pup410/lib/puppet/resource/type_collection.rb +257 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/scheduler.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/scheduler/job.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/scheduler/scheduler.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/scheduler/splay_job.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/scheduler/timer.rb +0 -0
- data/vendor/pup410/lib/puppet/settings.rb +1455 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/settings/array_setting.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/settings/autosign_setting.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/settings/base_setting.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/settings/boolean_setting.rb +0 -0
- data/vendor/pup410/lib/puppet/settings/config_file.rb +143 -0
- data/vendor/pup410/lib/puppet/settings/directory_setting.rb +18 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/settings/duration_setting.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/settings/enum_setting.rb +0 -0
- data/vendor/pup410/lib/puppet/settings/environment_conf.rb +204 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/settings/errors.rb +0 -0
- data/vendor/pup410/lib/puppet/settings/file_or_directory_setting.rb +40 -0
- data/vendor/pup410/lib/puppet/settings/file_setting.rb +245 -0
- data/vendor/pup410/lib/puppet/settings/ini_file.rb +171 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/settings/path_setting.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/settings/priority_setting.rb +0 -0
- data/vendor/pup410/lib/puppet/settings/server_list_setting.rb +20 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/settings/string_setting.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/settings/symbolic_enum_setting.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/settings/terminus_setting.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/settings/ttl_setting.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/settings/value_translator.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/ssl.rb +0 -0
- data/vendor/pup410/lib/puppet/ssl/base.rb +153 -0
- data/vendor/pup410/lib/puppet/ssl/certificate.rb +95 -0
- data/vendor/pup410/lib/puppet/ssl/certificate_authority.rb +553 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/ssl/certificate_authority/autosign_command.rb +0 -0
- data/vendor/pup410/lib/puppet/ssl/certificate_authority/interface.rb +324 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/ssl/certificate_factory.rb +0 -0
- data/vendor/pup410/lib/puppet/ssl/certificate_request.rb +327 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/ssl/certificate_request_attributes.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/ssl/certificate_revocation_list.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/ssl/certificate_signer.rb +0 -0
- data/vendor/pup410/lib/puppet/ssl/configuration.rb +61 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/ssl/digest.rb +0 -0
- data/vendor/pup410/lib/puppet/ssl/host.rb +387 -0
- data/vendor/pup410/lib/puppet/ssl/inventory.rb +55 -0
- data/vendor/pup410/lib/puppet/ssl/key.rb +63 -0
- data/vendor/pup410/lib/puppet/ssl/oids.rb +187 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/ssl/validator.rb +0 -0
- data/vendor/pup410/lib/puppet/ssl/validator/default_validator.rb +174 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/ssl/validator/no_validator.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/status.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/syntax_checkers.rb +0 -0
- data/vendor/pup410/lib/puppet/syntax_checkers/base64.rb +41 -0
- data/vendor/pup410/lib/puppet/syntax_checkers/json.rb +35 -0
- data/vendor/pup410/lib/puppet/test/test_helper.rb +256 -0
- data/vendor/pup410/lib/puppet/transaction.rb +399 -0
- data/vendor/pup410/lib/puppet/transaction/additional_resource_generator.rb +219 -0
- data/vendor/pup410/lib/puppet/transaction/event.rb +133 -0
- data/vendor/pup410/lib/puppet/transaction/event_manager.rb +167 -0
- data/vendor/pup410/lib/puppet/transaction/persistence.rb +84 -0
- data/vendor/pup410/lib/puppet/transaction/report.rb +460 -0
- data/vendor/pup410/lib/puppet/transaction/resource_harness.rb +316 -0
- data/vendor/pup410/lib/puppet/type.rb +2670 -0
- data/vendor/pup410/lib/puppet/type/augeas.rb +211 -0
- data/vendor/pup410/lib/puppet/type/component.rb +88 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/computer.rb +0 -0
- data/vendor/pup410/lib/puppet/type/cron.rb +492 -0
- data/vendor/pup410/lib/puppet/type/exec.rb +622 -0
- data/vendor/pup410/lib/puppet/type/file.rb +1032 -0
- data/vendor/pup410/lib/puppet/type/file/checksum.rb +44 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/file/checksum_value.rb +0 -0
- data/vendor/pup410/lib/puppet/type/file/content.rb +160 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/file/ctime.rb +0 -0
- data/vendor/pup410/lib/puppet/type/file/data_sync.rb +92 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/file/ensure.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/file/group.rb +0 -0
- data/vendor/pup410/lib/puppet/type/file/mode.rb +177 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/file/mtime.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/file/owner.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/file/selcontext.rb +0 -0
- data/vendor/pup410/lib/puppet/type/file/source.rb +352 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/file/target.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/file/type.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/filebucket.rb +0 -0
- data/vendor/pup410/lib/puppet/type/group.rb +206 -0
- data/vendor/pup410/lib/puppet/type/host.rb +95 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/interface.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/k5login.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/macauthorization.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/mailalias.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/maillist.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/mcx.rb +0 -0
- data/vendor/pup410/lib/puppet/type/mount.rb +310 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/nagios_command.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/nagios_contact.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/nagios_contactgroup.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/nagios_host.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/nagios_hostdependency.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/nagios_hostescalation.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/nagios_hostextinfo.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/nagios_hostgroup.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/nagios_service.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/nagios_servicedependency.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/nagios_serviceescalation.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/nagios_serviceextinfo.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/nagios_servicegroup.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/nagios_timeperiod.rb +0 -0
- data/vendor/pup410/lib/puppet/type/notify.rb +44 -0
- data/vendor/pup410/lib/puppet/type/package.rb +571 -0
- data/vendor/pup410/lib/puppet/type/resources.rb +180 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/router.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/schedule.rb +0 -0
- data/vendor/pup410/lib/puppet/type/scheduled_task.rb +184 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/selboolean.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/selmodule.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/service.rb +0 -0
- data/vendor/pup410/lib/puppet/type/ssh_authorized_key.rb +159 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/sshkey.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/stage.rb +0 -0
- data/vendor/pup410/lib/puppet/type/tidy.rb +332 -0
- data/vendor/pup410/lib/puppet/type/user.rb +768 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/vlan.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/whit.rb +0 -0
- data/vendor/pup410/lib/puppet/type/yumrepo.rb +409 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/zfs.rb +0 -0
- data/vendor/pup410/lib/puppet/type/zone.rb +382 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/type/zpool.rb +0 -0
- data/vendor/pup410/lib/puppet/util.rb +701 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/autoload.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/backups.rb +0 -0
- data/vendor/pup410/lib/puppet/util/character_encoding.rb +98 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/checksums.rb +0 -0
- data/vendor/pup410/lib/puppet/util/classgen.rb +228 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/colors.rb +0 -0
- data/vendor/pup410/lib/puppet/util/command_line.rb +185 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/command_line/puppet_option_parser.rb +0 -0
- data/vendor/pup410/lib/puppet/util/command_line/trollop.rb +824 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/constant_inflector.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/diff.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/docs.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/errors.rb +0 -0
- data/vendor/pup410/lib/puppet/util/execution.rb +359 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/execution_stub.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/feature.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/file_watcher.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/fileparsing.rb +0 -0
- data/vendor/pup410/lib/puppet/util/filetype.rb +309 -0
- data/vendor/pup410/lib/puppet/util/http_proxy.rb +197 -0
- data/vendor/pup410/lib/puppet/util/inifile.rb +341 -0
- data/vendor/pup410/lib/puppet/util/instance_loader.rb +81 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/json_lockfile.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/ldap.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/ldap/connection.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/ldap/generator.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/ldap/manager.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/libuser.conf +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/libuser.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/limits.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/lockfile.rb +0 -0
- data/vendor/pup410/lib/puppet/util/log.rb +411 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/log/destination.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/log/destinations.rb +0 -0
- data/vendor/pup410/lib/puppet/util/logging.rb +311 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/metaid.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/methodhelper.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/metric.rb +0 -0
- data/vendor/pup410/lib/puppet/util/monkey_patches.rb +147 -0
- data/vendor/pup410/lib/puppet/util/multi_match.rb +51 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/nagios_maker.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/network_device.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/network_device/base.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/network_device/cisco.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/network_device/cisco/device.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/network_device/cisco/facts.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/network_device/cisco/interface.rb +0 -0
- data/vendor/pup410/lib/puppet/util/network_device/config.rb +98 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/network_device/ipcalc.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/network_device/transport.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/network_device/transport/base.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/network_device/transport/ssh.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/network_device/transport/telnet.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/package.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/pidlock.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/platform.rb +0 -0
- data/vendor/pup410/lib/puppet/util/plist.rb +151 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/posix.rb +0 -0
- data/vendor/pup410/lib/puppet/util/profiler.rb +53 -0
- data/vendor/pup410/lib/puppet/util/profiler/aggregate.rb +85 -0
- data/vendor/pup410/lib/puppet/util/profiler/around_profiler.rb +67 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/profiler/logging.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/profiler/object_counts.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/profiler/wall_clock.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/provider_features.rb +0 -0
- data/vendor/pup410/lib/puppet/util/psych_support.rb +38 -0
- data/vendor/pup410/lib/puppet/util/rdoc.rb +60 -0
- data/vendor/pup410/lib/puppet/util/reference.rb +126 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/resource_template.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/retry_action.rb +0 -0
- data/vendor/pup410/lib/puppet/util/rubygems.rb +75 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/run_mode.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/selinux.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/skip_tags.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/splayer.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/ssl.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/storage.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/suidmanager.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/symbolic_file_mode.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/tag_set.rb +0 -0
- data/vendor/pup410/lib/puppet/util/tagging.rb +118 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/terminal.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/user_attr.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/warnings.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/watched_file.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/watcher.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/watcher/change_watcher.rb +0 -0
- data/vendor/pup410/lib/puppet/util/watcher/periodic_watcher.rb +37 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/watcher/timer.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/windows.rb +0 -0
- data/vendor/pup410/lib/puppet/util/windows/access_control_entry.rb +84 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/windows/access_control_list.rb +0 -0
- data/vendor/pup410/lib/puppet/util/windows/adsi.rb +548 -0
- data/vendor/pup410/lib/puppet/util/windows/api_types.rb +282 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/windows/com.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/windows/error.rb +0 -0
- data/vendor/pup410/lib/puppet/util/windows/file.rb +488 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/windows/principal.rb +0 -0
- data/vendor/pup410/lib/puppet/util/windows/process.rb +497 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/windows/registry.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/windows/root_certs.rb +0 -0
- data/vendor/pup410/lib/puppet/util/windows/security.rb +857 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/windows/security_descriptor.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/windows/sid.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/util/windows/string.rb +0 -0
- data/vendor/pup410/lib/puppet/util/windows/taskscheduler.rb +1276 -0
- data/vendor/pup410/lib/puppet/util/windows/user.rb +309 -0
- data/vendor/pup410/lib/puppet/util/yaml.rb +36 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/deep_merge/CHANGELOG +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/deep_merge/Gemfile +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/deep_merge/LICENSE +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/deep_merge/PUPPET_README.md +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/deep_merge/README.md +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/deep_merge/Rakefile +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/deep_merge/deep_merge.gemspec +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/deep_merge/lib/deep_merge.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/deep_merge/lib/deep_merge/core.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/deep_merge/lib/deep_merge/deep_merge_hash.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/deep_merge/lib/deep_merge/rails_compat.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/load_deep_merge.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/load_pathspec.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/load_rgen.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/load_semantic.rb +0 -0
- data/vendor/pup410/lib/puppet/vendor/load_semantic_puppet.rb +1 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/pathspec/CHANGELOG.md +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/pathspec/LICENSE +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/pathspec/PUPPET_README.md +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/pathspec/README.md +0 -0
- data/vendor/pup410/lib/puppet/vendor/pathspec/lib/pathspec.rb +122 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/pathspec/lib/pathspec/gitignorespec.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/pathspec/lib/pathspec/regexspec.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/pathspec/lib/pathspec/spec.rb +0 -0
- data/vendor/pup410/lib/puppet/vendor/require_vendored.rb +6 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/CHANGELOG +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/MIT-LICENSE +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/PUPPET_README.md +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/README.rdoc +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/Rakefile +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/TODO +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/anounce.txt +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/design_rationale.txt +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/ea_support/ea_support.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/ea_support/id_store.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/ea_support/uml13_ea_metamodel.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/ea_support/uml13_ea_metamodel_ext.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/ea_support/uml13_ea_metamodel_generator.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/ea_support/uml13_ea_to_uml13.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/ea_support/uml13_to_uml13_ea.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/metamodels/uml13_metamodel.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/metamodels/uml13_metamodel_ext.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/mmgen/metamodel_generator.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/mmgen/mm_ext/ecore_mmgen_ext.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/mmgen/mmgen.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/mmgen/templates/annotations.tpl +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/mmgen/templates/metamodel_generator.tpl +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/array_extensions.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/ecore/ecore.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/ecore/ecore_builder_methods.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/ecore/ecore_ext.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/ecore/ecore_interface.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/ecore/ecore_to_ruby.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/ecore/ruby_to_ecore.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/environment.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/fragment/dump_file_cache.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/fragment/fragmented_model.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/fragment/model_fragment.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/instantiator/abstract_instantiator.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/instantiator/abstract_xml_instantiator.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/instantiator/default_xml_instantiator.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/instantiator/ecore_xml_instantiator.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/instantiator/json_instantiator.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/instantiator/json_parser.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/instantiator/json_parser.y +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/instantiator/nodebased_xml_instantiator.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/instantiator/qualified_name_resolver.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/instantiator/reference_resolver.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/instantiator/resolution_helper.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/instantiator/xmi11_instantiator.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/metamodel_builder.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/metamodel_builder/builder_extensions.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/metamodel_builder/builder_runtime.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/metamodel_builder/constant_order_helper.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/metamodel_builder/data_types.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/metamodel_builder/intermediate/annotation.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/metamodel_builder/intermediate/feature.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/metamodel_builder/mm_multiple.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/metamodel_builder/module_extension.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/model_builder.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/model_builder/builder_context.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/model_builder/model_serializer.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/model_builder/reference_resolver.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/serializer/json_serializer.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/serializer/opposite_reference_filter.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/serializer/qualified_name_provider.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/serializer/xmi11_serializer.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/serializer/xmi20_serializer.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/serializer/xml_serializer.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/template_language.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/template_language/directory_template_container.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/template_language/output_handler.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/template_language/template_container.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/template_language/template_helper.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/transformer.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/util/auto_class_creator.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/util/cached_glob.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/util/file_cache_map.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/util/file_change_detector.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/util/method_delegation.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/util/model_comparator.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/util/model_comparator_base.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/util/model_dumper.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/util/name_helper.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/rgen/util/pattern_matcher.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/transformers/ecore_to_uml13.rb +0 -0
- data/vendor/{gems/puppet-4.5.2 → pup410}/lib/puppet/vendor/rgen/lib/transformers/uml13_to_ecore.rb +0 -0
- data/vendor/pup410/lib/puppet/vendor/rgen_patch.rb +132 -0
- data/vendor/pup410/lib/puppet/vendor/semantic/lib/semantic.rb +5 -0
- data/vendor/pup410/lib/puppet/vendor/semantic_puppet/lib/semantic_puppet.rb +17 -0
- data/vendor/pup410/lib/puppet/vendor/semantic_puppet/lib/semantic_puppet/dependency.rb +181 -0
- data/vendor/pup410/lib/puppet/vendor/semantic_puppet/lib/semantic_puppet/dependency/graph.rb +60 -0
- data/vendor/pup410/lib/puppet/vendor/semantic_puppet/lib/semantic_puppet/dependency/graph_node.rb +117 -0
- data/vendor/pup410/lib/puppet/vendor/semantic_puppet/lib/semantic_puppet/dependency/module_release.rb +58 -0
- data/vendor/pup410/lib/puppet/vendor/semantic_puppet/lib/semantic_puppet/dependency/source.rb +25 -0
- data/vendor/pup410/lib/puppet/vendor/semantic_puppet/lib/semantic_puppet/dependency/unsatisfiable_graph.rb +31 -0
- data/vendor/pup410/lib/puppet/vendor/semantic_puppet/lib/semantic_puppet/gem_version.rb +3 -0
- data/vendor/pup410/lib/puppet/vendor/semantic_puppet/lib/semantic_puppet/locales/config.yaml +21 -0
- data/vendor/pup410/lib/puppet/vendor/semantic_puppet/lib/semantic_puppet/version.rb +195 -0
- data/vendor/pup410/lib/puppet/vendor/semantic_puppet/lib/semantic_puppet/version_range.rb +422 -0
- data/vendor/pup410/lib/puppet/version.rb +93 -0
- data/vendor/pup410/lib/puppet_x.rb +14 -0
- data/vendor/pup410/lib/semver.rb +146 -0
- data/vendor/pup410/locales/config.yaml +29 -0
- data/vendor/pup410/locales/puppet.pot +180 -0
- data/vendor/pup410/puppet-4.10.8.gemspec +17 -0
- metadata +1161 -1321
- data/vendor/gems/puppet-4.5.2/Gemfile +0 -92
- data/vendor/gems/puppet-4.5.2/bin/extlookup2hiera +0 -56
- data/vendor/gems/puppet-4.5.2/bin/puppet +0 -9
- data/vendor/gems/puppet-4.5.2/conf/auth.conf +0 -124
- data/vendor/gems/puppet-4.5.2/conf/environment.conf +0 -18
- data/vendor/gems/puppet-4.5.2/conf/fileserver.conf +0 -42
- data/vendor/gems/puppet-4.5.2/conf/puppet.conf +0 -6
- data/vendor/gems/puppet-4.5.2/ext/README.environment +0 -8
- data/vendor/gems/puppet-4.5.2/ext/autotest/Rakefile +0 -8
- data/vendor/gems/puppet-4.5.2/ext/autotest/config +0 -43
- data/vendor/gems/puppet-4.5.2/ext/autotest/readme.rst +0 -16
- data/vendor/gems/puppet-4.5.2/ext/build_defaults.yaml +0 -20
- data/vendor/gems/puppet-4.5.2/ext/cert_inspector +0 -140
- data/vendor/gems/puppet-4.5.2/ext/dbfix.sql +0 -132
- data/vendor/gems/puppet-4.5.2/ext/debian/README.Debian +0 -8
- data/vendor/gems/puppet-4.5.2/ext/debian/README.source +0 -2
- data/vendor/gems/puppet-4.5.2/ext/debian/TODO.Debian +0 -1
- data/vendor/gems/puppet-4.5.2/ext/debian/changelog.erb +0 -1122
- data/vendor/gems/puppet-4.5.2/ext/debian/compat +0 -1
- data/vendor/gems/puppet-4.5.2/ext/debian/control +0 -146
- data/vendor/gems/puppet-4.5.2/ext/debian/copyright +0 -361
- data/vendor/gems/puppet-4.5.2/ext/debian/docs +0 -1
- data/vendor/gems/puppet-4.5.2/ext/debian/fileserver.conf +0 -41
- data/vendor/gems/puppet-4.5.2/ext/debian/puppet-common.dirs +0 -13
- data/vendor/gems/puppet-4.5.2/ext/debian/puppet-common.install +0 -4
- data/vendor/gems/puppet-4.5.2/ext/debian/puppet-common.lintian-overrides +0 -5
- data/vendor/gems/puppet-4.5.2/ext/debian/puppet-common.manpages +0 -30
- data/vendor/gems/puppet-4.5.2/ext/debian/puppet-common.postinst +0 -35
- data/vendor/gems/puppet-4.5.2/ext/debian/puppet-common.postrm +0 -33
- data/vendor/gems/puppet-4.5.2/ext/debian/puppet-el.dirs +0 -1
- data/vendor/gems/puppet-4.5.2/ext/debian/puppet-el.emacsen-install +0 -25
- data/vendor/gems/puppet-4.5.2/ext/debian/puppet-el.emacsen-remove +0 -11
- data/vendor/gems/puppet-4.5.2/ext/debian/puppet-el.emacsen-startup +0 -9
- data/vendor/gems/puppet-4.5.2/ext/debian/puppet-el.install +0 -1
- data/vendor/gems/puppet-4.5.2/ext/debian/puppet-testsuite.install +0 -2
- data/vendor/gems/puppet-4.5.2/ext/debian/puppet-testsuite.lintian-overrides +0 -4
- data/vendor/gems/puppet-4.5.2/ext/debian/puppet.default +0 -4
- data/vendor/gems/puppet-4.5.2/ext/debian/puppet.init +0 -113
- data/vendor/gems/puppet-4.5.2/ext/debian/puppet.lintian-overrides +0 -3
- data/vendor/gems/puppet-4.5.2/ext/debian/puppet.logrotate +0 -20
- data/vendor/gems/puppet-4.5.2/ext/debian/puppet.postinst +0 -20
- data/vendor/gems/puppet-4.5.2/ext/debian/puppet.postrm +0 -20
- data/vendor/gems/puppet-4.5.2/ext/debian/puppet.preinst +0 -20
- data/vendor/gems/puppet-4.5.2/ext/debian/puppetmaster-common.install +0 -2
- data/vendor/gems/puppet-4.5.2/ext/debian/puppetmaster-common.manpages +0 -2
- data/vendor/gems/puppet-4.5.2/ext/debian/puppetmaster-common.postinst +0 -6
- data/vendor/gems/puppet-4.5.2/ext/debian/puppetmaster-passenger.dirs +0 -4
- data/vendor/gems/puppet-4.5.2/ext/debian/puppetmaster-passenger.postinst +0 -162
- data/vendor/gems/puppet-4.5.2/ext/debian/puppetmaster-passenger.postrm +0 -61
- data/vendor/gems/puppet-4.5.2/ext/debian/puppetmaster.README.debian +0 -17
- data/vendor/gems/puppet-4.5.2/ext/debian/puppetmaster.default +0 -14
- data/vendor/gems/puppet-4.5.2/ext/debian/puppetmaster.init +0 -137
- data/vendor/gems/puppet-4.5.2/ext/debian/puppetmaster.lintian-overrides +0 -3
- data/vendor/gems/puppet-4.5.2/ext/debian/puppetmaster.postinst +0 -20
- data/vendor/gems/puppet-4.5.2/ext/debian/puppetmaster.postrm +0 -5
- data/vendor/gems/puppet-4.5.2/ext/debian/puppetmaster.preinst +0 -22
- data/vendor/gems/puppet-4.5.2/ext/debian/rules +0 -132
- data/vendor/gems/puppet-4.5.2/ext/debian/source/format +0 -1
- data/vendor/gems/puppet-4.5.2/ext/debian/source/options +0 -1
- data/vendor/gems/puppet-4.5.2/ext/debian/vim-puppet.README.Debian +0 -13
- data/vendor/gems/puppet-4.5.2/ext/debian/vim-puppet.dirs +0 -5
- data/vendor/gems/puppet-4.5.2/ext/debian/vim-puppet.yaml +0 -7
- data/vendor/gems/puppet-4.5.2/ext/debian/watch +0 -2
- data/vendor/gems/puppet-4.5.2/ext/emacs/puppet-mode-init.el +0 -6
- data/vendor/gems/puppet-4.5.2/ext/emacs/puppet-mode.el +0 -433
- data/vendor/gems/puppet-4.5.2/ext/envpuppet +0 -139
- data/vendor/gems/puppet-4.5.2/ext/envpuppet.bat +0 -14
- data/vendor/gems/puppet-4.5.2/ext/freebsd/puppetd +0 -26
- data/vendor/gems/puppet-4.5.2/ext/freebsd/puppetmasterd +0 -26
- data/vendor/gems/puppet-4.5.2/ext/gentoo/conf.d/puppet +0 -5
- data/vendor/gems/puppet-4.5.2/ext/gentoo/conf.d/puppetmaster +0 -12
- data/vendor/gems/puppet-4.5.2/ext/gentoo/init.d/puppet +0 -38
- data/vendor/gems/puppet-4.5.2/ext/gentoo/init.d/puppetmaster +0 -51
- data/vendor/gems/puppet-4.5.2/ext/gentoo/puppet/fileserver.conf +0 -41
- data/vendor/gems/puppet-4.5.2/ext/ips/puppet-agent +0 -44
- data/vendor/gems/puppet-4.5.2/ext/ips/puppet-master +0 -44
- data/vendor/gems/puppet-4.5.2/ext/ips/puppet.p5m.erb +0 -12
- data/vendor/gems/puppet-4.5.2/ext/ips/puppetagent.xml +0 -42
- data/vendor/gems/puppet-4.5.2/ext/ips/puppetmaster.xml +0 -42
- data/vendor/gems/puppet-4.5.2/ext/ips/rules +0 -19
- data/vendor/gems/puppet-4.5.2/ext/ips/transforms +0 -34
- data/vendor/gems/puppet-4.5.2/ext/ldap/puppet.schema +0 -24
- data/vendor/gems/puppet-4.5.2/ext/logcheck/puppet +0 -23
- data/vendor/gems/puppet-4.5.2/ext/nagios/check_puppet.rb +0 -123
- data/vendor/gems/puppet-4.5.2/ext/osx/file_mapping.yaml +0 -33
- data/vendor/gems/puppet-4.5.2/ext/osx/postflight.erb +0 -109
- data/vendor/gems/puppet-4.5.2/ext/osx/preflight.erb +0 -52
- data/vendor/gems/puppet-4.5.2/ext/osx/prototype.plist.erb +0 -38
- data/vendor/gems/puppet-4.5.2/ext/osx/puppet.plist +0 -30
- data/vendor/gems/puppet-4.5.2/ext/project_data.yaml +0 -59
- data/vendor/gems/puppet-4.5.2/ext/puppet-test +0 -500
- data/vendor/gems/puppet-4.5.2/ext/puppetlisten/puppetlisten.rb +0 -77
- data/vendor/gems/puppet-4.5.2/ext/puppetlisten/puppetrun.rb +0 -38
- data/vendor/gems/puppet-4.5.2/ext/pure_ruby_dsl/dsl_test.rb +0 -7
- data/vendor/gems/puppet-4.5.2/ext/rack/config.ru +0 -44
- data/vendor/gems/puppet-4.5.2/ext/rack/example-passenger-vhost.conf +0 -57
- data/vendor/gems/puppet-4.5.2/ext/redhat/client.init +0 -169
- data/vendor/gems/puppet-4.5.2/ext/redhat/client.sysconfig +0 -2
- data/vendor/gems/puppet-4.5.2/ext/redhat/fileserver.conf +0 -41
- data/vendor/gems/puppet-4.5.2/ext/redhat/logrotate +0 -21
- data/vendor/gems/puppet-4.5.2/ext/redhat/puppet.spec.erb +0 -849
- data/vendor/gems/puppet-4.5.2/ext/redhat/server.init +0 -128
- data/vendor/gems/puppet-4.5.2/ext/redhat/server.sysconfig +0 -13
- data/vendor/gems/puppet-4.5.2/ext/regexp_nodes/classes/databases +0 -2
- data/vendor/gems/puppet-4.5.2/ext/regexp_nodes/classes/webservers +0 -2
- data/vendor/gems/puppet-4.5.2/ext/regexp_nodes/environment/development +0 -2
- data/vendor/gems/puppet-4.5.2/ext/regexp_nodes/parameters/service/prod +0 -1
- data/vendor/gems/puppet-4.5.2/ext/regexp_nodes/parameters/service/qa +0 -3
- data/vendor/gems/puppet-4.5.2/ext/regexp_nodes/parameters/service/sandbox +0 -1
- data/vendor/gems/puppet-4.5.2/ext/regexp_nodes/regexp_nodes.rb +0 -271
- data/vendor/gems/puppet-4.5.2/ext/solaris/pkginfo +0 -6
- data/vendor/gems/puppet-4.5.2/ext/solaris/smf/puppet +0 -44
- data/vendor/gems/puppet-4.5.2/ext/solaris/smf/puppet.xml +0 -44
- data/vendor/gems/puppet-4.5.2/ext/solaris/smf/puppetd.xml +0 -77
- data/vendor/gems/puppet-4.5.2/ext/solaris/smf/puppetmasterd.xml +0 -77
- data/vendor/gems/puppet-4.5.2/ext/solaris/smf/svc-puppetd +0 -64
- data/vendor/gems/puppet-4.5.2/ext/solaris/smf/svc-puppetmasterd +0 -60
- data/vendor/gems/puppet-4.5.2/ext/suse/client.init +0 -141
- data/vendor/gems/puppet-4.5.2/ext/suse/puppet.spec +0 -310
- data/vendor/gems/puppet-4.5.2/ext/suse/server.init +0 -173
- data/vendor/gems/puppet-4.5.2/ext/systemd/puppet.service +0 -15
- data/vendor/gems/puppet-4.5.2/ext/upload_facts.rb +0 -119
- data/vendor/gems/puppet-4.5.2/ext/vim/README +0 -3
- data/vendor/gems/puppet-4.5.2/ext/vim/ftdetect/puppet.vim +0 -2
- data/vendor/gems/puppet-4.5.2/ext/vim/ftplugin/puppet.vim +0 -94
- data/vendor/gems/puppet-4.5.2/ext/vim/indent/puppet.vim +0 -76
- data/vendor/gems/puppet-4.5.2/ext/vim/syntax/puppet.vim +0 -115
- data/vendor/gems/puppet-4.5.2/ext/windows/eventlog/Rakefile +0 -32
- data/vendor/gems/puppet-4.5.2/ext/windows/eventlog/puppetres.dll +0 -0
- data/vendor/gems/puppet-4.5.2/ext/windows/eventlog/puppetres.mc +0 -18
- data/vendor/gems/puppet-4.5.2/ext/windows/puppet_interactive.bat +0 -6
- data/vendor/gems/puppet-4.5.2/ext/windows/puppet_shell.bat +0 -9
- data/vendor/gems/puppet-4.5.2/ext/windows/run_puppet_interactive.bat +0 -9
- data/vendor/gems/puppet-4.5.2/ext/windows/service/daemon.bat +0 -6
- data/vendor/gems/puppet-4.5.2/ext/windows/service/daemon.rb +0 -192
- data/vendor/gems/puppet-4.5.2/ext/yaml_nodes.rb +0 -105
- data/vendor/gems/puppet-4.5.2/install.rb +0 -477
- data/vendor/gems/puppet-4.5.2/lib/hiera/puppet_function.rb +0 -82
- data/vendor/gems/puppet-4.5.2/lib/hiera/scope.rb +0 -63
- data/vendor/gems/puppet-4.5.2/lib/puppet.rb +0 -286
- data/vendor/gems/puppet-4.5.2/lib/puppet/agent.rb +0 -102
- data/vendor/gems/puppet-4.5.2/lib/puppet/agent/disabler.rb +0 -53
- data/vendor/gems/puppet-4.5.2/lib/puppet/agent/locker.rb +0 -52
- data/vendor/gems/puppet-4.5.2/lib/puppet/application.rb +0 -462
- data/vendor/gems/puppet-4.5.2/lib/puppet/application/agent.rb +0 -456
- data/vendor/gems/puppet-4.5.2/lib/puppet/application/apply.rb +0 -352
- data/vendor/gems/puppet-4.5.2/lib/puppet/application/ca.rb +0 -11
- data/vendor/gems/puppet-4.5.2/lib/puppet/application/catalog.rb +0 -4
- data/vendor/gems/puppet-4.5.2/lib/puppet/application/cert.rb +0 -297
- data/vendor/gems/puppet-4.5.2/lib/puppet/application/certificate.rb +0 -17
- data/vendor/gems/puppet-4.5.2/lib/puppet/application/certificate_request.rb +0 -7
- data/vendor/gems/puppet-4.5.2/lib/puppet/application/certificate_revocation_list.rb +0 -7
- data/vendor/gems/puppet-4.5.2/lib/puppet/application/config.rb +0 -4
- data/vendor/gems/puppet-4.5.2/lib/puppet/application/describe.rb +0 -254
- data/vendor/gems/puppet-4.5.2/lib/puppet/application/device.rb +0 -256
- data/vendor/gems/puppet-4.5.2/lib/puppet/application/doc.rb +0 -226
- data/vendor/gems/puppet-4.5.2/lib/puppet/application/epp.rb +0 -5
- data/vendor/gems/puppet-4.5.2/lib/puppet/application/face_base.rb +0 -269
- data/vendor/gems/puppet-4.5.2/lib/puppet/application/facts.rb +0 -4
- data/vendor/gems/puppet-4.5.2/lib/puppet/application/file.rb +0 -4
- data/vendor/gems/puppet-4.5.2/lib/puppet/application/filebucket.rb +0 -258
- data/vendor/gems/puppet-4.5.2/lib/puppet/application/help.rb +0 -4
- data/vendor/gems/puppet-4.5.2/lib/puppet/application/indirection_base.rb +0 -4
- data/vendor/gems/puppet-4.5.2/lib/puppet/application/inspect.rb +0 -179
- data/vendor/gems/puppet-4.5.2/lib/puppet/application/key.rb +0 -4
- data/vendor/gems/puppet-4.5.2/lib/puppet/application/lookup.rb +0 -342
- data/vendor/gems/puppet-4.5.2/lib/puppet/application/man.rb +0 -4
- data/vendor/gems/puppet-4.5.2/lib/puppet/application/master.rb +0 -321
- data/vendor/gems/puppet-4.5.2/lib/puppet/application/module.rb +0 -4
- data/vendor/gems/puppet-4.5.2/lib/puppet/application/node.rb +0 -4
- data/vendor/gems/puppet-4.5.2/lib/puppet/application/parser.rb +0 -5
- data/vendor/gems/puppet-4.5.2/lib/puppet/application/plugin.rb +0 -3
- data/vendor/gems/puppet-4.5.2/lib/puppet/application/report.rb +0 -4
- data/vendor/gems/puppet-4.5.2/lib/puppet/application/resource.rb +0 -224
- data/vendor/gems/puppet-4.5.2/lib/puppet/application/resource_type.rb +0 -7
- data/vendor/gems/puppet-4.5.2/lib/puppet/application/status.rb +0 -4
- data/vendor/gems/puppet-4.5.2/lib/puppet/application_support.rb +0 -57
- data/vendor/gems/puppet-4.5.2/lib/puppet/configurer.rb +0 -389
- data/vendor/gems/puppet-4.5.2/lib/puppet/configurer/fact_handler.rb +0 -37
- data/vendor/gems/puppet-4.5.2/lib/puppet/configurer/plugin_handler.rb +0 -27
- data/vendor/gems/puppet-4.5.2/lib/puppet/data_providers.rb +0 -30
- data/vendor/gems/puppet-4.5.2/lib/puppet/data_providers/data_adapter.rb +0 -30
- data/vendor/gems/puppet-4.5.2/lib/puppet/data_providers/data_function_support.rb +0 -24
- data/vendor/gems/puppet-4.5.2/lib/puppet/data_providers/function_env_data_provider.rb +0 -18
- data/vendor/gems/puppet-4.5.2/lib/puppet/data_providers/function_module_data_provider.rb +0 -17
- data/vendor/gems/puppet-4.5.2/lib/puppet/data_providers/hiera_config.rb +0 -129
- data/vendor/gems/puppet-4.5.2/lib/puppet/data_providers/hiera_env_data_provider.rb +0 -18
- data/vendor/gems/puppet-4.5.2/lib/puppet/data_providers/hiera_interpolate.rb +0 -19
- data/vendor/gems/puppet-4.5.2/lib/puppet/data_providers/hiera_module_data_provider.rb +0 -23
- data/vendor/gems/puppet-4.5.2/lib/puppet/data_providers/hiera_support.rb +0 -37
- data/vendor/gems/puppet-4.5.2/lib/puppet/data_providers/json_data_provider_factory.rb +0 -24
- data/vendor/gems/puppet-4.5.2/lib/puppet/data_providers/lookup_adapter.rb +0 -254
- data/vendor/gems/puppet-4.5.2/lib/puppet/data_providers/yaml_data_provider_factory.rb +0 -26
- data/vendor/gems/puppet-4.5.2/lib/puppet/defaults.rb +0 -1902
- data/vendor/gems/puppet-4.5.2/lib/puppet/environments.rb +0 -487
- data/vendor/gems/puppet-4.5.2/lib/puppet/error.rb +0 -100
- data/vendor/gems/puppet-4.5.2/lib/puppet/external/dot.rb +0 -326
- data/vendor/gems/puppet-4.5.2/lib/puppet/face/ca.rb +0 -254
- data/vendor/gems/puppet-4.5.2/lib/puppet/face/catalog.rb +0 -130
- data/vendor/gems/puppet-4.5.2/lib/puppet/face/certificate.rb +0 -159
- data/vendor/gems/puppet-4.5.2/lib/puppet/face/certificate_request.rb +0 -54
- data/vendor/gems/puppet-4.5.2/lib/puppet/face/certificate_revocation_list.rb +0 -54
- data/vendor/gems/puppet-4.5.2/lib/puppet/face/config.rb +0 -119
- data/vendor/gems/puppet-4.5.2/lib/puppet/face/epp.rb +0 -479
- data/vendor/gems/puppet-4.5.2/lib/puppet/face/facts.rb +0 -38
- data/vendor/gems/puppet-4.5.2/lib/puppet/face/file.rb +0 -47
- data/vendor/gems/puppet-4.5.2/lib/puppet/face/help.rb +0 -193
- data/vendor/gems/puppet-4.5.2/lib/puppet/face/help/face.erb +0 -111
- data/vendor/gems/puppet-4.5.2/lib/puppet/face/key.rb +0 -15
- data/vendor/gems/puppet-4.5.2/lib/puppet/face/man.rb +0 -99
- data/vendor/gems/puppet-4.5.2/lib/puppet/face/module.rb +0 -19
- data/vendor/gems/puppet-4.5.2/lib/puppet/face/module/generate.rb +0 -251
- data/vendor/gems/puppet-4.5.2/lib/puppet/face/module/install.rb +0 -145
- data/vendor/gems/puppet-4.5.2/lib/puppet/face/node.rb +0 -42
- data/vendor/gems/puppet-4.5.2/lib/puppet/face/parser.rb +0 -161
- data/vendor/gems/puppet-4.5.2/lib/puppet/face/plugin.rb +0 -58
- data/vendor/gems/puppet-4.5.2/lib/puppet/face/report.rb +0 -54
- data/vendor/gems/puppet-4.5.2/lib/puppet/face/resource.rb +0 -53
- data/vendor/gems/puppet-4.5.2/lib/puppet/face/resource_type.rb +0 -84
- data/vendor/gems/puppet-4.5.2/lib/puppet/face/status.rb +0 -48
- data/vendor/gems/puppet-4.5.2/lib/puppet/feature/base.rb +0 -87
- data/vendor/gems/puppet-4.5.2/lib/puppet/feature/external_facts.rb +0 -5
- data/vendor/gems/puppet-4.5.2/lib/puppet/file_serving/metadata.rb +0 -163
- data/vendor/gems/puppet-4.5.2/lib/puppet/file_system.rb +0 -376
- data/vendor/gems/puppet-4.5.2/lib/puppet/file_system/file_impl.rb +0 -149
- data/vendor/gems/puppet-4.5.2/lib/puppet/file_system/memory_impl.rb +0 -82
- data/vendor/gems/puppet-4.5.2/lib/puppet/file_system/path_pattern.rb +0 -97
- data/vendor/gems/puppet-4.5.2/lib/puppet/file_system/windows.rb +0 -103
- data/vendor/gems/puppet-4.5.2/lib/puppet/forge.rb +0 -226
- data/vendor/gems/puppet-4.5.2/lib/puppet/forge/cache.rb +0 -59
- data/vendor/gems/puppet-4.5.2/lib/puppet/forge/repository.rb +0 -155
- data/vendor/gems/puppet-4.5.2/lib/puppet/functions.rb +0 -732
- data/vendor/gems/puppet-4.5.2/lib/puppet/functions/assert_type.rb +0 -95
- data/vendor/gems/puppet-4.5.2/lib/puppet/functions/defined.rb +0 -161
- data/vendor/gems/puppet-4.5.2/lib/puppet/functions/dig.rb +0 -39
- data/vendor/gems/puppet-4.5.2/lib/puppet/functions/epp.rb +0 -45
- data/vendor/gems/puppet-4.5.2/lib/puppet/functions/hiera.rb +0 -81
- data/vendor/gems/puppet-4.5.2/lib/puppet/functions/hiera_array.rb +0 -74
- data/vendor/gems/puppet-4.5.2/lib/puppet/functions/hiera_hash.rb +0 -84
- data/vendor/gems/puppet-4.5.2/lib/puppet/functions/hiera_include.rb +0 -90
- data/vendor/gems/puppet-4.5.2/lib/puppet/functions/lest.rb +0 -53
- data/vendor/gems/puppet-4.5.2/lib/puppet/functions/new.rb +0 -502
- data/vendor/gems/puppet-4.5.2/lib/puppet/functions/regsubst.rb +0 -80
- data/vendor/gems/puppet-4.5.2/lib/puppet/functions/reverse_each.rb +0 -82
- data/vendor/gems/puppet-4.5.2/lib/puppet/functions/scanf.rb +0 -44
- data/vendor/gems/puppet-4.5.2/lib/puppet/functions/step.rb +0 -88
- data/vendor/gems/puppet-4.5.2/lib/puppet/functions/then.rb +0 -74
- data/vendor/gems/puppet-4.5.2/lib/puppet/functions/type.rb +0 -70
- data/vendor/gems/puppet-4.5.2/lib/puppet/graph/simple_graph.rb +0 -562
- data/vendor/gems/puppet-4.5.2/lib/puppet/indirector/catalog/compiler.rb +0 -367
- data/vendor/gems/puppet-4.5.2/lib/puppet/indirector/catalog/static_compiler.rb +0 -229
- data/vendor/gems/puppet-4.5.2/lib/puppet/indirector/face.rb +0 -148
- data/vendor/gems/puppet-4.5.2/lib/puppet/indirector/facts/facter.rb +0 -90
- data/vendor/gems/puppet-4.5.2/lib/puppet/indirector/file_bucket_file/file.rb +0 -199
- data/vendor/gems/puppet-4.5.2/lib/puppet/indirector/key/ca.rb +0 -16
- data/vendor/gems/puppet-4.5.2/lib/puppet/indirector/key/file.rb +0 -49
- data/vendor/gems/puppet-4.5.2/lib/puppet/indirector/request.rb +0 -256
- data/vendor/gems/puppet-4.5.2/lib/puppet/indirector/rest.rb +0 -260
- data/vendor/gems/puppet-4.5.2/lib/puppet/indirector/ssl_file.rb +0 -180
- data/vendor/gems/puppet-4.5.2/lib/puppet/info_service/class_information_service.rb +0 -112
- data/vendor/gems/puppet-4.5.2/lib/puppet/interface.rb +0 -228
- data/vendor/gems/puppet-4.5.2/lib/puppet/interface/documentation.rb +0 -342
- data/vendor/gems/puppet-4.5.2/lib/puppet/interface/face_collection.rb +0 -125
- data/vendor/gems/puppet-4.5.2/lib/puppet/loaders.rb +0 -23
- data/vendor/gems/puppet-4.5.2/lib/puppet/metatype/manager.rb +0 -195
- data/vendor/gems/puppet-4.5.2/lib/puppet/module.rb +0 -355
- data/vendor/gems/puppet-4.5.2/lib/puppet/module_tool.rb +0 -192
- data/vendor/gems/puppet-4.5.2/lib/puppet/module_tool/applications/builder.rb +0 -148
- data/vendor/gems/puppet-4.5.2/lib/puppet/module_tool/applications/installer.rb +0 -351
- data/vendor/gems/puppet-4.5.2/lib/puppet/module_tool/applications/upgrader.rb +0 -277
- data/vendor/gems/puppet-4.5.2/lib/puppet/module_tool/checksums.rb +0 -49
- data/vendor/gems/puppet-4.5.2/lib/puppet/module_tool/errors/installer.rb +0 -95
- data/vendor/gems/puppet-4.5.2/lib/puppet/module_tool/installed_modules.rb +0 -96
- data/vendor/gems/puppet-4.5.2/lib/puppet/module_tool/local_tarball.rb +0 -90
- data/vendor/gems/puppet-4.5.2/lib/puppet/module_tool/metadata.rb +0 -221
- data/vendor/gems/puppet-4.5.2/lib/puppet/module_tool/skeleton/templates/generator/examples/init.pp.erb +0 -12
- data/vendor/gems/puppet-4.5.2/lib/puppet/module_tool/tar.rb +0 -17
- data/vendor/gems/puppet-4.5.2/lib/puppet/network/http/api/indirected_routes.rb +0 -248
- data/vendor/gems/puppet-4.5.2/lib/puppet/network/http/api/master/v3.rb +0 -28
- data/vendor/gems/puppet-4.5.2/lib/puppet/network/http/compression.rb +0 -116
- data/vendor/gems/puppet-4.5.2/lib/puppet/network/http/connection.rb +0 -233
- data/vendor/gems/puppet-4.5.2/lib/puppet/network/http/error.rb +0 -69
- data/vendor/gems/puppet-4.5.2/lib/puppet/network/http/handler.rb +0 -178
- data/vendor/gems/puppet-4.5.2/lib/puppet/network/http/rack/rest.rb +0 -147
- data/vendor/gems/puppet-4.5.2/lib/puppet/network/http/webrick.rb +0 -124
- data/vendor/gems/puppet-4.5.2/lib/puppet/network/rights.rb +0 -219
- data/vendor/gems/puppet-4.5.2/lib/puppet/node/environment.rb +0 -540
- data/vendor/gems/puppet-4.5.2/lib/puppet/node/facts.rb +0 -133
- data/vendor/gems/puppet-4.5.2/lib/puppet/parameter.rb +0 -572
- data/vendor/gems/puppet-4.5.2/lib/puppet/parameter/boolean.rb +0 -15
- data/vendor/gems/puppet-4.5.2/lib/puppet/parameter/value.rb +0 -91
- data/vendor/gems/puppet-4.5.2/lib/puppet/parser.rb +0 -20
- data/vendor/gems/puppet-4.5.2/lib/puppet/parser/ast.rb +0 -60
- data/vendor/gems/puppet-4.5.2/lib/puppet/parser/ast/leaf.rb +0 -75
- data/vendor/gems/puppet-4.5.2/lib/puppet/parser/ast/pops_bridge.rb +0 -304
- data/vendor/gems/puppet-4.5.2/lib/puppet/parser/ast/resource.rb +0 -61
- data/vendor/gems/puppet-4.5.2/lib/puppet/parser/ast/resource_instance.rb +0 -6
- data/vendor/gems/puppet-4.5.2/lib/puppet/parser/ast/resourceparam.rb +0 -26
- data/vendor/gems/puppet-4.5.2/lib/puppet/parser/compiler.rb +0 -895
- data/vendor/gems/puppet-4.5.2/lib/puppet/parser/compiler/catalog_validator/relationship_validator.rb +0 -60
- data/vendor/gems/puppet-4.5.2/lib/puppet/parser/environment_compiler.rb +0 -164
- data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions.rb +0 -272
- data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/assert_type.rb +0 -60
- data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/contain.rb +0 -38
- data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/create_resources.rb +0 -83
- data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/defined.rb +0 -131
- data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/each.rb +0 -104
- data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/epp.rb +0 -36
- data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/filter.rb +0 -78
- data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/hiera.rb +0 -89
- data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/hiera_array.rb +0 -78
- data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/hiera_hash.rb +0 -88
- data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/hiera_include.rb +0 -88
- data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/include.rb +0 -37
- data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/inline_epp.rb +0 -51
- data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/lookup.rb +0 -130
- data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/map.rb +0 -76
- data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/match.rb +0 -43
- data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/reduce.rb +0 -106
- data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/regsubst.rb +0 -60
- data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/require.rb +0 -63
- data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/scanf.rb +0 -33
- data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/slice.rb +0 -39
- data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/split.rb +0 -28
- data/vendor/gems/puppet-4.5.2/lib/puppet/parser/functions/with.rb +0 -28
- data/vendor/gems/puppet-4.5.2/lib/puppet/parser/resource.rb +0 -367
- data/vendor/gems/puppet-4.5.2/lib/puppet/parser/scope.rb +0 -1082
- data/vendor/gems/puppet-4.5.2/lib/puppet/parser/type_loader.rb +0 -149
- data/vendor/gems/puppet-4.5.2/lib/puppet/plugins/configuration.rb +0 -69
- data/vendor/gems/puppet-4.5.2/lib/puppet/plugins/data_providers.rb +0 -42
- data/vendor/gems/puppet-4.5.2/lib/puppet/plugins/data_providers/data_provider.rb +0 -336
- data/vendor/gems/puppet-4.5.2/lib/puppet/plugins/data_providers/registry.rb +0 -84
- data/vendor/gems/puppet-4.5.2/lib/puppet/pops.rb +0 -136
- data/vendor/gems/puppet-4.5.2/lib/puppet/pops/adaptable.rb +0 -204
- data/vendor/gems/puppet-4.5.2/lib/puppet/pops/adapters.rb +0 -193
- data/vendor/gems/puppet-4.5.2/lib/puppet/pops/binder/producers.rb +0 -831
- data/vendor/gems/puppet-4.5.2/lib/puppet/pops/binder/scheme_handler/confdir_scheme.rb +0 -34
- data/vendor/gems/puppet-4.5.2/lib/puppet/pops/evaluator/access_operator.rb +0 -639
- data/vendor/gems/puppet-4.5.2/lib/puppet/pops/evaluator/callable_signature.rb +0 -100
- data/vendor/gems/puppet-4.5.2/lib/puppet/pops/evaluator/closure.rb +0 -270
- data/vendor/gems/puppet-4.5.2/lib/puppet/pops/evaluator/collector_transformer.rb +0 -229
- data/vendor/gems/puppet-4.5.2/lib/puppet/pops/evaluator/collectors/catalog_collector.rb +0 -29
- data/vendor/gems/puppet-4.5.2/lib/puppet/pops/evaluator/collectors/exported_collector.rb +0 -69
- data/vendor/gems/puppet-4.5.2/lib/puppet/pops/evaluator/compare_operator.rb +0 -229
- data/vendor/gems/puppet-4.5.2/lib/puppet/pops/evaluator/evaluator_impl.rb +0 -1218
- data/vendor/gems/puppet-4.5.2/lib/puppet/pops/evaluator/external_syntax_support.rb +0 -52
- data/vendor/gems/puppet-4.5.2/lib/puppet/pops/evaluator/json_strict_literal_evaluator.rb +0 -85
- data/vendor/gems/puppet-4.5.2/lib/puppet/pops/evaluator/literal_evaluator.rb +0 -88
- data/vendor/gems/puppet-4.5.2/lib/puppet/pops/evaluator/relationship_operator.rb +0 -169
- data/vendor/gems/puppet-4.5.2/lib/puppet/pops/evaluator/runtime3_converter.rb +0 -192
- data/vendor/gems/puppet-4.5.2/lib/puppet/pops/evaluator/runtime3_support.rb +0 -537
- data/vendor/gems/puppet-4.5.2/lib/puppet/pops/functions/dispatch.rb +0 -85
- data/vendor/gems/puppet-4.5.2/lib/puppet/pops/functions/dispatcher.rb +0 -76
- data/vendor/gems/puppet-4.5.2/lib/puppet/pops/functions/function.rb +0 -113
- data/vendor/gems/puppet-4.5.2/lib/puppet/pops/issue_reporter.rb +0 -115
- data/vendor/gems/puppet-4.5.2/lib/puppet/pops/issues.rb +0 -729
- data/vendor/gems/puppet-4.5.2/lib/puppet/pops/label_provider.rb +0 -76
- data/vendor/gems/puppet-4.5.2/lib/puppet/pops/loader/base_loader.rb +0 -143
- data/vendor/gems/puppet-4.5.2/lib/puppet/pops/loader/loader.rb +0 -204
- data/vendor/gems/puppet-4.5.2/lib/puppet/pops/loader/loader_paths.rb +0 -194
- data/vendor/gems/puppet-4.5.2/lib/puppet/pops/loader/module_loaders.rb +0 -273
- data/vendor/gems/puppet-4.5.2/lib/puppet/pops/loader/null_loader.rb +0 -44
- data/vendor/gems/puppet-4.5.2/lib/puppet/pops/loader/puppet_function_instantiator.rb +0 -83
- data/vendor/gems/puppet-4.5.2/lib/puppet/pops/loader/ruby_function_instantiator.rb +0 -47
- data/vendor/gems/puppet-4.5.2/lib/puppet/pops/loader/runtime3_type_loader.rb +0 -57
- data/vendor/gems/puppet-4.5.2/lib/puppet/pops/loader/static_loader.rb +0 -166
- data/vendor/gems/puppet-4.5.2/lib/puppet/pops/loader/type_definition_instantiator.rb +0 -77
- data/vendor/gems/puppet-4.5.2/lib/puppet/pops/loaders.rb +0 -352
- data/vendor/gems/puppet-4.5.2/lib/puppet/pops/lookup.rb +0 -79
- data/vendor/gems/puppet-4.5.2/lib/puppet/pops/lookup/explainer.rb +0 -509
- data/vendor/gems/puppet-4.5.2/lib/puppet/pops/lookup/interpolation.rb +0 -115
- data/vendor/gems/puppet-4.5.2/lib/puppet/pops/lookup/invocation.rb +0 -119
- data/vendor/gems/puppet-4.5.2/lib/puppet/pops/lookup/sub_lookup.rb +0 -86
- data/vendor/gems/puppet-4.5.2/lib/puppet/pops/merge_strategy.rb +0 -338
- data/vendor/gems/puppet-4.5.2/lib/puppet/pops/migration/migration_checker.rb +0 -54
- data/vendor/gems/puppet-4.5.2/lib/puppet/pops/model/factory.rb +0 -1139
- data/vendor/gems/puppet-4.5.2/lib/puppet/pops/model/model_label_provider.rb +0 -125
- data/vendor/gems/puppet-4.5.2/lib/puppet/pops/model/model_meta.rb +0 -627
- data/vendor/gems/puppet-4.5.2/lib/puppet/pops/model/model_tree_dumper.rb +0 -437
- data/vendor/gems/puppet-4.5.2/lib/puppet/pops/parser/egrammar.ra +0 -866
- data/vendor/gems/puppet-4.5.2/lib/puppet/pops/parser/eparser.rb +0 -3157
- data/vendor/gems/puppet-4.5.2/lib/puppet/pops/parser/evaluating_parser.rb +0 -165
- data/vendor/gems/puppet-4.5.2/lib/puppet/pops/parser/heredoc_support.rb +0 -144
- data/vendor/gems/puppet-4.5.2/lib/puppet/pops/parser/interpolation_support.rb +0 -237
- data/vendor/gems/puppet-4.5.2/lib/puppet/pops/parser/lexer2.rb +0 -768
- data/vendor/gems/puppet-4.5.2/lib/puppet/pops/parser/locator.rb +0 -292
- data/vendor/gems/puppet-4.5.2/lib/puppet/pops/parser/parser_support.rb +0 -254
- data/vendor/gems/puppet-4.5.2/lib/puppet/pops/parser/slurp_support.rb +0 -119
- data/vendor/gems/puppet-4.5.2/lib/puppet/pops/patterns.rb +0 -47
- data/vendor/gems/puppet-4.5.2/lib/puppet/pops/pcore.rb +0 -30
- data/vendor/gems/puppet-4.5.2/lib/puppet/pops/semantic_error.rb +0 -17
- data/vendor/gems/puppet-4.5.2/lib/puppet/pops/types/implementation_registry.rb +0 -146
- data/vendor/gems/puppet-4.5.2/lib/puppet/pops/types/p_object_type.rb +0 -846
- data/vendor/gems/puppet-4.5.2/lib/puppet/pops/types/p_runtime_type.rb +0 -102
- data/vendor/gems/puppet-4.5.2/lib/puppet/pops/types/p_sem_ver_range_type.rb +0 -164
- data/vendor/gems/puppet-4.5.2/lib/puppet/pops/types/p_sem_ver_type.rb +0 -113
- data/vendor/gems/puppet-4.5.2/lib/puppet/pops/types/puppet_object.rb +0 -21
- data/vendor/gems/puppet-4.5.2/lib/puppet/pops/types/recursion_guard.rb +0 -92
- data/vendor/gems/puppet-4.5.2/lib/puppet/pops/types/ruby_generator.rb +0 -258
- data/vendor/gems/puppet-4.5.2/lib/puppet/pops/types/string_converter.rb +0 -922
- data/vendor/gems/puppet-4.5.2/lib/puppet/pops/types/type_asserter.rb +0 -47
- data/vendor/gems/puppet-4.5.2/lib/puppet/pops/types/type_calculator.rb +0 -807
- data/vendor/gems/puppet-4.5.2/lib/puppet/pops/types/type_factory.rb +0 -491
- data/vendor/gems/puppet-4.5.2/lib/puppet/pops/types/type_formatter.rb +0 -569
- data/vendor/gems/puppet-4.5.2/lib/puppet/pops/types/type_mismatch_describer.rb +0 -1039
- data/vendor/gems/puppet-4.5.2/lib/puppet/pops/types/type_parser.rb +0 -525
- data/vendor/gems/puppet-4.5.2/lib/puppet/pops/types/types.rb +0 -2855
- data/vendor/gems/puppet-4.5.2/lib/puppet/pops/validation.rb +0 -462
- data/vendor/gems/puppet-4.5.2/lib/puppet/pops/validation/checker4_0.rb +0 -956
- data/vendor/gems/puppet-4.5.2/lib/puppet/pops/validation/validator_factory_4_0.rb +0 -37
- data/vendor/gems/puppet-4.5.2/lib/puppet/pops/visitor.rb +0 -94
- data/vendor/gems/puppet-4.5.2/lib/puppet/property.rb +0 -537
- data/vendor/gems/puppet-4.5.2/lib/puppet/provider.rb +0 -604
- data/vendor/gems/puppet-4.5.2/lib/puppet/provider/aixobject.rb +0 -392
- data/vendor/gems/puppet-4.5.2/lib/puppet/provider/exec.rb +0 -96
- data/vendor/gems/puppet-4.5.2/lib/puppet/provider/group/aix.rb +0 -141
- data/vendor/gems/puppet-4.5.2/lib/puppet/provider/group/windows_adsi.rb +0 -106
- data/vendor/gems/puppet-4.5.2/lib/puppet/provider/macauthorization/macauthorization.rb +0 -298
- data/vendor/gems/puppet-4.5.2/lib/puppet/provider/mailalias/aliases.rb +0 -50
- data/vendor/gems/puppet-4.5.2/lib/puppet/provider/mcx/mcxcontent.rb +0 -172
- data/vendor/gems/puppet-4.5.2/lib/puppet/provider/mount/parsed.rb +0 -280
- data/vendor/gems/puppet-4.5.2/lib/puppet/provider/nameservice.rb +0 -292
- data/vendor/gems/puppet-4.5.2/lib/puppet/provider/nameservice/directoryservice.rb +0 -499
- data/vendor/gems/puppet-4.5.2/lib/puppet/provider/package/aix.rb +0 -152
- data/vendor/gems/puppet-4.5.2/lib/puppet/provider/package/appdmg.rb +0 -110
- data/vendor/gems/puppet-4.5.2/lib/puppet/provider/package/apple.rb +0 -47
- data/vendor/gems/puppet-4.5.2/lib/puppet/provider/package/dnf.rb +0 -41
- data/vendor/gems/puppet-4.5.2/lib/puppet/provider/package/gem.rb +0 -169
- data/vendor/gems/puppet-4.5.2/lib/puppet/provider/package/nim.rb +0 -280
- data/vendor/gems/puppet-4.5.2/lib/puppet/provider/package/pacman.rb +0 -267
- data/vendor/gems/puppet-4.5.2/lib/puppet/provider/package/pip.rb +0 -178
- data/vendor/gems/puppet-4.5.2/lib/puppet/provider/package/pip3.rb +0 -20
- data/vendor/gems/puppet-4.5.2/lib/puppet/provider/package/pkg.rb +0 -245
- data/vendor/gems/puppet-4.5.2/lib/puppet/provider/package/pkgdmg.rb +0 -152
- data/vendor/gems/puppet-4.5.2/lib/puppet/provider/package/pkgin.rb +0 -87
- data/vendor/gems/puppet-4.5.2/lib/puppet/provider/package/pkgng.rb +0 -143
- data/vendor/gems/puppet-4.5.2/lib/puppet/provider/package/pkgutil.rb +0 -186
- data/vendor/gems/puppet-4.5.2/lib/puppet/provider/package/portage.rb +0 -153
- data/vendor/gems/puppet-4.5.2/lib/puppet/provider/package/rpm.rb +0 -402
- data/vendor/gems/puppet-4.5.2/lib/puppet/provider/package/sun.rb +0 -132
- data/vendor/gems/puppet-4.5.2/lib/puppet/provider/package/yum.rb +0 -241
- data/vendor/gems/puppet-4.5.2/lib/puppet/provider/parsedfile.rb +0 -459
- data/vendor/gems/puppet-4.5.2/lib/puppet/provider/scheduled_task/win32_taskscheduler.rb +0 -583
- data/vendor/gems/puppet-4.5.2/lib/puppet/provider/selmodule/semodule.rb +0 -134
- data/vendor/gems/puppet-4.5.2/lib/puppet/provider/service/base.rb +0 -121
- data/vendor/gems/puppet-4.5.2/lib/puppet/provider/service/bsd.rb +0 -51
- data/vendor/gems/puppet-4.5.2/lib/puppet/provider/service/daemontools.rb +0 -194
- data/vendor/gems/puppet-4.5.2/lib/puppet/provider/service/debian.rb +0 -74
- data/vendor/gems/puppet-4.5.2/lib/puppet/provider/service/init.rb +0 -191
- data/vendor/gems/puppet-4.5.2/lib/puppet/provider/service/launchd.rb +0 -331
- data/vendor/gems/puppet-4.5.2/lib/puppet/provider/service/runit.rb +0 -111
- data/vendor/gems/puppet-4.5.2/lib/puppet/provider/service/smf.rb +0 -160
- data/vendor/gems/puppet-4.5.2/lib/puppet/provider/service/src.rb +0 -147
- data/vendor/gems/puppet-4.5.2/lib/puppet/provider/service/systemd.rb +0 -149
- data/vendor/gems/puppet-4.5.2/lib/puppet/provider/ssh_authorized_key/parsed.rb +0 -105
- data/vendor/gems/puppet-4.5.2/lib/puppet/provider/user/aix.rb +0 -369
- data/vendor/gems/puppet-4.5.2/lib/puppet/provider/user/directoryservice.rb +0 -630
- data/vendor/gems/puppet-4.5.2/lib/puppet/provider/user/hpux.rb +0 -95
- data/vendor/gems/puppet-4.5.2/lib/puppet/provider/user/user_role_add.rb +0 -212
- data/vendor/gems/puppet-4.5.2/lib/puppet/provider/user/useradd.rb +0 -231
- data/vendor/gems/puppet-4.5.2/lib/puppet/provider/user/windows_adsi.rb +0 -142
- data/vendor/gems/puppet-4.5.2/lib/puppet/provider/yumrepo/inifile.rb +0 -304
- data/vendor/gems/puppet-4.5.2/lib/puppet/provider/zfs/zfs.rb +0 -84
- data/vendor/gems/puppet-4.5.2/lib/puppet/provider/zone/solaris.rb +0 -361
- data/vendor/gems/puppet-4.5.2/lib/puppet/provider/zpool/zpool.rb +0 -125
- data/vendor/gems/puppet-4.5.2/lib/puppet/reference/configuration.rb +0 -80
- data/vendor/gems/puppet-4.5.2/lib/puppet/reference/indirection.rb +0 -71
- data/vendor/gems/puppet-4.5.2/lib/puppet/reference/type.rb +0 -114
- data/vendor/gems/puppet-4.5.2/lib/puppet/reports/http.rb +0 -31
- data/vendor/gems/puppet-4.5.2/lib/puppet/resource.rb +0 -623
- data/vendor/gems/puppet-4.5.2/lib/puppet/resource/capability_finder.rb +0 -102
- data/vendor/gems/puppet-4.5.2/lib/puppet/resource/catalog.rb +0 -652
- data/vendor/gems/puppet-4.5.2/lib/puppet/resource/status.rb +0 -223
- data/vendor/gems/puppet-4.5.2/lib/puppet/resource/type.rb +0 -562
- data/vendor/gems/puppet-4.5.2/lib/puppet/resource/type_collection.rb +0 -256
- data/vendor/gems/puppet-4.5.2/lib/puppet/resource/type_collection_helper.rb +0 -7
- data/vendor/gems/puppet-4.5.2/lib/puppet/settings.rb +0 -1431
- data/vendor/gems/puppet-4.5.2/lib/puppet/settings/config_file.rb +0 -142
- data/vendor/gems/puppet-4.5.2/lib/puppet/settings/directory_setting.rb +0 -12
- data/vendor/gems/puppet-4.5.2/lib/puppet/settings/environment_conf.rb +0 -192
- data/vendor/gems/puppet-4.5.2/lib/puppet/settings/file_or_directory_setting.rb +0 -34
- data/vendor/gems/puppet-4.5.2/lib/puppet/settings/file_setting.rb +0 -235
- data/vendor/gems/puppet-4.5.2/lib/puppet/settings/ini_file.rb +0 -171
- data/vendor/gems/puppet-4.5.2/lib/puppet/ssl/base.rb +0 -140
- data/vendor/gems/puppet-4.5.2/lib/puppet/ssl/certificate.rb +0 -95
- data/vendor/gems/puppet-4.5.2/lib/puppet/ssl/certificate_authority.rb +0 -517
- data/vendor/gems/puppet-4.5.2/lib/puppet/ssl/certificate_authority/interface.rb +0 -184
- data/vendor/gems/puppet-4.5.2/lib/puppet/ssl/certificate_request.rb +0 -327
- data/vendor/gems/puppet-4.5.2/lib/puppet/ssl/configuration.rb +0 -58
- data/vendor/gems/puppet-4.5.2/lib/puppet/ssl/host.rb +0 -365
- data/vendor/gems/puppet-4.5.2/lib/puppet/ssl/inventory.rb +0 -48
- data/vendor/gems/puppet-4.5.2/lib/puppet/ssl/key.rb +0 -59
- data/vendor/gems/puppet-4.5.2/lib/puppet/ssl/oids.rb +0 -177
- data/vendor/gems/puppet-4.5.2/lib/puppet/ssl/validator/default_validator.rb +0 -174
- data/vendor/gems/puppet-4.5.2/lib/puppet/syntax_checkers/json.rb +0 -37
- data/vendor/gems/puppet-4.5.2/lib/puppet/test/test_helper.rb +0 -253
- data/vendor/gems/puppet-4.5.2/lib/puppet/transaction.rb +0 -381
- data/vendor/gems/puppet-4.5.2/lib/puppet/transaction/additional_resource_generator.rb +0 -207
- data/vendor/gems/puppet-4.5.2/lib/puppet/transaction/event.rb +0 -106
- data/vendor/gems/puppet-4.5.2/lib/puppet/transaction/event_manager.rb +0 -167
- data/vendor/gems/puppet-4.5.2/lib/puppet/transaction/report.rb +0 -408
- data/vendor/gems/puppet-4.5.2/lib/puppet/transaction/resource_harness.rb +0 -236
- data/vendor/gems/puppet-4.5.2/lib/puppet/type.rb +0 -2615
- data/vendor/gems/puppet-4.5.2/lib/puppet/type/augeas.rb +0 -211
- data/vendor/gems/puppet-4.5.2/lib/puppet/type/component.rb +0 -77
- data/vendor/gems/puppet-4.5.2/lib/puppet/type/cron.rb +0 -492
- data/vendor/gems/puppet-4.5.2/lib/puppet/type/exec.rb +0 -601
- data/vendor/gems/puppet-4.5.2/lib/puppet/type/file.rb +0 -995
- data/vendor/gems/puppet-4.5.2/lib/puppet/type/file/checksum.rb +0 -43
- data/vendor/gems/puppet-4.5.2/lib/puppet/type/file/content.rb +0 -160
- data/vendor/gems/puppet-4.5.2/lib/puppet/type/file/data_sync.rb +0 -84
- data/vendor/gems/puppet-4.5.2/lib/puppet/type/file/mode.rb +0 -173
- data/vendor/gems/puppet-4.5.2/lib/puppet/type/file/source.rb +0 -346
- data/vendor/gems/puppet-4.5.2/lib/puppet/type/group.rb +0 -200
- data/vendor/gems/puppet-4.5.2/lib/puppet/type/host.rb +0 -95
- data/vendor/gems/puppet-4.5.2/lib/puppet/type/mount.rb +0 -314
- data/vendor/gems/puppet-4.5.2/lib/puppet/type/notify.rb +0 -44
- data/vendor/gems/puppet-4.5.2/lib/puppet/type/package.rb +0 -571
- data/vendor/gems/puppet-4.5.2/lib/puppet/type/resources.rb +0 -180
- data/vendor/gems/puppet-4.5.2/lib/puppet/type/scheduled_task.rb +0 -184
- data/vendor/gems/puppet-4.5.2/lib/puppet/type/ssh_authorized_key.rb +0 -153
- data/vendor/gems/puppet-4.5.2/lib/puppet/type/tidy.rb +0 -329
- data/vendor/gems/puppet-4.5.2/lib/puppet/type/user.rb +0 -747
- data/vendor/gems/puppet-4.5.2/lib/puppet/type/yumrepo.rb +0 -409
- data/vendor/gems/puppet-4.5.2/lib/puppet/type/zone.rb +0 -382
- data/vendor/gems/puppet-4.5.2/lib/puppet/util.rb +0 -579
- data/vendor/gems/puppet-4.5.2/lib/puppet/util/classgen.rb +0 -228
- data/vendor/gems/puppet-4.5.2/lib/puppet/util/command_line.rb +0 -181
- data/vendor/gems/puppet-4.5.2/lib/puppet/util/command_line/trollop.rb +0 -824
- data/vendor/gems/puppet-4.5.2/lib/puppet/util/execution.rb +0 -356
- data/vendor/gems/puppet-4.5.2/lib/puppet/util/filetype.rb +0 -303
- data/vendor/gems/puppet-4.5.2/lib/puppet/util/http_proxy.rb +0 -197
- data/vendor/gems/puppet-4.5.2/lib/puppet/util/inifile.rb +0 -341
- data/vendor/gems/puppet-4.5.2/lib/puppet/util/instance_loader.rb +0 -81
- data/vendor/gems/puppet-4.5.2/lib/puppet/util/log.rb +0 -386
- data/vendor/gems/puppet-4.5.2/lib/puppet/util/logging.rb +0 -310
- data/vendor/gems/puppet-4.5.2/lib/puppet/util/monkey_patches.rb +0 -145
- data/vendor/gems/puppet-4.5.2/lib/puppet/util/multi_match.rb +0 -51
- data/vendor/gems/puppet-4.5.2/lib/puppet/util/network_device/config.rb +0 -98
- data/vendor/gems/puppet-4.5.2/lib/puppet/util/plist.rb +0 -130
- data/vendor/gems/puppet-4.5.2/lib/puppet/util/profiler.rb +0 -53
- data/vendor/gems/puppet-4.5.2/lib/puppet/util/profiler/aggregate.rb +0 -85
- data/vendor/gems/puppet-4.5.2/lib/puppet/util/profiler/around_profiler.rb +0 -67
- data/vendor/gems/puppet-4.5.2/lib/puppet/util/psych_support.rb +0 -38
- data/vendor/gems/puppet-4.5.2/lib/puppet/util/rdoc.rb +0 -60
- data/vendor/gems/puppet-4.5.2/lib/puppet/util/reference.rb +0 -124
- data/vendor/gems/puppet-4.5.2/lib/puppet/util/rubygems.rb +0 -75
- data/vendor/gems/puppet-4.5.2/lib/puppet/util/tagging.rb +0 -118
- data/vendor/gems/puppet-4.5.2/lib/puppet/util/watcher/periodic_watcher.rb +0 -37
- data/vendor/gems/puppet-4.5.2/lib/puppet/util/windows/access_control_entry.rb +0 -84
- data/vendor/gems/puppet-4.5.2/lib/puppet/util/windows/adsi.rb +0 -523
- data/vendor/gems/puppet-4.5.2/lib/puppet/util/windows/api_types.rb +0 -275
- data/vendor/gems/puppet-4.5.2/lib/puppet/util/windows/file.rb +0 -425
- data/vendor/gems/puppet-4.5.2/lib/puppet/util/windows/process.rb +0 -479
- data/vendor/gems/puppet-4.5.2/lib/puppet/util/windows/security.rb +0 -857
- data/vendor/gems/puppet-4.5.2/lib/puppet/util/windows/taskscheduler.rb +0 -1220
- data/vendor/gems/puppet-4.5.2/lib/puppet/util/windows/user.rb +0 -291
- data/vendor/gems/puppet-4.5.2/lib/puppet/util/yaml.rb +0 -24
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/deep_merge/test/test_deep_merge.rb +0 -608
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/pathspec/lib/pathspec.rb +0 -121
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/require_vendored.rb +0 -7
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/array_extensions_test.rb +0 -64
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/ea_instantiator_test.rb +0 -35
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/ea_serializer_test.rb +0 -23
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/ecore_self_test.rb +0 -54
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/environment_test.rb +0 -90
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/json_test.rb +0 -171
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/metamodel_builder_test.rb +0 -1482
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/metamodel_from_ecore_test.rb +0 -57
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/metamodel_order_test.rb +0 -131
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/metamodel_roundtrip_test.rb +0 -98
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/metamodel_roundtrip_test/TestModel.rb +0 -70
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/metamodel_roundtrip_test/houseMetamodel.ecore +0 -42
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/metamodel_roundtrip_test/houseMetamodel_from_ecore.rb +0 -44
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/metamodel_roundtrip_test/using_builtin_types.ecore +0 -9
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/method_delegation_test.rb +0 -178
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/model_builder/builder_context_test.rb +0 -59
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/model_builder/builder_test.rb +0 -242
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/model_builder/ecore_original.rb +0 -163
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/model_builder/ecore_original_regenerated.rb +0 -163
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/model_builder/reference_resolver_test.rb +0 -156
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/model_builder/serializer_test.rb +0 -94
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/model_builder/statemachine_metamodel.rb +0 -42
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/model_builder/test_model/statemachine1.rb +0 -23
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/model_builder_test.rb +0 -6
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/model_fragment_test.rb +0 -30
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/output_handler_test.rb +0 -58
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/qualified_name_provider_test.rb +0 -48
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/qualified_name_resolver_test.rb +0 -102
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/reference_resolver_test.rb +0 -117
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/rgen_test.rb +0 -26
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/template_language_test.rb +0 -163
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/template_language_test/expected_result1.txt +0 -29
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/template_language_test/expected_result2.txt +0 -9
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/template_language_test/expected_result3.txt +0 -4
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/template_language_test/indentStringTestDefaultIndent.out +0 -1
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/template_language_test/indentStringTestTabIndent.out +0 -1
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/template_language_test/templates/callback_indent_test/a.tpl +0 -12
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/template_language_test/templates/callback_indent_test/b.tpl +0 -5
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/template_language_test/templates/code/array.tpl +0 -11
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/template_language_test/templates/content/author.tpl +0 -7
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/template_language_test/templates/content/chapter.tpl +0 -5
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/template_language_test/templates/define_local_test/local.tpl +0 -8
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/template_language_test/templates/define_local_test/test.tpl +0 -8
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/template_language_test/templates/evaluate_test/test.tpl +0 -7
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/template_language_test/templates/indent_string_test.tpl +0 -12
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/template_language_test/templates/index/c/cmod.tpl +0 -1
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/template_language_test/templates/index/chapter.tpl +0 -3
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/template_language_test/templates/no_backslash_r_test.tpl +0 -5
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/template_language_test/templates/no_indent_test/no_indent.tpl +0 -3
- 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
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/template_language_test/templates/no_indent_test/test.tpl +0 -24
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/template_language_test/templates/no_indent_test/test2.tpl +0 -13
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/template_language_test/templates/no_indent_test/test3.tpl +0 -10
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/template_language_test/templates/null_context_test.tpl +0 -17
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/template_language_test/templates/root.tpl +0 -31
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/template_language_test/templates/template_resolution_test/sub1.tpl +0 -9
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/template_language_test/templates/template_resolution_test/sub1/sub1.tpl +0 -3
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/template_language_test/templates/template_resolution_test/test.tpl +0 -4
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/template_language_test/testout.txt +0 -29
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/testmodel/class_model_checker.rb +0 -119
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/testmodel/ea_testmodel.eap +0 -0
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/testmodel/ea_testmodel.xml +0 -1029
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/testmodel/ea_testmodel_partial.xml +0 -317
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/testmodel/ecore_model_checker.rb +0 -101
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/testmodel/manual_testmodel.xml +0 -22
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/testmodel/object_model_checker.rb +0 -67
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/transformer_test.rb +0 -254
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/util/file_cache_map_test.rb +0 -99
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/util/pattern_matcher_test.rb +0 -97
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/util_test.rb +0 -5
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/xml_instantiator_test.rb +0 -160
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/xml_instantiator_test/simple_ecore_model_checker.rb +0 -94
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/xml_instantiator_test/simple_xmi_ecore_instantiator.rb +0 -53
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/xml_instantiator_test/simple_xmi_metamodel.rb +0 -49
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/test/xml_instantiator_test/simple_xmi_to_ecore.rb +0 -75
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen_patch.rb +0 -132
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/semantic/Gemfile +0 -20
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/semantic/PUPPET_README.md +0 -6
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/semantic/Rakefile +0 -69
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/semantic/lib/semantic.rb +0 -7
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/semantic/lib/semantic/dependency.rb +0 -181
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/semantic/lib/semantic/dependency/graph.rb +0 -60
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/semantic/lib/semantic/dependency/graph_node.rb +0 -117
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/semantic/lib/semantic/dependency/module_release.rb +0 -60
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/semantic/lib/semantic/dependency/source.rb +0 -25
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/semantic/lib/semantic/dependency/unsatisfiable_graph.rb +0 -31
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/semantic/lib/semantic/version.rb +0 -168
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/semantic/lib/semantic/version_range.rb +0 -424
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/semantic/spec/spec_helper.rb +0 -24
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/semantic/spec/unit/semantic/dependency/graph_node_spec.rb +0 -141
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/semantic/spec/unit/semantic/dependency/graph_spec.rb +0 -162
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/semantic/spec/unit/semantic/dependency/module_release_spec.rb +0 -143
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/semantic/spec/unit/semantic/dependency/source_spec.rb +0 -5
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/semantic/spec/unit/semantic/dependency/unsatisfiable_graph_spec.rb +0 -44
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/semantic/spec/unit/semantic/dependency_spec.rb +0 -383
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/semantic/spec/unit/semantic/version_range_spec.rb +0 -307
- data/vendor/gems/puppet-4.5.2/lib/puppet/vendor/semantic/spec/unit/semantic/version_spec.rb +0 -608
- data/vendor/gems/puppet-4.5.2/lib/puppet/version.rb +0 -89
- data/vendor/gems/puppet-4.5.2/lib/puppet_x.rb +0 -8
- data/vendor/gems/puppet-4.5.2/lib/semver.rb +0 -139
- data/vendor/gems/puppet-4.5.2/puppet-4.5.2.gemspec +0 -104
@@ -0,0 +1,228 @@
|
|
1
|
+
require 'puppet/vendor'
|
2
|
+
Puppet::Vendor.load_vendored
|
3
|
+
|
4
|
+
require 'net/http'
|
5
|
+
require 'tempfile'
|
6
|
+
require 'uri'
|
7
|
+
require 'pathname'
|
8
|
+
require 'json'
|
9
|
+
require 'semantic_puppet'
|
10
|
+
|
11
|
+
class Puppet::Forge < SemanticPuppet::Dependency::Source
|
12
|
+
require 'puppet/forge/cache'
|
13
|
+
require 'puppet/forge/repository'
|
14
|
+
require 'puppet/forge/errors'
|
15
|
+
|
16
|
+
include Puppet::Forge::Errors
|
17
|
+
|
18
|
+
USER_AGENT = "PMT/1.1.1 (v3; Net::HTTP)".freeze
|
19
|
+
|
20
|
+
attr_reader :host, :repository
|
21
|
+
|
22
|
+
def initialize(host = Puppet[:module_repository])
|
23
|
+
@host = host
|
24
|
+
@repository = Puppet::Forge::Repository.new(host, USER_AGENT)
|
25
|
+
end
|
26
|
+
|
27
|
+
# Return a list of module metadata hashes that match the search query.
|
28
|
+
# This return value is used by the module_tool face install search,
|
29
|
+
# and displayed to on the console.
|
30
|
+
#
|
31
|
+
# Example return value:
|
32
|
+
#
|
33
|
+
# [
|
34
|
+
# {
|
35
|
+
# "author" => "puppetlabs",
|
36
|
+
# "name" => "bacula",
|
37
|
+
# "tag_list" => ["backup", "bacula"],
|
38
|
+
# "releases" => [{"version"=>"0.0.1"}, {"version"=>"0.0.2"}],
|
39
|
+
# "full_name" => "puppetlabs/bacula",
|
40
|
+
# "version" => "0.0.2",
|
41
|
+
# "project_url" => "https://github.com/puppetlabs/puppetlabs-bacula",
|
42
|
+
# "desc" => "bacula"
|
43
|
+
# }
|
44
|
+
# ]
|
45
|
+
#
|
46
|
+
# @param term [String] search term
|
47
|
+
# @return [Array] modules found
|
48
|
+
# @raise [Puppet::Forge::Errors::CommunicationError] if there is a network
|
49
|
+
# related error
|
50
|
+
# @raise [Puppet::Forge::Errors::SSLVerifyError] if there is a problem
|
51
|
+
# verifying the remote SSL certificate
|
52
|
+
# @raise [Puppet::Forge::Errors::ResponseError] if the repository returns a
|
53
|
+
# bad HTTP response
|
54
|
+
def search(term)
|
55
|
+
matches = []
|
56
|
+
uri = "/v3/modules?query=#{term}"
|
57
|
+
if Puppet[:module_groups]
|
58
|
+
uri += "&module_groups=#{Puppet[:module_groups].gsub('+', ' ')}"
|
59
|
+
end
|
60
|
+
|
61
|
+
while uri
|
62
|
+
# make_http_request URI encodes parameters
|
63
|
+
response = make_http_request(uri)
|
64
|
+
|
65
|
+
if response.code == '200'
|
66
|
+
result = JSON.parse(response.body)
|
67
|
+
uri = result['pagination']['next']
|
68
|
+
matches.concat result['results']
|
69
|
+
else
|
70
|
+
raise ResponseError.new(:uri => URI.parse(@host).merge(uri), :response => response)
|
71
|
+
end
|
72
|
+
end
|
73
|
+
|
74
|
+
matches.each do |mod|
|
75
|
+
mod['author'] = mod['owner']['username']
|
76
|
+
mod['tag_list'] = mod['current_release']['tags']
|
77
|
+
mod['full_name'] = "#{mod['author']}/#{mod['name']}"
|
78
|
+
mod['version'] = mod['current_release']['version']
|
79
|
+
mod['project_url'] = mod['homepage_url']
|
80
|
+
mod['desc'] = mod['current_release']['metadata']['summary'] || ''
|
81
|
+
end
|
82
|
+
end
|
83
|
+
|
84
|
+
# Fetches {ModuleRelease} entries for each release of the named module.
|
85
|
+
#
|
86
|
+
# @param input [String] the module name to look up
|
87
|
+
# @return [Array<SemanticPuppet::Dependency::ModuleRelease>] a list of releases for
|
88
|
+
# the given name
|
89
|
+
# @see SemanticPuppet::Dependency::Source#fetch
|
90
|
+
def fetch(input)
|
91
|
+
name = input.tr('/', '-')
|
92
|
+
uri = "/v3/releases?module=#{name}"
|
93
|
+
if Puppet[:module_groups]
|
94
|
+
uri += "&module_groups=#{Puppet[:module_groups].gsub('+', ' ')}"
|
95
|
+
end
|
96
|
+
releases = []
|
97
|
+
|
98
|
+
while uri
|
99
|
+
# make_http_request URI encodes parameters
|
100
|
+
response = make_http_request(uri)
|
101
|
+
|
102
|
+
if response.code == '200'
|
103
|
+
response = JSON.parse(response.body)
|
104
|
+
else
|
105
|
+
raise ResponseError.new(:uri => URI.parse(@host).merge(uri), :response => response)
|
106
|
+
end
|
107
|
+
|
108
|
+
releases.concat(process(response['results']))
|
109
|
+
uri = response['pagination']['next']
|
110
|
+
end
|
111
|
+
|
112
|
+
return releases
|
113
|
+
end
|
114
|
+
|
115
|
+
def make_http_request(*args)
|
116
|
+
@repository.make_http_request(*args)
|
117
|
+
end
|
118
|
+
|
119
|
+
class ModuleRelease < SemanticPuppet::Dependency::ModuleRelease
|
120
|
+
attr_reader :install_dir, :metadata
|
121
|
+
|
122
|
+
def initialize(source, data)
|
123
|
+
@data = data
|
124
|
+
@metadata = meta = data['metadata']
|
125
|
+
|
126
|
+
name = meta['name'].tr('/', '-')
|
127
|
+
version = SemanticPuppet::Version.parse(meta['version'])
|
128
|
+
release = "#{name}@#{version}"
|
129
|
+
|
130
|
+
if meta['dependencies']
|
131
|
+
dependencies = meta['dependencies'].collect do |dep|
|
132
|
+
begin
|
133
|
+
Puppet::ModuleTool::Metadata.new.add_dependency(dep['name'], dep['version_requirement'], dep['repository'])
|
134
|
+
Puppet::ModuleTool.parse_module_dependency(release, dep)[0..1]
|
135
|
+
rescue ArgumentError => e
|
136
|
+
raise ArgumentError, "Malformed dependency: #{dep['name']}. Exception was: #{e}"
|
137
|
+
end
|
138
|
+
end
|
139
|
+
else
|
140
|
+
dependencies = []
|
141
|
+
end
|
142
|
+
|
143
|
+
super(source, name, version, Hash[dependencies])
|
144
|
+
end
|
145
|
+
|
146
|
+
def install(dir)
|
147
|
+
staging_dir = self.prepare
|
148
|
+
|
149
|
+
module_dir = dir + name[/-(.*)/, 1]
|
150
|
+
module_dir.rmtree if module_dir.exist?
|
151
|
+
|
152
|
+
# Make sure unpacked module has the same ownership as the folder we are moving it into.
|
153
|
+
Puppet::ModuleTool::Applications::Unpacker.harmonize_ownership(dir, staging_dir)
|
154
|
+
|
155
|
+
FileUtils.mv(staging_dir, module_dir)
|
156
|
+
@install_dir = dir
|
157
|
+
|
158
|
+
# Return the Pathname object representing the directory where the
|
159
|
+
# module release archive was unpacked the to.
|
160
|
+
return module_dir
|
161
|
+
ensure
|
162
|
+
staging_dir.rmtree if staging_dir.exist?
|
163
|
+
end
|
164
|
+
|
165
|
+
def prepare
|
166
|
+
return @unpacked_into if @unpacked_into
|
167
|
+
|
168
|
+
download(@data['file_uri'], tmpfile)
|
169
|
+
validate_checksum(tmpfile, @data['file_md5'])
|
170
|
+
unpack(tmpfile, tmpdir)
|
171
|
+
|
172
|
+
@unpacked_into = Pathname.new(tmpdir)
|
173
|
+
end
|
174
|
+
|
175
|
+
private
|
176
|
+
|
177
|
+
# Obtain a suitable temporary path for unpacking tarballs
|
178
|
+
#
|
179
|
+
# @return [Pathname] path to temporary unpacking location
|
180
|
+
def tmpdir
|
181
|
+
@dir ||= Dir.mktmpdir(name, Puppet::Forge::Cache.base_path)
|
182
|
+
end
|
183
|
+
|
184
|
+
def tmpfile
|
185
|
+
@file ||= Tempfile.new(name, Puppet::Forge::Cache.base_path).tap do |f|
|
186
|
+
f.binmode
|
187
|
+
end
|
188
|
+
end
|
189
|
+
|
190
|
+
def download(uri, destination)
|
191
|
+
response = @source.make_http_request(uri, destination)
|
192
|
+
destination.flush and destination.close
|
193
|
+
unless response.code == '200'
|
194
|
+
raise Puppet::Forge::Errors::ResponseError.new(:uri => uri, :response => response)
|
195
|
+
end
|
196
|
+
end
|
197
|
+
|
198
|
+
def validate_checksum(file, checksum)
|
199
|
+
if Digest::MD5.file(file.path).hexdigest != checksum
|
200
|
+
raise RuntimeError, "Downloaded release for #{name} did not match expected checksum"
|
201
|
+
end
|
202
|
+
end
|
203
|
+
|
204
|
+
def unpack(file, destination)
|
205
|
+
begin
|
206
|
+
Puppet::ModuleTool::Applications::Unpacker.unpack(file.path, destination)
|
207
|
+
rescue Puppet::ExecutionFailure => e
|
208
|
+
raise RuntimeError, "Could not extract contents of module archive: #{e.message}"
|
209
|
+
end
|
210
|
+
end
|
211
|
+
end
|
212
|
+
|
213
|
+
private
|
214
|
+
|
215
|
+
def process(list)
|
216
|
+
l = list.map do |release|
|
217
|
+
metadata = release['metadata']
|
218
|
+
begin
|
219
|
+
ModuleRelease.new(self, release)
|
220
|
+
rescue ArgumentError => e
|
221
|
+
Puppet.warning "Cannot consider release #{metadata['name']}-#{metadata['version']}: #{e}"
|
222
|
+
false
|
223
|
+
end
|
224
|
+
end
|
225
|
+
|
226
|
+
l.select { |r| r }
|
227
|
+
end
|
228
|
+
end
|
@@ -0,0 +1,60 @@
|
|
1
|
+
require 'uri'
|
2
|
+
|
3
|
+
require 'puppet/forge'
|
4
|
+
|
5
|
+
class Puppet::Forge
|
6
|
+
# = Cache
|
7
|
+
#
|
8
|
+
# Provides methods for reading files from local cache, filesystem or network.
|
9
|
+
class Cache
|
10
|
+
|
11
|
+
# Instantiate new cache for the +repository+ instance.
|
12
|
+
def initialize(repository, options = {})
|
13
|
+
@repository = repository
|
14
|
+
@options = options
|
15
|
+
end
|
16
|
+
|
17
|
+
# Return filename retrieved from +uri+ instance. Will download this file and
|
18
|
+
# cache it if needed.
|
19
|
+
#
|
20
|
+
# TODO: Add checksum support.
|
21
|
+
# TODO: Add error checking.
|
22
|
+
def retrieve(url)
|
23
|
+
(path + File.basename(url.to_s)).tap do |cached_file|
|
24
|
+
uri = url.is_a?(::URI) ? url : ::URI.parse(url)
|
25
|
+
unless cached_file.file?
|
26
|
+
if uri.scheme == 'file'
|
27
|
+
# CGI.unescape butchers Uris that are escaped properly
|
28
|
+
FileUtils.cp(URI.unescape(uri.path), cached_file)
|
29
|
+
else
|
30
|
+
# TODO: Handle HTTPS; probably should use repository.contact
|
31
|
+
data = read_retrieve(uri)
|
32
|
+
cached_file.open('wb') { |f| f.write data }
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
37
|
+
|
38
|
+
# Return contents of file at the given URI's +uri+.
|
39
|
+
def read_retrieve(uri)
|
40
|
+
return uri.read
|
41
|
+
end
|
42
|
+
|
43
|
+
# Return Pathname for repository's cache directory, create it if needed.
|
44
|
+
def path
|
45
|
+
(self.class.base_path + @repository.cache_key).tap{ |o| o.mkpath }
|
46
|
+
end
|
47
|
+
|
48
|
+
# Return the base Pathname for all the caches.
|
49
|
+
def self.base_path
|
50
|
+
(Pathname(Puppet.settings[:module_working_dir]) + 'cache').tap do |o|
|
51
|
+
o.mkpath unless o.exist?
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
55
|
+
# Clean out all the caches.
|
56
|
+
def self.clean
|
57
|
+
base_path.rmtree if base_path.exist?
|
58
|
+
end
|
59
|
+
end
|
60
|
+
end
|
File without changes
|
@@ -0,0 +1,155 @@
|
|
1
|
+
require 'net/https'
|
2
|
+
require 'digest/sha1'
|
3
|
+
require 'uri'
|
4
|
+
require 'puppet/util/http_proxy'
|
5
|
+
require 'puppet/forge'
|
6
|
+
require 'puppet/forge/errors'
|
7
|
+
require 'puppet/network/http'
|
8
|
+
|
9
|
+
class Puppet::Forge
|
10
|
+
# = Repository
|
11
|
+
#
|
12
|
+
# This class is a file for accessing remote repositories with modules.
|
13
|
+
class Repository
|
14
|
+
include Puppet::Forge::Errors
|
15
|
+
|
16
|
+
attr_reader :uri, :cache
|
17
|
+
|
18
|
+
# List of Net::HTTP exceptions to catch
|
19
|
+
NET_HTTP_EXCEPTIONS = [
|
20
|
+
EOFError,
|
21
|
+
Errno::ECONNABORTED,
|
22
|
+
Errno::ECONNREFUSED,
|
23
|
+
Errno::ECONNRESET,
|
24
|
+
Errno::EINVAL,
|
25
|
+
Errno::ETIMEDOUT,
|
26
|
+
Net::HTTPBadResponse,
|
27
|
+
Net::HTTPHeaderSyntaxError,
|
28
|
+
Net::ProtocolError,
|
29
|
+
SocketError,
|
30
|
+
]
|
31
|
+
|
32
|
+
if Puppet.features.zlib?
|
33
|
+
NET_HTTP_EXCEPTIONS << Zlib::GzipFile::Error
|
34
|
+
end
|
35
|
+
|
36
|
+
# Instantiate a new repository instance rooted at the +url+.
|
37
|
+
# The library will report +for_agent+ in the User-Agent to the repository.
|
38
|
+
def initialize(host, for_agent)
|
39
|
+
@host = host
|
40
|
+
@agent = for_agent
|
41
|
+
@cache = Cache.new(self)
|
42
|
+
@uri = URI.parse(host)
|
43
|
+
end
|
44
|
+
|
45
|
+
# Return a Net::HTTPResponse read for this +path+.
|
46
|
+
def make_http_request(path, io = nil)
|
47
|
+
Puppet.debug "HTTP GET #{@host}#{path}"
|
48
|
+
request = get_request_object(@uri.path.chomp('/')+path)
|
49
|
+
return read_response(request, io)
|
50
|
+
end
|
51
|
+
|
52
|
+
def forge_authorization
|
53
|
+
if Puppet[:forge_authorization]
|
54
|
+
Puppet[:forge_authorization]
|
55
|
+
elsif Puppet.features.pe_license?
|
56
|
+
PELicense.load_license_key.authorization_token
|
57
|
+
end
|
58
|
+
end
|
59
|
+
|
60
|
+
# responsible for properly encoding a URI
|
61
|
+
def get_request_object(path)
|
62
|
+
headers = {
|
63
|
+
"User-Agent" => user_agent,
|
64
|
+
}
|
65
|
+
|
66
|
+
if Puppet.features.zlib?
|
67
|
+
headers = headers.merge({
|
68
|
+
"Accept-Encoding" => Puppet::Network::HTTP::Compression::ACCEPT_ENCODING
|
69
|
+
})
|
70
|
+
end
|
71
|
+
|
72
|
+
if forge_authorization
|
73
|
+
headers = headers.merge({"Authorization" => forge_authorization})
|
74
|
+
end
|
75
|
+
|
76
|
+
request = Net::HTTP::Get.new(Puppet::Util.uri_encode(path), headers)
|
77
|
+
|
78
|
+
unless @uri.user.nil? || @uri.password.nil? || forge_authorization
|
79
|
+
request.basic_auth(@uri.user, @uri.password)
|
80
|
+
end
|
81
|
+
|
82
|
+
return request
|
83
|
+
end
|
84
|
+
|
85
|
+
# Return a Net::HTTPResponse read from this HTTPRequest +request+.
|
86
|
+
#
|
87
|
+
# @param request [Net::HTTPRequest] request to make
|
88
|
+
# @return [Net::HTTPResponse] response from request
|
89
|
+
# @raise [Puppet::Forge::Errors::CommunicationError] if there is a network
|
90
|
+
# related error
|
91
|
+
# @raise [Puppet::Forge::Errors::SSLVerifyError] if there is a problem
|
92
|
+
# verifying the remote SSL certificate
|
93
|
+
def read_response(request, io = nil)
|
94
|
+
http_object = Puppet::Util::HttpProxy.get_http_object(uri)
|
95
|
+
|
96
|
+
http_object.start do |http|
|
97
|
+
response = http.request(request)
|
98
|
+
|
99
|
+
if Puppet.features.zlib?
|
100
|
+
if response && response.key?("content-encoding")
|
101
|
+
case response["content-encoding"]
|
102
|
+
when "gzip"
|
103
|
+
response.body = Zlib::GzipReader.new(StringIO.new(response.read_body), :encoding => "ASCII-8BIT").read
|
104
|
+
response.delete("content-encoding")
|
105
|
+
when "deflate"
|
106
|
+
response.body = Zlib::Inflate.inflate(response.read_body)
|
107
|
+
response.delete("content-encoding")
|
108
|
+
end
|
109
|
+
end
|
110
|
+
end
|
111
|
+
|
112
|
+
io.write(response.body) if io.respond_to? :write
|
113
|
+
response
|
114
|
+
end
|
115
|
+
rescue *NET_HTTP_EXCEPTIONS => e
|
116
|
+
raise CommunicationError.new(:uri => @uri.to_s, :original => e)
|
117
|
+
rescue OpenSSL::SSL::SSLError => e
|
118
|
+
if e.message =~ /certificate verify failed/
|
119
|
+
raise SSLVerifyError.new(:uri => @uri.to_s, :original => e)
|
120
|
+
else
|
121
|
+
raise e
|
122
|
+
end
|
123
|
+
end
|
124
|
+
|
125
|
+
# Return the local file name containing the data downloaded from the
|
126
|
+
# repository at +release+ (e.g. "myuser-mymodule").
|
127
|
+
def retrieve(release)
|
128
|
+
path = @host.chomp('/') + release
|
129
|
+
return cache.retrieve(path)
|
130
|
+
end
|
131
|
+
|
132
|
+
# Return the URI string for this repository.
|
133
|
+
def to_s
|
134
|
+
"#<#{self.class} #{@host}>"
|
135
|
+
end
|
136
|
+
|
137
|
+
# Return the cache key for this repository, this a hashed string based on
|
138
|
+
# the URI.
|
139
|
+
def cache_key
|
140
|
+
return @cache_key ||= [
|
141
|
+
@host.to_s.gsub(/[^[:alnum:]]+/, '_').sub(/_$/, ''),
|
142
|
+
Digest::SHA1.hexdigest(@host.to_s)
|
143
|
+
].join('-').freeze
|
144
|
+
end
|
145
|
+
|
146
|
+
private
|
147
|
+
|
148
|
+
def user_agent
|
149
|
+
@user_agent ||= [
|
150
|
+
@agent,
|
151
|
+
Puppet[:http_user_agent]
|
152
|
+
].join(' ').freeze
|
153
|
+
end
|
154
|
+
end
|
155
|
+
end
|
@@ -0,0 +1,774 @@
|
|
1
|
+
# Functions in the puppet language can be written in Ruby and distributed in
|
2
|
+
# puppet modules. The function is written by creating a file in the module's
|
3
|
+
# `lib/puppet/functions/<modulename>` directory, where `<modulename>` is
|
4
|
+
# replaced with the module's name. The file should have the name of the function.
|
5
|
+
# For example, to create a function named `min` in a module named `math` create
|
6
|
+
# a file named `lib/puppet/functions/math/min.rb` in the module.
|
7
|
+
#
|
8
|
+
# A function is implemented by calling {Puppet::Functions.create_function}, and
|
9
|
+
# passing it a block that defines the implementation of the function.
|
10
|
+
#
|
11
|
+
# Functions are namespaced inside the module that contains them. The name of
|
12
|
+
# the function is prefixed with the name of the module. For example,
|
13
|
+
# `math::min`.
|
14
|
+
#
|
15
|
+
# @example A simple function
|
16
|
+
# Puppet::Functions.create_function('math::min') do
|
17
|
+
# def min(a, b)
|
18
|
+
# a <= b ? a : b
|
19
|
+
# end
|
20
|
+
# end
|
21
|
+
#
|
22
|
+
# Anatomy of a function
|
23
|
+
# ---
|
24
|
+
#
|
25
|
+
# Functions are composed of four parts: the name, the implementation methods,
|
26
|
+
# the signatures, and the dispatches.
|
27
|
+
#
|
28
|
+
# The name is the string given to the {Puppet::Functions.create_function}
|
29
|
+
# method. It specifies the name to use when calling the function in the puppet
|
30
|
+
# language, or from other functions.
|
31
|
+
#
|
32
|
+
# The implementation methods are ruby methods (there can be one or more) that
|
33
|
+
# provide that actual implementation of the function's behavior. In the
|
34
|
+
# simplest case the name of the function (excluding any namespace) and the name
|
35
|
+
# of the method are the same. When that is done no other parts (signatures and
|
36
|
+
# dispatches) need to be used.
|
37
|
+
#
|
38
|
+
# Signatures are a way of specifying the types of the function's parameters.
|
39
|
+
# The types of any arguments will be checked against the types declared in the
|
40
|
+
# signature and an error will be produced if they don't match. The types are
|
41
|
+
# defined by using the same syntax for types as in the puppet language.
|
42
|
+
#
|
43
|
+
# Dispatches are how signatures and implementation methods are tied together.
|
44
|
+
# When the function is called, puppet searches the signatures for one that
|
45
|
+
# matches the supplied arguments. Each signature is part of a dispatch, which
|
46
|
+
# specifies the method that should be called for that signature. When a
|
47
|
+
# matching signature is found, the corresponding method is called.
|
48
|
+
#
|
49
|
+
# Special dispatches designed to create error messages for an argument mismatch
|
50
|
+
# can be added using the keyword `argument_mismatch` instead of `dispatch`. The
|
51
|
+
# method appointed by an `argument_mismatch` will be called with arguments
|
52
|
+
# just like a normal `dispatch` would, but the method must produce a string.
|
53
|
+
# The string is then used as the message in the `ArgumentError` that is raised
|
54
|
+
# when the method returns. A block parameter can be given, but it is not
|
55
|
+
# propagated in the method call.
|
56
|
+
#
|
57
|
+
# Documentation for the function should be placed as comments to the
|
58
|
+
# implementation method(s).
|
59
|
+
#
|
60
|
+
# @todo Documentation for individual instances of these new functions is not
|
61
|
+
# yet tied into the puppet doc system.
|
62
|
+
#
|
63
|
+
# @example Dispatching to different methods by type
|
64
|
+
# Puppet::Functions.create_function('math::min') do
|
65
|
+
# dispatch :numeric_min do
|
66
|
+
# param 'Numeric', :a
|
67
|
+
# param 'Numeric', :b
|
68
|
+
# end
|
69
|
+
#
|
70
|
+
# dispatch :string_min do
|
71
|
+
# param 'String', :a
|
72
|
+
# param 'String', :b
|
73
|
+
# end
|
74
|
+
#
|
75
|
+
# def numeric_min(a, b)
|
76
|
+
# a <= b ? a : b
|
77
|
+
# end
|
78
|
+
#
|
79
|
+
# def string_min(a, b)
|
80
|
+
# a.downcase <= b.downcase ? a : b
|
81
|
+
# end
|
82
|
+
# end
|
83
|
+
#
|
84
|
+
# @example Using an argument mismatch handler
|
85
|
+
# Puppet::Functions.create_function('math::min') do
|
86
|
+
# dispatch :numeric_min do
|
87
|
+
# param 'Numeric', :a
|
88
|
+
# param 'Numeric', :b
|
89
|
+
# end
|
90
|
+
#
|
91
|
+
# argument_mismatch :on_error do
|
92
|
+
# param 'Any', :a
|
93
|
+
# param 'Any', :b
|
94
|
+
# end
|
95
|
+
#
|
96
|
+
# def numeric_min(a, b)
|
97
|
+
# a <= b ? a : b
|
98
|
+
# end
|
99
|
+
#
|
100
|
+
# def on_error(a, b)
|
101
|
+
# 'both arguments must be of type Numeric'
|
102
|
+
# end
|
103
|
+
# end
|
104
|
+
#
|
105
|
+
# Specifying Signatures
|
106
|
+
# ---
|
107
|
+
#
|
108
|
+
# If nothing is specified, the number of arguments given to the function must
|
109
|
+
# be the same as the number of parameters, and all of the parameters are of
|
110
|
+
# type 'Any'.
|
111
|
+
#
|
112
|
+
# The following methods can be used to define a parameter
|
113
|
+
#
|
114
|
+
# - _param_ - the argument must be given in the call.
|
115
|
+
# - _optional_param_ - the argument may be missing in the call. May not be followed by a required parameter
|
116
|
+
# - _repeated_param_ - the type specifies a repeating type that occurs 0 to "infinite" number of times. It may only appear last or just before a block parameter.
|
117
|
+
# - _block_param_ - a block must be given in the call. May only appear last.
|
118
|
+
# - _optional_block_param_ - a block may be given in the call. May only appear last.
|
119
|
+
#
|
120
|
+
# The method name _required_param_ is an alias for _param_ and _required_block_param_ is an alias for _block_param_
|
121
|
+
#
|
122
|
+
# A parameter definition takes 2 arguments:
|
123
|
+
# - _type_ A string that must conform to a type in the puppet language
|
124
|
+
# - _name_ A symbol denoting the parameter name
|
125
|
+
#
|
126
|
+
# Both arguments are optional when defining a block parameter. The _type_ defaults to "Callable"
|
127
|
+
# and the _name_ to :block.
|
128
|
+
#
|
129
|
+
# Note that the dispatch definition is used to match arguments given in a call to the function with the defined
|
130
|
+
# parameters. It then dispatches the call to the implementation method simply passing the given arguments on to
|
131
|
+
# that method without any further processing and it is the responsibility of that method's implementor to ensure
|
132
|
+
# that it can handle those arguments.
|
133
|
+
#
|
134
|
+
# @example Variable number of arguments
|
135
|
+
# Puppet::Functions.create_function('foo') do
|
136
|
+
# dispatch :foo do
|
137
|
+
# param 'Numeric', :first
|
138
|
+
# repeated_param 'Numeric', :values
|
139
|
+
# end
|
140
|
+
#
|
141
|
+
# def foo(first, *values)
|
142
|
+
# # do something
|
143
|
+
# end
|
144
|
+
# end
|
145
|
+
#
|
146
|
+
# There is no requirement for direct mapping between parameter definitions and the parameters in the
|
147
|
+
# receiving implementation method so the following example is also legal. Here the dispatch will ensure
|
148
|
+
# that `*values` in the receiver will be an array with at least one entry of type String and that any
|
149
|
+
# remaining entries are of type Numeric:
|
150
|
+
#
|
151
|
+
# @example Inexact mapping or parameters
|
152
|
+
# Puppet::Functions.create_function('foo') do
|
153
|
+
# dispatch :foo do
|
154
|
+
# param 'String', :first
|
155
|
+
# repeated_param 'Numeric', :values
|
156
|
+
# end
|
157
|
+
#
|
158
|
+
# def foo(*values)
|
159
|
+
# # do something
|
160
|
+
# end
|
161
|
+
# end
|
162
|
+
#
|
163
|
+
# Access to Scope
|
164
|
+
# ---
|
165
|
+
# In general, functions should not need access to scope; they should be
|
166
|
+
# written to act on their given input only. If they absolutely must look up
|
167
|
+
# variable values, they should do so via the closure scope (the scope where
|
168
|
+
# they are defined) - this is done by calling `closure_scope()`.
|
169
|
+
#
|
170
|
+
# Calling other Functions
|
171
|
+
# ---
|
172
|
+
# Calling other functions by name is directly supported via
|
173
|
+
# {Puppet::Pops::Functions::Function#call_function}. This allows a function to
|
174
|
+
# call other functions visible from its loader.
|
175
|
+
#
|
176
|
+
# @api public
|
177
|
+
module Puppet::Functions
|
178
|
+
# @param func_name [String, Symbol] a simple or qualified function name
|
179
|
+
# @param block [Proc] the block that defines the methods and dispatch of the
|
180
|
+
# Function to create
|
181
|
+
# @return [Class<Function>] the newly created Function class
|
182
|
+
#
|
183
|
+
# @api public
|
184
|
+
def self.create_function(func_name, function_base = Function, &block)
|
185
|
+
# Ruby < 2.1.0 does not have method on Binding, can only do eval
|
186
|
+
# and it will fail unless protected with an if defined? if the local
|
187
|
+
# variable does not exist in the block's binder.
|
188
|
+
#
|
189
|
+
loader = block.binding.eval('loader_injected_arg if defined?(loader_injected_arg)')
|
190
|
+
create_loaded_function(func_name, loader, function_base, &block)
|
191
|
+
end
|
192
|
+
|
193
|
+
# Creates a function in, or in a local loader under the given loader.
|
194
|
+
# This method should only be used when manually creating functions
|
195
|
+
# for the sake of testing. Functions that are autoloaded should
|
196
|
+
# always use the `create_function` method and the autoloader will supply
|
197
|
+
# the correct loader.
|
198
|
+
#
|
199
|
+
# @param func_name [String, Symbol] a simple or qualified function name
|
200
|
+
# @param loader [Puppet::Pops::Loaders::Loader] the loader loading the function
|
201
|
+
# @param block [Proc] the block that defines the methods and dispatch of the
|
202
|
+
# Function to create
|
203
|
+
# @return [Class<Function>] the newly created Function class
|
204
|
+
#
|
205
|
+
# @api public
|
206
|
+
def self.create_loaded_function(func_name, loader, function_base = Function, &block)
|
207
|
+
if function_base.ancestors.none? { |s| s == Puppet::Pops::Functions::Function }
|
208
|
+
raise ArgumentError, "Functions must be based on Puppet::Pops::Functions::Function. Got #{function_base}"
|
209
|
+
end
|
210
|
+
|
211
|
+
func_name = func_name.to_s
|
212
|
+
# Creates an anonymous class to represent the function
|
213
|
+
# The idea being that it is garbage collected when there are no more
|
214
|
+
# references to it.
|
215
|
+
#
|
216
|
+
# (Do not give the class the block here, as instance variables should be set first)
|
217
|
+
the_class = Class.new(function_base)
|
218
|
+
|
219
|
+
unless loader.nil?
|
220
|
+
the_class.instance_variable_set(:'@loader', loader.private_loader)
|
221
|
+
end
|
222
|
+
|
223
|
+
# Make the anonymous class appear to have the class-name <func_name>
|
224
|
+
# Even if this class is not bound to such a symbol in a global ruby scope and
|
225
|
+
# must be resolved via the loader.
|
226
|
+
# This also overrides any attempt to define a name method in the given block
|
227
|
+
# (Since it redefines it)
|
228
|
+
#
|
229
|
+
# TODO, enforce name in lower case (to further make it stand out since Ruby
|
230
|
+
# class names are upper case)
|
231
|
+
#
|
232
|
+
the_class.instance_eval do
|
233
|
+
@func_name = func_name
|
234
|
+
|
235
|
+
def name
|
236
|
+
@func_name
|
237
|
+
end
|
238
|
+
|
239
|
+
def loader
|
240
|
+
@loader
|
241
|
+
end
|
242
|
+
end
|
243
|
+
|
244
|
+
# The given block can now be evaluated and have access to name and loader
|
245
|
+
#
|
246
|
+
the_class.class_eval(&block)
|
247
|
+
|
248
|
+
# Automatically create an object dispatcher based on introspection if the
|
249
|
+
# loaded user code did not define any dispatchers. Fail if function name
|
250
|
+
# does not match a given method name in user code.
|
251
|
+
#
|
252
|
+
if the_class.dispatcher.empty?
|
253
|
+
simple_name = func_name.split(/::/)[-1]
|
254
|
+
type, names = default_dispatcher(the_class, simple_name)
|
255
|
+
last_captures_rest = (type.size_range[1] == Float::INFINITY)
|
256
|
+
the_class.dispatcher.add(Puppet::Pops::Functions::Dispatch.new(type, simple_name, names, last_captures_rest))
|
257
|
+
end
|
258
|
+
|
259
|
+
# The function class is returned as the result of the create function method
|
260
|
+
the_class
|
261
|
+
end
|
262
|
+
|
263
|
+
# Creates a default dispatcher configured from a method with the same name as the function
|
264
|
+
#
|
265
|
+
# @api private
|
266
|
+
def self.default_dispatcher(the_class, func_name)
|
267
|
+
unless the_class.method_defined?(func_name)
|
268
|
+
raise ArgumentError, "Function Creation Error, cannot create a default dispatcher for function '#{func_name}', no method with this name found"
|
269
|
+
end
|
270
|
+
any_signature(*min_max_param(the_class.instance_method(func_name)))
|
271
|
+
end
|
272
|
+
|
273
|
+
# @api private
|
274
|
+
def self.min_max_param(method)
|
275
|
+
result = {:req => 0, :opt => 0, :rest => 0 }
|
276
|
+
# count per parameter kind, and get array of names
|
277
|
+
names = method.parameters.map { |p| result[p[0]] += 1 ; p[1].to_s }
|
278
|
+
from = result[:req]
|
279
|
+
to = result[:rest] > 0 ? :default : from + result[:opt]
|
280
|
+
[from, to, names]
|
281
|
+
end
|
282
|
+
|
283
|
+
# Construct a signature consisting of Object type, with min, and max, and given names.
|
284
|
+
# (there is only one type entry).
|
285
|
+
#
|
286
|
+
# @api private
|
287
|
+
def self.any_signature(from, to, names)
|
288
|
+
# Construct the type for the signature
|
289
|
+
# Tuple[Object, from, to]
|
290
|
+
param_types = Puppet::Pops::Types::PTupleType.new([Puppet::Pops::Types::PAnyType::DEFAULT], Puppet::Pops::Types::PIntegerType.new(from, to))
|
291
|
+
[Puppet::Pops::Types::PCallableType.new(param_types), names]
|
292
|
+
end
|
293
|
+
|
294
|
+
# Function
|
295
|
+
# ===
|
296
|
+
# This class is the base class for all Puppet 4x Function API functions. A
|
297
|
+
# specialized class is created for each puppet function.
|
298
|
+
#
|
299
|
+
# @api public
|
300
|
+
class Function < Puppet::Pops::Functions::Function
|
301
|
+
|
302
|
+
# @api private
|
303
|
+
def self.builder
|
304
|
+
DispatcherBuilder.new(dispatcher, Puppet::Pops::Types::TypeParser.singleton, Puppet::Pops::Types::PCallableType::DEFAULT, loader)
|
305
|
+
end
|
306
|
+
|
307
|
+
# Dispatch any calls that match the signature to the provided method name.
|
308
|
+
#
|
309
|
+
# @param meth_name [Symbol] The name of the implementation method to call
|
310
|
+
# when the signature defined in the block matches the arguments to a call
|
311
|
+
# to the function.
|
312
|
+
# @return [Void]
|
313
|
+
#
|
314
|
+
# @api public
|
315
|
+
def self.dispatch(meth_name, &block)
|
316
|
+
builder().instance_eval do
|
317
|
+
dispatch(meth_name, false, &block)
|
318
|
+
end
|
319
|
+
end
|
320
|
+
|
321
|
+
# Like `dispatch` but used for a specific type of argument mismatch. Will not be include in the list of valid
|
322
|
+
# parameter overloads for the function.
|
323
|
+
#
|
324
|
+
# @param meth_name [Symbol] The name of the implementation method to call
|
325
|
+
# when the signature defined in the block matches the arguments to a call
|
326
|
+
# to the function.
|
327
|
+
# @return [Void]
|
328
|
+
#
|
329
|
+
# @api public
|
330
|
+
def self.argument_mismatch(meth_name, &block)
|
331
|
+
builder().instance_eval do
|
332
|
+
dispatch(meth_name, true, &block)
|
333
|
+
end
|
334
|
+
end
|
335
|
+
|
336
|
+
# Allows types local to the function to be defined to ease the use of complex types
|
337
|
+
# in a 4.x function. Within the given block, calls to `type` can be made with a string
|
338
|
+
# 'AliasType = ExistingType` can be made to define aliases. The defined aliases are
|
339
|
+
# available for further aliases, and in all dispatchers.
|
340
|
+
#
|
341
|
+
# @since 4.5.0
|
342
|
+
# @api public
|
343
|
+
#
|
344
|
+
def self.local_types(&block)
|
345
|
+
if loader.nil?
|
346
|
+
raise ArgumentError, "No loader present. Call create_loaded_function(:myname, loader,...), instead of 'create_function' if running tests"
|
347
|
+
end
|
348
|
+
aliases = LocalTypeAliasesBuilder.new(loader, name)
|
349
|
+
aliases.instance_eval(&block)
|
350
|
+
# Add the loaded types to the builder
|
351
|
+
aliases.local_types.each do |type_alias_expr|
|
352
|
+
# Bind the type alias to the local_loader using the alias
|
353
|
+
t = Puppet::Pops::Loader::TypeDefinitionInstantiator.create_from_model(type_alias_expr, aliases.loader)
|
354
|
+
|
355
|
+
# Also define a method for convenient access to the defined type alias.
|
356
|
+
# Since initial capital letter in Ruby means a Constant these names use a prefix of
|
357
|
+
# `type`. As an example, the type 'MyType' is accessed by calling `type_MyType`.
|
358
|
+
define_method("type_#{t.name}") { t }
|
359
|
+
end
|
360
|
+
# Store the loader in the class
|
361
|
+
@loader = aliases.loader
|
362
|
+
end
|
363
|
+
|
364
|
+
# Creates a new function instance in the given closure scope (visibility to variables), and a loader
|
365
|
+
# (visibility to other definitions). The created function will either use the `given_loader` or
|
366
|
+
# (if it has local type aliases) a loader that was constructed from the loader used when loading
|
367
|
+
# the function's class.
|
368
|
+
#
|
369
|
+
# TODO: It would be of value to get rid of the second parameter here, but that would break API.
|
370
|
+
#
|
371
|
+
def self.new(closure_scope, given_loader)
|
372
|
+
super(closure_scope, @loader || given_loader)
|
373
|
+
end
|
374
|
+
end
|
375
|
+
|
376
|
+
# Base class for all functions implemented in the puppet language
|
377
|
+
class PuppetFunction < Function
|
378
|
+
def self.init_dispatch(a_closure)
|
379
|
+
# A closure is compatible with a dispatcher - they are both callable signatures
|
380
|
+
dispatcher.add(a_closure)
|
381
|
+
end
|
382
|
+
end
|
383
|
+
|
384
|
+
# Public api methods of the DispatcherBuilder are available within dispatch()
|
385
|
+
# blocks declared in a Puppet::Function.create_function() call.
|
386
|
+
#
|
387
|
+
# @api public
|
388
|
+
class DispatcherBuilder
|
389
|
+
attr_reader :loader
|
390
|
+
|
391
|
+
# @api private
|
392
|
+
def initialize(dispatcher, type_parser, all_callables, loader)
|
393
|
+
@type_parser = type_parser
|
394
|
+
@all_callables = all_callables
|
395
|
+
@dispatcher = dispatcher
|
396
|
+
@loader = loader
|
397
|
+
end
|
398
|
+
|
399
|
+
# Defines a required positional parameter with _type_ and _name_.
|
400
|
+
#
|
401
|
+
# @param type [String] The type specification for the parameter.
|
402
|
+
# @param name [Symbol] The name of the parameter. This is primarily used
|
403
|
+
# for error message output and does not have to match an implementation
|
404
|
+
# method parameter.
|
405
|
+
# @return [Void]
|
406
|
+
#
|
407
|
+
# @api public
|
408
|
+
def param(type, name)
|
409
|
+
internal_param(type, name)
|
410
|
+
raise ArgumentError, 'A required parameter cannot be added after an optional parameter' if @min != @max
|
411
|
+
@min += 1
|
412
|
+
@max += 1
|
413
|
+
end
|
414
|
+
alias required_param param
|
415
|
+
|
416
|
+
# Defines an optional positional parameter with _type_ and _name_.
|
417
|
+
# May not be followed by a required parameter.
|
418
|
+
#
|
419
|
+
# @param type [String] The type specification for the parameter.
|
420
|
+
# @param name [Symbol] The name of the parameter. This is primarily used
|
421
|
+
# for error message output and does not have to match an implementation
|
422
|
+
# method parameter.
|
423
|
+
# @return [Void]
|
424
|
+
#
|
425
|
+
# @api public
|
426
|
+
def optional_param(type, name)
|
427
|
+
internal_param(type, name)
|
428
|
+
@max += 1
|
429
|
+
end
|
430
|
+
|
431
|
+
# Defines a repeated positional parameter with _type_ and _name_ that may occur 0 to "infinite" number of times.
|
432
|
+
# It may only appear last or just before a block parameter.
|
433
|
+
#
|
434
|
+
# @param type [String] The type specification for the parameter.
|
435
|
+
# @param name [Symbol] The name of the parameter. This is primarily used
|
436
|
+
# for error message output and does not have to match an implementation
|
437
|
+
# method parameter.
|
438
|
+
# @return [Void]
|
439
|
+
#
|
440
|
+
# @api public
|
441
|
+
def repeated_param(type, name)
|
442
|
+
internal_param(type, name, true)
|
443
|
+
@max = :default
|
444
|
+
end
|
445
|
+
alias optional_repeated_param repeated_param
|
446
|
+
|
447
|
+
# Defines a repeated positional parameter with _type_ and _name_ that may occur 1 to "infinite" number of times.
|
448
|
+
# It may only appear last or just before a block parameter.
|
449
|
+
#
|
450
|
+
# @param type [String] The type specification for the parameter.
|
451
|
+
# @param name [Symbol] The name of the parameter. This is primarily used
|
452
|
+
# for error message output and does not have to match an implementation
|
453
|
+
# method parameter.
|
454
|
+
# @return [Void]
|
455
|
+
#
|
456
|
+
# @api public
|
457
|
+
def required_repeated_param(type, name)
|
458
|
+
internal_param(type, name, true)
|
459
|
+
raise ArgumentError, 'A required repeated parameter cannot be added after an optional parameter' if @min != @max
|
460
|
+
@min += 1
|
461
|
+
@max = :default
|
462
|
+
end
|
463
|
+
|
464
|
+
# Defines one required block parameter that may appear last. If type and name is missing the
|
465
|
+
# default type is "Callable", and the name is "block". If only one
|
466
|
+
# parameter is given, then that is the name and the type is "Callable".
|
467
|
+
#
|
468
|
+
# @api public
|
469
|
+
def block_param(*type_and_name)
|
470
|
+
case type_and_name.size
|
471
|
+
when 0
|
472
|
+
type = @all_callables
|
473
|
+
name = :block
|
474
|
+
when 1
|
475
|
+
type = @all_callables
|
476
|
+
name = type_and_name[0]
|
477
|
+
when 2
|
478
|
+
type_string, name = type_and_name
|
479
|
+
type = @type_parser.parse(type_string, loader)
|
480
|
+
else
|
481
|
+
raise ArgumentError, "block_param accepts max 2 arguments (type, name), got #{type_and_name.size}."
|
482
|
+
end
|
483
|
+
|
484
|
+
unless Puppet::Pops::Types::TypeCalculator.is_kind_of_callable?(type, false)
|
485
|
+
raise ArgumentError, "Expected PCallableType or PVariantType thereof, got #{type.class}"
|
486
|
+
end
|
487
|
+
|
488
|
+
unless name.is_a?(Symbol)
|
489
|
+
raise ArgumentError, "Expected block_param name to be a Symbol, got #{name.class}"
|
490
|
+
end
|
491
|
+
|
492
|
+
if @block_type.nil?
|
493
|
+
@block_type = type
|
494
|
+
@block_name = name
|
495
|
+
else
|
496
|
+
raise ArgumentError, 'Attempt to redefine block'
|
497
|
+
end
|
498
|
+
end
|
499
|
+
alias required_block_param block_param
|
500
|
+
|
501
|
+
# Defines one optional block parameter that may appear last. If type or name is missing the
|
502
|
+
# defaults are "any callable", and the name is "block". The implementor of the dispatch target
|
503
|
+
# must use block = nil when it is optional (or an error is raised when the call is made).
|
504
|
+
#
|
505
|
+
# @api public
|
506
|
+
def optional_block_param(*type_and_name)
|
507
|
+
# same as required, only wrap the result in an optional type
|
508
|
+
required_block_param(*type_and_name)
|
509
|
+
@block_type = Puppet::Pops::Types::TypeFactory.optional(@block_type)
|
510
|
+
end
|
511
|
+
|
512
|
+
# Defines the return type. Defaults to 'Any'
|
513
|
+
# @param [String] type a reference to a Puppet Data Type
|
514
|
+
#
|
515
|
+
# @api public
|
516
|
+
def return_type(type)
|
517
|
+
raise ArgumentError, "Argument to 'return_type' must be a String reference to a Puppet Data Type. Got #{type.class}" unless type.is_a?(String)
|
518
|
+
@return_type = type
|
519
|
+
end
|
520
|
+
|
521
|
+
private
|
522
|
+
|
523
|
+
# @api private
|
524
|
+
def internal_param(type, name, repeat = false)
|
525
|
+
raise ArgumentError, 'Parameters cannot be added after a block parameter' unless @block_type.nil?
|
526
|
+
raise ArgumentError, 'Parameters cannot be added after a repeated parameter' if @max == :default
|
527
|
+
|
528
|
+
if name.is_a?(String)
|
529
|
+
raise ArgumentError, "Parameter name argument must be a Symbol. Got #{name.class}"
|
530
|
+
end
|
531
|
+
|
532
|
+
if type.is_a?(String)
|
533
|
+
@types << type
|
534
|
+
@names << name
|
535
|
+
# mark what should be picked for this position when dispatching
|
536
|
+
if repeat
|
537
|
+
@weaving << -@names.size()
|
538
|
+
else
|
539
|
+
@weaving << @names.size()-1
|
540
|
+
end
|
541
|
+
else
|
542
|
+
raise ArgumentError, "Parameter 'type' must be a String reference to a Puppet Data Type. Got #{type.class}"
|
543
|
+
end
|
544
|
+
end
|
545
|
+
|
546
|
+
# @api private
|
547
|
+
def dispatch(meth_name, argument_mismatch_handler, &block)
|
548
|
+
# an array of either an index into names/types, or an array with
|
549
|
+
# injection information [type, name, injection_name] used when the call
|
550
|
+
# is being made to weave injections into the given arguments.
|
551
|
+
#
|
552
|
+
@types = []
|
553
|
+
@names = []
|
554
|
+
@weaving = []
|
555
|
+
@injections = []
|
556
|
+
@min = 0
|
557
|
+
@max = 0
|
558
|
+
@block_type = nil
|
559
|
+
@block_name = nil
|
560
|
+
@return_type = nil
|
561
|
+
@argument_mismatch_hander = argument_mismatch_handler
|
562
|
+
self.instance_eval &block
|
563
|
+
callable_t = create_callable(@types, @block_type, @return_type, @min, @max)
|
564
|
+
@dispatcher.add(Puppet::Pops::Functions::Dispatch.new(callable_t, meth_name, @names, @max == :default, @block_name, @injections, @weaving, @argument_mismatch_hander))
|
565
|
+
end
|
566
|
+
|
567
|
+
# Handles creation of a callable type from strings specifications of puppet
|
568
|
+
# types and allows the min/max occurs of the given types to be given as one
|
569
|
+
# or two integer values at the end. The given block_type should be
|
570
|
+
# Optional[Callable], Callable, or nil.
|
571
|
+
#
|
572
|
+
# @api private
|
573
|
+
def create_callable(types, block_type, return_type, from, to)
|
574
|
+
mapped_types = types.map do |t|
|
575
|
+
@type_parser.parse(t, loader)
|
576
|
+
end
|
577
|
+
param_types = Puppet::Pops::Types::PTupleType.new(mapped_types, from > 0 && from == to ? nil : Puppet::Pops::Types::PIntegerType.new(from, to))
|
578
|
+
return_type = @type_parser.parse(return_type, loader) unless return_type.nil?
|
579
|
+
Puppet::Pops::Types::PCallableType.new(param_types, block_type, return_type)
|
580
|
+
end
|
581
|
+
end
|
582
|
+
|
583
|
+
# The LocalTypeAliasBuilder is used by the 'local_types' method to collect the individual
|
584
|
+
# type aliases given by the function's author.
|
585
|
+
#
|
586
|
+
class LocalTypeAliasesBuilder
|
587
|
+
attr_reader :local_types, :parser, :loader
|
588
|
+
|
589
|
+
def initialize(loader, name)
|
590
|
+
@loader = Puppet::Pops::Loader::PredefinedLoader.new(loader, :"local_function_#{name}")
|
591
|
+
@local_types = []
|
592
|
+
# get the shared parser used by puppet's compiler
|
593
|
+
@parser = Puppet::Pops::Parser::EvaluatingParser.singleton()
|
594
|
+
end
|
595
|
+
|
596
|
+
# Defines a local type alias, the given string should be a Puppet Language type alias expression
|
597
|
+
# in string form without the leading 'type' keyword.
|
598
|
+
# Calls to local_type must be made before the first parameter definition or an error will
|
599
|
+
# be raised.
|
600
|
+
#
|
601
|
+
# @param assignment_string [String] a string on the form 'AliasType = ExistingType'
|
602
|
+
# @api public
|
603
|
+
#
|
604
|
+
def type(assignment_string)
|
605
|
+
result = parser.parse_string("type #{assignment_string}", nil) # no file source :-(
|
606
|
+
unless result.body.kind_of?(Puppet::Pops::Model::TypeAlias)
|
607
|
+
raise ArgumentError, "Expected a type alias assignment on the form 'AliasType = T', got '#{assignment_string}'"
|
608
|
+
end
|
609
|
+
@local_types << result.body
|
610
|
+
end
|
611
|
+
end
|
612
|
+
|
613
|
+
private
|
614
|
+
|
615
|
+
# @note WARNING: This style of creating functions is not public. It is a system
|
616
|
+
# under development that will be used for creating "system" functions.
|
617
|
+
#
|
618
|
+
# This is a private, internal, system for creating functions. It supports
|
619
|
+
# everything that the public function definition system supports as well as a
|
620
|
+
# few extra features.
|
621
|
+
#
|
622
|
+
# Injection Support
|
623
|
+
# ===
|
624
|
+
# The Function API supports injection of data and services. It is possible to
|
625
|
+
# make injection that takes effect when the function is loaded (for services
|
626
|
+
# and runtime configuration that does not change depending on how/from where
|
627
|
+
# in what context the function is called. It is also possible to inject and
|
628
|
+
# weave argument values into a call.
|
629
|
+
#
|
630
|
+
# Injection of attributes
|
631
|
+
# ---
|
632
|
+
# Injection of attributes is performed by one of the methods `attr_injected`,
|
633
|
+
# and `attr_injected_producer`. The injected attributes are available via
|
634
|
+
# accessor method calls.
|
635
|
+
#
|
636
|
+
# @example using injected attributes
|
637
|
+
# Puppet::Functions.create_function('test') do
|
638
|
+
# attr_injected String, :larger, 'message_larger'
|
639
|
+
# attr_injected String, :smaller, 'message_smaller'
|
640
|
+
# def test(a, b)
|
641
|
+
# a > b ? larger() : smaller()
|
642
|
+
# end
|
643
|
+
# end
|
644
|
+
#
|
645
|
+
# @api private
|
646
|
+
class InternalFunction < Function
|
647
|
+
# @api private
|
648
|
+
def self.builder
|
649
|
+
InternalDispatchBuilder.new(dispatcher, Puppet::Pops::Types::TypeParser.singleton, Puppet::Pops::Types::PCallableType::DEFAULT, loader)
|
650
|
+
end
|
651
|
+
|
652
|
+
# Defines class level injected attribute with reader method
|
653
|
+
#
|
654
|
+
# @api private
|
655
|
+
def self.attr_injected(type, attribute_name, injection_name = nil)
|
656
|
+
define_method(attribute_name) do
|
657
|
+
ivar = :"@#{attribute_name.to_s}"
|
658
|
+
unless instance_variable_defined?(ivar)
|
659
|
+
injector = Puppet.lookup(:injector)
|
660
|
+
instance_variable_set(ivar, injector.lookup(closure_scope, type, injection_name))
|
661
|
+
end
|
662
|
+
instance_variable_get(ivar)
|
663
|
+
end
|
664
|
+
end
|
665
|
+
|
666
|
+
# Defines class level injected producer attribute with reader method
|
667
|
+
#
|
668
|
+
# @api private
|
669
|
+
def self.attr_injected_producer(type, attribute_name, injection_name = nil)
|
670
|
+
define_method(attribute_name) do
|
671
|
+
ivar = :"@#{attribute_name.to_s}"
|
672
|
+
unless instance_variable_defined?(ivar)
|
673
|
+
injector = Puppet.lookup(:injector)
|
674
|
+
instance_variable_set(ivar, injector.lookup_producer(closure_scope, type, injection_name))
|
675
|
+
end
|
676
|
+
instance_variable_get(ivar)
|
677
|
+
end
|
678
|
+
end
|
679
|
+
|
680
|
+
# Allows the implementation of a function to call other functions by name and pass the caller
|
681
|
+
# scope. The callable functions are those visible to the same loader that loaded this function
|
682
|
+
# (the calling function).
|
683
|
+
#
|
684
|
+
# @param scope [Puppet::Parser::Scope] The caller scope
|
685
|
+
# @param function_name [String] The name of the function
|
686
|
+
# @param *args [Object] splat of arguments
|
687
|
+
# @return [Object] The result returned by the called function
|
688
|
+
#
|
689
|
+
# @api public
|
690
|
+
def call_function_with_scope(scope, function_name, *args)
|
691
|
+
internal_call_function(scope, function_name, args)
|
692
|
+
end
|
693
|
+
end
|
694
|
+
|
695
|
+
# @note WARNING: This style of creating functions is not public. It is a system
|
696
|
+
# under development that will be used for creating "system" functions.
|
697
|
+
#
|
698
|
+
# Injection and Weaving of parameters
|
699
|
+
# ---
|
700
|
+
# It is possible to inject and weave parameters into a call. These extra
|
701
|
+
# parameters are not part of the parameters passed from the Puppet logic, and
|
702
|
+
# they can not be overridden by parameters given as arguments in the call.
|
703
|
+
# They are invisible to the Puppet Language.
|
704
|
+
#
|
705
|
+
# @example using injected parameters
|
706
|
+
# Puppet::Functions.create_function('test') do
|
707
|
+
# dispatch :test do
|
708
|
+
# param 'Scalar', 'a'
|
709
|
+
# param 'Scalar', 'b'
|
710
|
+
# injected_param 'String', 'larger', 'message_larger'
|
711
|
+
# injected_param 'String', 'smaller', 'message_smaller'
|
712
|
+
# end
|
713
|
+
# def test(a, b, larger, smaller)
|
714
|
+
# a > b ? larger : smaller
|
715
|
+
# end
|
716
|
+
# end
|
717
|
+
#
|
718
|
+
# The function in the example above is called like this:
|
719
|
+
#
|
720
|
+
# test(10, 20)
|
721
|
+
#
|
722
|
+
# Using injected value as default
|
723
|
+
# ---
|
724
|
+
# Default value assignment is handled by using the regular Ruby mechanism (a
|
725
|
+
# value is assigned to the variable). The dispatch simply indicates that the
|
726
|
+
# value is optional. If the default value should be injected, it can be
|
727
|
+
# handled different ways depending on what is desired:
|
728
|
+
#
|
729
|
+
# * by calling the accessor method for an injected Function class attribute.
|
730
|
+
# This is suitable if the value is constant across all instantiations of the
|
731
|
+
# function, and across all calls.
|
732
|
+
# * by injecting a parameter into the call
|
733
|
+
# to the left of the parameter, and then assigning that as the default value.
|
734
|
+
# * One of the above forms, but using an injected producer instead of a
|
735
|
+
# directly injected value.
|
736
|
+
#
|
737
|
+
# @example method with injected default values
|
738
|
+
# Puppet::Functions.create_function('test') do
|
739
|
+
# dispatch :test do
|
740
|
+
# injected_param String, 'b_default', 'b_default_value_key'
|
741
|
+
# param 'Scalar', 'a'
|
742
|
+
# param 'Scalar', 'b'
|
743
|
+
# end
|
744
|
+
# def test(b_default, a, b = b_default)
|
745
|
+
# # ...
|
746
|
+
# end
|
747
|
+
# end
|
748
|
+
#
|
749
|
+
# @api private
|
750
|
+
class InternalDispatchBuilder < DispatcherBuilder
|
751
|
+
def scope_param()
|
752
|
+
@injections << [:scope, 'scope', '', :dispatcher_internal]
|
753
|
+
# mark what should be picked for this position when dispatching
|
754
|
+
@weaving << [@injections.size()-1]
|
755
|
+
end
|
756
|
+
# TODO: is param name really needed? Perhaps for error messages? (it is unused now)
|
757
|
+
#
|
758
|
+
# @api private
|
759
|
+
def injected_param(type, name, injection_name = '')
|
760
|
+
@injections << [type, name, injection_name]
|
761
|
+
# mark what should be picked for this position when dispatching
|
762
|
+
@weaving << [@injections.size() -1]
|
763
|
+
end
|
764
|
+
|
765
|
+
# TODO: is param name really needed? Perhaps for error messages? (it is unused now)
|
766
|
+
#
|
767
|
+
# @api private
|
768
|
+
def injected_producer_param(type, name, injection_name = '')
|
769
|
+
@injections << [type, name, injection_name, :producer]
|
770
|
+
# mark what should be picked for this position when dispatching
|
771
|
+
@weaving << [@injections.size()-1]
|
772
|
+
end
|
773
|
+
end
|
774
|
+
end
|