puppet 6.21.1 → 7.4.1
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 -162
- 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: ruby
|
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
|
- - "~>"
|
@@ -179,7 +179,6 @@ files:
|
|
179
179
|
- README.md
|
180
180
|
- Rakefile
|
181
181
|
- bin/puppet
|
182
|
-
- conf/auth.conf
|
183
182
|
- conf/environment.conf
|
184
183
|
- conf/fileserver.conf
|
185
184
|
- conf/hiera.yaml
|
@@ -317,7 +316,6 @@ files:
|
|
317
316
|
- lib/puppet/application/agent.rb
|
318
317
|
- lib/puppet/application/apply.rb
|
319
318
|
- lib/puppet/application/catalog.rb
|
320
|
-
- lib/puppet/application/cert.rb
|
321
319
|
- lib/puppet/application/config.rb
|
322
320
|
- lib/puppet/application/describe.rb
|
323
321
|
- lib/puppet/application/device.rb
|
@@ -329,9 +327,7 @@ files:
|
|
329
327
|
- lib/puppet/application/generate.rb
|
330
328
|
- lib/puppet/application/help.rb
|
331
329
|
- lib/puppet/application/indirection_base.rb
|
332
|
-
- lib/puppet/application/key.rb
|
333
330
|
- lib/puppet/application/lookup.rb
|
334
|
-
- lib/puppet/application/man.rb
|
335
331
|
- lib/puppet/application/module.rb
|
336
332
|
- lib/puppet/application/node.rb
|
337
333
|
- lib/puppet/application/parser.rb
|
@@ -340,7 +336,6 @@ files:
|
|
340
336
|
- lib/puppet/application/resource.rb
|
341
337
|
- lib/puppet/application/script.rb
|
342
338
|
- lib/puppet/application/ssl.rb
|
343
|
-
- lib/puppet/application/status.rb
|
344
339
|
- lib/puppet/application_support.rb
|
345
340
|
- lib/puppet/coercion.rb
|
346
341
|
- lib/puppet/compilable_resource_type.rb
|
@@ -391,15 +386,10 @@ files:
|
|
391
386
|
- lib/puppet/face/help/face.erb
|
392
387
|
- lib/puppet/face/help/global.erb
|
393
388
|
- lib/puppet/face/help/man.erb
|
394
|
-
- lib/puppet/face/key.rb
|
395
|
-
- lib/puppet/face/man.rb
|
396
389
|
- lib/puppet/face/module.rb
|
397
|
-
- lib/puppet/face/module/build.rb
|
398
390
|
- lib/puppet/face/module/changes.rb
|
399
|
-
- lib/puppet/face/module/generate.rb
|
400
391
|
- lib/puppet/face/module/install.rb
|
401
392
|
- lib/puppet/face/module/list.rb
|
402
|
-
- lib/puppet/face/module/search.rb
|
403
393
|
- lib/puppet/face/module/uninstall.rb
|
404
394
|
- lib/puppet/face/module/upgrade.rb
|
405
395
|
- lib/puppet/face/node.rb
|
@@ -408,7 +398,6 @@ files:
|
|
408
398
|
- lib/puppet/face/plugin.rb
|
409
399
|
- lib/puppet/face/report.rb
|
410
400
|
- lib/puppet/face/resource.rb
|
411
|
-
- lib/puppet/face/status.rb
|
412
401
|
- lib/puppet/feature/base.rb
|
413
402
|
- lib/puppet/feature/bolt.rb
|
414
403
|
- lib/puppet/feature/cfpropertylist.rb
|
@@ -425,6 +414,11 @@ files:
|
|
425
414
|
- lib/puppet/ffi/posix.rb
|
426
415
|
- lib/puppet/ffi/posix/constants.rb
|
427
416
|
- lib/puppet/ffi/posix/functions.rb
|
417
|
+
- lib/puppet/ffi/windows.rb
|
418
|
+
- lib/puppet/ffi/windows/api_types.rb
|
419
|
+
- lib/puppet/ffi/windows/constants.rb
|
420
|
+
- lib/puppet/ffi/windows/functions.rb
|
421
|
+
- lib/puppet/ffi/windows/structs.rb
|
428
422
|
- lib/puppet/file_bucket.rb
|
429
423
|
- lib/puppet/file_bucket/dipper.rb
|
430
424
|
- lib/puppet/file_bucket/file.rb
|
@@ -563,14 +557,21 @@ files:
|
|
563
557
|
- lib/puppet/graph/simple_graph.rb
|
564
558
|
- lib/puppet/http.rb
|
565
559
|
- lib/puppet/http/client.rb
|
560
|
+
- lib/puppet/http/dns.rb
|
566
561
|
- lib/puppet/http/errors.rb
|
567
562
|
- lib/puppet/http/external_client.rb
|
563
|
+
- lib/puppet/http/factory.rb
|
564
|
+
- lib/puppet/http/pool.rb
|
565
|
+
- lib/puppet/http/pool_entry.rb
|
566
|
+
- lib/puppet/http/proxy.rb
|
568
567
|
- lib/puppet/http/redirector.rb
|
569
568
|
- lib/puppet/http/resolver.rb
|
570
569
|
- lib/puppet/http/resolver/server_list.rb
|
571
570
|
- lib/puppet/http/resolver/settings.rb
|
572
571
|
- lib/puppet/http/resolver/srv.rb
|
573
572
|
- lib/puppet/http/response.rb
|
573
|
+
- lib/puppet/http/response_converter.rb
|
574
|
+
- lib/puppet/http/response_net_http.rb
|
574
575
|
- lib/puppet/http/retry_after_handler.rb
|
575
576
|
- lib/puppet/http/service.rb
|
576
577
|
- lib/puppet/http/service/ca.rb
|
@@ -579,6 +580,7 @@ files:
|
|
579
580
|
- lib/puppet/http/service/puppetserver.rb
|
580
581
|
- lib/puppet/http/service/report.rb
|
581
582
|
- lib/puppet/http/session.rb
|
583
|
+
- lib/puppet/http/site.rb
|
582
584
|
- lib/puppet/indirector.rb
|
583
585
|
- lib/puppet/indirector/catalog/compiler.rb
|
584
586
|
- lib/puppet/indirector/catalog/json.rb
|
@@ -586,11 +588,6 @@ files:
|
|
586
588
|
- lib/puppet/indirector/catalog/rest.rb
|
587
589
|
- lib/puppet/indirector/catalog/store_configs.rb
|
588
590
|
- lib/puppet/indirector/catalog/yaml.rb
|
589
|
-
- lib/puppet/indirector/certificate/file.rb
|
590
|
-
- lib/puppet/indirector/certificate/rest.rb
|
591
|
-
- lib/puppet/indirector/certificate_request/file.rb
|
592
|
-
- lib/puppet/indirector/certificate_request/memory.rb
|
593
|
-
- lib/puppet/indirector/certificate_request/rest.rb
|
594
591
|
- lib/puppet/indirector/code.rb
|
595
592
|
- lib/puppet/indirector/data_binding/hiera.rb
|
596
593
|
- lib/puppet/indirector/data_binding/none.rb
|
@@ -613,7 +610,6 @@ files:
|
|
613
610
|
- lib/puppet/indirector/file_content.rb
|
614
611
|
- lib/puppet/indirector/file_content/file.rb
|
615
612
|
- lib/puppet/indirector/file_content/file_server.rb
|
616
|
-
- lib/puppet/indirector/file_content/http.rb
|
617
613
|
- lib/puppet/indirector/file_content/rest.rb
|
618
614
|
- lib/puppet/indirector/file_content/selector.rb
|
619
615
|
- lib/puppet/indirector/file_metadata.rb
|
@@ -627,8 +623,6 @@ files:
|
|
627
623
|
- lib/puppet/indirector/hiera.rb
|
628
624
|
- lib/puppet/indirector/indirection.rb
|
629
625
|
- lib/puppet/indirector/json.rb
|
630
|
-
- lib/puppet/indirector/key/file.rb
|
631
|
-
- lib/puppet/indirector/key/memory.rb
|
632
626
|
- lib/puppet/indirector/memory.rb
|
633
627
|
- lib/puppet/indirector/msgpack.rb
|
634
628
|
- lib/puppet/indirector/node/exec.rb
|
@@ -651,10 +645,6 @@ files:
|
|
651
645
|
- lib/puppet/indirector/resource/store_configs.rb
|
652
646
|
- lib/puppet/indirector/resource/validator.rb
|
653
647
|
- lib/puppet/indirector/rest.rb
|
654
|
-
- lib/puppet/indirector/ssl_file.rb
|
655
|
-
- lib/puppet/indirector/status.rb
|
656
|
-
- lib/puppet/indirector/status/local.rb
|
657
|
-
- lib/puppet/indirector/status/rest.rb
|
658
648
|
- lib/puppet/indirector/store_configs.rb
|
659
649
|
- lib/puppet/indirector/terminus.rb
|
660
650
|
- lib/puppet/indirector/yaml.rb
|
@@ -681,7 +671,6 @@ files:
|
|
681
671
|
- lib/puppet/module_tool/applications/application.rb
|
682
672
|
- lib/puppet/module_tool/applications/checksummer.rb
|
683
673
|
- lib/puppet/module_tool/applications/installer.rb
|
684
|
-
- lib/puppet/module_tool/applications/searcher.rb
|
685
674
|
- lib/puppet/module_tool/applications/uninstaller.rb
|
686
675
|
- lib/puppet/module_tool/applications/unpacker.rb
|
687
676
|
- lib/puppet/module_tool/applications/upgrader.rb
|
@@ -703,10 +692,8 @@ files:
|
|
703
692
|
- lib/puppet/module_tool/tar/gnu.rb
|
704
693
|
- lib/puppet/module_tool/tar/mini.rb
|
705
694
|
- lib/puppet/network.rb
|
706
|
-
- lib/puppet/network/auth_config_parser.rb
|
707
695
|
- lib/puppet/network/authconfig.rb
|
708
696
|
- lib/puppet/network/authorization.rb
|
709
|
-
- lib/puppet/network/authstore.rb
|
710
697
|
- lib/puppet/network/client_request.rb
|
711
698
|
- lib/puppet/network/format.rb
|
712
699
|
- lib/puppet/network/format_handler.rb
|
@@ -718,29 +705,16 @@ files:
|
|
718
705
|
- lib/puppet/network/http/api/indirection_type.rb
|
719
706
|
- lib/puppet/network/http/api/master.rb
|
720
707
|
- lib/puppet/network/http/api/master/v3.rb
|
721
|
-
- lib/puppet/network/http/api/master/v3/authorization.rb
|
722
|
-
- lib/puppet/network/http/api/master/v3/environment.rb
|
723
708
|
- lib/puppet/network/http/api/master/v3/environments.rb
|
724
|
-
- lib/puppet/network/http/base_pool.rb
|
725
|
-
- lib/puppet/network/http/compression.rb
|
726
709
|
- lib/puppet/network/http/connection.rb
|
727
|
-
- lib/puppet/network/http/connection_adapter.rb
|
728
710
|
- lib/puppet/network/http/error.rb
|
729
|
-
- lib/puppet/network/http/factory.rb
|
730
711
|
- lib/puppet/network/http/handler.rb
|
731
712
|
- lib/puppet/network/http/issues.rb
|
732
713
|
- lib/puppet/network/http/memory_response.rb
|
733
|
-
- lib/puppet/network/http/nocache_pool.rb
|
734
|
-
- lib/puppet/network/http/pool.rb
|
735
714
|
- lib/puppet/network/http/request.rb
|
736
715
|
- lib/puppet/network/http/response.rb
|
737
716
|
- lib/puppet/network/http/route.rb
|
738
|
-
- lib/puppet/network/http/session.rb
|
739
|
-
- lib/puppet/network/http/site.rb
|
740
717
|
- lib/puppet/network/http_pool.rb
|
741
|
-
- lib/puppet/network/resolver.rb
|
742
|
-
- lib/puppet/network/rest_controller.rb
|
743
|
-
- lib/puppet/network/rights.rb
|
744
718
|
- lib/puppet/network/uri.rb
|
745
719
|
- lib/puppet/node.rb
|
746
720
|
- lib/puppet/node/environment.rb
|
@@ -776,11 +750,8 @@ files:
|
|
776
750
|
- lib/puppet/parser/catalog_compiler.rb
|
777
751
|
- lib/puppet/parser/compiler.rb
|
778
752
|
- lib/puppet/parser/compiler/catalog_validator.rb
|
779
|
-
- lib/puppet/parser/compiler/catalog_validator/env_relationship_validator.rb
|
780
753
|
- lib/puppet/parser/compiler/catalog_validator/relationship_validator.rb
|
781
|
-
- lib/puppet/parser/compiler/catalog_validator/site_validator.rb
|
782
754
|
- lib/puppet/parser/e4_parser_adapter.rb
|
783
|
-
- lib/puppet/parser/environment_compiler.rb
|
784
755
|
- lib/puppet/parser/files.rb
|
785
756
|
- lib/puppet/parser/functions.rb
|
786
757
|
- lib/puppet/parser/functions/assert_type.rb
|
@@ -971,7 +942,6 @@ files:
|
|
971
942
|
- lib/puppet/pops/types/annotatable.rb
|
972
943
|
- lib/puppet/pops/types/annotation.rb
|
973
944
|
- lib/puppet/pops/types/class_loader.rb
|
974
|
-
- lib/puppet/pops/types/enumeration.rb
|
975
945
|
- lib/puppet/pops/types/implementation_registry.rb
|
976
946
|
- lib/puppet/pops/types/iterable.rb
|
977
947
|
- lib/puppet/pops/types/p_binary_type.rb
|
@@ -1130,15 +1100,10 @@ files:
|
|
1130
1100
|
- lib/puppet/reports/log.rb
|
1131
1101
|
- lib/puppet/reports/store.rb
|
1132
1102
|
- lib/puppet/resource.rb
|
1133
|
-
- lib/puppet/resource/capability_finder.rb
|
1134
1103
|
- lib/puppet/resource/catalog.rb
|
1135
1104
|
- lib/puppet/resource/status.rb
|
1136
1105
|
- lib/puppet/resource/type.rb
|
1137
1106
|
- lib/puppet/resource/type_collection.rb
|
1138
|
-
- lib/puppet/rest/errors.rb
|
1139
|
-
- lib/puppet/rest/response.rb
|
1140
|
-
- lib/puppet/rest/route.rb
|
1141
|
-
- lib/puppet/rest/routes.rb
|
1142
1107
|
- lib/puppet/runtime.rb
|
1143
1108
|
- lib/puppet/scheduler.rb
|
1144
1109
|
- lib/puppet/scheduler/job.rb
|
@@ -1162,7 +1127,9 @@ files:
|
|
1162
1127
|
- lib/puppet/settings/file_setting.rb
|
1163
1128
|
- lib/puppet/settings/http_extra_headers_setting.rb
|
1164
1129
|
- lib/puppet/settings/ini_file.rb
|
1130
|
+
- lib/puppet/settings/integer_setting.rb
|
1165
1131
|
- lib/puppet/settings/path_setting.rb
|
1132
|
+
- lib/puppet/settings/port_setting.rb
|
1166
1133
|
- lib/puppet/settings/priority_setting.rb
|
1167
1134
|
- lib/puppet/settings/server_list_setting.rb
|
1168
1135
|
- lib/puppet/settings/string_setting.rb
|
@@ -1178,19 +1145,12 @@ files:
|
|
1178
1145
|
- lib/puppet/ssl/certificate_signer.rb
|
1179
1146
|
- lib/puppet/ssl/digest.rb
|
1180
1147
|
- lib/puppet/ssl/error.rb
|
1181
|
-
- lib/puppet/ssl/host.rb
|
1182
|
-
- lib/puppet/ssl/key.rb
|
1183
1148
|
- lib/puppet/ssl/oids.rb
|
1184
1149
|
- lib/puppet/ssl/openssl_loader.rb
|
1185
1150
|
- lib/puppet/ssl/ssl_context.rb
|
1186
1151
|
- lib/puppet/ssl/ssl_provider.rb
|
1187
1152
|
- lib/puppet/ssl/state_machine.rb
|
1188
|
-
- lib/puppet/ssl/validator.rb
|
1189
|
-
- lib/puppet/ssl/validator/default_validator.rb
|
1190
|
-
- lib/puppet/ssl/validator/no_validator.rb
|
1191
1153
|
- lib/puppet/ssl/verifier.rb
|
1192
|
-
- lib/puppet/ssl/verifier_adapter.rb
|
1193
|
-
- lib/puppet/status.rb
|
1194
1154
|
- lib/puppet/syntax_checkers.rb
|
1195
1155
|
- lib/puppet/syntax_checkers/base64.rb
|
1196
1156
|
- lib/puppet/syntax_checkers/epp.rb
|
@@ -1248,14 +1208,12 @@ files:
|
|
1248
1208
|
- lib/puppet/util/command_line.rb
|
1249
1209
|
- lib/puppet/util/command_line/puppet_option_parser.rb
|
1250
1210
|
- lib/puppet/util/command_line/trollop.rb
|
1251
|
-
- lib/puppet/util/connection.rb
|
1252
1211
|
- lib/puppet/util/constant_inflector.rb
|
1253
1212
|
- lib/puppet/util/diff.rb
|
1254
1213
|
- lib/puppet/util/docs.rb
|
1255
1214
|
- lib/puppet/util/errors.rb
|
1256
1215
|
- lib/puppet/util/execution.rb
|
1257
1216
|
- lib/puppet/util/execution_stub.rb
|
1258
|
-
- lib/puppet/util/fact_dif.rb
|
1259
1217
|
- lib/puppet/util/feature.rb
|
1260
1218
|
- lib/puppet/util/file_watcher.rb
|
1261
1219
|
- lib/puppet/util/fileparsing.rb
|
@@ -1327,7 +1285,6 @@ files:
|
|
1327
1285
|
- lib/puppet/util/selinux.rb
|
1328
1286
|
- lib/puppet/util/skip_tags.rb
|
1329
1287
|
- lib/puppet/util/splayer.rb
|
1330
|
-
- lib/puppet/util/ssl.rb
|
1331
1288
|
- lib/puppet/util/storage.rb
|
1332
1289
|
- lib/puppet/util/suidmanager.rb
|
1333
1290
|
- lib/puppet/util/symbolic_file_mode.rb
|
@@ -1345,12 +1302,12 @@ files:
|
|
1345
1302
|
- lib/puppet/util/windows/access_control_entry.rb
|
1346
1303
|
- lib/puppet/util/windows/access_control_list.rb
|
1347
1304
|
- lib/puppet/util/windows/adsi.rb
|
1348
|
-
- lib/puppet/util/windows/api_types.rb
|
1349
1305
|
- lib/puppet/util/windows/com.rb
|
1306
|
+
- lib/puppet/util/windows/daemon.rb
|
1350
1307
|
- lib/puppet/util/windows/error.rb
|
1351
1308
|
- lib/puppet/util/windows/eventlog.rb
|
1352
1309
|
- lib/puppet/util/windows/file.rb
|
1353
|
-
- lib/puppet/util/windows/monkey_patches/
|
1310
|
+
- lib/puppet/util/windows/monkey_patches/process.rb
|
1354
1311
|
- lib/puppet/util/windows/principal.rb
|
1355
1312
|
- lib/puppet/util/windows/process.rb
|
1356
1313
|
- lib/puppet/util/windows/registry.rb
|
@@ -1363,15 +1320,6 @@ files:
|
|
1363
1320
|
- lib/puppet/util/windows/user.rb
|
1364
1321
|
- lib/puppet/util/yaml.rb
|
1365
1322
|
- lib/puppet/vendor.rb
|
1366
|
-
- lib/puppet/vendor/load_pathspec.rb
|
1367
|
-
- lib/puppet/vendor/pathspec/CHANGELOG.md
|
1368
|
-
- lib/puppet/vendor/pathspec/LICENSE
|
1369
|
-
- lib/puppet/vendor/pathspec/PUPPET_README.md
|
1370
|
-
- lib/puppet/vendor/pathspec/README.md
|
1371
|
-
- lib/puppet/vendor/pathspec/lib/pathspec.rb
|
1372
|
-
- lib/puppet/vendor/pathspec/lib/pathspec/gitignorespec.rb
|
1373
|
-
- lib/puppet/vendor/pathspec/lib/pathspec/regexspec.rb
|
1374
|
-
- lib/puppet/vendor/pathspec/lib/pathspec/spec.rb
|
1375
1323
|
- lib/puppet/vendor/require_vendored.rb
|
1376
1324
|
- lib/puppet/version.rb
|
1377
1325
|
- lib/puppet/x509.rb
|
@@ -1395,9 +1343,7 @@ files:
|
|
1395
1343
|
- man/man8/puppet-filebucket.8
|
1396
1344
|
- man/man8/puppet-generate.8
|
1397
1345
|
- man/man8/puppet-help.8
|
1398
|
-
- man/man8/puppet-key.8
|
1399
1346
|
- man/man8/puppet-lookup.8
|
1400
|
-
- man/man8/puppet-man.8
|
1401
1347
|
- man/man8/puppet-module.8
|
1402
1348
|
- man/man8/puppet-node.8
|
1403
1349
|
- man/man8/puppet-parser.8
|
@@ -1406,7 +1352,6 @@ files:
|
|
1406
1352
|
- man/man8/puppet-resource.8
|
1407
1353
|
- man/man8/puppet-script.8
|
1408
1354
|
- man/man8/puppet-ssl.8
|
1409
|
-
- man/man8/puppet-status.8
|
1410
1355
|
- man/man8/puppet.8
|
1411
1356
|
- spec/fixtures/faulty_face/puppet/face/syntax.rb
|
1412
1357
|
- spec/fixtures/hiera.yaml
|
@@ -1783,8 +1728,8 @@ files:
|
|
1783
1728
|
- spec/fixtures/unit/provider/service/openbsd/rcctl_getall
|
1784
1729
|
- spec/fixtures/unit/provider/service/openrc/rcservice_list
|
1785
1730
|
- spec/fixtures/unit/provider/service/openrc/rcstatus
|
1786
|
-
- spec/fixtures/unit/provider/service/smf/svcs.out
|
1787
1731
|
- spec/fixtures/unit/provider/service/smf/svcs_fmri.out
|
1732
|
+
- spec/fixtures/unit/provider/service/smf/svcs_instances.out
|
1788
1733
|
- spec/fixtures/unit/provider/service/smf/svcs_multiple_fmris.out
|
1789
1734
|
- spec/fixtures/unit/provider/service/systemd/list_unit_files_services
|
1790
1735
|
- spec/fixtures/unit/provider/user/aix/aix_passwd_file.out
|
@@ -1830,7 +1775,6 @@ files:
|
|
1830
1775
|
- spec/integration/indirector/facts/facter_spec.rb
|
1831
1776
|
- spec/integration/indirector/file_content/file_server_spec.rb
|
1832
1777
|
- spec/integration/indirector/file_metadata/file_server_spec.rb
|
1833
|
-
- spec/integration/network/authconfig_spec.rb
|
1834
1778
|
- spec/integration/network/formats_spec.rb
|
1835
1779
|
- spec/integration/network/http/api/indirected_routes_spec.rb
|
1836
1780
|
- spec/integration/network/http_pool_spec.rb
|
@@ -1867,7 +1811,7 @@ files:
|
|
1867
1811
|
- spec/integration/util/rdoc/parser_spec.rb
|
1868
1812
|
- spec/integration/util/settings_spec.rb
|
1869
1813
|
- spec/integration/util/windows/adsi_spec.rb
|
1870
|
-
- spec/integration/util/windows/monkey_patches/
|
1814
|
+
- spec/integration/util/windows/monkey_patches/process_spec.rb
|
1871
1815
|
- spec/integration/util/windows/principal_spec.rb
|
1872
1816
|
- spec/integration/util/windows/process_spec.rb
|
1873
1817
|
- spec/integration/util/windows/registry_spec.rb
|
@@ -1945,11 +1889,9 @@ files:
|
|
1945
1889
|
- spec/unit/application/filebucket_spec.rb
|
1946
1890
|
- spec/unit/application/indirection_base_spec.rb
|
1947
1891
|
- spec/unit/application/lookup_spec.rb
|
1948
|
-
- spec/unit/application/man_spec.rb
|
1949
1892
|
- spec/unit/application/resource_spec.rb
|
1950
1893
|
- spec/unit/application/ssl_spec.rb
|
1951
1894
|
- spec/unit/application_spec.rb
|
1952
|
-
- spec/unit/capability_spec.rb
|
1953
1895
|
- spec/unit/certificate_factory_spec.rb
|
1954
1896
|
- spec/unit/concurrent/lock_spec.rb
|
1955
1897
|
- spec/unit/configurer/downloader_spec.rb
|
@@ -1980,16 +1922,13 @@ files:
|
|
1980
1922
|
- spec/unit/face/facts_spec.rb
|
1981
1923
|
- spec/unit/face/generate_spec.rb
|
1982
1924
|
- spec/unit/face/help_spec.rb
|
1983
|
-
- spec/unit/face/key_spec.rb
|
1984
1925
|
- spec/unit/face/module/install_spec.rb
|
1985
1926
|
- spec/unit/face/module/list_spec.rb
|
1986
|
-
- spec/unit/face/module/search_spec.rb
|
1987
1927
|
- spec/unit/face/module/uninstall_spec.rb
|
1988
1928
|
- spec/unit/face/module/upgrade_spec.rb
|
1989
1929
|
- spec/unit/face/node_spec.rb
|
1990
1930
|
- spec/unit/face/parser_spec.rb
|
1991
1931
|
- spec/unit/face/plugin_spec.rb
|
1992
|
-
- spec/unit/face/status_spec.rb
|
1993
1932
|
- spec/unit/face_spec.rb
|
1994
1933
|
- spec/unit/file_bucket/dipper_spec.rb
|
1995
1934
|
- spec/unit/file_bucket/file_spec.rb
|
@@ -2103,7 +2042,12 @@ files:
|
|
2103
2042
|
- spec/unit/hiera/scope_spec.rb
|
2104
2043
|
- spec/unit/hiera_puppet_spec.rb
|
2105
2044
|
- spec/unit/http/client_spec.rb
|
2045
|
+
- spec/unit/http/dns_spec.rb
|
2106
2046
|
- spec/unit/http/external_client_spec.rb
|
2047
|
+
- spec/unit/http/factory_spec.rb
|
2048
|
+
- spec/unit/http/pool_entry_spec.rb
|
2049
|
+
- spec/unit/http/pool_spec.rb
|
2050
|
+
- spec/unit/http/proxy_spec.rb
|
2107
2051
|
- spec/unit/http/resolver_spec.rb
|
2108
2052
|
- spec/unit/http/response_spec.rb
|
2109
2053
|
- spec/unit/http/service/ca_spec.rb
|
@@ -2113,16 +2057,13 @@ files:
|
|
2113
2057
|
- spec/unit/http/service/report_spec.rb
|
2114
2058
|
- spec/unit/http/service_spec.rb
|
2115
2059
|
- spec/unit/http/session_spec.rb
|
2060
|
+
- spec/unit/http/site_spec.rb
|
2116
2061
|
- spec/unit/indirector/catalog/compiler_spec.rb
|
2117
2062
|
- spec/unit/indirector/catalog/json_spec.rb
|
2118
2063
|
- spec/unit/indirector/catalog/msgpack_spec.rb
|
2119
2064
|
- spec/unit/indirector/catalog/rest_spec.rb
|
2120
2065
|
- spec/unit/indirector/catalog/store_configs_spec.rb
|
2121
2066
|
- spec/unit/indirector/catalog/yaml_spec.rb
|
2122
|
-
- spec/unit/indirector/certificate/file_spec.rb
|
2123
|
-
- spec/unit/indirector/certificate/rest_spec.rb
|
2124
|
-
- spec/unit/indirector/certificate_request/file_spec.rb
|
2125
|
-
- spec/unit/indirector/certificate_request/rest_spec.rb
|
2126
2067
|
- spec/unit/indirector/data_binding/hiera_spec.rb
|
2127
2068
|
- spec/unit/indirector/data_binding/none_spec.rb
|
2128
2069
|
- spec/unit/indirector/direct_file_server_spec.rb
|
@@ -2151,7 +2092,6 @@ files:
|
|
2151
2092
|
- spec/unit/indirector/hiera_spec.rb
|
2152
2093
|
- spec/unit/indirector/indirection_spec.rb
|
2153
2094
|
- spec/unit/indirector/json_spec.rb
|
2154
|
-
- spec/unit/indirector/key/file_spec.rb
|
2155
2095
|
- spec/unit/indirector/memory_spec.rb
|
2156
2096
|
- spec/unit/indirector/msgpack_spec.rb
|
2157
2097
|
- spec/unit/indirector/node/exec_spec.rb
|
@@ -2173,9 +2113,6 @@ files:
|
|
2173
2113
|
- spec/unit/indirector/resource/ral_spec.rb
|
2174
2114
|
- spec/unit/indirector/resource/store_configs_spec.rb
|
2175
2115
|
- spec/unit/indirector/rest_spec.rb
|
2176
|
-
- spec/unit/indirector/ssl_file_spec.rb
|
2177
|
-
- spec/unit/indirector/status/local_spec.rb
|
2178
|
-
- spec/unit/indirector/status/rest_spec.rb
|
2179
2116
|
- spec/unit/indirector/store_configs_spec.rb
|
2180
2117
|
- spec/unit/indirector/terminus_spec.rb
|
2181
2118
|
- spec/unit/indirector/yaml_spec.rb
|
@@ -2193,7 +2130,6 @@ files:
|
|
2193
2130
|
- spec/unit/module_tool/application_spec.rb
|
2194
2131
|
- spec/unit/module_tool/applications/checksummer_spec.rb
|
2195
2132
|
- spec/unit/module_tool/applications/installer_spec.rb
|
2196
|
-
- spec/unit/module_tool/applications/searcher_spec.rb
|
2197
2133
|
- spec/unit/module_tool/applications/uninstaller_spec.rb
|
2198
2134
|
- spec/unit/module_tool/applications/unpacker_spec.rb
|
2199
2135
|
- spec/unit/module_tool/applications/upgrader_spec.rb
|
@@ -2204,36 +2140,23 @@ files:
|
|
2204
2140
|
- spec/unit/module_tool/tar/mini_spec.rb
|
2205
2141
|
- spec/unit/module_tool/tar_spec.rb
|
2206
2142
|
- spec/unit/module_tool_spec.rb
|
2207
|
-
- spec/unit/network/auth_config_parser_spec.rb
|
2208
2143
|
- spec/unit/network/authconfig_spec.rb
|
2209
2144
|
- spec/unit/network/authorization_spec.rb
|
2210
|
-
- spec/unit/network/authstore_spec.rb
|
2211
2145
|
- spec/unit/network/format_handler_spec.rb
|
2212
2146
|
- spec/unit/network/format_spec.rb
|
2213
2147
|
- spec/unit/network/format_support_spec.rb
|
2214
2148
|
- spec/unit/network/formats_spec.rb
|
2215
2149
|
- spec/unit/network/http/api/indirected_routes_spec.rb
|
2216
|
-
- spec/unit/network/http/api/master/v3/authorization_spec.rb
|
2217
|
-
- spec/unit/network/http/api/master/v3/environment_spec.rb
|
2218
2150
|
- spec/unit/network/http/api/master/v3/environments_spec.rb
|
2219
2151
|
- spec/unit/network/http/api/master/v3_spec.rb
|
2220
2152
|
- spec/unit/network/http/api_spec.rb
|
2221
|
-
- spec/unit/network/http/compression_spec.rb
|
2222
2153
|
- spec/unit/network/http/connection_spec.rb
|
2223
2154
|
- spec/unit/network/http/error_spec.rb
|
2224
|
-
- spec/unit/network/http/factory_spec.rb
|
2225
2155
|
- spec/unit/network/http/handler_spec.rb
|
2226
|
-
- spec/unit/network/http/nocache_pool_spec.rb
|
2227
|
-
- spec/unit/network/http/pool_spec.rb
|
2228
2156
|
- spec/unit/network/http/request_spec.rb
|
2229
2157
|
- spec/unit/network/http/response_spec.rb
|
2230
2158
|
- spec/unit/network/http/route_spec.rb
|
2231
|
-
- spec/unit/network/http/session_spec.rb
|
2232
|
-
- spec/unit/network/http/site_spec.rb
|
2233
2159
|
- spec/unit/network/http_pool_spec.rb
|
2234
|
-
- spec/unit/network/http_spec.rb
|
2235
|
-
- spec/unit/network/resolver_spec.rb
|
2236
|
-
- spec/unit/network/rights_spec.rb
|
2237
2160
|
- spec/unit/network/uri_spec.rb
|
2238
2161
|
- spec/unit/node/environment_spec.rb
|
2239
2162
|
- spec/unit/node/facts_spec.rb
|
@@ -2248,7 +2171,6 @@ files:
|
|
2248
2171
|
- spec/unit/parser/ast/block_expression_spec.rb
|
2249
2172
|
- spec/unit/parser/ast/leaf_spec.rb
|
2250
2173
|
- spec/unit/parser/compiler_spec.rb
|
2251
|
-
- spec/unit/parser/environment_compiler_spec.rb
|
2252
2174
|
- spec/unit/parser/files_spec.rb
|
2253
2175
|
- spec/unit/parser/functions/create_resources_spec.rb
|
2254
2176
|
- spec/unit/parser/functions/digest_spec.rb
|
@@ -2347,7 +2269,6 @@ files:
|
|
2347
2269
|
- spec/unit/pops/time/timestamp_spec.rb
|
2348
2270
|
- spec/unit/pops/types/class_loader_spec.rb
|
2349
2271
|
- spec/unit/pops/types/deferred_spec.rb
|
2350
|
-
- spec/unit/pops/types/enumeration_spec.rb
|
2351
2272
|
- spec/unit/pops/types/error_spec.rb
|
2352
2273
|
- spec/unit/pops/types/iterable_spec.rb
|
2353
2274
|
- spec/unit/pops/types/p_binary_type_spec.rb
|
@@ -2477,13 +2398,11 @@ files:
|
|
2477
2398
|
- spec/unit/reports/http_spec.rb
|
2478
2399
|
- spec/unit/reports/store_spec.rb
|
2479
2400
|
- spec/unit/reports_spec.rb
|
2480
|
-
- spec/unit/resource/capability_finder_spec.rb
|
2481
2401
|
- spec/unit/resource/catalog_spec.rb
|
2482
2402
|
- spec/unit/resource/status_spec.rb
|
2483
2403
|
- spec/unit/resource/type_collection_spec.rb
|
2484
2404
|
- spec/unit/resource/type_spec.rb
|
2485
2405
|
- spec/unit/resource_spec.rb
|
2486
|
-
- spec/unit/rest/route_spec.rb
|
2487
2406
|
- spec/unit/scheduler/job_spec.rb
|
2488
2407
|
- spec/unit/scheduler/scheduler_spec.rb
|
2489
2408
|
- spec/unit/scheduler/splay_job_spec.rb
|
@@ -2498,7 +2417,9 @@ files:
|
|
2498
2417
|
- spec/unit/settings/file_setting_spec.rb
|
2499
2418
|
- spec/unit/settings/http_extra_headers_spec.rb
|
2500
2419
|
- spec/unit/settings/ini_file_spec.rb
|
2420
|
+
- spec/unit/settings/integer_setting_spec.rb
|
2501
2421
|
- spec/unit/settings/path_setting_spec.rb
|
2422
|
+
- spec/unit/settings/port_setting_spec.rb
|
2502
2423
|
- spec/unit/settings/priority_setting_spec.rb
|
2503
2424
|
- spec/unit/settings/server_list_setting_spec.rb
|
2504
2425
|
- spec/unit/settings/string_setting_spec.rb
|
@@ -2510,14 +2431,10 @@ files:
|
|
2510
2431
|
- spec/unit/ssl/certificate_request_spec.rb
|
2511
2432
|
- spec/unit/ssl/certificate_spec.rb
|
2512
2433
|
- spec/unit/ssl/digest_spec.rb
|
2513
|
-
- spec/unit/ssl/host_spec.rb
|
2514
|
-
- spec/unit/ssl/key_spec.rb
|
2515
2434
|
- spec/unit/ssl/oids_spec.rb
|
2516
2435
|
- spec/unit/ssl/ssl_provider_spec.rb
|
2517
2436
|
- spec/unit/ssl/state_machine_spec.rb
|
2518
|
-
- spec/unit/ssl/validator_spec.rb
|
2519
2437
|
- spec/unit/ssl/verifier_spec.rb
|
2520
|
-
- spec/unit/status_spec.rb
|
2521
2438
|
- spec/unit/task_spec.rb
|
2522
2439
|
- spec/unit/test/test_helper_spec.rb
|
2523
2440
|
- spec/unit/transaction/additional_resource_generator_spec.rb
|
@@ -2572,7 +2489,6 @@ files:
|
|
2572
2489
|
- spec/unit/util/execution_stub_spec.rb
|
2573
2490
|
- spec/unit/util/feature_spec.rb
|
2574
2491
|
- spec/unit/util/filetype_spec.rb
|
2575
|
-
- spec/unit/util/http_proxy_spec.rb
|
2576
2492
|
- spec/unit/util/inifile_spec.rb
|
2577
2493
|
- spec/unit/util/json_lockfile_spec.rb
|
2578
2494
|
- spec/unit/util/ldap/connection_spec.rb
|
@@ -2612,7 +2528,6 @@ files:
|
|
2612
2528
|
- spec/unit/util/selinux_spec.rb
|
2613
2529
|
- spec/unit/util/skip_tags_spec.rb
|
2614
2530
|
- spec/unit/util/splayer_spec.rb
|
2615
|
-
- spec/unit/util/ssl_spec.rb
|
2616
2531
|
- spec/unit/util/storage_spec.rb
|
2617
2532
|
- spec/unit/util/suidmanager_spec.rb
|
2618
2533
|
- spec/unit/util/symbolic_file_mode_spec.rb
|
@@ -2666,7 +2581,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
2666
2581
|
requirements:
|
2667
2582
|
- - ">="
|
2668
2583
|
- !ruby/object:Gem::Version
|
2669
|
-
version: 2.
|
2584
|
+
version: 2.5.0
|
2670
2585
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
2671
2586
|
requirements:
|
2672
2587
|
- - ">"
|
@@ -3053,8 +2968,8 @@ test_files:
|
|
3053
2968
|
- spec/fixtures/unit/provider/service/openbsd/rcctl_getall
|
3054
2969
|
- spec/fixtures/unit/provider/service/openrc/rcservice_list
|
3055
2970
|
- spec/fixtures/unit/provider/service/openrc/rcstatus
|
3056
|
-
- spec/fixtures/unit/provider/service/smf/svcs.out
|
3057
2971
|
- spec/fixtures/unit/provider/service/smf/svcs_fmri.out
|
2972
|
+
- spec/fixtures/unit/provider/service/smf/svcs_instances.out
|
3058
2973
|
- spec/fixtures/unit/provider/service/smf/svcs_multiple_fmris.out
|
3059
2974
|
- spec/fixtures/unit/provider/service/systemd/list_unit_files_services
|
3060
2975
|
- spec/fixtures/unit/provider/user/aix/aix_passwd_file.out
|
@@ -3100,7 +3015,6 @@ test_files:
|
|
3100
3015
|
- spec/integration/indirector/facts/facter_spec.rb
|
3101
3016
|
- spec/integration/indirector/file_content/file_server_spec.rb
|
3102
3017
|
- spec/integration/indirector/file_metadata/file_server_spec.rb
|
3103
|
-
- spec/integration/network/authconfig_spec.rb
|
3104
3018
|
- spec/integration/network/formats_spec.rb
|
3105
3019
|
- spec/integration/network/http/api/indirected_routes_spec.rb
|
3106
3020
|
- spec/integration/network/http_pool_spec.rb
|
@@ -3137,7 +3051,7 @@ test_files:
|
|
3137
3051
|
- spec/integration/util/rdoc/parser_spec.rb
|
3138
3052
|
- spec/integration/util/settings_spec.rb
|
3139
3053
|
- spec/integration/util/windows/adsi_spec.rb
|
3140
|
-
- spec/integration/util/windows/monkey_patches/
|
3054
|
+
- spec/integration/util/windows/monkey_patches/process_spec.rb
|
3141
3055
|
- spec/integration/util/windows/principal_spec.rb
|
3142
3056
|
- spec/integration/util/windows/process_spec.rb
|
3143
3057
|
- spec/integration/util/windows/registry_spec.rb
|
@@ -3215,11 +3129,9 @@ test_files:
|
|
3215
3129
|
- spec/unit/application/filebucket_spec.rb
|
3216
3130
|
- spec/unit/application/indirection_base_spec.rb
|
3217
3131
|
- spec/unit/application/lookup_spec.rb
|
3218
|
-
- spec/unit/application/man_spec.rb
|
3219
3132
|
- spec/unit/application/resource_spec.rb
|
3220
3133
|
- spec/unit/application/ssl_spec.rb
|
3221
3134
|
- spec/unit/application_spec.rb
|
3222
|
-
- spec/unit/capability_spec.rb
|
3223
3135
|
- spec/unit/certificate_factory_spec.rb
|
3224
3136
|
- spec/unit/concurrent/lock_spec.rb
|
3225
3137
|
- spec/unit/configurer/downloader_spec.rb
|
@@ -3250,16 +3162,13 @@ test_files:
|
|
3250
3162
|
- spec/unit/face/facts_spec.rb
|
3251
3163
|
- spec/unit/face/generate_spec.rb
|
3252
3164
|
- spec/unit/face/help_spec.rb
|
3253
|
-
- spec/unit/face/key_spec.rb
|
3254
3165
|
- spec/unit/face/module/install_spec.rb
|
3255
3166
|
- spec/unit/face/module/list_spec.rb
|
3256
|
-
- spec/unit/face/module/search_spec.rb
|
3257
3167
|
- spec/unit/face/module/uninstall_spec.rb
|
3258
3168
|
- spec/unit/face/module/upgrade_spec.rb
|
3259
3169
|
- spec/unit/face/node_spec.rb
|
3260
3170
|
- spec/unit/face/parser_spec.rb
|
3261
3171
|
- spec/unit/face/plugin_spec.rb
|
3262
|
-
- spec/unit/face/status_spec.rb
|
3263
3172
|
- spec/unit/face_spec.rb
|
3264
3173
|
- spec/unit/file_bucket/dipper_spec.rb
|
3265
3174
|
- spec/unit/file_bucket/file_spec.rb
|
@@ -3373,7 +3282,12 @@ test_files:
|
|
3373
3282
|
- spec/unit/hiera/scope_spec.rb
|
3374
3283
|
- spec/unit/hiera_puppet_spec.rb
|
3375
3284
|
- spec/unit/http/client_spec.rb
|
3285
|
+
- spec/unit/http/dns_spec.rb
|
3376
3286
|
- spec/unit/http/external_client_spec.rb
|
3287
|
+
- spec/unit/http/factory_spec.rb
|
3288
|
+
- spec/unit/http/pool_entry_spec.rb
|
3289
|
+
- spec/unit/http/pool_spec.rb
|
3290
|
+
- spec/unit/http/proxy_spec.rb
|
3377
3291
|
- spec/unit/http/resolver_spec.rb
|
3378
3292
|
- spec/unit/http/response_spec.rb
|
3379
3293
|
- spec/unit/http/service/ca_spec.rb
|
@@ -3383,16 +3297,13 @@ test_files:
|
|
3383
3297
|
- spec/unit/http/service/report_spec.rb
|
3384
3298
|
- spec/unit/http/service_spec.rb
|
3385
3299
|
- spec/unit/http/session_spec.rb
|
3300
|
+
- spec/unit/http/site_spec.rb
|
3386
3301
|
- spec/unit/indirector/catalog/compiler_spec.rb
|
3387
3302
|
- spec/unit/indirector/catalog/json_spec.rb
|
3388
3303
|
- spec/unit/indirector/catalog/msgpack_spec.rb
|
3389
3304
|
- spec/unit/indirector/catalog/rest_spec.rb
|
3390
3305
|
- spec/unit/indirector/catalog/store_configs_spec.rb
|
3391
3306
|
- spec/unit/indirector/catalog/yaml_spec.rb
|
3392
|
-
- spec/unit/indirector/certificate/file_spec.rb
|
3393
|
-
- spec/unit/indirector/certificate/rest_spec.rb
|
3394
|
-
- spec/unit/indirector/certificate_request/file_spec.rb
|
3395
|
-
- spec/unit/indirector/certificate_request/rest_spec.rb
|
3396
3307
|
- spec/unit/indirector/data_binding/hiera_spec.rb
|
3397
3308
|
- spec/unit/indirector/data_binding/none_spec.rb
|
3398
3309
|
- spec/unit/indirector/direct_file_server_spec.rb
|
@@ -3421,7 +3332,6 @@ test_files:
|
|
3421
3332
|
- spec/unit/indirector/hiera_spec.rb
|
3422
3333
|
- spec/unit/indirector/indirection_spec.rb
|
3423
3334
|
- spec/unit/indirector/json_spec.rb
|
3424
|
-
- spec/unit/indirector/key/file_spec.rb
|
3425
3335
|
- spec/unit/indirector/memory_spec.rb
|
3426
3336
|
- spec/unit/indirector/msgpack_spec.rb
|
3427
3337
|
- spec/unit/indirector/node/exec_spec.rb
|
@@ -3443,9 +3353,6 @@ test_files:
|
|
3443
3353
|
- spec/unit/indirector/resource/ral_spec.rb
|
3444
3354
|
- spec/unit/indirector/resource/store_configs_spec.rb
|
3445
3355
|
- spec/unit/indirector/rest_spec.rb
|
3446
|
-
- spec/unit/indirector/ssl_file_spec.rb
|
3447
|
-
- spec/unit/indirector/status/local_spec.rb
|
3448
|
-
- spec/unit/indirector/status/rest_spec.rb
|
3449
3356
|
- spec/unit/indirector/store_configs_spec.rb
|
3450
3357
|
- spec/unit/indirector/terminus_spec.rb
|
3451
3358
|
- spec/unit/indirector/yaml_spec.rb
|
@@ -3463,7 +3370,6 @@ test_files:
|
|
3463
3370
|
- spec/unit/module_tool/application_spec.rb
|
3464
3371
|
- spec/unit/module_tool/applications/checksummer_spec.rb
|
3465
3372
|
- spec/unit/module_tool/applications/installer_spec.rb
|
3466
|
-
- spec/unit/module_tool/applications/searcher_spec.rb
|
3467
3373
|
- spec/unit/module_tool/applications/uninstaller_spec.rb
|
3468
3374
|
- spec/unit/module_tool/applications/unpacker_spec.rb
|
3469
3375
|
- spec/unit/module_tool/applications/upgrader_spec.rb
|
@@ -3474,36 +3380,23 @@ test_files:
|
|
3474
3380
|
- spec/unit/module_tool/tar/mini_spec.rb
|
3475
3381
|
- spec/unit/module_tool/tar_spec.rb
|
3476
3382
|
- spec/unit/module_tool_spec.rb
|
3477
|
-
- spec/unit/network/auth_config_parser_spec.rb
|
3478
3383
|
- spec/unit/network/authconfig_spec.rb
|
3479
3384
|
- spec/unit/network/authorization_spec.rb
|
3480
|
-
- spec/unit/network/authstore_spec.rb
|
3481
3385
|
- spec/unit/network/format_handler_spec.rb
|
3482
3386
|
- spec/unit/network/format_spec.rb
|
3483
3387
|
- spec/unit/network/format_support_spec.rb
|
3484
3388
|
- spec/unit/network/formats_spec.rb
|
3485
3389
|
- spec/unit/network/http/api/indirected_routes_spec.rb
|
3486
|
-
- spec/unit/network/http/api/master/v3/authorization_spec.rb
|
3487
|
-
- spec/unit/network/http/api/master/v3/environment_spec.rb
|
3488
3390
|
- spec/unit/network/http/api/master/v3/environments_spec.rb
|
3489
3391
|
- spec/unit/network/http/api/master/v3_spec.rb
|
3490
3392
|
- spec/unit/network/http/api_spec.rb
|
3491
|
-
- spec/unit/network/http/compression_spec.rb
|
3492
3393
|
- spec/unit/network/http/connection_spec.rb
|
3493
3394
|
- spec/unit/network/http/error_spec.rb
|
3494
|
-
- spec/unit/network/http/factory_spec.rb
|
3495
3395
|
- spec/unit/network/http/handler_spec.rb
|
3496
|
-
- spec/unit/network/http/nocache_pool_spec.rb
|
3497
|
-
- spec/unit/network/http/pool_spec.rb
|
3498
3396
|
- spec/unit/network/http/request_spec.rb
|
3499
3397
|
- spec/unit/network/http/response_spec.rb
|
3500
3398
|
- spec/unit/network/http/route_spec.rb
|
3501
|
-
- spec/unit/network/http/session_spec.rb
|
3502
|
-
- spec/unit/network/http/site_spec.rb
|
3503
3399
|
- spec/unit/network/http_pool_spec.rb
|
3504
|
-
- spec/unit/network/http_spec.rb
|
3505
|
-
- spec/unit/network/resolver_spec.rb
|
3506
|
-
- spec/unit/network/rights_spec.rb
|
3507
3400
|
- spec/unit/network/uri_spec.rb
|
3508
3401
|
- spec/unit/node/environment_spec.rb
|
3509
3402
|
- spec/unit/node/facts_spec.rb
|
@@ -3518,7 +3411,6 @@ test_files:
|
|
3518
3411
|
- spec/unit/parser/ast/block_expression_spec.rb
|
3519
3412
|
- spec/unit/parser/ast/leaf_spec.rb
|
3520
3413
|
- spec/unit/parser/compiler_spec.rb
|
3521
|
-
- spec/unit/parser/environment_compiler_spec.rb
|
3522
3414
|
- spec/unit/parser/files_spec.rb
|
3523
3415
|
- spec/unit/parser/functions/create_resources_spec.rb
|
3524
3416
|
- spec/unit/parser/functions/digest_spec.rb
|
@@ -3617,7 +3509,6 @@ test_files:
|
|
3617
3509
|
- spec/unit/pops/time/timestamp_spec.rb
|
3618
3510
|
- spec/unit/pops/types/class_loader_spec.rb
|
3619
3511
|
- spec/unit/pops/types/deferred_spec.rb
|
3620
|
-
- spec/unit/pops/types/enumeration_spec.rb
|
3621
3512
|
- spec/unit/pops/types/error_spec.rb
|
3622
3513
|
- spec/unit/pops/types/iterable_spec.rb
|
3623
3514
|
- spec/unit/pops/types/p_binary_type_spec.rb
|
@@ -3747,13 +3638,11 @@ test_files:
|
|
3747
3638
|
- spec/unit/reports/http_spec.rb
|
3748
3639
|
- spec/unit/reports/store_spec.rb
|
3749
3640
|
- spec/unit/reports_spec.rb
|
3750
|
-
- spec/unit/resource/capability_finder_spec.rb
|
3751
3641
|
- spec/unit/resource/catalog_spec.rb
|
3752
3642
|
- spec/unit/resource/status_spec.rb
|
3753
3643
|
- spec/unit/resource/type_collection_spec.rb
|
3754
3644
|
- spec/unit/resource/type_spec.rb
|
3755
3645
|
- spec/unit/resource_spec.rb
|
3756
|
-
- spec/unit/rest/route_spec.rb
|
3757
3646
|
- spec/unit/scheduler/job_spec.rb
|
3758
3647
|
- spec/unit/scheduler/scheduler_spec.rb
|
3759
3648
|
- spec/unit/scheduler/splay_job_spec.rb
|
@@ -3768,7 +3657,9 @@ test_files:
|
|
3768
3657
|
- spec/unit/settings/file_setting_spec.rb
|
3769
3658
|
- spec/unit/settings/http_extra_headers_spec.rb
|
3770
3659
|
- spec/unit/settings/ini_file_spec.rb
|
3660
|
+
- spec/unit/settings/integer_setting_spec.rb
|
3771
3661
|
- spec/unit/settings/path_setting_spec.rb
|
3662
|
+
- spec/unit/settings/port_setting_spec.rb
|
3772
3663
|
- spec/unit/settings/priority_setting_spec.rb
|
3773
3664
|
- spec/unit/settings/server_list_setting_spec.rb
|
3774
3665
|
- spec/unit/settings/string_setting_spec.rb
|
@@ -3780,14 +3671,10 @@ test_files:
|
|
3780
3671
|
- spec/unit/ssl/certificate_request_spec.rb
|
3781
3672
|
- spec/unit/ssl/certificate_spec.rb
|
3782
3673
|
- spec/unit/ssl/digest_spec.rb
|
3783
|
-
- spec/unit/ssl/host_spec.rb
|
3784
|
-
- spec/unit/ssl/key_spec.rb
|
3785
3674
|
- spec/unit/ssl/oids_spec.rb
|
3786
3675
|
- spec/unit/ssl/ssl_provider_spec.rb
|
3787
3676
|
- spec/unit/ssl/state_machine_spec.rb
|
3788
|
-
- spec/unit/ssl/validator_spec.rb
|
3789
3677
|
- spec/unit/ssl/verifier_spec.rb
|
3790
|
-
- spec/unit/status_spec.rb
|
3791
3678
|
- spec/unit/task_spec.rb
|
3792
3679
|
- spec/unit/test/test_helper_spec.rb
|
3793
3680
|
- spec/unit/transaction/additional_resource_generator_spec.rb
|
@@ -3842,7 +3729,6 @@ test_files:
|
|
3842
3729
|
- spec/unit/util/execution_stub_spec.rb
|
3843
3730
|
- spec/unit/util/feature_spec.rb
|
3844
3731
|
- spec/unit/util/filetype_spec.rb
|
3845
|
-
- spec/unit/util/http_proxy_spec.rb
|
3846
3732
|
- spec/unit/util/inifile_spec.rb
|
3847
3733
|
- spec/unit/util/json_lockfile_spec.rb
|
3848
3734
|
- spec/unit/util/ldap/connection_spec.rb
|
@@ -3882,7 +3768,6 @@ test_files:
|
|
3882
3768
|
- spec/unit/util/selinux_spec.rb
|
3883
3769
|
- spec/unit/util/skip_tags_spec.rb
|
3884
3770
|
- spec/unit/util/splayer_spec.rb
|
3885
|
-
- spec/unit/util/ssl_spec.rb
|
3886
3771
|
- spec/unit/util/storage_spec.rb
|
3887
3772
|
- spec/unit/util/suidmanager_spec.rb
|
3888
3773
|
- spec/unit/util/symbolic_file_mode_spec.rb
|