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
@@ -1,1039 +0,0 @@
|
|
1
|
-
module Puppet::Pops
|
2
|
-
module Types
|
3
|
-
EMPTY_ARRAY = [].freeze
|
4
|
-
|
5
|
-
class TypePathElement
|
6
|
-
attr_reader :key
|
7
|
-
|
8
|
-
def initialize(key)
|
9
|
-
@key = key
|
10
|
-
end
|
11
|
-
|
12
|
-
def hash
|
13
|
-
key.hash
|
14
|
-
end
|
15
|
-
|
16
|
-
def ==(o)
|
17
|
-
self.class == o.class && key == o.key
|
18
|
-
end
|
19
|
-
|
20
|
-
def eql?(o)
|
21
|
-
self == o
|
22
|
-
end
|
23
|
-
end
|
24
|
-
|
25
|
-
class SubjectPathElement < TypePathElement
|
26
|
-
def to_s
|
27
|
-
key
|
28
|
-
end
|
29
|
-
end
|
30
|
-
|
31
|
-
class EntryValuePathElement < TypePathElement
|
32
|
-
def to_s
|
33
|
-
"entry '#{key}'"
|
34
|
-
end
|
35
|
-
end
|
36
|
-
|
37
|
-
class EntryKeyPathElement < TypePathElement
|
38
|
-
def to_s
|
39
|
-
"key of entry '#{key}'"
|
40
|
-
end
|
41
|
-
end
|
42
|
-
|
43
|
-
class ParameterPathElement < TypePathElement
|
44
|
-
def to_s
|
45
|
-
"parameter '#{key}'"
|
46
|
-
end
|
47
|
-
end
|
48
|
-
|
49
|
-
class BlockPathElement < ParameterPathElement
|
50
|
-
def initialize(name = 'block')
|
51
|
-
super(name)
|
52
|
-
end
|
53
|
-
|
54
|
-
def to_s
|
55
|
-
key
|
56
|
-
end
|
57
|
-
end
|
58
|
-
|
59
|
-
class ArrayPathElement < TypePathElement
|
60
|
-
def to_s
|
61
|
-
"index #{key}"
|
62
|
-
end
|
63
|
-
end
|
64
|
-
|
65
|
-
class VariantPathElement < TypePathElement
|
66
|
-
def to_s
|
67
|
-
"variant #{key}"
|
68
|
-
end
|
69
|
-
end
|
70
|
-
|
71
|
-
class SignaturePathElement < VariantPathElement
|
72
|
-
def to_s
|
73
|
-
"#{key+1}."
|
74
|
-
end
|
75
|
-
end
|
76
|
-
|
77
|
-
# Module to handle present/past tense.
|
78
|
-
#
|
79
|
-
# All method names prefixed with "it_" to avoid conflict with Mocha expectations. Adding a method
|
80
|
-
# named 'expects' just doesn't work.
|
81
|
-
#
|
82
|
-
module TenseVariants
|
83
|
-
def it_expects(tense)
|
84
|
-
case tense
|
85
|
-
when :present
|
86
|
-
'expects'
|
87
|
-
else
|
88
|
-
'expected'
|
89
|
-
end
|
90
|
-
end
|
91
|
-
|
92
|
-
def it_does_not_expect(tense)
|
93
|
-
case tense
|
94
|
-
when :present
|
95
|
-
'does not expect'
|
96
|
-
else
|
97
|
-
'did not expect'
|
98
|
-
end
|
99
|
-
end
|
100
|
-
|
101
|
-
def it_has_no(tense)
|
102
|
-
case tense
|
103
|
-
when :present
|
104
|
-
'has no'
|
105
|
-
else
|
106
|
-
'did not have a'
|
107
|
-
end
|
108
|
-
end
|
109
|
-
|
110
|
-
def it_references(tense)
|
111
|
-
case tense
|
112
|
-
when :present
|
113
|
-
'references'
|
114
|
-
else
|
115
|
-
'referenced'
|
116
|
-
end
|
117
|
-
end
|
118
|
-
end
|
119
|
-
|
120
|
-
class Mismatch
|
121
|
-
include TenseVariants
|
122
|
-
attr_reader :path
|
123
|
-
|
124
|
-
def initialize(path)
|
125
|
-
@path = path || EMPTY_ARRAY
|
126
|
-
end
|
127
|
-
|
128
|
-
def canonical_path
|
129
|
-
@canonical_path ||= @path.reject { |e| e.is_a?(VariantPathElement) }
|
130
|
-
end
|
131
|
-
|
132
|
-
def message(variant, position, tense = :present)
|
133
|
-
"#{variant}unknown mismatch#{position}"
|
134
|
-
end
|
135
|
-
|
136
|
-
def merge(path, o)
|
137
|
-
self.class.new(path)
|
138
|
-
end
|
139
|
-
|
140
|
-
def ==(o)
|
141
|
-
self.class == o.class && canonical_path == o.canonical_path
|
142
|
-
end
|
143
|
-
|
144
|
-
def eql?(o)
|
145
|
-
self == o
|
146
|
-
end
|
147
|
-
|
148
|
-
def hash
|
149
|
-
canonical_path.hash
|
150
|
-
end
|
151
|
-
|
152
|
-
def chop_path(element_index)
|
153
|
-
return self if element_index >= @path.size
|
154
|
-
chopped_path = @path.clone
|
155
|
-
chopped_path.delete_at(element_index)
|
156
|
-
copy = self.clone
|
157
|
-
copy.instance_variable_set(:@path, chopped_path)
|
158
|
-
copy
|
159
|
-
end
|
160
|
-
|
161
|
-
def path_string
|
162
|
-
@path.join(' ')
|
163
|
-
end
|
164
|
-
|
165
|
-
def to_s
|
166
|
-
format(:present)
|
167
|
-
end
|
168
|
-
|
169
|
-
def format(tense)
|
170
|
-
p = @path
|
171
|
-
variant = ''
|
172
|
-
position = ''
|
173
|
-
unless p.empty?
|
174
|
-
f = p.first
|
175
|
-
if f.is_a?(SignaturePathElement)
|
176
|
-
variant = " #{f}"
|
177
|
-
p = p.drop(1)
|
178
|
-
end
|
179
|
-
position = " #{p.join(' ')}" unless p.empty?
|
180
|
-
end
|
181
|
-
message(variant, position, tense)
|
182
|
-
end
|
183
|
-
end
|
184
|
-
|
185
|
-
# @abstract
|
186
|
-
class KeyMismatch < Mismatch
|
187
|
-
attr_reader :key
|
188
|
-
|
189
|
-
def initialize(path, key)
|
190
|
-
super(path)
|
191
|
-
@key = key
|
192
|
-
end
|
193
|
-
|
194
|
-
def ==(o)
|
195
|
-
super.==(o) && key == o.key
|
196
|
-
end
|
197
|
-
|
198
|
-
def hash
|
199
|
-
super.hash ^ key.hash
|
200
|
-
end
|
201
|
-
end
|
202
|
-
|
203
|
-
class MissingKey < KeyMismatch
|
204
|
-
def message(variant, position, tense = :present)
|
205
|
-
"#{variant}#{position} #{it_expects(tense)} a value for key '#{key}'"
|
206
|
-
end
|
207
|
-
end
|
208
|
-
|
209
|
-
class MissingParameter < KeyMismatch
|
210
|
-
def message(variant, position, tense = :present)
|
211
|
-
"#{variant}#{position} #{it_expects(tense)} a value for parameter '#{key}'"
|
212
|
-
end
|
213
|
-
end
|
214
|
-
|
215
|
-
class ExtraneousKey < KeyMismatch
|
216
|
-
def message(variant, position, tense = :present)
|
217
|
-
"#{variant}#{position} unrecognized key '#{@key}'"
|
218
|
-
end
|
219
|
-
end
|
220
|
-
|
221
|
-
class InvalidParameter < ExtraneousKey
|
222
|
-
def message(variant, position, tense = :present)
|
223
|
-
"#{variant}#{position} #{it_has_no(tense)} parameter named '#{@key}'"
|
224
|
-
end
|
225
|
-
end
|
226
|
-
|
227
|
-
class UnexpectedBlock < Mismatch
|
228
|
-
def message(variant, position, tense = :present)
|
229
|
-
"#{variant}#{position} #{it_does_not_expect(tense)} a block"
|
230
|
-
end
|
231
|
-
end
|
232
|
-
|
233
|
-
class MissingRequiredBlock < Mismatch
|
234
|
-
def message(variant, position, tense = :present)
|
235
|
-
"#{variant}#{position} #{it_expects(tense)} a block"
|
236
|
-
end
|
237
|
-
end
|
238
|
-
|
239
|
-
class UnresolvedTypeReference < Mismatch
|
240
|
-
attr_reader :unresolved
|
241
|
-
|
242
|
-
def initialize(path, unresolved)
|
243
|
-
super(path)
|
244
|
-
@unresolved = unresolved
|
245
|
-
end
|
246
|
-
|
247
|
-
def ==(o)
|
248
|
-
super.==(o) && @unresolved == o.unresolved
|
249
|
-
end
|
250
|
-
|
251
|
-
def hash
|
252
|
-
@unresolved.hash
|
253
|
-
end
|
254
|
-
|
255
|
-
def message(variant, position, tense = :present)
|
256
|
-
"#{variant}#{position} #{it_references(tense)} an unresolved type '#{@unresolved}'"
|
257
|
-
end
|
258
|
-
end
|
259
|
-
|
260
|
-
class ExpectedActualMismatch < Mismatch
|
261
|
-
attr_reader :expected, :actual
|
262
|
-
|
263
|
-
def initialize(path, expected, actual)
|
264
|
-
super(path)
|
265
|
-
@expected = (expected.is_a?(Array) ? PVariantType.maybe_create(expected) : expected).normalize
|
266
|
-
@actual = actual.normalize
|
267
|
-
end
|
268
|
-
|
269
|
-
def ==(o)
|
270
|
-
super.==(o) && expected == o.expected && actual == o.actual
|
271
|
-
end
|
272
|
-
|
273
|
-
def hash
|
274
|
-
[canonical_path, expected, actual].hash
|
275
|
-
end
|
276
|
-
|
277
|
-
def swap_expected(expected)
|
278
|
-
copy = self.clone
|
279
|
-
copy.instance_variable_set(:@expected, expected)
|
280
|
-
copy
|
281
|
-
end
|
282
|
-
end
|
283
|
-
|
284
|
-
class TypeMismatch < ExpectedActualMismatch
|
285
|
-
include LabelProvider
|
286
|
-
|
287
|
-
# @return A new instance with the least restrictive respective boundaries
|
288
|
-
def merge(path, o)
|
289
|
-
self.class.new(path, [expected, o.expected].flatten.uniq, actual)
|
290
|
-
end
|
291
|
-
|
292
|
-
def message(variant, position, tense = :present)
|
293
|
-
e = expected
|
294
|
-
a = actual
|
295
|
-
multi = false
|
296
|
-
if e.is_a?(PVariantType)
|
297
|
-
e = e.types
|
298
|
-
if report_detailed?(e, a)
|
299
|
-
a = detailed_actual_to_s(e, a)
|
300
|
-
e = e.map { |t| t.to_alias_expanded_s }
|
301
|
-
else
|
302
|
-
sns = e.map { |t| t.simple_name }.uniq
|
303
|
-
e = e.map { |t| s = t.simple_name; sns.count {|x| x == s } == 1 ? s : t.to_s }.uniq
|
304
|
-
a = a.simple_name
|
305
|
-
end
|
306
|
-
case e.size
|
307
|
-
when 1
|
308
|
-
e = e[0]
|
309
|
-
when 2
|
310
|
-
e = "#{e[0]} or #{e[1]}"
|
311
|
-
multi = true
|
312
|
-
else
|
313
|
-
e = "#{e[0..e.size-2].join(', ')}, or #{e[e.size-1]}"
|
314
|
-
multi = true
|
315
|
-
end
|
316
|
-
else
|
317
|
-
if report_detailed?(e, a)
|
318
|
-
a = detailed_actual_to_s(e, a)
|
319
|
-
e = e.to_alias_expanded_s
|
320
|
-
else
|
321
|
-
e = e.simple_name
|
322
|
-
a = a.simple_name
|
323
|
-
end
|
324
|
-
end
|
325
|
-
if multi
|
326
|
-
"#{variant}#{position} #{it_expects(tense)} a value of type #{e}, got #{label(a)}"
|
327
|
-
else
|
328
|
-
"#{variant}#{position} #{it_expects(tense)} #{a_an(e)} value, got #{label(a)}"
|
329
|
-
end
|
330
|
-
end
|
331
|
-
|
332
|
-
def label(o)
|
333
|
-
o.to_s
|
334
|
-
end
|
335
|
-
|
336
|
-
private
|
337
|
-
|
338
|
-
# Answers the question if `e` is a specialized type of `a`
|
339
|
-
# @param e [PAnyType] the expected type
|
340
|
-
# @param a [PAnyType] the actual type
|
341
|
-
# @return [Boolean] `true` when the _e_ is a specialization of _a_
|
342
|
-
#
|
343
|
-
def specialization(e, a)
|
344
|
-
case e
|
345
|
-
when PStructType
|
346
|
-
a.is_a?(PHashType)
|
347
|
-
when PTupleType
|
348
|
-
a.is_a?(PArrayType)
|
349
|
-
else
|
350
|
-
false
|
351
|
-
end
|
352
|
-
end
|
353
|
-
|
354
|
-
# Decides whether or not the report must be fully detailed, or if generalization can be permitted
|
355
|
-
# in the mismatch report. All comparisons are made using resolved aliases rather than the alias
|
356
|
-
# itself.
|
357
|
-
#
|
358
|
-
# @param e [PAnyType,Array[PAnyType]] the expected type or array of expected types
|
359
|
-
# @param a [PAnyType] the actual type
|
360
|
-
# @return [Boolean] `true` when the class of _a_ equals the class _e_ or,
|
361
|
-
# in case _e_ is an `Array`, the class of at least one element of _e_
|
362
|
-
def always_fully_detailed?(e, a)
|
363
|
-
if e.is_a?(Array)
|
364
|
-
e.any? { |t| always_fully_detailed?(t, a) }
|
365
|
-
else
|
366
|
-
e.class == a.class || e.is_a?(PTypeAliasType) || a.is_a?(PTypeAliasType) || specialization(e, a)
|
367
|
-
end
|
368
|
-
end
|
369
|
-
|
370
|
-
# @param e [PAnyType,Array[PAnyType]] the expected type or array of expected types
|
371
|
-
# @param a [PAnyType] the actual type
|
372
|
-
# @return [Boolean] `true` when _a_ is assignable to _e_ or, in case _e_ is an `Array`,
|
373
|
-
# to at least one element of _e_
|
374
|
-
def any_assignable?(e, a)
|
375
|
-
e.is_a?(Array) ? e.any? { |t| t.assignable?(a) } : e.assignable?(a)
|
376
|
-
end
|
377
|
-
|
378
|
-
# @param e [PAnyType,Array[PAnyType]] the expected type or array of expected types
|
379
|
-
# @param a [PAnyType] the actual type
|
380
|
-
# @return [Boolean] `true` when _a_ is assignable to the default generalization of _e_ or,
|
381
|
-
# in case _e_ is an `Array`, to the default generalization of at least one element of _e_
|
382
|
-
def assignable_to_default?(e, a)
|
383
|
-
if e.is_a?(Array)
|
384
|
-
e.any? { |t| assignable_to_default?(t, a) }
|
385
|
-
else
|
386
|
-
e = e.resolved_type if e.is_a?(PTypeAliasType)
|
387
|
-
e.class::DEFAULT.assignable?(a)
|
388
|
-
end
|
389
|
-
end
|
390
|
-
|
391
|
-
# @param e [PAnyType,Array[PAnyType]] the expected type or array of expected types
|
392
|
-
# @param a [PAnyType] the actual type
|
393
|
-
# @return [Boolean] `true` when either #always_fully_detailed or #assignable_to_default returns `true`
|
394
|
-
def report_detailed?(e, a)
|
395
|
-
always_fully_detailed?(e, a) || assignable_to_default?(e, a)
|
396
|
-
end
|
397
|
-
|
398
|
-
# Returns its argument with all type aliases resolved
|
399
|
-
# @param e [PAnyType,Array[PAnyType]] the expected type or array of expected types
|
400
|
-
# @return [PAnyType,Array[PAnyType]] the resolved result
|
401
|
-
def all_resolved(e)
|
402
|
-
if e.is_a?(Array)
|
403
|
-
e.map { |t| all_resolved(t) }
|
404
|
-
else
|
405
|
-
e.is_a?(PTypeAliasType) ? e.resolved_type : e
|
406
|
-
end
|
407
|
-
end
|
408
|
-
|
409
|
-
# Returns a string that either represents the generalized type _a_ or the type _a_ verbatim. The latter
|
410
|
-
# form is used when at least one of the following conditions are met:
|
411
|
-
#
|
412
|
-
# - #always_fully_detailed returns `true` for the resolved type of _e_ and _a_
|
413
|
-
# - #any_assignable? returns `true` for the resolved type of _e_ and the generalized type of _a_.
|
414
|
-
#
|
415
|
-
# @param e [PAnyType,Array[PAnyType]] the expected type or array of expected types
|
416
|
-
# @param a [PAnyType] the actual type
|
417
|
-
# @return [String] The string representation of the type _a_ or generalized type _a_
|
418
|
-
def detailed_actual_to_s(e, a)
|
419
|
-
e = all_resolved(e)
|
420
|
-
if always_fully_detailed?(e, a)
|
421
|
-
a.to_alias_expanded_s
|
422
|
-
else
|
423
|
-
g = a.generalize
|
424
|
-
any_assignable?(e, g) ? a.to_alias_expanded_s : g.to_s
|
425
|
-
end
|
426
|
-
end
|
427
|
-
end
|
428
|
-
|
429
|
-
class PatternMismatch < TypeMismatch
|
430
|
-
def message(variant, position, tense = :present)
|
431
|
-
"#{variant}#{position} #{it_expects(tense)} a match for #{expected.to_alias_expanded_s}, got #{actual_string}"
|
432
|
-
end
|
433
|
-
|
434
|
-
def actual_string
|
435
|
-
a = actual
|
436
|
-
a.is_a?(PStringType) && a.values.size == 1 ? "'#{a.values[0]}'" : a.simple_name
|
437
|
-
end
|
438
|
-
end
|
439
|
-
|
440
|
-
class SizeMismatch < ExpectedActualMismatch
|
441
|
-
def from
|
442
|
-
@expected.from || 0
|
443
|
-
end
|
444
|
-
|
445
|
-
def to
|
446
|
-
@expected.to || Float::INFINITY
|
447
|
-
end
|
448
|
-
|
449
|
-
# @return A new instance with the least restrictive respective boundaries
|
450
|
-
def merge(path, o)
|
451
|
-
range = PIntegerType.new(from < o.from ? from : o.from, to > o.to ? to : o.to)
|
452
|
-
self.class.new(path, range, @actual)
|
453
|
-
end
|
454
|
-
|
455
|
-
def message(variant, position, tense = :present)
|
456
|
-
"#{variant}#{position} #{it_expects(tense)} size to be #{range_to_s(expected, '0')}, got #{range_to_s(actual, '0')}"
|
457
|
-
end
|
458
|
-
|
459
|
-
def range_to_s(range, zero_string)
|
460
|
-
min = range.from || 0
|
461
|
-
max = range.to || Float::INFINITY
|
462
|
-
if min == max
|
463
|
-
min == 0 ? zero_string : min.to_s
|
464
|
-
elsif min == 0
|
465
|
-
max == Float::INFINITY ? 'unlimited' : "at most #{max}"
|
466
|
-
elsif max == Float::INFINITY
|
467
|
-
"at least #{min}"
|
468
|
-
else
|
469
|
-
"between #{min} and #{max}"
|
470
|
-
end
|
471
|
-
end
|
472
|
-
end
|
473
|
-
|
474
|
-
class CountMismatch < SizeMismatch
|
475
|
-
def initialize(path, expected, actual)
|
476
|
-
super(path, expected, actual)
|
477
|
-
end
|
478
|
-
|
479
|
-
def message(variant, position, tense = :present)
|
480
|
-
min = expected.from || 0
|
481
|
-
max = expected.to || Float::INFINITY
|
482
|
-
suffix = min == 1 && (max == 1 || max == Float::INFINITY) || min == 0 && max == 1 ? '' : 's'
|
483
|
-
"#{variant}#{position} #{it_expects(tense)} #{range_to_s(expected, 'no')} argument#{suffix}, got #{range_to_s(actual, 'none')}"
|
484
|
-
end
|
485
|
-
end
|
486
|
-
|
487
|
-
class TypeMismatchDescriber
|
488
|
-
include TenseVariants
|
489
|
-
|
490
|
-
def self.validate_parameters(subject, params_struct, given_hash, missing_ok = false)
|
491
|
-
singleton.validate_parameters(subject, params_struct, given_hash, missing_ok)
|
492
|
-
end
|
493
|
-
|
494
|
-
def self.validate_default_parameter(subject, param_name, param_type, value)
|
495
|
-
singleton.validate_default_parameter(subject, param_name, param_type, value)
|
496
|
-
end
|
497
|
-
|
498
|
-
def self.describe_signatures(closure, signatures, args_tuple)
|
499
|
-
singleton.describe_signatures(closure, signatures, args_tuple)
|
500
|
-
end
|
501
|
-
|
502
|
-
def self.singleton
|
503
|
-
@singleton ||= new
|
504
|
-
end
|
505
|
-
|
506
|
-
# Validates that all entries in the give_hash exists in the given param_struct, that their type conforms
|
507
|
-
# with the corresponding param_struct element and that all required values are provided.
|
508
|
-
#
|
509
|
-
# @param subject [String] string to be prepended to the exception message
|
510
|
-
# @param params_struct [PStructType] Struct to use for validation
|
511
|
-
# @param given_hash [Hash<String,Object>] the parameters to validate
|
512
|
-
# @param missing_ok [Boolean] Do not generate errors on missing parameters
|
513
|
-
# @param tense [Symbol] the symbol :present or :past
|
514
|
-
#
|
515
|
-
def validate_parameters(subject, params_struct, given_hash, missing_ok = false, tense = :present)
|
516
|
-
errors = describe_struct_signature(params_struct, given_hash, missing_ok).flatten
|
517
|
-
case errors.size
|
518
|
-
when 0
|
519
|
-
when 1
|
520
|
-
raise Puppet::ParseError.new("#{subject}:#{errors[0].format(tense)}")
|
521
|
-
else
|
522
|
-
errors_str = errors.map { |error| error.format(tense) }.join("\n ")
|
523
|
-
raise Puppet::ParseError.new("#{subject}:\n #{errors_str}")
|
524
|
-
end
|
525
|
-
end
|
526
|
-
|
527
|
-
# Describe a confirmed mismatch using present tense
|
528
|
-
#
|
529
|
-
# @param name [String] name of mismatch
|
530
|
-
# @param expected [PAnyType] expected type
|
531
|
-
# @param actual [PAnyType] actual type
|
532
|
-
# @param tense [Symbol] the symbol :present or :past
|
533
|
-
#
|
534
|
-
def describe_mismatch(name, expected, actual, tense = :past)
|
535
|
-
errors = describe(expected, actual, [SubjectPathElement.new(name)])
|
536
|
-
case errors.size
|
537
|
-
when 0
|
538
|
-
''
|
539
|
-
when 1
|
540
|
-
errors[0].format(tense).strip
|
541
|
-
else
|
542
|
-
errors.map { |error| error.format(tense) }.join("\n ")
|
543
|
-
end
|
544
|
-
end
|
545
|
-
|
546
|
-
# @param subject [String] string to be prepended to the exception message
|
547
|
-
# @param param_name [String] parameter name
|
548
|
-
# @param param_type [PAnyType] parameter type
|
549
|
-
# @param value [Object] value to be validated against the given type
|
550
|
-
# @param tense [Symbol] the symbol :present or :past
|
551
|
-
#
|
552
|
-
def validate_default_parameter(subject, param_name, param_type, value, tense = :present)
|
553
|
-
unless param_type.instance?(value)
|
554
|
-
errors = describe(param_type, TypeCalculator.singleton.infer_set(value).generalize, [ParameterPathElement.new(param_name)])
|
555
|
-
case errors.size
|
556
|
-
when 0
|
557
|
-
when 1
|
558
|
-
raise Puppet::ParseError.new("#{subject}:#{errors[0].format(tense)}")
|
559
|
-
else
|
560
|
-
errors_str = errors.map { |error| error.format(tense) }.join("\n ")
|
561
|
-
raise Puppet::ParseError.new("#{subject}:\n #{errors_str}")
|
562
|
-
end
|
563
|
-
end
|
564
|
-
end
|
565
|
-
|
566
|
-
# Validates that all entries in the _param_hash_ exists in the given param_struct, that their type conforms
|
567
|
-
# with the corresponding param_struct element and that all required values are provided.
|
568
|
-
# An error message is created for each problem found.
|
569
|
-
#
|
570
|
-
# @param params_struct [PStructType] Struct to use for validation
|
571
|
-
# @param param_hash [Hash<String,Object>] The parameters to validate
|
572
|
-
# @param missing_ok [Boolean] Do not generate errors on missing parameters
|
573
|
-
# @return [Array<Mismatch>] An array of found errors. An empty array indicates no errors.
|
574
|
-
def describe_struct_signature(params_struct, param_hash, missing_ok = false)
|
575
|
-
param_type_hash = params_struct.hashed_elements
|
576
|
-
result = param_hash.each_key.reject { |name| param_type_hash.include?(name) }.map { |name| InvalidParameter.new(nil, name) }
|
577
|
-
|
578
|
-
params_struct.elements.each do |elem|
|
579
|
-
name = elem.name
|
580
|
-
value = param_hash[name]
|
581
|
-
value_type = elem.value_type
|
582
|
-
if param_hash.include?(name)
|
583
|
-
result << describe(value_type, TypeCalculator.singleton.infer_set(value).generalize, [ParameterPathElement.new(name)]) unless value_type.instance?(value)
|
584
|
-
else
|
585
|
-
result << MissingParameter.new(nil, name) unless elem.key_type.assignable?(PUndefType::DEFAULT) unless missing_ok
|
586
|
-
end
|
587
|
-
end
|
588
|
-
result
|
589
|
-
end
|
590
|
-
|
591
|
-
def describe_signatures(closure, signatures, args_tuple, tense = :present)
|
592
|
-
error_arrays = []
|
593
|
-
signatures.each_with_index do |signature, index|
|
594
|
-
error_arrays << describe_signature_arguments(signature, args_tuple, [SignaturePathElement.new(index)])
|
595
|
-
end
|
596
|
-
|
597
|
-
# Skip block checks if all signatures have argument errors
|
598
|
-
unless error_arrays.all? { |a| !a.empty? }
|
599
|
-
block_arrays = []
|
600
|
-
signatures.each_with_index do |signature, index|
|
601
|
-
block_arrays << describe_signature_block(signature, args_tuple, [SignaturePathElement.new(index)])
|
602
|
-
end
|
603
|
-
bc_count = block_arrays.count { |a| !a.empty? }
|
604
|
-
if bc_count == block_arrays.size
|
605
|
-
# Skip argument errors when all alternatives have block errors
|
606
|
-
error_arrays = block_arrays
|
607
|
-
elsif bc_count > 0
|
608
|
-
# Merge errors giving argument errors precedence over block errors
|
609
|
-
error_arrays.each_with_index { |a, index| error_arrays[index] = block_arrays[index] if a.empty? }
|
610
|
-
end
|
611
|
-
end
|
612
|
-
return nil if error_arrays.empty?
|
613
|
-
|
614
|
-
label = closure == 'lambda' ? 'block' : "'#{closure}'"
|
615
|
-
errors = merge_descriptions(0, CountMismatch, error_arrays)
|
616
|
-
if errors.size == 1
|
617
|
-
"#{label}#{errors[0].format(tense)}"
|
618
|
-
else
|
619
|
-
if signatures.size == 1
|
620
|
-
sig = signatures[0]
|
621
|
-
result = ["#{label} #{it_expects(tense)} (#{signature_string(sig)})"]
|
622
|
-
result.concat(error_arrays[0].map { |e| " rejected:#{e.chop_path(0).format(tense)}" })
|
623
|
-
else
|
624
|
-
result = ["#{label} #{it_expects(tense)} one of:"]
|
625
|
-
signatures.each_with_index do |sg, index|
|
626
|
-
result << " (#{signature_string(sg)})"
|
627
|
-
result.concat(error_arrays[index].map { |e| " rejected:#{e.chop_path(0).format(tense)}" })
|
628
|
-
end
|
629
|
-
end
|
630
|
-
result.join("\n")
|
631
|
-
end
|
632
|
-
end
|
633
|
-
|
634
|
-
def describe_signature_arguments(signature, args_tuple, path)
|
635
|
-
params_tuple = signature.type.param_types
|
636
|
-
params_size_t = params_tuple.size_type || TypeFactory.range(*params_tuple.size_range)
|
637
|
-
|
638
|
-
if args_tuple.is_a?(PTupleType)
|
639
|
-
arg_types = args_tuple.types
|
640
|
-
elsif args_tuple.is_a?(PArrayType)
|
641
|
-
arg_types = Array.new(params_tuple.types.size, args_tuple.element_type || PUndefType::DEFAULT)
|
642
|
-
else
|
643
|
-
return [TypeMismatch.new(path, params_tuple, args_tuple)]
|
644
|
-
end
|
645
|
-
|
646
|
-
if arg_types.last.kind_of_callable?
|
647
|
-
# Check other arguments
|
648
|
-
arg_count = arg_types.size - 1
|
649
|
-
describe_no_block_arguments(signature, arg_types, path, params_size_t, TypeFactory.range(arg_count, arg_count), arg_count)
|
650
|
-
else
|
651
|
-
args_size_t = TypeFactory.range(*args_tuple.size_range)
|
652
|
-
describe_no_block_arguments(signature, arg_types, path, params_size_t, args_size_t, arg_types.size)
|
653
|
-
end
|
654
|
-
end
|
655
|
-
|
656
|
-
def describe_signature_block(signature, args_tuple, path)
|
657
|
-
param_block_t = signature.block_type
|
658
|
-
arg_block_t = args_tuple.is_a?(PTupleType) ? args_tuple.types.last : nil
|
659
|
-
if TypeCalculator.is_kind_of_callable?(arg_block_t)
|
660
|
-
# Can't pass a block to a callable that doesn't accept one
|
661
|
-
if param_block_t.nil?
|
662
|
-
[UnexpectedBlock.new(path)]
|
663
|
-
else
|
664
|
-
# Check that the block is of the right type
|
665
|
-
describe(param_block_t, arg_block_t, path + [BlockPathElement.new])
|
666
|
-
end
|
667
|
-
else
|
668
|
-
# Check that the block is optional
|
669
|
-
if param_block_t.nil? || param_block_t.assignable?(PUndefType::DEFAULT)
|
670
|
-
EMPTY_ARRAY
|
671
|
-
else
|
672
|
-
[MissingRequiredBlock.new(path)]
|
673
|
-
end
|
674
|
-
end
|
675
|
-
end
|
676
|
-
|
677
|
-
def describe_no_block_arguments(signature, atypes, path, expected_size, actual_size, arg_count)
|
678
|
-
# not assignable if the number of types in actual is outside number of types in expected
|
679
|
-
if expected_size.assignable?(actual_size)
|
680
|
-
etypes = signature.type.param_types.types
|
681
|
-
enames = signature.parameter_names
|
682
|
-
arg_count.times do |index|
|
683
|
-
adx = index >= etypes.size ? etypes.size - 1 : index
|
684
|
-
etype = etypes[adx]
|
685
|
-
descriptions = describe(etype, atypes[index], path + [ParameterPathElement.new(enames[adx])])
|
686
|
-
return descriptions unless descriptions.empty?
|
687
|
-
end
|
688
|
-
EMPTY_ARRAY
|
689
|
-
else
|
690
|
-
[CountMismatch.new(path, expected_size, actual_size)]
|
691
|
-
end
|
692
|
-
end
|
693
|
-
|
694
|
-
def describe_PVariantType(expected, actual, path)
|
695
|
-
variant_descriptions = []
|
696
|
-
expected.types.each_with_index do |vt, index|
|
697
|
-
d = describe(vt, actual, path + [VariantPathElement.new(index)])
|
698
|
-
return EMPTY_ARRAY if d.empty?
|
699
|
-
variant_descriptions << d
|
700
|
-
end
|
701
|
-
merge_descriptions(path.length, SizeMismatch, variant_descriptions)
|
702
|
-
end
|
703
|
-
|
704
|
-
def merge_descriptions(varying_path_position, size_mismatch_class, variant_descriptions)
|
705
|
-
descriptions = variant_descriptions.flatten
|
706
|
-
[size_mismatch_class, MissingRequiredBlock, UnexpectedBlock, TypeMismatch].each do |mismatch_class|
|
707
|
-
mismatches = descriptions.select { |desc| desc.is_a?(mismatch_class) }
|
708
|
-
if mismatches.size == variant_descriptions.size
|
709
|
-
# If they all have the same canonical path, then we can compact this into one
|
710
|
-
generic_mismatch = mismatches.inject do |prev, curr|
|
711
|
-
break nil unless prev.canonical_path == curr.canonical_path
|
712
|
-
prev.merge(prev.path, curr)
|
713
|
-
end
|
714
|
-
unless generic_mismatch.nil?
|
715
|
-
# Report the generic mismatch and skip the rest
|
716
|
-
descriptions = [generic_mismatch]
|
717
|
-
break
|
718
|
-
end
|
719
|
-
end
|
720
|
-
end
|
721
|
-
descriptions = descriptions.uniq
|
722
|
-
descriptions.size == 1 ? [descriptions[0].chop_path(varying_path_position)] : descriptions
|
723
|
-
end
|
724
|
-
|
725
|
-
def describe_POptionalType(expected, actual, path)
|
726
|
-
actual.is_a?(PUndefType) ? [] : describe(expected.optional_type, actual, path)
|
727
|
-
end
|
728
|
-
|
729
|
-
def describe_PEnumType(expected, actual, path)
|
730
|
-
[PatternMismatch.new(path, expected, actual)]
|
731
|
-
end
|
732
|
-
|
733
|
-
def describe_PPatternType(expected, actual, path)
|
734
|
-
[PatternMismatch.new(path, expected, actual)]
|
735
|
-
end
|
736
|
-
|
737
|
-
def describe_PTypeAliasType(expected, actual, path)
|
738
|
-
resolved_type = expected.resolved_type.normalize
|
739
|
-
describe(resolved_type, actual, path).map do |description|
|
740
|
-
if description.is_a?(ExpectedActualMismatch) && description.expected.equal?(resolved_type)
|
741
|
-
description.swap_expected(expected)
|
742
|
-
else
|
743
|
-
description
|
744
|
-
end
|
745
|
-
end
|
746
|
-
end
|
747
|
-
|
748
|
-
def describe_PArrayType(expected, actual, path)
|
749
|
-
descriptions = []
|
750
|
-
element_type = expected.element_type || PAnyType::DEFAULT
|
751
|
-
if actual.is_a?(PTupleType)
|
752
|
-
types = actual.types
|
753
|
-
expected_size = expected.size_type || PCollectionType::DEFAULT_SIZE
|
754
|
-
actual_size = actual.size_type || PIntegerType.new(types.size, types.size)
|
755
|
-
if expected_size.assignable?(actual_size)
|
756
|
-
types.each_with_index do |type, idx|
|
757
|
-
descriptions.concat(describe(element_type, type, path + [ArrayPathElement.new(idx)])) unless element_type.assignable?(type)
|
758
|
-
end
|
759
|
-
else
|
760
|
-
descriptions << SizeMismatch.new(path, expected_size, actual_size)
|
761
|
-
end
|
762
|
-
elsif actual.is_a?(PArrayType)
|
763
|
-
expected_size = expected.size_type
|
764
|
-
actual_size = actual.size_type || PCollectionType::DEFAULT_SIZE
|
765
|
-
if expected_size.nil? || expected_size.assignable?(actual_size)
|
766
|
-
descriptions << TypeMismatch.new(path, expected, actual)
|
767
|
-
else
|
768
|
-
descriptions << SizeMismatch.new(path, expected_size, actual_size)
|
769
|
-
end
|
770
|
-
else
|
771
|
-
descriptions << TypeMismatch.new(path, expected, actual)
|
772
|
-
end
|
773
|
-
descriptions
|
774
|
-
end
|
775
|
-
|
776
|
-
def describe_PHashType(expected, actual, path)
|
777
|
-
descriptions = []
|
778
|
-
key_type = expected.key_type || PAnyType::DEFAULT
|
779
|
-
value_type = expected.element_type || PAnyType::DEFAULT
|
780
|
-
if actual.is_a?(PStructType)
|
781
|
-
elements = actual.elements
|
782
|
-
expected_size = expected.size_type || PCollectionType::DEFAULT_SIZE
|
783
|
-
actual_size = PIntegerType.new(elements.count { |a| !a.key_type.assignable?(PUndefType::DEFAULT) }, elements.size)
|
784
|
-
if expected_size.assignable?(actual_size)
|
785
|
-
elements.each do |a|
|
786
|
-
descriptions.concat(describe(key_type, a.key_type, path + [EntryKeyPathElement.new(a.name)])) unless key_type.assignable?(a.key_type)
|
787
|
-
descriptions.concat(describe(value_type, a.value_type, path + [EntryValuePathElement.new(a.name)])) unless value_type.assignable?(a.value_type)
|
788
|
-
end
|
789
|
-
else
|
790
|
-
descriptions << SizeMismatch.new(path, expected_size, actual_size)
|
791
|
-
end
|
792
|
-
elsif actual.is_a?(PHashType)
|
793
|
-
expected_size = expected.size_type
|
794
|
-
actual_size = actual.size_type || PCollectionType::DEFAULT_SIZE
|
795
|
-
if expected_size.nil? || expected_size.assignable?(actual_size)
|
796
|
-
descriptions << TypeMismatch.new(path, expected, actual)
|
797
|
-
else
|
798
|
-
descriptions << SizeMismatch.new(path, expected_size, actual_size)
|
799
|
-
end
|
800
|
-
else
|
801
|
-
descriptions << TypeMismatch.new(path, expected, actual)
|
802
|
-
end
|
803
|
-
descriptions
|
804
|
-
end
|
805
|
-
|
806
|
-
def describe_PStructType(expected, actual, path)
|
807
|
-
elements = expected.elements
|
808
|
-
descriptions = []
|
809
|
-
if actual.is_a?(PStructType)
|
810
|
-
h2 = actual.hashed_elements.clone
|
811
|
-
elements.each do |e1|
|
812
|
-
key = e1.name
|
813
|
-
e2 = h2.delete(key)
|
814
|
-
if e2.nil?
|
815
|
-
descriptions << MissingKey.new(path, key) unless e1.key_type.assignable?(PUndefType::DEFAULT)
|
816
|
-
else
|
817
|
-
descriptions.concat(describe(e1.key_type, e2.key_type, path + [EntryKeyPathElement.new(key)])) unless e1.key_type.assignable?(e2.key_type)
|
818
|
-
descriptions.concat(describe(e1.value_type, e2.value_type, path + [EntryValuePathElement.new(key)])) unless e1.value_type.assignable?(e2.value_type)
|
819
|
-
end
|
820
|
-
end
|
821
|
-
h2.each_key { |key| descriptions << ExtraneousKey.new(path, key) }
|
822
|
-
elsif actual.is_a?(PHashType)
|
823
|
-
actual_size = actual.size_type || PCollectionType::DEFAULT_SIZE
|
824
|
-
expected_size = PIntegerType.new(elements.count { |e| !e.key_type.assignable?(PUndefType::DEFAULT) }, elements.size)
|
825
|
-
if expected_size.assignable?(actual_size)
|
826
|
-
descriptions << TypeMismatch.new(path, expected, actual)
|
827
|
-
else
|
828
|
-
descriptions << SizeMismatch.new(path, expected_size, actual_size)
|
829
|
-
end
|
830
|
-
else
|
831
|
-
descriptions << TypeMismatch.new(path, expected, actual)
|
832
|
-
end
|
833
|
-
descriptions
|
834
|
-
end
|
835
|
-
|
836
|
-
def describe_PTupleType(expected, actual, path)
|
837
|
-
describe_tuple(expected, actual, path, SizeMismatch)
|
838
|
-
end
|
839
|
-
|
840
|
-
def describe_argument_tuple(expected, actual, path)
|
841
|
-
describe_tuple(expected, actual, path, CountMismatch)
|
842
|
-
end
|
843
|
-
|
844
|
-
def describe_tuple(expected, actual, path, size_mismatch_class)
|
845
|
-
return if expected == actual || expected.types.empty? && (actual.is_a?(PArrayType))
|
846
|
-
expected_size = expected.size_type || TypeFactory.range(*expected.size_range)
|
847
|
-
|
848
|
-
if actual.is_a?(PTupleType)
|
849
|
-
actual_size = actual.size_type || TypeFactory.range(*actual.size_range)
|
850
|
-
|
851
|
-
# not assignable if the number of types in actual is outside number of types in expected
|
852
|
-
if expected_size.assignable?(actual_size)
|
853
|
-
etypes = expected.types
|
854
|
-
descriptions = []
|
855
|
-
actual.types.each_with_index do |atype, index|
|
856
|
-
adx = index >= etypes.size ? etypes.size - 1 : index
|
857
|
-
etype = etypes[adx]
|
858
|
-
descriptions.concat(describe(etypes[adx], atype, path + [ArrayPathElement.new(adx)]))
|
859
|
-
end
|
860
|
-
descriptions
|
861
|
-
else
|
862
|
-
[size_mismatch_class.new(path, expected_size, actual_size)]
|
863
|
-
end
|
864
|
-
elsif actual.is_a?(PArrayType)
|
865
|
-
t2_entry = actual.element_type
|
866
|
-
|
867
|
-
if t2_entry.nil?
|
868
|
-
# Array of anything can not be assigned (unless tuple is tuple of anything) - this case
|
869
|
-
# was handled at the top of this method.
|
870
|
-
#
|
871
|
-
[TypeMismatch.new(path, expected, actual)]
|
872
|
-
else
|
873
|
-
expected_size = expected.size_type || TypeFactory.range(*expected.size_range)
|
874
|
-
actual_size = actual.size_type || PCollectionType::DEFAULT_SIZE
|
875
|
-
if expected_size.assignable?(actual_size)
|
876
|
-
descriptions = []
|
877
|
-
expected.types.each_with_index do |etype, index|
|
878
|
-
descriptions.concat(describe(etype, actual.element_type, path + [ArrayPathElement.new(index)]))
|
879
|
-
end
|
880
|
-
descriptions
|
881
|
-
else
|
882
|
-
[size_mismatch_class.new(path, expected_size, actual_size)]
|
883
|
-
end
|
884
|
-
end
|
885
|
-
else
|
886
|
-
[TypeMismatch.new(path, expected, actual)]
|
887
|
-
end
|
888
|
-
end
|
889
|
-
|
890
|
-
def describe_PCallableType(expected, actual, path)
|
891
|
-
if actual.is_a?(PCallableType)
|
892
|
-
# nil param_types means, any other Callable is assignable
|
893
|
-
if expected.param_types.nil?
|
894
|
-
EMPTY_ARRAY
|
895
|
-
else
|
896
|
-
# NOTE: these tests are made in reverse as it is calling the callable that is constrained
|
897
|
-
# (it's lower bound), not its upper bound
|
898
|
-
param_errors = describe_argument_tuple(expected.param_types, actual.param_types, path)
|
899
|
-
if param_errors.empty?
|
900
|
-
# names are ignored, they are just information
|
901
|
-
# Blocks must be compatible
|
902
|
-
this_block_t = expected.block_type || PUndefType::DEFAULT
|
903
|
-
that_block_t = actual.block_type || PUndefType::DEFAULT
|
904
|
-
if that_block_t.assignable?(this_block_t)
|
905
|
-
EMPTY_ARRAY
|
906
|
-
else
|
907
|
-
[TypeMismatch.new(path + BlockPathElement.new, this_block_t, that_block_t)]
|
908
|
-
end
|
909
|
-
else
|
910
|
-
param_errors
|
911
|
-
end
|
912
|
-
end
|
913
|
-
else
|
914
|
-
[TypeMismatch.new(path, expected, actual)]
|
915
|
-
end
|
916
|
-
end
|
917
|
-
|
918
|
-
def describe_PAnyType(expected, actual, path)
|
919
|
-
expected.assignable?(actual) ? EMPTY_ARRAY : [TypeMismatch.new(path, expected, actual)]
|
920
|
-
end
|
921
|
-
|
922
|
-
class UnresolvedTypeFinder
|
923
|
-
include TypeAcceptor
|
924
|
-
|
925
|
-
attr_reader :unresolved
|
926
|
-
|
927
|
-
def initialize
|
928
|
-
@unresolved = nil
|
929
|
-
end
|
930
|
-
|
931
|
-
def visit(type, guard)
|
932
|
-
if @unresolved.nil? && type.is_a?(PTypeReferenceType)
|
933
|
-
@unresolved = type.type_string
|
934
|
-
end
|
935
|
-
end
|
936
|
-
end
|
937
|
-
|
938
|
-
def describe(expected, actual, path)
|
939
|
-
ures_finder = UnresolvedTypeFinder.new
|
940
|
-
expected.accept(ures_finder, nil)
|
941
|
-
unresolved = ures_finder.unresolved
|
942
|
-
if unresolved
|
943
|
-
[UnresolvedTypeReference.new(path, unresolved)]
|
944
|
-
else
|
945
|
-
case expected
|
946
|
-
when PVariantType
|
947
|
-
describe_PVariantType(expected, actual, path)
|
948
|
-
when PStructType
|
949
|
-
describe_PStructType(expected, actual, path)
|
950
|
-
when PHashType
|
951
|
-
describe_PHashType(expected, actual, path)
|
952
|
-
when PTupleType
|
953
|
-
describe_PTupleType(expected, actual, path)
|
954
|
-
when PArrayType
|
955
|
-
describe_PArrayType(expected, actual, path)
|
956
|
-
when PCallableType
|
957
|
-
describe_PCallableType(expected, actual, path)
|
958
|
-
when POptionalType
|
959
|
-
describe_POptionalType(expected, actual, path)
|
960
|
-
when PPatternType
|
961
|
-
describe_PPatternType(expected, actual, path)
|
962
|
-
when PEnumType
|
963
|
-
describe_PEnumType(expected, actual, path)
|
964
|
-
when PTypeAliasType
|
965
|
-
describe_PTypeAliasType(expected, actual, path)
|
966
|
-
else
|
967
|
-
describe_PAnyType(expected, actual, path)
|
968
|
-
end
|
969
|
-
end
|
970
|
-
end
|
971
|
-
|
972
|
-
# Produces a string for the signature(s)
|
973
|
-
#
|
974
|
-
# @api private
|
975
|
-
def signature_string(signature)
|
976
|
-
param_types = signature.type.param_types
|
977
|
-
param_names = signature.parameter_names
|
978
|
-
|
979
|
-
from, to = param_types.size_range
|
980
|
-
if from == 0 && to == 0
|
981
|
-
# No parameters function
|
982
|
-
return ''
|
983
|
-
end
|
984
|
-
|
985
|
-
required_count = from
|
986
|
-
types =
|
987
|
-
case param_types
|
988
|
-
when PTupleType
|
989
|
-
param_types.types
|
990
|
-
when PArrayType
|
991
|
-
[param_types.element_type]
|
992
|
-
end
|
993
|
-
|
994
|
-
# join type with names (types are always present, names are optional)
|
995
|
-
# separate entries with comma
|
996
|
-
#
|
997
|
-
param_names = Array.new(types.size, '') if param_names.empty?
|
998
|
-
limit = param_names.size
|
999
|
-
result = param_names.each_with_index.map do |name, index|
|
1000
|
-
type = types[index] || types[-1]
|
1001
|
-
indicator = ''
|
1002
|
-
if to == Float::INFINITY && index == limit - 1
|
1003
|
-
# Last is a repeated_param.
|
1004
|
-
indicator = from == param_names.size ? '+' : '*'
|
1005
|
-
elsif optional(index, required_count)
|
1006
|
-
indicator = '?'
|
1007
|
-
type = type.optional_type if type.is_a?(POptionalType)
|
1008
|
-
end
|
1009
|
-
"#{type} #{name}#{indicator}"
|
1010
|
-
end.join(', ')
|
1011
|
-
|
1012
|
-
# If there is a block, include it
|
1013
|
-
case signature.type.block_type
|
1014
|
-
when POptionalType
|
1015
|
-
result << ', ' unless result == ''
|
1016
|
-
result << "#{signature.type.block_type.optional_type} #{signature.block_name}?"
|
1017
|
-
when PCallableType
|
1018
|
-
result << ', ' unless result == ''
|
1019
|
-
result << "#{signature.type.block_type} #{signature.block_name}"
|
1020
|
-
when NilClass
|
1021
|
-
# nothing
|
1022
|
-
end
|
1023
|
-
result
|
1024
|
-
end
|
1025
|
-
|
1026
|
-
# Why oh why Ruby do you not have a standard Math.max ?
|
1027
|
-
# @api private
|
1028
|
-
def max(a, b)
|
1029
|
-
a >= b ? a : b
|
1030
|
-
end
|
1031
|
-
|
1032
|
-
# @api private
|
1033
|
-
def optional(index, required_count)
|
1034
|
-
count = index + 1
|
1035
|
-
count > required_count
|
1036
|
-
end
|
1037
|
-
end
|
1038
|
-
end
|
1039
|
-
end
|