puppet 6.21.1-x64-mingw32 → 7.4.1-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of puppet might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/Gemfile +1 -4
- data/Gemfile.lock +5 -5
- data/README.md +1 -1
- data/conf/fileserver.conf +5 -10
- data/ext/build_defaults.yaml +1 -2
- data/ext/osx/file_mapping.yaml +0 -5
- data/ext/project_data.yaml +2 -14
- data/ext/redhat/puppet.spec.erb +0 -1
- data/ext/windows/service/daemon.rb +6 -5
- data/install.rb +21 -17
- data/lib/puppet.rb +11 -20
- data/lib/puppet/application.rb +172 -98
- data/lib/puppet/application/device.rb +100 -104
- data/lib/puppet/application/filebucket.rb +13 -9
- data/lib/puppet/application/ssl.rb +1 -1
- data/lib/puppet/configurer.rb +27 -29
- data/lib/puppet/configurer/plugin_handler.rb +21 -19
- data/lib/puppet/defaults.rb +57 -162
- data/lib/puppet/environments.rb +8 -23
- data/lib/puppet/face/facts.rb +73 -49
- data/lib/puppet/face/help.rb +1 -1
- data/lib/puppet/face/node/clean.rb +8 -0
- data/lib/puppet/face/plugin.rb +5 -8
- data/lib/puppet/ffi/windows.rb +12 -0
- data/lib/puppet/ffi/windows/api_types.rb +311 -0
- data/lib/puppet/ffi/windows/constants.rb +404 -0
- data/lib/puppet/ffi/windows/functions.rb +628 -0
- data/lib/puppet/ffi/windows/structs.rb +338 -0
- data/lib/puppet/file_serving/configuration.rb +0 -5
- data/lib/puppet/file_serving/configuration/parser.rb +6 -32
- data/lib/puppet/file_serving/http_metadata.rb +1 -1
- data/lib/puppet/file_serving/mount.rb +1 -2
- data/lib/puppet/forge/repository.rb +0 -1
- data/lib/puppet/generate/models/type/type.rb +4 -1
- data/lib/puppet/http.rb +22 -13
- data/lib/puppet/http/client.rb +164 -114
- data/lib/puppet/{network/resolver.rb → http/dns.rb} +2 -2
- data/lib/puppet/http/errors.rb +16 -0
- data/lib/puppet/http/external_client.rb +5 -7
- data/lib/puppet/{network/http → http}/factory.rb +8 -11
- data/lib/puppet/{network/http → http}/pool.rb +61 -26
- data/lib/puppet/{network/http/session.rb → http/pool_entry.rb} +2 -3
- data/lib/puppet/http/proxy.rb +137 -0
- data/lib/puppet/http/redirector.rb +4 -12
- data/lib/puppet/http/resolver.rb +5 -15
- data/lib/puppet/http/resolver/server_list.rb +6 -10
- data/lib/puppet/http/resolver/settings.rb +4 -7
- data/lib/puppet/http/resolver/srv.rb +7 -11
- data/lib/puppet/http/response.rb +36 -54
- data/lib/puppet/http/response_converter.rb +24 -0
- data/lib/puppet/http/response_net_http.rb +42 -0
- data/lib/puppet/http/retry_after_handler.rb +4 -13
- data/lib/puppet/http/service.rb +12 -26
- data/lib/puppet/http/service/ca.rb +11 -22
- data/lib/puppet/http/service/compiler.rb +22 -69
- data/lib/puppet/http/service/file_server.rb +18 -27
- data/lib/puppet/http/service/puppetserver.rb +26 -12
- data/lib/puppet/http/service/report.rb +8 -10
- data/lib/puppet/http/session.rb +11 -20
- data/lib/puppet/{network/http → http}/site.rb +1 -2
- data/lib/puppet/indirector/catalog/rest.rb +2 -4
- data/lib/puppet/indirector/facts/facter.rb +25 -3
- data/lib/puppet/indirector/facts/rest.rb +3 -22
- data/lib/puppet/indirector/file_bucket_file/rest.rb +3 -9
- data/lib/puppet/indirector/file_content/rest.rb +2 -6
- data/lib/puppet/indirector/file_metadata/rest.rb +3 -9
- data/lib/puppet/indirector/file_server.rb +1 -8
- data/lib/puppet/indirector/generic_http.rb +0 -11
- data/lib/puppet/indirector/node/rest.rb +2 -4
- data/lib/puppet/indirector/report/rest.rb +3 -8
- data/lib/puppet/indirector/request.rb +0 -101
- data/lib/puppet/indirector/rest.rb +12 -263
- data/lib/puppet/module_tool/applications.rb +0 -1
- data/lib/puppet/network/authconfig.rb +2 -96
- data/lib/puppet/network/authorization.rb +13 -35
- data/lib/puppet/network/formats.rb +67 -0
- data/lib/puppet/network/http.rb +3 -3
- data/lib/puppet/network/http/api/indirected_routes.rb +2 -20
- data/lib/puppet/network/http/api/master/v3.rb +11 -13
- data/lib/puppet/network/http/connection.rb +247 -316
- data/lib/puppet/network/http/handler.rb +0 -1
- data/lib/puppet/network/http_pool.rb +16 -34
- data/lib/puppet/node.rb +1 -30
- data/lib/puppet/pal/json_catalog_encoder.rb +4 -0
- data/lib/puppet/pal/pal_impl.rb +3 -1
- data/lib/puppet/parser/ast/pops_bridge.rb +0 -38
- data/lib/puppet/parser/compiler.rb +0 -198
- data/lib/puppet/parser/compiler/catalog_validator/relationship_validator.rb +14 -39
- data/lib/puppet/parser/resource.rb +0 -69
- data/lib/puppet/pops/evaluator/evaluator_impl.rb +0 -5
- data/lib/puppet/pops/evaluator/runtime3_resource_support.rb +3 -3
- data/lib/puppet/pops/evaluator/runtime3_support.rb +1 -1
- data/lib/puppet/pops/issues.rb +0 -5
- data/lib/puppet/pops/loader/ruby_legacy_function_instantiator.rb +6 -8
- data/lib/puppet/pops/model/ast.pp +0 -42
- data/lib/puppet/pops/model/ast.rb +0 -290
- data/lib/puppet/pops/model/factory.rb +0 -45
- data/lib/puppet/pops/model/model_label_provider.rb +0 -5
- data/lib/puppet/pops/model/model_tree_dumper.rb +0 -22
- data/lib/puppet/pops/model/pn_transformer.rb +0 -16
- data/lib/puppet/pops/parser/egrammar.ra +0 -56
- data/lib/puppet/pops/parser/eparser.rb +1520 -1712
- data/lib/puppet/pops/parser/lexer2.rb +4 -4
- data/lib/puppet/pops/parser/parser_support.rb +0 -5
- data/lib/puppet/pops/resource/resource_type_impl.rb +2 -24
- data/lib/puppet/pops/types/type_calculator.rb +0 -7
- data/lib/puppet/pops/types/type_parser.rb +0 -4
- data/lib/puppet/pops/types/types.rb +0 -1
- data/lib/puppet/pops/validation/checker4_0.rb +9 -37
- data/lib/puppet/pops/validation/tasks_checker.rb +0 -12
- data/lib/puppet/pops/validation/validator_factory_4_0.rb +1 -2
- data/lib/puppet/provider.rb +0 -13
- data/lib/puppet/provider/nameservice.rb +0 -18
- data/lib/puppet/provider/package/dpkg.rb +0 -10
- data/lib/puppet/provider/package/gem.rb +23 -3
- data/lib/puppet/provider/package/pip.rb +0 -1
- data/lib/puppet/provider/package/pkg.rb +0 -4
- data/lib/puppet/provider/package/portage.rb +1 -1
- data/lib/puppet/provider/package/puppet_gem.rb +1 -4
- data/lib/puppet/provider/service/smf.rb +191 -73
- data/lib/puppet/provider/user/directoryservice.rb +0 -10
- data/lib/puppet/reference/configuration.rb +7 -5
- data/lib/puppet/reference/indirection.rb +1 -1
- data/lib/puppet/resource.rb +1 -89
- data/lib/puppet/resource/catalog.rb +1 -14
- data/lib/puppet/resource/type.rb +3 -119
- data/lib/puppet/resource/type_collection.rb +3 -48
- data/lib/puppet/runtime.rb +1 -2
- data/lib/puppet/settings.rb +45 -33
- data/lib/puppet/settings/integer_setting.rb +17 -0
- data/lib/puppet/settings/port_setting.rb +15 -0
- data/lib/puppet/settings/priority_setting.rb +5 -4
- data/lib/puppet/ssl.rb +10 -6
- data/lib/puppet/ssl/base.rb +3 -5
- data/lib/puppet/ssl/certificate.rb +0 -6
- data/lib/puppet/ssl/certificate_request.rb +1 -12
- data/lib/puppet/ssl/certificate_signer.rb +6 -0
- data/lib/puppet/ssl/oids.rb +3 -1
- data/lib/puppet/ssl/ssl_provider.rb +17 -0
- data/lib/puppet/ssl/state_machine.rb +3 -1
- data/lib/puppet/ssl/verifier.rb +2 -0
- data/lib/puppet/test/test_helper.rb +1 -3
- data/lib/puppet/transaction.rb +1 -7
- data/lib/puppet/transaction/report.rb +2 -4
- data/lib/puppet/type.rb +0 -76
- data/lib/puppet/type/file.rb +5 -7
- data/lib/puppet/type/file/checksum.rb +1 -1
- data/lib/puppet/type/file/source.rb +1 -1
- data/lib/puppet/type/filebucket.rb +3 -3
- data/lib/puppet/type/package.rb +5 -13
- data/lib/puppet/type/user.rb +1 -1
- data/lib/puppet/util/execution.rb +0 -11
- data/lib/puppet/util/http_proxy.rb +2 -215
- data/lib/puppet/util/monkey_patches.rb +0 -46
- data/lib/puppet/util/rdoc.rb +0 -7
- data/lib/puppet/util/retry_action.rb +1 -1
- data/lib/puppet/util/run_mode.rb +9 -1
- data/lib/puppet/util/windows.rb +3 -8
- data/lib/puppet/util/windows/daemon.rb +360 -0
- data/lib/puppet/util/windows/error.rb +1 -0
- data/lib/puppet/util/windows/eventlog.rb +4 -9
- data/lib/puppet/util/windows/file.rb +8 -242
- data/lib/puppet/util/windows/monkey_patches/process.rb +414 -0
- data/lib/puppet/util/windows/process.rb +4 -226
- data/lib/puppet/util/windows/service.rb +9 -460
- data/lib/puppet/util/windows/string.rb +12 -13
- data/lib/puppet/util/yaml.rb +0 -22
- data/lib/puppet/vendor/require_vendored.rb +0 -1
- data/lib/puppet/version.rb +1 -1
- data/lib/puppet/x509.rb +5 -1
- data/lib/puppet/x509/cert_provider.rb +29 -1
- data/locales/puppet.pot +521 -1226
- data/man/man5/puppet.conf.5 +34 -94
- data/man/man8/puppet-facts.8 +56 -35
- data/man/man8/puppet-filebucket.8 +3 -3
- data/man/man8/puppet-module.8 +0 -57
- data/man/man8/puppet.8 +1 -1
- data/spec/fixtures/unit/provider/service/smf/{svcs.out → svcs_instances.out} +0 -0
- data/spec/integration/application/agent_spec.rb +24 -11
- data/spec/integration/application/apply_spec.rb +1 -1
- data/spec/integration/application/filebucket_spec.rb +16 -16
- data/spec/integration/application/help_spec.rb +2 -0
- data/spec/integration/application/plugin_spec.rb +23 -1
- data/spec/integration/defaults_spec.rb +7 -3
- data/spec/integration/indirector/file_content/file_server_spec.rb +0 -2
- data/spec/integration/indirector/file_metadata/file_server_spec.rb +0 -2
- data/spec/integration/network/http_pool_spec.rb +3 -21
- data/spec/integration/parser/catalog_spec.rb +0 -38
- data/spec/integration/parser/node_spec.rb +0 -9
- data/spec/integration/parser/pcore_resource_spec.rb +0 -37
- data/spec/integration/type/file_spec.rb +5 -4
- data/spec/integration/util/windows/monkey_patches/process_spec.rb +231 -0
- data/spec/integration/util/windows/security_spec.rb +1 -1
- data/spec/lib/puppet_spec/puppetserver.rb +1 -1
- data/spec/lib/puppet_spec/settings.rb +1 -0
- data/spec/spec_helper.rb +2 -0
- data/spec/unit/agent_spec.rb +0 -2
- data/spec/unit/application/facts_spec.rb +86 -0
- data/spec/unit/application/filebucket_spec.rb +41 -39
- data/spec/unit/application/ssl_spec.rb +2 -2
- data/spec/unit/certificate_factory_spec.rb +1 -1
- data/spec/unit/configurer/downloader_spec.rb +6 -2
- data/spec/unit/configurer/plugin_handler_spec.rb +56 -18
- data/spec/unit/configurer_spec.rb +12 -9
- data/spec/unit/context/trusted_information_spec.rb +2 -6
- data/spec/unit/defaults_spec.rb +22 -47
- data/spec/unit/environments_spec.rb +0 -3
- data/spec/unit/face/facts_spec.rb +4 -0
- data/spec/unit/face/node_spec.rb +14 -2
- data/spec/unit/face/plugin_spec.rb +73 -33
- data/spec/unit/file_bucket/file_spec.rb +1 -1
- data/spec/unit/file_serving/configuration/parser_spec.rb +22 -18
- data/spec/unit/file_serving/configuration_spec.rb +6 -12
- data/spec/unit/functions/camelcase_spec.rb +1 -1
- data/spec/unit/functions/capitalize_spec.rb +1 -1
- data/spec/unit/functions/downcase_spec.rb +1 -1
- data/spec/unit/functions/upcase_spec.rb +1 -1
- data/spec/unit/http/client_spec.rb +7 -8
- data/spec/unit/{network/resolver_spec.rb → http/dns_spec.rb} +3 -3
- data/spec/unit/http/external_client_spec.rb +4 -4
- data/spec/unit/{network/http → http}/factory_spec.rb +5 -11
- data/spec/unit/{network/http/session_spec.rb → http/pool_entry_spec.rb} +3 -3
- data/spec/unit/{network/http → http}/pool_spec.rb +12 -17
- data/spec/unit/{util/http_proxy_spec.rb → http/proxy_spec.rb} +2 -69
- data/spec/unit/http/resolver_spec.rb +13 -13
- data/spec/unit/http/service/compiler_spec.rb +0 -62
- data/spec/unit/http/service/file_server_spec.rb +3 -3
- data/spec/unit/http/service/puppetserver_spec.rb +34 -4
- data/spec/unit/http/service_spec.rb +0 -1
- data/spec/unit/http/session_spec.rb +16 -14
- data/spec/unit/{network/http → http}/site_spec.rb +3 -3
- data/spec/unit/indirector/facts/facter_spec.rb +113 -0
- data/spec/unit/indirector/file_bucket_file/file_spec.rb +5 -3
- data/spec/unit/indirector/file_content/rest_spec.rb +0 -4
- data/spec/unit/indirector/file_metadata/rest_spec.rb +0 -4
- data/spec/unit/indirector/file_server_spec.rb +1 -15
- data/spec/unit/indirector/report/rest_spec.rb +2 -17
- data/spec/unit/indirector/request_spec.rb +0 -264
- data/spec/unit/indirector/rest_spec.rb +98 -752
- data/spec/unit/network/authconfig_spec.rb +2 -129
- data/spec/unit/network/authorization_spec.rb +2 -55
- data/spec/unit/network/formats_spec.rb +45 -4
- data/spec/unit/network/http/api/indirected_routes_spec.rb +1 -92
- data/spec/unit/network/http/api/master/v3_spec.rb +28 -7
- data/spec/unit/network/http/api_spec.rb +10 -0
- data/spec/unit/network/http/connection_spec.rb +19 -41
- data/spec/unit/network/http/handler_spec.rb +0 -1
- data/spec/unit/network/http_pool_spec.rb +0 -4
- data/spec/unit/node/environment_spec.rb +33 -21
- data/spec/unit/node_spec.rb +2 -54
- data/spec/unit/parser/functions/create_resources_spec.rb +2 -20
- data/spec/unit/pops/evaluator/evaluating_parser_spec.rb +4 -7
- data/spec/unit/pops/loaders/loaders_spec.rb +6 -21
- data/spec/unit/pops/parser/parse_application_spec.rb +4 -22
- data/spec/unit/pops/parser/parse_basic_expressions_spec.rb +0 -1
- data/spec/unit/pops/parser/parse_capabilities_spec.rb +8 -21
- data/spec/unit/pops/parser/parse_site_spec.rb +20 -24
- data/spec/unit/pops/resource/resource_type_impl_spec.rb +0 -71
- data/spec/unit/pops/serialization/to_from_hr_spec.rb +1 -1
- data/spec/unit/pops/types/type_calculator_spec.rb +6 -6
- data/spec/unit/pops/types/type_factory_spec.rb +1 -1
- data/spec/unit/pops/validator/validator_spec.rb +61 -46
- data/spec/unit/pops/visitor_spec.rb +1 -1
- data/spec/unit/provider/nameservice_spec.rb +0 -57
- data/spec/unit/provider/package/dpkg_spec.rb +0 -48
- data/spec/unit/provider/package/gem_spec.rb +32 -0
- data/spec/unit/provider/package/puppet_gem_spec.rb +3 -2
- data/spec/unit/provider/service/smf_spec.rb +401 -165
- data/spec/unit/provider/service/windows_spec.rb +0 -1
- data/spec/unit/provider_spec.rb +0 -12
- data/spec/unit/resource/type_collection_spec.rb +2 -22
- data/spec/unit/resource_spec.rb +0 -56
- data/spec/unit/settings/http_extra_headers_spec.rb +2 -4
- data/spec/unit/settings/integer_setting_spec.rb +42 -0
- data/spec/unit/settings/port_setting_spec.rb +31 -0
- data/spec/unit/settings/priority_setting_spec.rb +4 -4
- data/spec/unit/settings_spec.rb +17 -0
- data/spec/unit/ssl/base_spec.rb +36 -3
- data/spec/unit/ssl/certificate_request_spec.rb +19 -55
- data/spec/unit/ssl/certificate_spec.rb +2 -11
- data/spec/unit/ssl/state_machine_spec.rb +0 -1
- data/spec/unit/ssl/verifier_spec.rb +0 -21
- data/spec/unit/transaction/report_spec.rb +0 -2
- data/spec/unit/transaction/resource_harness_spec.rb +2 -2
- data/spec/unit/transaction_spec.rb +45 -79
- data/spec/unit/type/file/checksum_spec.rb +6 -6
- data/spec/unit/type/file/content_spec.rb +1 -1
- data/spec/unit/type/file/ensure_spec.rb +1 -1
- data/spec/unit/type/file/mode_spec.rb +1 -1
- data/spec/unit/type/file/source_spec.rb +0 -1
- data/spec/unit/type/file_spec.rb +12 -6
- data/spec/unit/type/package_spec.rb +1 -1
- data/spec/unit/type_spec.rb +20 -0
- data/spec/unit/util/backups_spec.rb +0 -2
- data/spec/unit/util/execution_spec.rb +0 -29
- data/spec/unit/util/monkey_patches_spec.rb +0 -6
- data/spec/unit/util/run_mode_spec.rb +21 -121
- data/spec/unit/util/windows/string_spec.rb +1 -3
- data/spec/unit/util/yaml_spec.rb +0 -54
- data/spec/unit/util_spec.rb +0 -18
- metadata +47 -218
- data/conf/auth.conf +0 -150
- data/lib/puppet/application/cert.rb +0 -76
- data/lib/puppet/application/key.rb +0 -4
- data/lib/puppet/application/man.rb +0 -4
- data/lib/puppet/application/status.rb +0 -4
- data/lib/puppet/face/key.rb +0 -16
- data/lib/puppet/face/man.rb +0 -145
- data/lib/puppet/face/module/build.rb +0 -14
- data/lib/puppet/face/module/generate.rb +0 -14
- data/lib/puppet/face/module/search.rb +0 -103
- data/lib/puppet/face/status.rb +0 -51
- data/lib/puppet/indirector/certificate/file.rb +0 -9
- data/lib/puppet/indirector/certificate/rest.rb +0 -18
- data/lib/puppet/indirector/certificate_request/file.rb +0 -9
- data/lib/puppet/indirector/certificate_request/memory.rb +0 -7
- data/lib/puppet/indirector/certificate_request/rest.rb +0 -11
- data/lib/puppet/indirector/file_content/http.rb +0 -22
- data/lib/puppet/indirector/key/file.rb +0 -46
- data/lib/puppet/indirector/key/memory.rb +0 -7
- data/lib/puppet/indirector/ssl_file.rb +0 -162
- data/lib/puppet/indirector/status.rb +0 -3
- data/lib/puppet/indirector/status/local.rb +0 -12
- data/lib/puppet/indirector/status/rest.rb +0 -27
- data/lib/puppet/module_tool/applications/searcher.rb +0 -29
- data/lib/puppet/network/auth_config_parser.rb +0 -90
- data/lib/puppet/network/authstore.rb +0 -283
- data/lib/puppet/network/http/api/master/v3/authorization.rb +0 -18
- data/lib/puppet/network/http/api/master/v3/environment.rb +0 -88
- data/lib/puppet/network/http/base_pool.rb +0 -36
- data/lib/puppet/network/http/compression.rb +0 -127
- data/lib/puppet/network/http/connection_adapter.rb +0 -184
- data/lib/puppet/network/http/nocache_pool.rb +0 -28
- data/lib/puppet/network/rest_controller.rb +0 -2
- data/lib/puppet/network/rights.rb +0 -210
- data/lib/puppet/parser/compiler/catalog_validator/env_relationship_validator.rb +0 -66
- data/lib/puppet/parser/compiler/catalog_validator/site_validator.rb +0 -22
- data/lib/puppet/parser/environment_compiler.rb +0 -202
- data/lib/puppet/pops/types/enumeration.rb +0 -16
- data/lib/puppet/resource/capability_finder.rb +0 -154
- data/lib/puppet/rest/errors.rb +0 -15
- data/lib/puppet/rest/response.rb +0 -35
- data/lib/puppet/rest/route.rb +0 -85
- data/lib/puppet/rest/routes.rb +0 -135
- data/lib/puppet/ssl/host.rb +0 -505
- data/lib/puppet/ssl/key.rb +0 -61
- data/lib/puppet/ssl/validator.rb +0 -61
- data/lib/puppet/ssl/validator/default_validator.rb +0 -209
- data/lib/puppet/ssl/validator/no_validator.rb +0 -22
- data/lib/puppet/ssl/verifier_adapter.rb +0 -58
- data/lib/puppet/status.rb +0 -40
- data/lib/puppet/util/connection.rb +0 -88
- data/lib/puppet/util/fact_dif.rb +0 -62
- data/lib/puppet/util/ssl.rb +0 -83
- data/lib/puppet/util/windows/api_types.rb +0 -309
- data/lib/puppet/util/windows/monkey_patches/dir.rb +0 -40
- data/lib/puppet/vendor/load_pathspec.rb +0 -1
- data/lib/puppet/vendor/pathspec/CHANGELOG.md +0 -2
- data/lib/puppet/vendor/pathspec/LICENSE +0 -201
- data/lib/puppet/vendor/pathspec/PUPPET_README.md +0 -6
- data/lib/puppet/vendor/pathspec/README.md +0 -53
- data/lib/puppet/vendor/pathspec/lib/pathspec.rb +0 -122
- data/lib/puppet/vendor/pathspec/lib/pathspec/gitignorespec.rb +0 -275
- data/lib/puppet/vendor/pathspec/lib/pathspec/regexspec.rb +0 -17
- data/lib/puppet/vendor/pathspec/lib/pathspec/spec.rb +0 -14
- data/man/man8/puppet-key.8 +0 -126
- data/man/man8/puppet-man.8 +0 -76
- data/man/man8/puppet-status.8 +0 -108
- data/spec/integration/network/authconfig_spec.rb +0 -256
- data/spec/integration/util/windows/monkey_patches/dir_spec.rb +0 -11
- data/spec/unit/application/man_spec.rb +0 -52
- data/spec/unit/capability_spec.rb +0 -414
- data/spec/unit/face/key_spec.rb +0 -9
- data/spec/unit/face/module/search_spec.rb +0 -231
- data/spec/unit/face/status_spec.rb +0 -9
- data/spec/unit/indirector/certificate/file_spec.rb +0 -14
- data/spec/unit/indirector/certificate/rest_spec.rb +0 -61
- data/spec/unit/indirector/certificate_request/file_spec.rb +0 -14
- data/spec/unit/indirector/certificate_request/rest_spec.rb +0 -25
- data/spec/unit/indirector/key/file_spec.rb +0 -78
- data/spec/unit/indirector/ssl_file_spec.rb +0 -305
- data/spec/unit/indirector/status/local_spec.rb +0 -10
- data/spec/unit/indirector/status/rest_spec.rb +0 -50
- data/spec/unit/module_tool/applications/searcher_spec.rb +0 -38
- data/spec/unit/network/auth_config_parser_spec.rb +0 -115
- data/spec/unit/network/authstore_spec.rb +0 -422
- data/spec/unit/network/http/api/master/v3/authorization_spec.rb +0 -57
- data/spec/unit/network/http/api/master/v3/environment_spec.rb +0 -185
- data/spec/unit/network/http/compression_spec.rb +0 -240
- data/spec/unit/network/http/nocache_pool_spec.rb +0 -64
- data/spec/unit/network/http_spec.rb +0 -9
- data/spec/unit/network/rights_spec.rb +0 -439
- data/spec/unit/parser/environment_compiler_spec.rb +0 -730
- data/spec/unit/pops/types/enumeration_spec.rb +0 -51
- data/spec/unit/resource/capability_finder_spec.rb +0 -148
- data/spec/unit/rest/route_spec.rb +0 -132
- data/spec/unit/ssl/host_spec.rb +0 -645
- data/spec/unit/ssl/key_spec.rb +0 -173
- data/spec/unit/ssl/validator_spec.rb +0 -278
- data/spec/unit/status_spec.rb +0 -45
- data/spec/unit/util/ssl_spec.rb +0 -91
@@ -16,8 +16,6 @@ describe Puppet::Util::Backups do
|
|
16
16
|
let(:path) { make_absolute('/no/such/file') }
|
17
17
|
|
18
18
|
it "should noop if the file does not exist" do
|
19
|
-
file = Puppet::Type.type(:file).new(:name => path)
|
20
|
-
|
21
19
|
expect(file).not_to receive(:bucket)
|
22
20
|
expect(Puppet::FileSystem).to receive(:exist?).with(path).and_return(false)
|
23
21
|
|
@@ -939,33 +939,4 @@ describe Puppet::Util::Execution, if: !Puppet::Util::Platform.jruby? do
|
|
939
939
|
expect(Puppet::Util::Execution.execpipe('echo hello', false)).to eq('error message')
|
940
940
|
end
|
941
941
|
end
|
942
|
-
|
943
|
-
describe "execfail" do
|
944
|
-
it "returns the executed command output" do
|
945
|
-
allow(Puppet::Util::Execution).to receive(:execute)
|
946
|
-
.and_return(Puppet::Util::Execution::ProcessOutput.new("process output", 0))
|
947
|
-
expect(Puppet::Util::Execution.execfail('echo hello', Puppet::Error)).to eq('process output')
|
948
|
-
end
|
949
|
-
|
950
|
-
it "raises a caller-specified exception on failure with the backtrace" do
|
951
|
-
allow(Puppet::Util::Execution).to receive(:execute).and_raise(Puppet::ExecutionFailure, "failed to execute")
|
952
|
-
expect {
|
953
|
-
Puppet::Util::Execution.execfail("this will fail", Puppet::Error)
|
954
|
-
}.to raise_error(Puppet::Error, /failed to execute/)
|
955
|
-
end
|
956
|
-
|
957
|
-
it "raises exceptions that don't extend ExecutionFailure" do
|
958
|
-
allow(Puppet::Util::Execution).to receive(:execute).and_raise(ArgumentError, "failed to execute")
|
959
|
-
expect {
|
960
|
-
Puppet::Util::Execution.execfail("this will fail", Puppet::Error)
|
961
|
-
}.to raise_error(ArgumentError, /failed to execute/)
|
962
|
-
end
|
963
|
-
|
964
|
-
it "raises a TypeError if the exception class is nil" do
|
965
|
-
allow(Puppet::Util::Execution).to receive(:execute).and_raise(Puppet::ExecutionFailure, "failed to execute")
|
966
|
-
expect {
|
967
|
-
Puppet::Util::Execution.execfail('echo hello', nil)
|
968
|
-
}.to raise_error(TypeError, /exception class\/object expected/)
|
969
|
-
end
|
970
|
-
end
|
971
942
|
end
|
@@ -135,9 +135,3 @@ describe SecureRandom do
|
|
135
135
|
expect(SecureRandom.uuid).to match(/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/i)
|
136
136
|
end
|
137
137
|
end
|
138
|
-
|
139
|
-
describe 'Enumerable' do
|
140
|
-
it 'expects uniq to work on an Enumerable' do
|
141
|
-
expect(['c', 'c', 'C'].reverse_each.uniq).to eql(['C', 'c'])
|
142
|
-
end
|
143
|
-
end
|
@@ -1,12 +1,6 @@
|
|
1
1
|
require 'spec_helper'
|
2
2
|
|
3
3
|
describe Puppet::Util::RunMode do
|
4
|
-
# Discriminator for tests that attempts to unset HOME since that, for reasons currently unknown,
|
5
|
-
# doesn't work in Ruby >= 2.4.0
|
6
|
-
def self.gte_ruby_2_4
|
7
|
-
@gte_ruby_2_4 ||= SemanticPuppet::Version.parse(RUBY_VERSION) >= SemanticPuppet::Version.parse('2.4.0')
|
8
|
-
end
|
9
|
-
|
10
4
|
before do
|
11
5
|
@run_mode = Puppet::Util::RunMode.new('fake')
|
12
6
|
end
|
@@ -34,14 +28,6 @@ describe Puppet::Util::RunMode do
|
|
34
28
|
as_non_root { expect(@run_mode.conf_dir).to eq(File.expand_path('~/.puppetlabs/etc/puppet')) }
|
35
29
|
end
|
36
30
|
end
|
37
|
-
|
38
|
-
it "fails when asking for the conf_dir as non-root and there is no $HOME", :unless => gte_ruby_2_4 || Puppet::Util::Platform.windows? do
|
39
|
-
as_non_root do
|
40
|
-
without_home do
|
41
|
-
expect { @run_mode.conf_dir }.to raise_error ArgumentError, /couldn't find HOME/
|
42
|
-
end
|
43
|
-
end
|
44
|
-
end
|
45
31
|
end
|
46
32
|
|
47
33
|
describe "#code_dir" do
|
@@ -62,14 +48,6 @@ describe Puppet::Util::RunMode do
|
|
62
48
|
as_non_root { expect(@run_mode.code_dir).to eq(File.expand_path('~/.puppetlabs/etc/code')) }
|
63
49
|
end
|
64
50
|
end
|
65
|
-
|
66
|
-
it "fails when asking for the code_dir as non-root and there is no $HOME", :unless => gte_ruby_2_4 || Puppet::Util::Platform.windows? do
|
67
|
-
as_non_root do
|
68
|
-
without_home do
|
69
|
-
expect { @run_mode.code_dir }.to raise_error ArgumentError, /couldn't find HOME/
|
70
|
-
end
|
71
|
-
end
|
72
|
-
end
|
73
51
|
end
|
74
52
|
|
75
53
|
describe "#var_dir" do
|
@@ -80,13 +58,15 @@ describe Puppet::Util::RunMode do
|
|
80
58
|
it "has vardir ~/.puppetlabs/opt/puppet/cache when run as non-root" do
|
81
59
|
as_non_root { expect(@run_mode.var_dir).to eq(File.expand_path('~/.puppetlabs/opt/puppet/cache')) }
|
82
60
|
end
|
61
|
+
end
|
62
|
+
|
63
|
+
describe "#public_dir" do
|
64
|
+
it "has publicdir /opt/puppetlabs/puppet/public when run as root" do
|
65
|
+
as_root { expect(@run_mode.public_dir).to eq(File.expand_path('/opt/puppetlabs/puppet/public')) }
|
66
|
+
end
|
83
67
|
|
84
|
-
it "
|
85
|
-
as_non_root
|
86
|
-
without_home do
|
87
|
-
expect { @run_mode.var_dir }.to raise_error ArgumentError, /couldn't find HOME/
|
88
|
-
end
|
89
|
-
end
|
68
|
+
it "has publicdir ~/.puppetlabs/opt/puppet/public when run as non-root" do
|
69
|
+
as_non_root { expect(@run_mode.public_dir).to eq(File.expand_path('~/.puppetlabs/opt/puppet/public')) }
|
90
70
|
end
|
91
71
|
end
|
92
72
|
|
@@ -101,14 +81,6 @@ describe Puppet::Util::RunMode do
|
|
101
81
|
it "has default logdir ~/.puppetlabs/var/log" do
|
102
82
|
as_non_root { expect(@run_mode.log_dir).to eq(File.expand_path('~/.puppetlabs/var/log')) }
|
103
83
|
end
|
104
|
-
|
105
|
-
it "fails when asking for the log_dir and there is no $HOME", :unless => gte_ruby_2_4 || Puppet::Util::Platform.windows? do
|
106
|
-
as_non_root do
|
107
|
-
without_home do
|
108
|
-
expect { @run_mode.log_dir }.to raise_error ArgumentError, /couldn't find HOME/
|
109
|
-
end
|
110
|
-
end
|
111
|
-
end
|
112
84
|
end
|
113
85
|
end
|
114
86
|
|
@@ -123,103 +95,59 @@ describe Puppet::Util::RunMode do
|
|
123
95
|
it "has default rundir ~/.puppetlabs/var/run" do
|
124
96
|
as_non_root { expect(@run_mode.run_dir).to eq(File.expand_path('~/.puppetlabs/var/run')) }
|
125
97
|
end
|
126
|
-
|
127
|
-
it "fails when asking for the run_dir and there is no $HOME", :unless => gte_ruby_2_4 || Puppet::Util::Platform.windows? do
|
128
|
-
as_non_root do
|
129
|
-
without_home do
|
130
|
-
expect { @run_mode.run_dir }.to raise_error ArgumentError, /couldn't find HOME/
|
131
|
-
end
|
132
|
-
end
|
133
|
-
end
|
134
98
|
end
|
135
99
|
end
|
136
100
|
end
|
137
101
|
|
138
102
|
describe Puppet::Util::WindowsRunMode, :if => Puppet::Util::Platform.windows? do
|
139
103
|
before do
|
140
|
-
if not Dir.const_defined? :COMMON_APPDATA
|
141
|
-
Dir.const_set :COMMON_APPDATA, "/CommonFakeBase"
|
142
|
-
@remove_const = true
|
143
|
-
end
|
144
104
|
@run_mode = Puppet::Util::WindowsRunMode.new('fake')
|
145
105
|
end
|
146
106
|
|
147
|
-
after do
|
148
|
-
if @remove_const
|
149
|
-
Dir.send :remove_const, :COMMON_APPDATA
|
150
|
-
end
|
151
|
-
end
|
152
|
-
|
153
107
|
describe "#conf_dir" do
|
154
108
|
it "has confdir ending in Puppetlabs/puppet/etc when run as root" do
|
155
|
-
as_root { expect(@run_mode.conf_dir).to eq(File.expand_path(File.join(
|
109
|
+
as_root { expect(@run_mode.conf_dir).to eq(File.expand_path(File.join(ENV['ALLUSERSPROFILE'], "PuppetLabs", "puppet", "etc"))) }
|
156
110
|
end
|
157
111
|
|
158
112
|
it "has confdir in ~/.puppetlabs/etc/puppet when run as non-root" do
|
159
113
|
as_non_root { expect(@run_mode.conf_dir).to eq(File.expand_path("~/.puppetlabs/etc/puppet")) }
|
160
114
|
end
|
161
|
-
|
162
|
-
it "fails when asking for the conf_dir as non-root and there is no %HOME%, %HOMEDRIVE%, and %USERPROFILE%", :unless => gte_ruby_2_4 do
|
163
|
-
as_non_root do
|
164
|
-
without_env('HOME') do
|
165
|
-
without_env('HOMEDRIVE') do
|
166
|
-
without_env('USERPROFILE') do
|
167
|
-
expect { @run_mode.conf_dir }.to raise_error ArgumentError, /couldn't find HOME/
|
168
|
-
end
|
169
|
-
end
|
170
|
-
end
|
171
|
-
end
|
172
|
-
end
|
173
115
|
end
|
174
116
|
|
175
117
|
describe "#code_dir" do
|
176
118
|
it "has codedir ending in PuppetLabs/code when run as root" do
|
177
|
-
as_root { expect(@run_mode.code_dir).to eq(File.expand_path(File.join(
|
119
|
+
as_root { expect(@run_mode.code_dir).to eq(File.expand_path(File.join(ENV['ALLUSERSPROFILE'], "PuppetLabs", "code"))) }
|
178
120
|
end
|
179
121
|
|
180
122
|
it "has codedir in ~/.puppetlabs/etc/code when run as non-root" do
|
181
123
|
as_non_root { expect(@run_mode.code_dir).to eq(File.expand_path("~/.puppetlabs/etc/code")) }
|
182
124
|
end
|
183
|
-
|
184
|
-
it "fails when asking for the code_dir as non-root and there is no %HOME%, %HOMEDRIVE%, and %USERPROFILE%", :unless => gte_ruby_2_4 do
|
185
|
-
as_non_root do
|
186
|
-
without_env('HOME') do
|
187
|
-
without_env('HOMEDRIVE') do
|
188
|
-
without_env('USERPROFILE') do
|
189
|
-
expect { @run_mode.code_dir }.to raise_error ArgumentError, /couldn't find HOME/
|
190
|
-
end
|
191
|
-
end
|
192
|
-
end
|
193
|
-
end
|
194
|
-
end
|
195
125
|
end
|
196
126
|
|
197
127
|
describe "#var_dir" do
|
198
128
|
it "has vardir ending in PuppetLabs/puppet/cache when run as root" do
|
199
|
-
as_root { expect(@run_mode.var_dir).to eq(File.expand_path(File.join(
|
129
|
+
as_root { expect(@run_mode.var_dir).to eq(File.expand_path(File.join(ENV['ALLUSERSPROFILE'], "PuppetLabs", "puppet", "cache"))) }
|
200
130
|
end
|
201
131
|
|
202
132
|
it "has vardir in ~/.puppetlabs/opt/puppet/cache when run as non-root" do
|
203
133
|
as_non_root { expect(@run_mode.var_dir).to eq(File.expand_path("~/.puppetlabs/opt/puppet/cache")) }
|
204
134
|
end
|
135
|
+
end
|
136
|
+
|
137
|
+
describe "#public_dir" do
|
138
|
+
it "has publicdir ending in PuppetLabs/puppet/public when run as root" do
|
139
|
+
as_root { expect(@run_mode.public_dir).to eq(File.expand_path(File.join(ENV['ALLUSERSPROFILE'], "PuppetLabs", "puppet", "public"))) }
|
140
|
+
end
|
205
141
|
|
206
|
-
it "
|
207
|
-
as_non_root
|
208
|
-
without_env('HOME') do
|
209
|
-
without_env('HOMEDRIVE') do
|
210
|
-
without_env('USERPROFILE') do
|
211
|
-
expect { @run_mode.var_dir }.to raise_error ArgumentError, /couldn't find HOME/
|
212
|
-
end
|
213
|
-
end
|
214
|
-
end
|
215
|
-
end
|
142
|
+
it "has publicdir in ~/.puppetlabs/opt/puppet/public when run as non-root" do
|
143
|
+
as_non_root { expect(@run_mode.public_dir).to eq(File.expand_path("~/.puppetlabs/opt/puppet/public")) }
|
216
144
|
end
|
217
145
|
end
|
218
146
|
|
219
147
|
describe "#log_dir" do
|
220
148
|
describe "when run as root" do
|
221
149
|
it "has logdir ending in PuppetLabs/puppet/var/log" do
|
222
|
-
as_root { expect(@run_mode.log_dir).to eq(File.expand_path(File.join(
|
150
|
+
as_root { expect(@run_mode.log_dir).to eq(File.expand_path(File.join(ENV['ALLUSERSPROFILE'], "PuppetLabs", "puppet", "var", "log"))) }
|
223
151
|
end
|
224
152
|
end
|
225
153
|
|
@@ -227,25 +155,13 @@ describe Puppet::Util::RunMode do
|
|
227
155
|
it "has default logdir ~/.puppetlabs/var/log" do
|
228
156
|
as_non_root { expect(@run_mode.log_dir).to eq(File.expand_path('~/.puppetlabs/var/log')) }
|
229
157
|
end
|
230
|
-
|
231
|
-
it "fails when asking for the log_dir and there is no $HOME", :unless => gte_ruby_2_4 do
|
232
|
-
as_non_root do
|
233
|
-
without_env('HOME') do
|
234
|
-
without_env('HOMEDRIVE') do
|
235
|
-
without_env('USERPROFILE') do
|
236
|
-
expect { @run_mode.log_dir }.to raise_error ArgumentError, /couldn't find HOME/
|
237
|
-
end
|
238
|
-
end
|
239
|
-
end
|
240
|
-
end
|
241
|
-
end
|
242
158
|
end
|
243
159
|
end
|
244
160
|
|
245
161
|
describe "#run_dir" do
|
246
162
|
describe "when run as root" do
|
247
163
|
it "has rundir ending in PuppetLabs/puppet/var/run" do
|
248
|
-
as_root { expect(@run_mode.run_dir).to eq(File.expand_path(File.join(
|
164
|
+
as_root { expect(@run_mode.run_dir).to eq(File.expand_path(File.join(ENV['ALLUSERSPROFILE'], "PuppetLabs", "puppet", "var", "run"))) }
|
249
165
|
end
|
250
166
|
end
|
251
167
|
|
@@ -253,18 +169,6 @@ describe Puppet::Util::RunMode do
|
|
253
169
|
it "has default rundir ~/.puppetlabs/var/run" do
|
254
170
|
as_non_root { expect(@run_mode.run_dir).to eq(File.expand_path('~/.puppetlabs/var/run')) }
|
255
171
|
end
|
256
|
-
|
257
|
-
it "fails when asking for the run_dir and there is no $HOME", :unless => gte_ruby_2_4 do
|
258
|
-
as_non_root do
|
259
|
-
without_env('HOME') do
|
260
|
-
without_env('HOMEDRIVE') do
|
261
|
-
without_env('USERPROFILE') do
|
262
|
-
expect { @run_mode.run_dir }.to raise_error ArgumentError, /couldn't find HOME/
|
263
|
-
end
|
264
|
-
end
|
265
|
-
end
|
266
|
-
end
|
267
|
-
end
|
268
172
|
end
|
269
173
|
end
|
270
174
|
|
@@ -310,8 +214,4 @@ describe Puppet::Util::RunMode do
|
|
310
214
|
ensure
|
311
215
|
Puppet::Util.set_env(name, saved)
|
312
216
|
end
|
313
|
-
|
314
|
-
def without_home(&block)
|
315
|
-
without_env('HOME', &block)
|
316
|
-
end
|
317
217
|
end
|
@@ -4,15 +4,13 @@ require 'spec_helper'
|
|
4
4
|
require 'puppet/util/windows'
|
5
5
|
|
6
6
|
describe "Puppet::Util::Windows::String", :if => Puppet::Util::Platform.windows? do
|
7
|
-
UTF16_NULL = [0, 0]
|
8
|
-
|
9
7
|
def wide_string(str)
|
10
8
|
Puppet::Util::Windows::String.wide_string(str)
|
11
9
|
end
|
12
10
|
|
13
11
|
def converts_to_wide_string(string_value)
|
14
12
|
expected = string_value.encode(Encoding::UTF_16LE)
|
15
|
-
expected_bytes = expected.bytes.to_a
|
13
|
+
expected_bytes = expected.bytes.to_a
|
16
14
|
|
17
15
|
expect(wide_string(string_value).bytes.to_a).to eq(expected_bytes)
|
18
16
|
end
|
data/spec/unit/util/yaml_spec.rb
CHANGED
@@ -139,60 +139,6 @@ FACTS
|
|
139
139
|
end
|
140
140
|
end
|
141
141
|
|
142
|
-
context '#load_file' do
|
143
|
-
it_should_behave_like 'yaml file loader', Puppet::Util::Yaml.method(:load_file)
|
144
|
-
|
145
|
-
it 'raises an error when the file is invalid YAML' do
|
146
|
-
write_file(filename, '{ invalid')
|
147
|
-
|
148
|
-
expect {
|
149
|
-
Puppet::Util::Yaml.load_file(filename)
|
150
|
-
}.to raise_error(Puppet::Util::Yaml::YamlLoadError, %r{\(#{filename}\): .* at line \d+ column \d+})
|
151
|
-
end
|
152
|
-
|
153
|
-
it 'raises an error when the filename is illegal' do
|
154
|
-
expect {
|
155
|
-
Puppet::Util::Yaml.load_file("not\0allowed")
|
156
|
-
}.to raise_error(Puppet::Util::Yaml::YamlLoadError, /null byte/)
|
157
|
-
end
|
158
|
-
|
159
|
-
it 'raises an error when the file does not exist' do
|
160
|
-
expect {
|
161
|
-
Puppet::Util::Yaml.load_file('does/not/exist.yaml')
|
162
|
-
}.to raise_error(Puppet::Util::Yaml::YamlLoadError, /No such file or directory/)
|
163
|
-
end
|
164
|
-
|
165
|
-
it 'allows return value to be overridden' do
|
166
|
-
Puppet::FileSystem.touch(filename)
|
167
|
-
|
168
|
-
expect(Puppet::Util::Yaml.load_file(filename, {})).to eq({})
|
169
|
-
end
|
170
|
-
|
171
|
-
it 'loads arbitrary objects' do
|
172
|
-
write_file(filename, "--- !ruby/object {}\n")
|
173
|
-
|
174
|
-
expect(Puppet::Util::Yaml.load_file(filename, {})).to be_instance_of(Object)
|
175
|
-
end
|
176
|
-
|
177
|
-
it 'should allow one to strip ruby tags that would otherwise not parse' do
|
178
|
-
write_file(filename, "---\nweirddata: !ruby/hash:Not::A::Valid::Class {}")
|
179
|
-
|
180
|
-
expect(Puppet::Util::Yaml.load_file(filename, {}, true)).to eq({"weirddata" => {}})
|
181
|
-
end
|
182
|
-
|
183
|
-
it 'should not strip non-ruby tags' do
|
184
|
-
write_file(filename, "---\nweirddata: !binary |-\n e21kNX04MTE4ZGY2NmM5MTc3OTg4ZWE4Y2JiOWEzMjMyNzFkYg==")
|
185
|
-
|
186
|
-
expect(Puppet::Util::Yaml.load_file(filename, {}, true)).to eq({"weirddata" => "{md5}8118df66c9177988ea8cbb9a323271db"})
|
187
|
-
end
|
188
|
-
|
189
|
-
it 'writes data formatted as YAML to disk' do
|
190
|
-
Puppet::Util::Yaml.dump({ "my" => "data" }, filename)
|
191
|
-
|
192
|
-
expect(Puppet::Util::Yaml.load_file(filename)).to eq({ "my" => "data" })
|
193
|
-
end
|
194
|
-
end
|
195
|
-
|
196
142
|
def write_file(name, contents)
|
197
143
|
File.open(name, "w:UTF-8") do |fh|
|
198
144
|
fh.write(contents)
|
data/spec/unit/util_spec.rb
CHANGED
@@ -3,12 +3,6 @@ require 'spec_helper'
|
|
3
3
|
describe Puppet::Util do
|
4
4
|
include PuppetSpec::Files
|
5
5
|
|
6
|
-
# Discriminator for tests that attempts to unset HOME since that, for reasons currently unknown,
|
7
|
-
# doesn't work in Ruby >= 2.4.0
|
8
|
-
def self.gte_ruby_2_4
|
9
|
-
@gte_ruby_2_4 ||= SemanticPuppet::Version.parse(RUBY_VERSION) >= SemanticPuppet::Version.parse('2.4.0')
|
10
|
-
end
|
11
|
-
|
12
6
|
if Puppet::Util::Platform.windows?
|
13
7
|
def set_mode(mode, file)
|
14
8
|
Puppet::Util::Windows::Security.set_mode(mode, file)
|
@@ -676,18 +670,6 @@ describe Puppet::Util do
|
|
676
670
|
expect(Puppet::Util.which('doesnotexist')).to be_nil
|
677
671
|
end
|
678
672
|
|
679
|
-
it "should warn if the user's HOME is not set but their PATH contains a ~", :unless => gte_ruby_2_4 do
|
680
|
-
env_path = %w[~/bin /usr/bin /bin].join(File::PATH_SEPARATOR)
|
681
|
-
|
682
|
-
env = {:HOME => nil, :PATH => env_path}
|
683
|
-
env.merge!({:HOMEDRIVE => nil, :USERPROFILE => nil}) if Puppet::Util::Platform.windows?
|
684
|
-
|
685
|
-
expect(Puppet::Util::Warnings).to receive(:warnonce).once
|
686
|
-
Puppet::Util.withenv(env) do
|
687
|
-
Puppet::Util.which('foo')
|
688
|
-
end
|
689
|
-
end
|
690
|
-
|
691
673
|
it "should reject directories" do
|
692
674
|
expect(Puppet::Util.which(base)).to be_nil
|
693
675
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: puppet
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 7.4.1
|
5
5
|
platform: x64-mingw32
|
6
6
|
authors:
|
7
7
|
- Puppet Labs
|
@@ -107,35 +107,35 @@ dependencies:
|
|
107
107
|
- !ruby/object:Gem::Version
|
108
108
|
version: '1.10'
|
109
109
|
- !ruby/object:Gem::Dependency
|
110
|
-
name:
|
110
|
+
name: puppet-resource_api
|
111
111
|
requirement: !ruby/object:Gem::Requirement
|
112
112
|
requirements:
|
113
113
|
- - "~>"
|
114
114
|
- !ruby/object:Gem::Version
|
115
|
-
version: '
|
115
|
+
version: '1.5'
|
116
116
|
type: :runtime
|
117
117
|
prerelease: false
|
118
118
|
version_requirements: !ruby/object:Gem::Requirement
|
119
119
|
requirements:
|
120
120
|
- - "~>"
|
121
121
|
- !ruby/object:Gem::Version
|
122
|
-
version: '
|
122
|
+
version: '1.5'
|
123
123
|
- !ruby/object:Gem::Dependency
|
124
|
-
name:
|
124
|
+
name: concurrent-ruby
|
125
125
|
requirement: !ruby/object:Gem::Requirement
|
126
126
|
requirements:
|
127
127
|
- - "~>"
|
128
128
|
- !ruby/object:Gem::Version
|
129
|
-
version: '1.
|
129
|
+
version: '1.0'
|
130
130
|
type: :runtime
|
131
131
|
prerelease: false
|
132
132
|
version_requirements: !ruby/object:Gem::Requirement
|
133
133
|
requirements:
|
134
134
|
- - "~>"
|
135
135
|
- !ruby/object:Gem::Version
|
136
|
-
version: '1.
|
136
|
+
version: '1.0'
|
137
137
|
- !ruby/object:Gem::Dependency
|
138
|
-
name:
|
138
|
+
name: deep_merge
|
139
139
|
requirement: !ruby/object:Gem::Requirement
|
140
140
|
requirements:
|
141
141
|
- - "~>"
|
@@ -149,7 +149,7 @@ dependencies:
|
|
149
149
|
- !ruby/object:Gem::Version
|
150
150
|
version: '1.0'
|
151
151
|
- !ruby/object:Gem::Dependency
|
152
|
-
name:
|
152
|
+
name: scanf
|
153
153
|
requirement: !ruby/object:Gem::Requirement
|
154
154
|
requirements:
|
155
155
|
- - "~>"
|
@@ -182,62 +182,6 @@ dependencies:
|
|
182
182
|
- - "<"
|
183
183
|
- !ruby/object:Gem::Version
|
184
184
|
version: '2'
|
185
|
-
- !ruby/object:Gem::Dependency
|
186
|
-
name: win32-dir
|
187
|
-
requirement: !ruby/object:Gem::Requirement
|
188
|
-
requirements:
|
189
|
-
- - '='
|
190
|
-
- !ruby/object:Gem::Version
|
191
|
-
version: 0.4.9
|
192
|
-
type: :runtime
|
193
|
-
prerelease: false
|
194
|
-
version_requirements: !ruby/object:Gem::Requirement
|
195
|
-
requirements:
|
196
|
-
- - '='
|
197
|
-
- !ruby/object:Gem::Version
|
198
|
-
version: 0.4.9
|
199
|
-
- !ruby/object:Gem::Dependency
|
200
|
-
name: win32-process
|
201
|
-
requirement: !ruby/object:Gem::Requirement
|
202
|
-
requirements:
|
203
|
-
- - '='
|
204
|
-
- !ruby/object:Gem::Version
|
205
|
-
version: 0.7.5
|
206
|
-
type: :runtime
|
207
|
-
prerelease: false
|
208
|
-
version_requirements: !ruby/object:Gem::Requirement
|
209
|
-
requirements:
|
210
|
-
- - '='
|
211
|
-
- !ruby/object:Gem::Version
|
212
|
-
version: 0.7.5
|
213
|
-
- !ruby/object:Gem::Dependency
|
214
|
-
name: win32-security
|
215
|
-
requirement: !ruby/object:Gem::Requirement
|
216
|
-
requirements:
|
217
|
-
- - '='
|
218
|
-
- !ruby/object:Gem::Version
|
219
|
-
version: 0.2.5
|
220
|
-
type: :runtime
|
221
|
-
prerelease: false
|
222
|
-
version_requirements: !ruby/object:Gem::Requirement
|
223
|
-
requirements:
|
224
|
-
- - '='
|
225
|
-
- !ruby/object:Gem::Version
|
226
|
-
version: 0.2.5
|
227
|
-
- !ruby/object:Gem::Dependency
|
228
|
-
name: win32-service
|
229
|
-
requirement: !ruby/object:Gem::Requirement
|
230
|
-
requirements:
|
231
|
-
- - '='
|
232
|
-
- !ruby/object:Gem::Version
|
233
|
-
version: 0.8.8
|
234
|
-
type: :runtime
|
235
|
-
prerelease: false
|
236
|
-
version_requirements: !ruby/object:Gem::Requirement
|
237
|
-
requirements:
|
238
|
-
- - '='
|
239
|
-
- !ruby/object:Gem::Version
|
240
|
-
version: 0.8.8
|
241
185
|
- !ruby/object:Gem::Dependency
|
242
186
|
name: minitar
|
243
187
|
requirement: !ruby/object:Gem::Requirement
|
@@ -269,7 +213,6 @@ files:
|
|
269
213
|
- README.md
|
270
214
|
- Rakefile
|
271
215
|
- bin/puppet
|
272
|
-
- conf/auth.conf
|
273
216
|
- conf/environment.conf
|
274
217
|
- conf/fileserver.conf
|
275
218
|
- conf/hiera.yaml
|
@@ -407,7 +350,6 @@ files:
|
|
407
350
|
- lib/puppet/application/agent.rb
|
408
351
|
- lib/puppet/application/apply.rb
|
409
352
|
- lib/puppet/application/catalog.rb
|
410
|
-
- lib/puppet/application/cert.rb
|
411
353
|
- lib/puppet/application/config.rb
|
412
354
|
- lib/puppet/application/describe.rb
|
413
355
|
- lib/puppet/application/device.rb
|
@@ -419,9 +361,7 @@ files:
|
|
419
361
|
- lib/puppet/application/generate.rb
|
420
362
|
- lib/puppet/application/help.rb
|
421
363
|
- lib/puppet/application/indirection_base.rb
|
422
|
-
- lib/puppet/application/key.rb
|
423
364
|
- lib/puppet/application/lookup.rb
|
424
|
-
- lib/puppet/application/man.rb
|
425
365
|
- lib/puppet/application/module.rb
|
426
366
|
- lib/puppet/application/node.rb
|
427
367
|
- lib/puppet/application/parser.rb
|
@@ -430,7 +370,6 @@ files:
|
|
430
370
|
- lib/puppet/application/resource.rb
|
431
371
|
- lib/puppet/application/script.rb
|
432
372
|
- lib/puppet/application/ssl.rb
|
433
|
-
- lib/puppet/application/status.rb
|
434
373
|
- lib/puppet/application_support.rb
|
435
374
|
- lib/puppet/coercion.rb
|
436
375
|
- lib/puppet/compilable_resource_type.rb
|
@@ -481,15 +420,10 @@ files:
|
|
481
420
|
- lib/puppet/face/help/face.erb
|
482
421
|
- lib/puppet/face/help/global.erb
|
483
422
|
- lib/puppet/face/help/man.erb
|
484
|
-
- lib/puppet/face/key.rb
|
485
|
-
- lib/puppet/face/man.rb
|
486
423
|
- lib/puppet/face/module.rb
|
487
|
-
- lib/puppet/face/module/build.rb
|
488
424
|
- lib/puppet/face/module/changes.rb
|
489
|
-
- lib/puppet/face/module/generate.rb
|
490
425
|
- lib/puppet/face/module/install.rb
|
491
426
|
- lib/puppet/face/module/list.rb
|
492
|
-
- lib/puppet/face/module/search.rb
|
493
427
|
- lib/puppet/face/module/uninstall.rb
|
494
428
|
- lib/puppet/face/module/upgrade.rb
|
495
429
|
- lib/puppet/face/node.rb
|
@@ -498,7 +432,6 @@ files:
|
|
498
432
|
- lib/puppet/face/plugin.rb
|
499
433
|
- lib/puppet/face/report.rb
|
500
434
|
- lib/puppet/face/resource.rb
|
501
|
-
- lib/puppet/face/status.rb
|
502
435
|
- lib/puppet/feature/base.rb
|
503
436
|
- lib/puppet/feature/bolt.rb
|
504
437
|
- lib/puppet/feature/cfpropertylist.rb
|
@@ -515,6 +448,11 @@ files:
|
|
515
448
|
- lib/puppet/ffi/posix.rb
|
516
449
|
- lib/puppet/ffi/posix/constants.rb
|
517
450
|
- lib/puppet/ffi/posix/functions.rb
|
451
|
+
- lib/puppet/ffi/windows.rb
|
452
|
+
- lib/puppet/ffi/windows/api_types.rb
|
453
|
+
- lib/puppet/ffi/windows/constants.rb
|
454
|
+
- lib/puppet/ffi/windows/functions.rb
|
455
|
+
- lib/puppet/ffi/windows/structs.rb
|
518
456
|
- lib/puppet/file_bucket.rb
|
519
457
|
- lib/puppet/file_bucket/dipper.rb
|
520
458
|
- lib/puppet/file_bucket/file.rb
|
@@ -653,14 +591,21 @@ files:
|
|
653
591
|
- lib/puppet/graph/simple_graph.rb
|
654
592
|
- lib/puppet/http.rb
|
655
593
|
- lib/puppet/http/client.rb
|
594
|
+
- lib/puppet/http/dns.rb
|
656
595
|
- lib/puppet/http/errors.rb
|
657
596
|
- lib/puppet/http/external_client.rb
|
597
|
+
- lib/puppet/http/factory.rb
|
598
|
+
- lib/puppet/http/pool.rb
|
599
|
+
- lib/puppet/http/pool_entry.rb
|
600
|
+
- lib/puppet/http/proxy.rb
|
658
601
|
- lib/puppet/http/redirector.rb
|
659
602
|
- lib/puppet/http/resolver.rb
|
660
603
|
- lib/puppet/http/resolver/server_list.rb
|
661
604
|
- lib/puppet/http/resolver/settings.rb
|
662
605
|
- lib/puppet/http/resolver/srv.rb
|
663
606
|
- lib/puppet/http/response.rb
|
607
|
+
- lib/puppet/http/response_converter.rb
|
608
|
+
- lib/puppet/http/response_net_http.rb
|
664
609
|
- lib/puppet/http/retry_after_handler.rb
|
665
610
|
- lib/puppet/http/service.rb
|
666
611
|
- lib/puppet/http/service/ca.rb
|
@@ -669,6 +614,7 @@ files:
|
|
669
614
|
- lib/puppet/http/service/puppetserver.rb
|
670
615
|
- lib/puppet/http/service/report.rb
|
671
616
|
- lib/puppet/http/session.rb
|
617
|
+
- lib/puppet/http/site.rb
|
672
618
|
- lib/puppet/indirector.rb
|
673
619
|
- lib/puppet/indirector/catalog/compiler.rb
|
674
620
|
- lib/puppet/indirector/catalog/json.rb
|
@@ -676,11 +622,6 @@ files:
|
|
676
622
|
- lib/puppet/indirector/catalog/rest.rb
|
677
623
|
- lib/puppet/indirector/catalog/store_configs.rb
|
678
624
|
- lib/puppet/indirector/catalog/yaml.rb
|
679
|
-
- lib/puppet/indirector/certificate/file.rb
|
680
|
-
- lib/puppet/indirector/certificate/rest.rb
|
681
|
-
- lib/puppet/indirector/certificate_request/file.rb
|
682
|
-
- lib/puppet/indirector/certificate_request/memory.rb
|
683
|
-
- lib/puppet/indirector/certificate_request/rest.rb
|
684
625
|
- lib/puppet/indirector/code.rb
|
685
626
|
- lib/puppet/indirector/data_binding/hiera.rb
|
686
627
|
- lib/puppet/indirector/data_binding/none.rb
|
@@ -703,7 +644,6 @@ files:
|
|
703
644
|
- lib/puppet/indirector/file_content.rb
|
704
645
|
- lib/puppet/indirector/file_content/file.rb
|
705
646
|
- lib/puppet/indirector/file_content/file_server.rb
|
706
|
-
- lib/puppet/indirector/file_content/http.rb
|
707
647
|
- lib/puppet/indirector/file_content/rest.rb
|
708
648
|
- lib/puppet/indirector/file_content/selector.rb
|
709
649
|
- lib/puppet/indirector/file_metadata.rb
|
@@ -717,8 +657,6 @@ files:
|
|
717
657
|
- lib/puppet/indirector/hiera.rb
|
718
658
|
- lib/puppet/indirector/indirection.rb
|
719
659
|
- lib/puppet/indirector/json.rb
|
720
|
-
- lib/puppet/indirector/key/file.rb
|
721
|
-
- lib/puppet/indirector/key/memory.rb
|
722
660
|
- lib/puppet/indirector/memory.rb
|
723
661
|
- lib/puppet/indirector/msgpack.rb
|
724
662
|
- lib/puppet/indirector/node/exec.rb
|
@@ -741,10 +679,6 @@ files:
|
|
741
679
|
- lib/puppet/indirector/resource/store_configs.rb
|
742
680
|
- lib/puppet/indirector/resource/validator.rb
|
743
681
|
- lib/puppet/indirector/rest.rb
|
744
|
-
- lib/puppet/indirector/ssl_file.rb
|
745
|
-
- lib/puppet/indirector/status.rb
|
746
|
-
- lib/puppet/indirector/status/local.rb
|
747
|
-
- lib/puppet/indirector/status/rest.rb
|
748
682
|
- lib/puppet/indirector/store_configs.rb
|
749
683
|
- lib/puppet/indirector/terminus.rb
|
750
684
|
- lib/puppet/indirector/yaml.rb
|
@@ -771,7 +705,6 @@ files:
|
|
771
705
|
- lib/puppet/module_tool/applications/application.rb
|
772
706
|
- lib/puppet/module_tool/applications/checksummer.rb
|
773
707
|
- lib/puppet/module_tool/applications/installer.rb
|
774
|
-
- lib/puppet/module_tool/applications/searcher.rb
|
775
708
|
- lib/puppet/module_tool/applications/uninstaller.rb
|
776
709
|
- lib/puppet/module_tool/applications/unpacker.rb
|
777
710
|
- lib/puppet/module_tool/applications/upgrader.rb
|
@@ -793,10 +726,8 @@ files:
|
|
793
726
|
- lib/puppet/module_tool/tar/gnu.rb
|
794
727
|
- lib/puppet/module_tool/tar/mini.rb
|
795
728
|
- lib/puppet/network.rb
|
796
|
-
- lib/puppet/network/auth_config_parser.rb
|
797
729
|
- lib/puppet/network/authconfig.rb
|
798
730
|
- lib/puppet/network/authorization.rb
|
799
|
-
- lib/puppet/network/authstore.rb
|
800
731
|
- lib/puppet/network/client_request.rb
|
801
732
|
- lib/puppet/network/format.rb
|
802
733
|
- lib/puppet/network/format_handler.rb
|
@@ -808,29 +739,16 @@ files:
|
|
808
739
|
- lib/puppet/network/http/api/indirection_type.rb
|
809
740
|
- lib/puppet/network/http/api/master.rb
|
810
741
|
- lib/puppet/network/http/api/master/v3.rb
|
811
|
-
- lib/puppet/network/http/api/master/v3/authorization.rb
|
812
|
-
- lib/puppet/network/http/api/master/v3/environment.rb
|
813
742
|
- lib/puppet/network/http/api/master/v3/environments.rb
|
814
|
-
- lib/puppet/network/http/base_pool.rb
|
815
|
-
- lib/puppet/network/http/compression.rb
|
816
743
|
- lib/puppet/network/http/connection.rb
|
817
|
-
- lib/puppet/network/http/connection_adapter.rb
|
818
744
|
- lib/puppet/network/http/error.rb
|
819
|
-
- lib/puppet/network/http/factory.rb
|
820
745
|
- lib/puppet/network/http/handler.rb
|
821
746
|
- lib/puppet/network/http/issues.rb
|
822
747
|
- lib/puppet/network/http/memory_response.rb
|
823
|
-
- lib/puppet/network/http/nocache_pool.rb
|
824
|
-
- lib/puppet/network/http/pool.rb
|
825
748
|
- lib/puppet/network/http/request.rb
|
826
749
|
- lib/puppet/network/http/response.rb
|
827
750
|
- lib/puppet/network/http/route.rb
|
828
|
-
- lib/puppet/network/http/session.rb
|
829
|
-
- lib/puppet/network/http/site.rb
|
830
751
|
- lib/puppet/network/http_pool.rb
|
831
|
-
- lib/puppet/network/resolver.rb
|
832
|
-
- lib/puppet/network/rest_controller.rb
|
833
|
-
- lib/puppet/network/rights.rb
|
834
752
|
- lib/puppet/network/uri.rb
|
835
753
|
- lib/puppet/node.rb
|
836
754
|
- lib/puppet/node/environment.rb
|
@@ -866,11 +784,8 @@ files:
|
|
866
784
|
- lib/puppet/parser/catalog_compiler.rb
|
867
785
|
- lib/puppet/parser/compiler.rb
|
868
786
|
- lib/puppet/parser/compiler/catalog_validator.rb
|
869
|
-
- lib/puppet/parser/compiler/catalog_validator/env_relationship_validator.rb
|
870
787
|
- lib/puppet/parser/compiler/catalog_validator/relationship_validator.rb
|
871
|
-
- lib/puppet/parser/compiler/catalog_validator/site_validator.rb
|
872
788
|
- lib/puppet/parser/e4_parser_adapter.rb
|
873
|
-
- lib/puppet/parser/environment_compiler.rb
|
874
789
|
- lib/puppet/parser/files.rb
|
875
790
|
- lib/puppet/parser/functions.rb
|
876
791
|
- lib/puppet/parser/functions/assert_type.rb
|
@@ -1061,7 +976,6 @@ files:
|
|
1061
976
|
- lib/puppet/pops/types/annotatable.rb
|
1062
977
|
- lib/puppet/pops/types/annotation.rb
|
1063
978
|
- lib/puppet/pops/types/class_loader.rb
|
1064
|
-
- lib/puppet/pops/types/enumeration.rb
|
1065
979
|
- lib/puppet/pops/types/implementation_registry.rb
|
1066
980
|
- lib/puppet/pops/types/iterable.rb
|
1067
981
|
- lib/puppet/pops/types/p_binary_type.rb
|
@@ -1220,15 +1134,10 @@ files:
|
|
1220
1134
|
- lib/puppet/reports/log.rb
|
1221
1135
|
- lib/puppet/reports/store.rb
|
1222
1136
|
- lib/puppet/resource.rb
|
1223
|
-
- lib/puppet/resource/capability_finder.rb
|
1224
1137
|
- lib/puppet/resource/catalog.rb
|
1225
1138
|
- lib/puppet/resource/status.rb
|
1226
1139
|
- lib/puppet/resource/type.rb
|
1227
1140
|
- lib/puppet/resource/type_collection.rb
|
1228
|
-
- lib/puppet/rest/errors.rb
|
1229
|
-
- lib/puppet/rest/response.rb
|
1230
|
-
- lib/puppet/rest/route.rb
|
1231
|
-
- lib/puppet/rest/routes.rb
|
1232
1141
|
- lib/puppet/runtime.rb
|
1233
1142
|
- lib/puppet/scheduler.rb
|
1234
1143
|
- lib/puppet/scheduler/job.rb
|
@@ -1252,7 +1161,9 @@ files:
|
|
1252
1161
|
- lib/puppet/settings/file_setting.rb
|
1253
1162
|
- lib/puppet/settings/http_extra_headers_setting.rb
|
1254
1163
|
- lib/puppet/settings/ini_file.rb
|
1164
|
+
- lib/puppet/settings/integer_setting.rb
|
1255
1165
|
- lib/puppet/settings/path_setting.rb
|
1166
|
+
- lib/puppet/settings/port_setting.rb
|
1256
1167
|
- lib/puppet/settings/priority_setting.rb
|
1257
1168
|
- lib/puppet/settings/server_list_setting.rb
|
1258
1169
|
- lib/puppet/settings/string_setting.rb
|
@@ -1268,19 +1179,12 @@ files:
|
|
1268
1179
|
- lib/puppet/ssl/certificate_signer.rb
|
1269
1180
|
- lib/puppet/ssl/digest.rb
|
1270
1181
|
- lib/puppet/ssl/error.rb
|
1271
|
-
- lib/puppet/ssl/host.rb
|
1272
|
-
- lib/puppet/ssl/key.rb
|
1273
1182
|
- lib/puppet/ssl/oids.rb
|
1274
1183
|
- lib/puppet/ssl/openssl_loader.rb
|
1275
1184
|
- lib/puppet/ssl/ssl_context.rb
|
1276
1185
|
- lib/puppet/ssl/ssl_provider.rb
|
1277
1186
|
- lib/puppet/ssl/state_machine.rb
|
1278
|
-
- lib/puppet/ssl/validator.rb
|
1279
|
-
- lib/puppet/ssl/validator/default_validator.rb
|
1280
|
-
- lib/puppet/ssl/validator/no_validator.rb
|
1281
1187
|
- lib/puppet/ssl/verifier.rb
|
1282
|
-
- lib/puppet/ssl/verifier_adapter.rb
|
1283
|
-
- lib/puppet/status.rb
|
1284
1188
|
- lib/puppet/syntax_checkers.rb
|
1285
1189
|
- lib/puppet/syntax_checkers/base64.rb
|
1286
1190
|
- lib/puppet/syntax_checkers/epp.rb
|
@@ -1338,14 +1242,12 @@ files:
|
|
1338
1242
|
- lib/puppet/util/command_line.rb
|
1339
1243
|
- lib/puppet/util/command_line/puppet_option_parser.rb
|
1340
1244
|
- lib/puppet/util/command_line/trollop.rb
|
1341
|
-
- lib/puppet/util/connection.rb
|
1342
1245
|
- lib/puppet/util/constant_inflector.rb
|
1343
1246
|
- lib/puppet/util/diff.rb
|
1344
1247
|
- lib/puppet/util/docs.rb
|
1345
1248
|
- lib/puppet/util/errors.rb
|
1346
1249
|
- lib/puppet/util/execution.rb
|
1347
1250
|
- lib/puppet/util/execution_stub.rb
|
1348
|
-
- lib/puppet/util/fact_dif.rb
|
1349
1251
|
- lib/puppet/util/feature.rb
|
1350
1252
|
- lib/puppet/util/file_watcher.rb
|
1351
1253
|
- lib/puppet/util/fileparsing.rb
|
@@ -1417,7 +1319,6 @@ files:
|
|
1417
1319
|
- lib/puppet/util/selinux.rb
|
1418
1320
|
- lib/puppet/util/skip_tags.rb
|
1419
1321
|
- lib/puppet/util/splayer.rb
|
1420
|
-
- lib/puppet/util/ssl.rb
|
1421
1322
|
- lib/puppet/util/storage.rb
|
1422
1323
|
- lib/puppet/util/suidmanager.rb
|
1423
1324
|
- lib/puppet/util/symbolic_file_mode.rb
|
@@ -1435,12 +1336,12 @@ files:
|
|
1435
1336
|
- lib/puppet/util/windows/access_control_entry.rb
|
1436
1337
|
- lib/puppet/util/windows/access_control_list.rb
|
1437
1338
|
- lib/puppet/util/windows/adsi.rb
|
1438
|
-
- lib/puppet/util/windows/api_types.rb
|
1439
1339
|
- lib/puppet/util/windows/com.rb
|
1340
|
+
- lib/puppet/util/windows/daemon.rb
|
1440
1341
|
- lib/puppet/util/windows/error.rb
|
1441
1342
|
- lib/puppet/util/windows/eventlog.rb
|
1442
1343
|
- lib/puppet/util/windows/file.rb
|
1443
|
-
- lib/puppet/util/windows/monkey_patches/
|
1344
|
+
- lib/puppet/util/windows/monkey_patches/process.rb
|
1444
1345
|
- lib/puppet/util/windows/principal.rb
|
1445
1346
|
- lib/puppet/util/windows/process.rb
|
1446
1347
|
- lib/puppet/util/windows/registry.rb
|
@@ -1453,15 +1354,6 @@ files:
|
|
1453
1354
|
- lib/puppet/util/windows/user.rb
|
1454
1355
|
- lib/puppet/util/yaml.rb
|
1455
1356
|
- lib/puppet/vendor.rb
|
1456
|
-
- lib/puppet/vendor/load_pathspec.rb
|
1457
|
-
- lib/puppet/vendor/pathspec/CHANGELOG.md
|
1458
|
-
- lib/puppet/vendor/pathspec/LICENSE
|
1459
|
-
- lib/puppet/vendor/pathspec/PUPPET_README.md
|
1460
|
-
- lib/puppet/vendor/pathspec/README.md
|
1461
|
-
- lib/puppet/vendor/pathspec/lib/pathspec.rb
|
1462
|
-
- lib/puppet/vendor/pathspec/lib/pathspec/gitignorespec.rb
|
1463
|
-
- lib/puppet/vendor/pathspec/lib/pathspec/regexspec.rb
|
1464
|
-
- lib/puppet/vendor/pathspec/lib/pathspec/spec.rb
|
1465
1357
|
- lib/puppet/vendor/require_vendored.rb
|
1466
1358
|
- lib/puppet/version.rb
|
1467
1359
|
- lib/puppet/x509.rb
|
@@ -1485,9 +1377,7 @@ files:
|
|
1485
1377
|
- man/man8/puppet-filebucket.8
|
1486
1378
|
- man/man8/puppet-generate.8
|
1487
1379
|
- man/man8/puppet-help.8
|
1488
|
-
- man/man8/puppet-key.8
|
1489
1380
|
- man/man8/puppet-lookup.8
|
1490
|
-
- man/man8/puppet-man.8
|
1491
1381
|
- man/man8/puppet-module.8
|
1492
1382
|
- man/man8/puppet-node.8
|
1493
1383
|
- man/man8/puppet-parser.8
|
@@ -1496,7 +1386,6 @@ files:
|
|
1496
1386
|
- man/man8/puppet-resource.8
|
1497
1387
|
- man/man8/puppet-script.8
|
1498
1388
|
- man/man8/puppet-ssl.8
|
1499
|
-
- man/man8/puppet-status.8
|
1500
1389
|
- man/man8/puppet.8
|
1501
1390
|
- spec/fixtures/faulty_face/puppet/face/syntax.rb
|
1502
1391
|
- spec/fixtures/hiera.yaml
|
@@ -1873,8 +1762,8 @@ files:
|
|
1873
1762
|
- spec/fixtures/unit/provider/service/openbsd/rcctl_getall
|
1874
1763
|
- spec/fixtures/unit/provider/service/openrc/rcservice_list
|
1875
1764
|
- spec/fixtures/unit/provider/service/openrc/rcstatus
|
1876
|
-
- spec/fixtures/unit/provider/service/smf/svcs.out
|
1877
1765
|
- spec/fixtures/unit/provider/service/smf/svcs_fmri.out
|
1766
|
+
- spec/fixtures/unit/provider/service/smf/svcs_instances.out
|
1878
1767
|
- spec/fixtures/unit/provider/service/smf/svcs_multiple_fmris.out
|
1879
1768
|
- spec/fixtures/unit/provider/service/systemd/list_unit_files_services
|
1880
1769
|
- spec/fixtures/unit/provider/user/aix/aix_passwd_file.out
|
@@ -1920,7 +1809,6 @@ files:
|
|
1920
1809
|
- spec/integration/indirector/facts/facter_spec.rb
|
1921
1810
|
- spec/integration/indirector/file_content/file_server_spec.rb
|
1922
1811
|
- spec/integration/indirector/file_metadata/file_server_spec.rb
|
1923
|
-
- spec/integration/network/authconfig_spec.rb
|
1924
1812
|
- spec/integration/network/formats_spec.rb
|
1925
1813
|
- spec/integration/network/http/api/indirected_routes_spec.rb
|
1926
1814
|
- spec/integration/network/http_pool_spec.rb
|
@@ -1957,7 +1845,7 @@ files:
|
|
1957
1845
|
- spec/integration/util/rdoc/parser_spec.rb
|
1958
1846
|
- spec/integration/util/settings_spec.rb
|
1959
1847
|
- spec/integration/util/windows/adsi_spec.rb
|
1960
|
-
- spec/integration/util/windows/monkey_patches/
|
1848
|
+
- spec/integration/util/windows/monkey_patches/process_spec.rb
|
1961
1849
|
- spec/integration/util/windows/principal_spec.rb
|
1962
1850
|
- spec/integration/util/windows/process_spec.rb
|
1963
1851
|
- spec/integration/util/windows/registry_spec.rb
|
@@ -2035,11 +1923,9 @@ files:
|
|
2035
1923
|
- spec/unit/application/filebucket_spec.rb
|
2036
1924
|
- spec/unit/application/indirection_base_spec.rb
|
2037
1925
|
- spec/unit/application/lookup_spec.rb
|
2038
|
-
- spec/unit/application/man_spec.rb
|
2039
1926
|
- spec/unit/application/resource_spec.rb
|
2040
1927
|
- spec/unit/application/ssl_spec.rb
|
2041
1928
|
- spec/unit/application_spec.rb
|
2042
|
-
- spec/unit/capability_spec.rb
|
2043
1929
|
- spec/unit/certificate_factory_spec.rb
|
2044
1930
|
- spec/unit/concurrent/lock_spec.rb
|
2045
1931
|
- spec/unit/configurer/downloader_spec.rb
|
@@ -2070,16 +1956,13 @@ files:
|
|
2070
1956
|
- spec/unit/face/facts_spec.rb
|
2071
1957
|
- spec/unit/face/generate_spec.rb
|
2072
1958
|
- spec/unit/face/help_spec.rb
|
2073
|
-
- spec/unit/face/key_spec.rb
|
2074
1959
|
- spec/unit/face/module/install_spec.rb
|
2075
1960
|
- spec/unit/face/module/list_spec.rb
|
2076
|
-
- spec/unit/face/module/search_spec.rb
|
2077
1961
|
- spec/unit/face/module/uninstall_spec.rb
|
2078
1962
|
- spec/unit/face/module/upgrade_spec.rb
|
2079
1963
|
- spec/unit/face/node_spec.rb
|
2080
1964
|
- spec/unit/face/parser_spec.rb
|
2081
1965
|
- spec/unit/face/plugin_spec.rb
|
2082
|
-
- spec/unit/face/status_spec.rb
|
2083
1966
|
- spec/unit/face_spec.rb
|
2084
1967
|
- spec/unit/file_bucket/dipper_spec.rb
|
2085
1968
|
- spec/unit/file_bucket/file_spec.rb
|
@@ -2193,7 +2076,12 @@ files:
|
|
2193
2076
|
- spec/unit/hiera/scope_spec.rb
|
2194
2077
|
- spec/unit/hiera_puppet_spec.rb
|
2195
2078
|
- spec/unit/http/client_spec.rb
|
2079
|
+
- spec/unit/http/dns_spec.rb
|
2196
2080
|
- spec/unit/http/external_client_spec.rb
|
2081
|
+
- spec/unit/http/factory_spec.rb
|
2082
|
+
- spec/unit/http/pool_entry_spec.rb
|
2083
|
+
- spec/unit/http/pool_spec.rb
|
2084
|
+
- spec/unit/http/proxy_spec.rb
|
2197
2085
|
- spec/unit/http/resolver_spec.rb
|
2198
2086
|
- spec/unit/http/response_spec.rb
|
2199
2087
|
- spec/unit/http/service/ca_spec.rb
|
@@ -2203,16 +2091,13 @@ files:
|
|
2203
2091
|
- spec/unit/http/service/report_spec.rb
|
2204
2092
|
- spec/unit/http/service_spec.rb
|
2205
2093
|
- spec/unit/http/session_spec.rb
|
2094
|
+
- spec/unit/http/site_spec.rb
|
2206
2095
|
- spec/unit/indirector/catalog/compiler_spec.rb
|
2207
2096
|
- spec/unit/indirector/catalog/json_spec.rb
|
2208
2097
|
- spec/unit/indirector/catalog/msgpack_spec.rb
|
2209
2098
|
- spec/unit/indirector/catalog/rest_spec.rb
|
2210
2099
|
- spec/unit/indirector/catalog/store_configs_spec.rb
|
2211
2100
|
- spec/unit/indirector/catalog/yaml_spec.rb
|
2212
|
-
- spec/unit/indirector/certificate/file_spec.rb
|
2213
|
-
- spec/unit/indirector/certificate/rest_spec.rb
|
2214
|
-
- spec/unit/indirector/certificate_request/file_spec.rb
|
2215
|
-
- spec/unit/indirector/certificate_request/rest_spec.rb
|
2216
2101
|
- spec/unit/indirector/data_binding/hiera_spec.rb
|
2217
2102
|
- spec/unit/indirector/data_binding/none_spec.rb
|
2218
2103
|
- spec/unit/indirector/direct_file_server_spec.rb
|
@@ -2241,7 +2126,6 @@ files:
|
|
2241
2126
|
- spec/unit/indirector/hiera_spec.rb
|
2242
2127
|
- spec/unit/indirector/indirection_spec.rb
|
2243
2128
|
- spec/unit/indirector/json_spec.rb
|
2244
|
-
- spec/unit/indirector/key/file_spec.rb
|
2245
2129
|
- spec/unit/indirector/memory_spec.rb
|
2246
2130
|
- spec/unit/indirector/msgpack_spec.rb
|
2247
2131
|
- spec/unit/indirector/node/exec_spec.rb
|
@@ -2263,9 +2147,6 @@ files:
|
|
2263
2147
|
- spec/unit/indirector/resource/ral_spec.rb
|
2264
2148
|
- spec/unit/indirector/resource/store_configs_spec.rb
|
2265
2149
|
- spec/unit/indirector/rest_spec.rb
|
2266
|
-
- spec/unit/indirector/ssl_file_spec.rb
|
2267
|
-
- spec/unit/indirector/status/local_spec.rb
|
2268
|
-
- spec/unit/indirector/status/rest_spec.rb
|
2269
2150
|
- spec/unit/indirector/store_configs_spec.rb
|
2270
2151
|
- spec/unit/indirector/terminus_spec.rb
|
2271
2152
|
- spec/unit/indirector/yaml_spec.rb
|
@@ -2283,7 +2164,6 @@ files:
|
|
2283
2164
|
- spec/unit/module_tool/application_spec.rb
|
2284
2165
|
- spec/unit/module_tool/applications/checksummer_spec.rb
|
2285
2166
|
- spec/unit/module_tool/applications/installer_spec.rb
|
2286
|
-
- spec/unit/module_tool/applications/searcher_spec.rb
|
2287
2167
|
- spec/unit/module_tool/applications/uninstaller_spec.rb
|
2288
2168
|
- spec/unit/module_tool/applications/unpacker_spec.rb
|
2289
2169
|
- spec/unit/module_tool/applications/upgrader_spec.rb
|
@@ -2294,36 +2174,23 @@ files:
|
|
2294
2174
|
- spec/unit/module_tool/tar/mini_spec.rb
|
2295
2175
|
- spec/unit/module_tool/tar_spec.rb
|
2296
2176
|
- spec/unit/module_tool_spec.rb
|
2297
|
-
- spec/unit/network/auth_config_parser_spec.rb
|
2298
2177
|
- spec/unit/network/authconfig_spec.rb
|
2299
2178
|
- spec/unit/network/authorization_spec.rb
|
2300
|
-
- spec/unit/network/authstore_spec.rb
|
2301
2179
|
- spec/unit/network/format_handler_spec.rb
|
2302
2180
|
- spec/unit/network/format_spec.rb
|
2303
2181
|
- spec/unit/network/format_support_spec.rb
|
2304
2182
|
- spec/unit/network/formats_spec.rb
|
2305
2183
|
- spec/unit/network/http/api/indirected_routes_spec.rb
|
2306
|
-
- spec/unit/network/http/api/master/v3/authorization_spec.rb
|
2307
|
-
- spec/unit/network/http/api/master/v3/environment_spec.rb
|
2308
2184
|
- spec/unit/network/http/api/master/v3/environments_spec.rb
|
2309
2185
|
- spec/unit/network/http/api/master/v3_spec.rb
|
2310
2186
|
- spec/unit/network/http/api_spec.rb
|
2311
|
-
- spec/unit/network/http/compression_spec.rb
|
2312
2187
|
- spec/unit/network/http/connection_spec.rb
|
2313
2188
|
- spec/unit/network/http/error_spec.rb
|
2314
|
-
- spec/unit/network/http/factory_spec.rb
|
2315
2189
|
- spec/unit/network/http/handler_spec.rb
|
2316
|
-
- spec/unit/network/http/nocache_pool_spec.rb
|
2317
|
-
- spec/unit/network/http/pool_spec.rb
|
2318
2190
|
- spec/unit/network/http/request_spec.rb
|
2319
2191
|
- spec/unit/network/http/response_spec.rb
|
2320
2192
|
- spec/unit/network/http/route_spec.rb
|
2321
|
-
- spec/unit/network/http/session_spec.rb
|
2322
|
-
- spec/unit/network/http/site_spec.rb
|
2323
2193
|
- spec/unit/network/http_pool_spec.rb
|
2324
|
-
- spec/unit/network/http_spec.rb
|
2325
|
-
- spec/unit/network/resolver_spec.rb
|
2326
|
-
- spec/unit/network/rights_spec.rb
|
2327
2194
|
- spec/unit/network/uri_spec.rb
|
2328
2195
|
- spec/unit/node/environment_spec.rb
|
2329
2196
|
- spec/unit/node/facts_spec.rb
|
@@ -2338,7 +2205,6 @@ files:
|
|
2338
2205
|
- spec/unit/parser/ast/block_expression_spec.rb
|
2339
2206
|
- spec/unit/parser/ast/leaf_spec.rb
|
2340
2207
|
- spec/unit/parser/compiler_spec.rb
|
2341
|
-
- spec/unit/parser/environment_compiler_spec.rb
|
2342
2208
|
- spec/unit/parser/files_spec.rb
|
2343
2209
|
- spec/unit/parser/functions/create_resources_spec.rb
|
2344
2210
|
- spec/unit/parser/functions/digest_spec.rb
|
@@ -2437,7 +2303,6 @@ files:
|
|
2437
2303
|
- spec/unit/pops/time/timestamp_spec.rb
|
2438
2304
|
- spec/unit/pops/types/class_loader_spec.rb
|
2439
2305
|
- spec/unit/pops/types/deferred_spec.rb
|
2440
|
-
- spec/unit/pops/types/enumeration_spec.rb
|
2441
2306
|
- spec/unit/pops/types/error_spec.rb
|
2442
2307
|
- spec/unit/pops/types/iterable_spec.rb
|
2443
2308
|
- spec/unit/pops/types/p_binary_type_spec.rb
|
@@ -2567,13 +2432,11 @@ files:
|
|
2567
2432
|
- spec/unit/reports/http_spec.rb
|
2568
2433
|
- spec/unit/reports/store_spec.rb
|
2569
2434
|
- spec/unit/reports_spec.rb
|
2570
|
-
- spec/unit/resource/capability_finder_spec.rb
|
2571
2435
|
- spec/unit/resource/catalog_spec.rb
|
2572
2436
|
- spec/unit/resource/status_spec.rb
|
2573
2437
|
- spec/unit/resource/type_collection_spec.rb
|
2574
2438
|
- spec/unit/resource/type_spec.rb
|
2575
2439
|
- spec/unit/resource_spec.rb
|
2576
|
-
- spec/unit/rest/route_spec.rb
|
2577
2440
|
- spec/unit/scheduler/job_spec.rb
|
2578
2441
|
- spec/unit/scheduler/scheduler_spec.rb
|
2579
2442
|
- spec/unit/scheduler/splay_job_spec.rb
|
@@ -2588,7 +2451,9 @@ files:
|
|
2588
2451
|
- spec/unit/settings/file_setting_spec.rb
|
2589
2452
|
- spec/unit/settings/http_extra_headers_spec.rb
|
2590
2453
|
- spec/unit/settings/ini_file_spec.rb
|
2454
|
+
- spec/unit/settings/integer_setting_spec.rb
|
2591
2455
|
- spec/unit/settings/path_setting_spec.rb
|
2456
|
+
- spec/unit/settings/port_setting_spec.rb
|
2592
2457
|
- spec/unit/settings/priority_setting_spec.rb
|
2593
2458
|
- spec/unit/settings/server_list_setting_spec.rb
|
2594
2459
|
- spec/unit/settings/string_setting_spec.rb
|
@@ -2600,14 +2465,10 @@ files:
|
|
2600
2465
|
- spec/unit/ssl/certificate_request_spec.rb
|
2601
2466
|
- spec/unit/ssl/certificate_spec.rb
|
2602
2467
|
- spec/unit/ssl/digest_spec.rb
|
2603
|
-
- spec/unit/ssl/host_spec.rb
|
2604
|
-
- spec/unit/ssl/key_spec.rb
|
2605
2468
|
- spec/unit/ssl/oids_spec.rb
|
2606
2469
|
- spec/unit/ssl/ssl_provider_spec.rb
|
2607
2470
|
- spec/unit/ssl/state_machine_spec.rb
|
2608
|
-
- spec/unit/ssl/validator_spec.rb
|
2609
2471
|
- spec/unit/ssl/verifier_spec.rb
|
2610
|
-
- spec/unit/status_spec.rb
|
2611
2472
|
- spec/unit/task_spec.rb
|
2612
2473
|
- spec/unit/test/test_helper_spec.rb
|
2613
2474
|
- spec/unit/transaction/additional_resource_generator_spec.rb
|
@@ -2662,7 +2523,6 @@ files:
|
|
2662
2523
|
- spec/unit/util/execution_stub_spec.rb
|
2663
2524
|
- spec/unit/util/feature_spec.rb
|
2664
2525
|
- spec/unit/util/filetype_spec.rb
|
2665
|
-
- spec/unit/util/http_proxy_spec.rb
|
2666
2526
|
- spec/unit/util/inifile_spec.rb
|
2667
2527
|
- spec/unit/util/json_lockfile_spec.rb
|
2668
2528
|
- spec/unit/util/ldap/connection_spec.rb
|
@@ -2702,7 +2562,6 @@ files:
|
|
2702
2562
|
- spec/unit/util/selinux_spec.rb
|
2703
2563
|
- spec/unit/util/skip_tags_spec.rb
|
2704
2564
|
- spec/unit/util/splayer_spec.rb
|
2705
|
-
- spec/unit/util/ssl_spec.rb
|
2706
2565
|
- spec/unit/util/storage_spec.rb
|
2707
2566
|
- spec/unit/util/suidmanager_spec.rb
|
2708
2567
|
- spec/unit/util/symbolic_file_mode_spec.rb
|
@@ -2756,7 +2615,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
2756
2615
|
requirements:
|
2757
2616
|
- - ">="
|
2758
2617
|
- !ruby/object:Gem::Version
|
2759
|
-
version: 2.
|
2618
|
+
version: 2.5.0
|
2760
2619
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
2761
2620
|
requirements:
|
2762
2621
|
- - ">"
|
@@ -3143,8 +3002,8 @@ test_files:
|
|
3143
3002
|
- spec/fixtures/unit/provider/service/openbsd/rcctl_getall
|
3144
3003
|
- spec/fixtures/unit/provider/service/openrc/rcservice_list
|
3145
3004
|
- spec/fixtures/unit/provider/service/openrc/rcstatus
|
3146
|
-
- spec/fixtures/unit/provider/service/smf/svcs.out
|
3147
3005
|
- spec/fixtures/unit/provider/service/smf/svcs_fmri.out
|
3006
|
+
- spec/fixtures/unit/provider/service/smf/svcs_instances.out
|
3148
3007
|
- spec/fixtures/unit/provider/service/smf/svcs_multiple_fmris.out
|
3149
3008
|
- spec/fixtures/unit/provider/service/systemd/list_unit_files_services
|
3150
3009
|
- spec/fixtures/unit/provider/user/aix/aix_passwd_file.out
|
@@ -3190,7 +3049,6 @@ test_files:
|
|
3190
3049
|
- spec/integration/indirector/facts/facter_spec.rb
|
3191
3050
|
- spec/integration/indirector/file_content/file_server_spec.rb
|
3192
3051
|
- spec/integration/indirector/file_metadata/file_server_spec.rb
|
3193
|
-
- spec/integration/network/authconfig_spec.rb
|
3194
3052
|
- spec/integration/network/formats_spec.rb
|
3195
3053
|
- spec/integration/network/http/api/indirected_routes_spec.rb
|
3196
3054
|
- spec/integration/network/http_pool_spec.rb
|
@@ -3227,7 +3085,7 @@ test_files:
|
|
3227
3085
|
- spec/integration/util/rdoc/parser_spec.rb
|
3228
3086
|
- spec/integration/util/settings_spec.rb
|
3229
3087
|
- spec/integration/util/windows/adsi_spec.rb
|
3230
|
-
- spec/integration/util/windows/monkey_patches/
|
3088
|
+
- spec/integration/util/windows/monkey_patches/process_spec.rb
|
3231
3089
|
- spec/integration/util/windows/principal_spec.rb
|
3232
3090
|
- spec/integration/util/windows/process_spec.rb
|
3233
3091
|
- spec/integration/util/windows/registry_spec.rb
|
@@ -3305,11 +3163,9 @@ test_files:
|
|
3305
3163
|
- spec/unit/application/filebucket_spec.rb
|
3306
3164
|
- spec/unit/application/indirection_base_spec.rb
|
3307
3165
|
- spec/unit/application/lookup_spec.rb
|
3308
|
-
- spec/unit/application/man_spec.rb
|
3309
3166
|
- spec/unit/application/resource_spec.rb
|
3310
3167
|
- spec/unit/application/ssl_spec.rb
|
3311
3168
|
- spec/unit/application_spec.rb
|
3312
|
-
- spec/unit/capability_spec.rb
|
3313
3169
|
- spec/unit/certificate_factory_spec.rb
|
3314
3170
|
- spec/unit/concurrent/lock_spec.rb
|
3315
3171
|
- spec/unit/configurer/downloader_spec.rb
|
@@ -3340,16 +3196,13 @@ test_files:
|
|
3340
3196
|
- spec/unit/face/facts_spec.rb
|
3341
3197
|
- spec/unit/face/generate_spec.rb
|
3342
3198
|
- spec/unit/face/help_spec.rb
|
3343
|
-
- spec/unit/face/key_spec.rb
|
3344
3199
|
- spec/unit/face/module/install_spec.rb
|
3345
3200
|
- spec/unit/face/module/list_spec.rb
|
3346
|
-
- spec/unit/face/module/search_spec.rb
|
3347
3201
|
- spec/unit/face/module/uninstall_spec.rb
|
3348
3202
|
- spec/unit/face/module/upgrade_spec.rb
|
3349
3203
|
- spec/unit/face/node_spec.rb
|
3350
3204
|
- spec/unit/face/parser_spec.rb
|
3351
3205
|
- spec/unit/face/plugin_spec.rb
|
3352
|
-
- spec/unit/face/status_spec.rb
|
3353
3206
|
- spec/unit/face_spec.rb
|
3354
3207
|
- spec/unit/file_bucket/dipper_spec.rb
|
3355
3208
|
- spec/unit/file_bucket/file_spec.rb
|
@@ -3463,7 +3316,12 @@ test_files:
|
|
3463
3316
|
- spec/unit/hiera/scope_spec.rb
|
3464
3317
|
- spec/unit/hiera_puppet_spec.rb
|
3465
3318
|
- spec/unit/http/client_spec.rb
|
3319
|
+
- spec/unit/http/dns_spec.rb
|
3466
3320
|
- spec/unit/http/external_client_spec.rb
|
3321
|
+
- spec/unit/http/factory_spec.rb
|
3322
|
+
- spec/unit/http/pool_entry_spec.rb
|
3323
|
+
- spec/unit/http/pool_spec.rb
|
3324
|
+
- spec/unit/http/proxy_spec.rb
|
3467
3325
|
- spec/unit/http/resolver_spec.rb
|
3468
3326
|
- spec/unit/http/response_spec.rb
|
3469
3327
|
- spec/unit/http/service/ca_spec.rb
|
@@ -3473,16 +3331,13 @@ test_files:
|
|
3473
3331
|
- spec/unit/http/service/report_spec.rb
|
3474
3332
|
- spec/unit/http/service_spec.rb
|
3475
3333
|
- spec/unit/http/session_spec.rb
|
3334
|
+
- spec/unit/http/site_spec.rb
|
3476
3335
|
- spec/unit/indirector/catalog/compiler_spec.rb
|
3477
3336
|
- spec/unit/indirector/catalog/json_spec.rb
|
3478
3337
|
- spec/unit/indirector/catalog/msgpack_spec.rb
|
3479
3338
|
- spec/unit/indirector/catalog/rest_spec.rb
|
3480
3339
|
- spec/unit/indirector/catalog/store_configs_spec.rb
|
3481
3340
|
- spec/unit/indirector/catalog/yaml_spec.rb
|
3482
|
-
- spec/unit/indirector/certificate/file_spec.rb
|
3483
|
-
- spec/unit/indirector/certificate/rest_spec.rb
|
3484
|
-
- spec/unit/indirector/certificate_request/file_spec.rb
|
3485
|
-
- spec/unit/indirector/certificate_request/rest_spec.rb
|
3486
3341
|
- spec/unit/indirector/data_binding/hiera_spec.rb
|
3487
3342
|
- spec/unit/indirector/data_binding/none_spec.rb
|
3488
3343
|
- spec/unit/indirector/direct_file_server_spec.rb
|
@@ -3511,7 +3366,6 @@ test_files:
|
|
3511
3366
|
- spec/unit/indirector/hiera_spec.rb
|
3512
3367
|
- spec/unit/indirector/indirection_spec.rb
|
3513
3368
|
- spec/unit/indirector/json_spec.rb
|
3514
|
-
- spec/unit/indirector/key/file_spec.rb
|
3515
3369
|
- spec/unit/indirector/memory_spec.rb
|
3516
3370
|
- spec/unit/indirector/msgpack_spec.rb
|
3517
3371
|
- spec/unit/indirector/node/exec_spec.rb
|
@@ -3533,9 +3387,6 @@ test_files:
|
|
3533
3387
|
- spec/unit/indirector/resource/ral_spec.rb
|
3534
3388
|
- spec/unit/indirector/resource/store_configs_spec.rb
|
3535
3389
|
- spec/unit/indirector/rest_spec.rb
|
3536
|
-
- spec/unit/indirector/ssl_file_spec.rb
|
3537
|
-
- spec/unit/indirector/status/local_spec.rb
|
3538
|
-
- spec/unit/indirector/status/rest_spec.rb
|
3539
3390
|
- spec/unit/indirector/store_configs_spec.rb
|
3540
3391
|
- spec/unit/indirector/terminus_spec.rb
|
3541
3392
|
- spec/unit/indirector/yaml_spec.rb
|
@@ -3553,7 +3404,6 @@ test_files:
|
|
3553
3404
|
- spec/unit/module_tool/application_spec.rb
|
3554
3405
|
- spec/unit/module_tool/applications/checksummer_spec.rb
|
3555
3406
|
- spec/unit/module_tool/applications/installer_spec.rb
|
3556
|
-
- spec/unit/module_tool/applications/searcher_spec.rb
|
3557
3407
|
- spec/unit/module_tool/applications/uninstaller_spec.rb
|
3558
3408
|
- spec/unit/module_tool/applications/unpacker_spec.rb
|
3559
3409
|
- spec/unit/module_tool/applications/upgrader_spec.rb
|
@@ -3564,36 +3414,23 @@ test_files:
|
|
3564
3414
|
- spec/unit/module_tool/tar/mini_spec.rb
|
3565
3415
|
- spec/unit/module_tool/tar_spec.rb
|
3566
3416
|
- spec/unit/module_tool_spec.rb
|
3567
|
-
- spec/unit/network/auth_config_parser_spec.rb
|
3568
3417
|
- spec/unit/network/authconfig_spec.rb
|
3569
3418
|
- spec/unit/network/authorization_spec.rb
|
3570
|
-
- spec/unit/network/authstore_spec.rb
|
3571
3419
|
- spec/unit/network/format_handler_spec.rb
|
3572
3420
|
- spec/unit/network/format_spec.rb
|
3573
3421
|
- spec/unit/network/format_support_spec.rb
|
3574
3422
|
- spec/unit/network/formats_spec.rb
|
3575
3423
|
- spec/unit/network/http/api/indirected_routes_spec.rb
|
3576
|
-
- spec/unit/network/http/api/master/v3/authorization_spec.rb
|
3577
|
-
- spec/unit/network/http/api/master/v3/environment_spec.rb
|
3578
3424
|
- spec/unit/network/http/api/master/v3/environments_spec.rb
|
3579
3425
|
- spec/unit/network/http/api/master/v3_spec.rb
|
3580
3426
|
- spec/unit/network/http/api_spec.rb
|
3581
|
-
- spec/unit/network/http/compression_spec.rb
|
3582
3427
|
- spec/unit/network/http/connection_spec.rb
|
3583
3428
|
- spec/unit/network/http/error_spec.rb
|
3584
|
-
- spec/unit/network/http/factory_spec.rb
|
3585
3429
|
- spec/unit/network/http/handler_spec.rb
|
3586
|
-
- spec/unit/network/http/nocache_pool_spec.rb
|
3587
|
-
- spec/unit/network/http/pool_spec.rb
|
3588
3430
|
- spec/unit/network/http/request_spec.rb
|
3589
3431
|
- spec/unit/network/http/response_spec.rb
|
3590
3432
|
- spec/unit/network/http/route_spec.rb
|
3591
|
-
- spec/unit/network/http/session_spec.rb
|
3592
|
-
- spec/unit/network/http/site_spec.rb
|
3593
3433
|
- spec/unit/network/http_pool_spec.rb
|
3594
|
-
- spec/unit/network/http_spec.rb
|
3595
|
-
- spec/unit/network/resolver_spec.rb
|
3596
|
-
- spec/unit/network/rights_spec.rb
|
3597
3434
|
- spec/unit/network/uri_spec.rb
|
3598
3435
|
- spec/unit/node/environment_spec.rb
|
3599
3436
|
- spec/unit/node/facts_spec.rb
|
@@ -3608,7 +3445,6 @@ test_files:
|
|
3608
3445
|
- spec/unit/parser/ast/block_expression_spec.rb
|
3609
3446
|
- spec/unit/parser/ast/leaf_spec.rb
|
3610
3447
|
- spec/unit/parser/compiler_spec.rb
|
3611
|
-
- spec/unit/parser/environment_compiler_spec.rb
|
3612
3448
|
- spec/unit/parser/files_spec.rb
|
3613
3449
|
- spec/unit/parser/functions/create_resources_spec.rb
|
3614
3450
|
- spec/unit/parser/functions/digest_spec.rb
|
@@ -3707,7 +3543,6 @@ test_files:
|
|
3707
3543
|
- spec/unit/pops/time/timestamp_spec.rb
|
3708
3544
|
- spec/unit/pops/types/class_loader_spec.rb
|
3709
3545
|
- spec/unit/pops/types/deferred_spec.rb
|
3710
|
-
- spec/unit/pops/types/enumeration_spec.rb
|
3711
3546
|
- spec/unit/pops/types/error_spec.rb
|
3712
3547
|
- spec/unit/pops/types/iterable_spec.rb
|
3713
3548
|
- spec/unit/pops/types/p_binary_type_spec.rb
|
@@ -3837,13 +3672,11 @@ test_files:
|
|
3837
3672
|
- spec/unit/reports/http_spec.rb
|
3838
3673
|
- spec/unit/reports/store_spec.rb
|
3839
3674
|
- spec/unit/reports_spec.rb
|
3840
|
-
- spec/unit/resource/capability_finder_spec.rb
|
3841
3675
|
- spec/unit/resource/catalog_spec.rb
|
3842
3676
|
- spec/unit/resource/status_spec.rb
|
3843
3677
|
- spec/unit/resource/type_collection_spec.rb
|
3844
3678
|
- spec/unit/resource/type_spec.rb
|
3845
3679
|
- spec/unit/resource_spec.rb
|
3846
|
-
- spec/unit/rest/route_spec.rb
|
3847
3680
|
- spec/unit/scheduler/job_spec.rb
|
3848
3681
|
- spec/unit/scheduler/scheduler_spec.rb
|
3849
3682
|
- spec/unit/scheduler/splay_job_spec.rb
|
@@ -3858,7 +3691,9 @@ test_files:
|
|
3858
3691
|
- spec/unit/settings/file_setting_spec.rb
|
3859
3692
|
- spec/unit/settings/http_extra_headers_spec.rb
|
3860
3693
|
- spec/unit/settings/ini_file_spec.rb
|
3694
|
+
- spec/unit/settings/integer_setting_spec.rb
|
3861
3695
|
- spec/unit/settings/path_setting_spec.rb
|
3696
|
+
- spec/unit/settings/port_setting_spec.rb
|
3862
3697
|
- spec/unit/settings/priority_setting_spec.rb
|
3863
3698
|
- spec/unit/settings/server_list_setting_spec.rb
|
3864
3699
|
- spec/unit/settings/string_setting_spec.rb
|
@@ -3870,14 +3705,10 @@ test_files:
|
|
3870
3705
|
- spec/unit/ssl/certificate_request_spec.rb
|
3871
3706
|
- spec/unit/ssl/certificate_spec.rb
|
3872
3707
|
- spec/unit/ssl/digest_spec.rb
|
3873
|
-
- spec/unit/ssl/host_spec.rb
|
3874
|
-
- spec/unit/ssl/key_spec.rb
|
3875
3708
|
- spec/unit/ssl/oids_spec.rb
|
3876
3709
|
- spec/unit/ssl/ssl_provider_spec.rb
|
3877
3710
|
- spec/unit/ssl/state_machine_spec.rb
|
3878
|
-
- spec/unit/ssl/validator_spec.rb
|
3879
3711
|
- spec/unit/ssl/verifier_spec.rb
|
3880
|
-
- spec/unit/status_spec.rb
|
3881
3712
|
- spec/unit/task_spec.rb
|
3882
3713
|
- spec/unit/test/test_helper_spec.rb
|
3883
3714
|
- spec/unit/transaction/additional_resource_generator_spec.rb
|
@@ -3932,7 +3763,6 @@ test_files:
|
|
3932
3763
|
- spec/unit/util/execution_stub_spec.rb
|
3933
3764
|
- spec/unit/util/feature_spec.rb
|
3934
3765
|
- spec/unit/util/filetype_spec.rb
|
3935
|
-
- spec/unit/util/http_proxy_spec.rb
|
3936
3766
|
- spec/unit/util/inifile_spec.rb
|
3937
3767
|
- spec/unit/util/json_lockfile_spec.rb
|
3938
3768
|
- spec/unit/util/ldap/connection_spec.rb
|
@@ -3972,7 +3802,6 @@ test_files:
|
|
3972
3802
|
- spec/unit/util/selinux_spec.rb
|
3973
3803
|
- spec/unit/util/skip_tags_spec.rb
|
3974
3804
|
- spec/unit/util/splayer_spec.rb
|
3975
|
-
- spec/unit/util/ssl_spec.rb
|
3976
3805
|
- spec/unit/util/storage_spec.rb
|
3977
3806
|
- spec/unit/util/suidmanager_spec.rb
|
3978
3807
|
- spec/unit/util/symbolic_file_mode_spec.rb
|