puppet 6.11.1-x86-mingw32 → 6.16.0-x86-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/CODEOWNERS +3 -8
- data/CONTRIBUTING.md +7 -13
- data/Gemfile +1 -0
- data/Gemfile.lock +39 -36
- data/README.md +17 -24
- data/ext/build_defaults.yaml +1 -0
- data/ext/project_data.yaml +1 -1
- data/ext/windows/service/daemon.rb +25 -20
- data/lib/puppet.rb +52 -13
- data/lib/puppet/agent.rb +20 -14
- data/lib/puppet/application/agent.rb +12 -14
- data/lib/puppet/application/describe.rb +7 -5
- data/lib/puppet/application/device.rb +2 -2
- data/lib/puppet/application/filebucket.rb +19 -15
- data/lib/puppet/application/plugin.rb +1 -0
- data/lib/puppet/application/resource.rb +1 -1
- data/lib/puppet/application/ssl.rb +4 -4
- data/lib/puppet/concurrent.rb +2 -0
- data/lib/puppet/concurrent/lock.rb +16 -0
- data/lib/puppet/concurrent/synchronized.rb +15 -0
- data/lib/puppet/concurrent/thread_local_singleton.rb +14 -0
- data/lib/puppet/configurer.rb +85 -83
- data/lib/puppet/configurer/plugin_handler.rb +10 -1
- data/lib/puppet/context/trusted_information.rb +14 -8
- data/lib/puppet/daemon.rb +13 -27
- data/lib/puppet/defaults.rb +158 -40
- data/lib/puppet/environments.rb +30 -20
- data/lib/puppet/error.rb +9 -1
- data/lib/puppet/face/facts.rb +8 -5
- data/lib/puppet/face/help.rb +29 -3
- data/lib/puppet/face/module/search.rb +5 -0
- data/lib/puppet/face/plugin.rb +2 -2
- data/lib/puppet/file_serving/http_metadata.rb +1 -1
- data/lib/puppet/file_system/file_impl.rb +13 -9
- data/lib/puppet/file_system/memory_file.rb +6 -0
- data/lib/puppet/file_system/memory_impl.rb +13 -0
- data/lib/puppet/file_system/uniquefile.rb +4 -0
- data/lib/puppet/file_system/windows.rb +7 -10
- data/lib/puppet/forge.rb +3 -3
- data/lib/puppet/forge/errors.rb +2 -2
- data/lib/puppet/forge/repository.rb +31 -86
- data/lib/puppet/functions/call.rb +1 -1
- data/lib/puppet/functions/camelcase.rb +2 -2
- data/lib/puppet/functions/epp.rb +4 -4
- data/lib/puppet/functions/eyaml_lookup_key.rb +13 -8
- data/lib/puppet/functions/filter.rb +1 -0
- data/lib/puppet/functions/find_file.rb +9 -9
- data/lib/puppet/functions/find_template.rb +63 -0
- data/lib/puppet/functions/inline_epp.rb +5 -5
- data/lib/puppet/functions/reduce.rb +2 -4
- data/lib/puppet/http.rb +7 -0
- data/lib/puppet/http/client.rb +341 -54
- data/lib/puppet/http/errors.rb +2 -0
- data/lib/puppet/http/external_client.rb +90 -0
- data/lib/puppet/http/redirector.rb +34 -0
- data/lib/puppet/http/resolver.rb +57 -1
- data/lib/puppet/http/resolver/server_list.rb +98 -0
- data/lib/puppet/http/resolver/settings.rb +23 -2
- data/lib/puppet/http/resolver/srv.rb +36 -4
- data/lib/puppet/http/response.rb +68 -1
- data/lib/puppet/http/retry_after_handler.rb +39 -0
- data/lib/puppet/http/service.rb +179 -3
- data/lib/puppet/http/service/ca.rb +84 -21
- data/lib/puppet/http/service/compiler.rb +319 -0
- data/lib/puppet/http/service/file_server.rb +206 -0
- data/lib/puppet/http/service/report.rb +66 -0
- data/lib/puppet/http/session.rb +106 -31
- data/lib/puppet/indirector/catalog/compiler.rb +10 -0
- data/lib/puppet/indirector/catalog/rest.rb +34 -0
- data/lib/puppet/indirector/facts/rest.rb +42 -0
- data/lib/puppet/indirector/file_bucket_file/file.rb +1 -1
- data/lib/puppet/indirector/file_bucket_file/rest.rb +48 -0
- data/lib/puppet/indirector/file_content/http.rb +5 -0
- data/lib/puppet/indirector/file_content/rest.rb +30 -0
- data/lib/puppet/indirector/file_metadata/http.rb +4 -4
- data/lib/puppet/indirector/file_metadata/rest.rb +52 -0
- data/lib/puppet/indirector/json.rb +1 -1
- data/lib/puppet/indirector/msgpack.rb +1 -1
- data/lib/puppet/indirector/node/rest.rb +24 -0
- data/lib/puppet/indirector/report/rest.rb +19 -0
- data/lib/puppet/indirector/report/yaml.rb +23 -0
- data/lib/puppet/indirector/rest.rb +12 -0
- data/lib/puppet/indirector/status/rest.rb +18 -0
- data/lib/puppet/loaders.rb +6 -0
- data/lib/puppet/metatype/manager.rb +80 -80
- data/lib/puppet/network/http/base_pool.rb +19 -1
- data/lib/puppet/network/http/compression.rb +7 -0
- data/lib/puppet/network/http/connection.rb +6 -0
- data/lib/puppet/network/http/connection_adapter.rb +182 -0
- data/lib/puppet/network/http/nocache_pool.rb +2 -0
- data/lib/puppet/network/http/pool.rb +13 -6
- data/lib/puppet/network/http_pool.rb +2 -1
- data/lib/puppet/node/environment.rb +24 -8
- data/lib/puppet/pal/catalog_compiler.rb +5 -0
- data/lib/puppet/pal/pal_impl.rb +9 -29
- data/lib/puppet/parser/ast/pops_bridge.rb +6 -11
- data/lib/puppet/parser/compiler.rb +42 -32
- data/lib/puppet/parser/functions.rb +18 -13
- data/lib/puppet/parser/functions/epp.rb +3 -3
- data/lib/puppet/parser/functions/filter.rb +1 -0
- data/lib/puppet/parser/functions/inline_epp.rb +5 -5
- data/lib/puppet/pops/evaluator/access_operator.rb +2 -2
- data/lib/puppet/pops/evaluator/evaluator_impl.rb +1 -1
- data/lib/puppet/pops/evaluator/runtime3_support.rb +1 -1
- data/lib/puppet/pops/loader/puppet_plan_instantiator.rb +12 -3
- data/lib/puppet/pops/loaders.rb +7 -5
- data/lib/puppet/pops/lookup/invocation.rb +10 -3
- data/lib/puppet/pops/model/pn_transformer.rb +5 -9
- data/lib/puppet/pops/parser/evaluating_parser.rb +8 -11
- data/lib/puppet/pops/serialization/json_path.rb +3 -3
- data/lib/puppet/pops/time/timespan.rb +3 -5
- data/lib/puppet/pops/types/p_object_type_extension.rb +10 -0
- data/lib/puppet/pops/types/string_converter.rb +6 -9
- data/lib/puppet/pops/types/type_calculator.rb +30 -10
- data/lib/puppet/pops/types/type_formatter.rb +9 -11
- data/lib/puppet/pops/types/type_parser.rb +3 -3
- data/lib/puppet/pops/validation/checker4_0.rb +1 -1
- data/lib/puppet/pops/validation/tasks_checker.rb +5 -1
- data/lib/puppet/provider/aix_object.rb +4 -2
- data/lib/puppet/provider/group/aix.rb +1 -0
- data/lib/puppet/provider/group/groupadd.rb +57 -24
- data/lib/puppet/provider/group/windows_adsi.rb +3 -3
- data/lib/puppet/provider/package/aix.rb +17 -2
- data/lib/puppet/provider/package/apt.rb +78 -4
- data/lib/puppet/provider/package/dnfmodule.rb +69 -15
- data/lib/puppet/provider/package/dpkg.rb +14 -7
- data/lib/puppet/provider/package/fink.rb +20 -3
- data/lib/puppet/provider/package/gem.rb +41 -7
- data/lib/puppet/provider/package/openbsd.rb +13 -1
- data/lib/puppet/provider/package/pacman.rb +2 -5
- data/lib/puppet/provider/package/pip.rb +143 -48
- data/lib/puppet/provider/package/pip3.rb +0 -2
- data/lib/puppet/provider/package/pkg.rb +18 -5
- data/lib/puppet/provider/package/pkgdmg.rb +1 -1
- data/lib/puppet/provider/package/pkgng.rb +16 -4
- data/lib/puppet/provider/package/portage.rb +5 -5
- data/lib/puppet/provider/package/puppet_gem.rb +6 -2
- data/lib/puppet/provider/package/rpm.rb +6 -213
- data/lib/puppet/provider/package/yum.rb +108 -24
- data/lib/puppet/provider/package/zypper.rb +59 -1
- data/lib/puppet/provider/package_targetable.rb +5 -4
- data/lib/puppet/provider/service/systemd.rb +23 -5
- data/lib/puppet/provider/user/aix.rb +1 -0
- data/lib/puppet/provider/user/directoryservice.rb +30 -5
- data/lib/puppet/provider/user/hpux.rb +1 -1
- data/lib/puppet/provider/user/useradd.rb +11 -8
- data/lib/puppet/reports/http.rb +13 -9
- data/lib/puppet/reports/store.rb +1 -1
- data/lib/puppet/resource/type_collection.rb +20 -16
- data/lib/puppet/runtime.rb +32 -1
- data/lib/puppet/settings.rb +4 -0
- data/lib/puppet/settings/http_extra_headers_setting.rb +25 -0
- data/lib/puppet/ssl.rb +1 -0
- data/lib/puppet/ssl/certificate.rb +2 -1
- data/lib/puppet/ssl/host.rb +4 -4
- data/lib/puppet/ssl/oids.rb +1 -0
- data/lib/puppet/ssl/ssl_provider.rb +20 -0
- data/lib/puppet/ssl/state_machine.rb +81 -35
- data/lib/puppet/ssl/verifier_adapter.rb +9 -1
- data/lib/puppet/test/test_helper.rb +7 -1
- data/lib/puppet/transaction.rb +33 -11
- data/lib/puppet/transaction/report.rb +2 -2
- data/lib/puppet/transaction/resource_harness.rb +1 -1
- data/lib/puppet/type.rb +7 -2
- data/lib/puppet/type/file.rb +13 -0
- data/lib/puppet/type/file/data_sync.rb +5 -1
- data/lib/puppet/type/file/source.rb +49 -58
- data/lib/puppet/type/group.rb +5 -4
- data/lib/puppet/type/package.rb +102 -10
- data/lib/puppet/type/service.rb +6 -8
- data/lib/puppet/type/user.rb +6 -30
- data/lib/puppet/util.rb +34 -11
- data/lib/puppet/util/at_fork.rb +1 -1
- data/lib/puppet/util/autoload.rb +4 -18
- data/lib/puppet/util/instance_loader.rb +14 -10
- data/lib/puppet/util/log/destinations.rb +2 -11
- data/lib/puppet/util/logging.rb +30 -18
- data/lib/puppet/util/package/version/debian.rb +175 -0
- data/lib/puppet/util/package/version/gem.rb +15 -0
- data/lib/puppet/util/package/version/pip.rb +167 -0
- data/lib/puppet/util/package/version/range.rb +53 -0
- data/lib/puppet/util/package/version/range/eq.rb +14 -0
- data/lib/puppet/util/package/version/range/gt.rb +14 -0
- data/lib/puppet/util/package/version/range/gt_eq.rb +14 -0
- data/lib/puppet/util/package/version/range/lt.rb +14 -0
- data/lib/puppet/util/package/version/range/lt_eq.rb +14 -0
- data/lib/puppet/util/package/version/range/min_max.rb +21 -0
- data/lib/puppet/util/package/version/range/simple.rb +11 -0
- data/lib/puppet/util/package/version/rpm.rb +73 -0
- data/lib/puppet/util/pidlock.rb +36 -10
- data/lib/puppet/util/platform.rb +5 -0
- data/lib/puppet/util/plist.rb +6 -0
- data/lib/puppet/util/rpm_compare.rb +193 -0
- data/lib/puppet/util/storage.rb +0 -1
- data/lib/puppet/util/windows/adsi.rb +50 -20
- data/lib/puppet/util/windows/process.rb +15 -14
- data/lib/puppet/util/windows/security.rb +1 -0
- data/lib/puppet/util/windows/sid.rb +3 -3
- data/lib/puppet/util/yaml.rb +1 -1
- data/lib/puppet/version.rb +1 -1
- data/lib/puppet/x509/cert_provider.rb +9 -5
- data/locales/puppet.pot +640 -521
- data/man/man5/puppet.conf.5 +88 -9
- data/man/man8/puppet-agent.8 +6 -6
- data/man/man8/puppet-apply.8 +1 -1
- data/man/man8/puppet-catalog.8 +1 -1
- data/man/man8/puppet-config.8 +1 -1
- data/man/man8/puppet-describe.8 +1 -1
- data/man/man8/puppet-device.8 +2 -2
- data/man/man8/puppet-doc.8 +1 -1
- data/man/man8/puppet-epp.8 +1 -1
- data/man/man8/puppet-facts.8 +1 -1
- data/man/man8/puppet-filebucket.8 +17 -2
- data/man/man8/puppet-generate.8 +1 -1
- data/man/man8/puppet-help.8 +6 -3
- data/man/man8/puppet-key.8 +1 -1
- data/man/man8/puppet-lookup.8 +1 -1
- data/man/man8/puppet-man.8 +1 -1
- data/man/man8/puppet-module.8 +4 -1
- data/man/man8/puppet-node.8 +1 -1
- data/man/man8/puppet-parser.8 +1 -1
- data/man/man8/puppet-plugin.8 +1 -1
- data/man/man8/puppet-report.8 +1 -1
- data/man/man8/puppet-resource.8 +1 -1
- data/man/man8/puppet-script.8 +1 -1
- data/man/man8/puppet-ssl.8 +2 -2
- data/man/man8/puppet-status.8 +1 -1
- data/man/man8/puppet.8 +2 -2
- data/spec/fixtures/ssl/unknown-127.0.0.1-key.pem +67 -0
- data/spec/fixtures/ssl/unknown-127.0.0.1.pem +48 -0
- data/spec/fixtures/ssl/unknown-ca-key.pem +67 -0
- data/spec/fixtures/ssl/unknown-ca.pem +59 -0
- data/spec/fixtures/unit/forge/bacula.json +76 -0
- data/spec/fixtures/unit/provider/package/dnfmodule/{dnf-module-list-installed.txt → dnf-module-list.txt} +8 -0
- data/spec/fixtures/unit/provider/package/pkgng/pkg.version +2 -0
- data/spec/fixtures/unit/provider/package/yum/yum-check-update-subscription-manager.txt +9 -0
- data/spec/fixtures/unit/provider/package/zypper/zypper-search-uninstalled.out +13 -0
- data/spec/fixtures/unit/provider/service/systemd/list_unit_files_services +9 -0
- data/spec/fixtures/vcr/cassettes/Puppet_Type_File/when_sourcing/from_http/using_md5/should_fetch_if_not_on_the_local_disk.yml +1 -102
- data/spec/fixtures/vcr/cassettes/Puppet_Type_File/when_sourcing/from_http/using_md5/should_not_update_if_content_on_disk_is_up-to-date.yml +1 -106
- data/spec/fixtures/vcr/cassettes/Puppet_Type_File/when_sourcing/from_http/using_md5/should_update_if_content_differs_on_disk.yml +1 -106
- data/spec/fixtures/vcr/cassettes/Puppet_Type_File/when_sourcing/from_http/using_mtime/should_fetch_if_mtime_is_older_on_disk.yml +1 -102
- data/spec/fixtures/vcr/cassettes/Puppet_Type_File/when_sourcing/from_http/using_mtime/should_fetch_if_no_header_specified.yml +1 -98
- data/spec/fixtures/vcr/cassettes/Puppet_Type_File/when_sourcing/from_http/using_mtime/should_fetch_if_not_on_the_local_disk.yml +1 -102
- data/spec/fixtures/vcr/cassettes/Puppet_Type_File/when_sourcing/from_http/using_mtime/should_not_update_if_mtime_is_newer_on_disk.yml +1 -102
- data/spec/integration/application/agent_spec.rb +394 -0
- data/spec/integration/application/apply_spec.rb +132 -3
- data/spec/integration/application/filebucket_spec.rb +190 -0
- data/spec/integration/application/plugin_spec.rb +73 -0
- data/spec/integration/configurer_spec.rb +26 -7
- data/spec/integration/http/client_spec.rb +154 -0
- data/spec/integration/indirector/facts/facter_spec.rb +4 -0
- data/spec/integration/indirector/report/yaml.rb +83 -0
- data/spec/integration/module_tool/forge_spec.rb +51 -0
- data/spec/integration/network/http_pool_spec.rb +76 -20
- data/spec/integration/node/environment_spec.rb +15 -0
- data/spec/integration/util/windows/adsi_spec.rb +6 -1
- data/spec/lib/puppet/test_ca.rb +2 -2
- data/spec/lib/puppet_spec/https.rb +20 -9
- data/spec/lib/puppet_spec/puppetserver.rb +119 -0
- data/spec/shared_contexts/https.rb +29 -0
- data/spec/spec_helper.rb +6 -2
- data/spec/unit/agent_spec.rb +80 -26
- data/spec/unit/application/agent_spec.rb +9 -5
- data/spec/unit/application/apply_spec.rb +2 -12
- data/spec/unit/application/describe_spec.rb +88 -50
- data/spec/unit/application/device_spec.rb +2 -2
- data/spec/unit/application/filebucket_spec.rb +22 -2
- data/spec/unit/application/resource_spec.rb +2 -2
- data/spec/unit/concurrent/lock_spec.rb +29 -0
- data/spec/unit/configurer/fact_handler_spec.rb +0 -4
- data/spec/unit/configurer/plugin_handler_spec.rb +36 -19
- data/spec/unit/configurer_spec.rb +400 -406
- data/spec/unit/context/trusted_information_spec.rb +17 -0
- data/spec/unit/daemon_spec.rb +5 -64
- data/spec/unit/defaults_spec.rb +38 -4
- data/spec/unit/environments_spec.rb +65 -28
- data/spec/unit/face/facts_spec.rb +24 -20
- data/spec/unit/face/module/search_spec.rb +17 -0
- data/spec/unit/face/plugin_spec.rb +12 -10
- data/spec/unit/file_system/uniquefile_spec.rb +11 -0
- data/spec/unit/file_system_spec.rb +26 -2
- data/spec/unit/forge/errors_spec.rb +1 -1
- data/spec/unit/forge/forge_spec.rb +12 -54
- data/spec/unit/forge/module_release_spec.rb +19 -6
- data/spec/unit/forge/repository_spec.rb +63 -157
- data/spec/unit/forge_spec.rb +46 -116
- data/spec/unit/functions/find_template_spec.rb +69 -0
- data/spec/unit/functions/lookup_spec.rb +13 -0
- data/spec/unit/http/client_spec.rb +395 -27
- data/spec/unit/http/external_client_spec.rb +201 -0
- data/spec/unit/http/resolver_spec.rb +81 -12
- data/spec/unit/http/response_spec.rb +69 -0
- data/spec/unit/http/service/ca_spec.rb +100 -7
- data/spec/unit/http/service/compiler_spec.rb +627 -0
- data/spec/unit/http/service/file_server_spec.rb +308 -0
- data/spec/unit/http/service/report_spec.rb +118 -0
- data/spec/unit/http/service_spec.rb +117 -4
- data/spec/unit/http/session_spec.rb +237 -19
- data/spec/unit/indirector/catalog/compiler_spec.rb +47 -29
- data/spec/unit/indirector/catalog/rest_spec.rb +59 -2
- data/spec/unit/indirector/facts/rest_spec.rb +79 -24
- data/spec/unit/indirector/file_bucket_file/rest_spec.rb +82 -2
- data/spec/unit/indirector/file_content/rest_spec.rb +53 -2
- data/spec/unit/indirector/file_metadata/http_spec.rb +167 -0
- data/spec/unit/indirector/file_metadata/rest_spec.rb +110 -2
- data/spec/unit/indirector/node/rest_spec.rb +57 -2
- data/spec/unit/indirector/report/rest_spec.rb +58 -51
- data/spec/unit/indirector/resource/ral_spec.rb +7 -8
- data/spec/unit/indirector/rest_spec.rb +13 -0
- data/spec/unit/indirector/status/rest_spec.rb +43 -2
- data/spec/unit/network/http/connection_spec.rb +549 -176
- data/spec/unit/network/http/nocache_pool_spec.rb +25 -3
- data/spec/unit/network/http/pool_spec.rb +89 -11
- data/spec/unit/network/http_pool_spec.rb +63 -57
- data/spec/unit/network/http_spec.rb +1 -1
- data/spec/unit/node/environment_spec.rb +16 -0
- data/spec/unit/node/facts_spec.rb +2 -1
- data/spec/unit/node_spec.rb +7 -4
- data/spec/unit/pops/evaluator/evaluating_parser_spec.rb +8 -3
- data/spec/unit/pops/serialization/to_from_hr_spec.rb +6 -1
- data/spec/unit/pops/validator/validator_spec.rb +7 -2
- data/spec/unit/provider/aix_object_spec.rb +16 -2
- data/spec/unit/provider/group/groupadd_spec.rb +181 -56
- data/spec/unit/provider/group/windows_adsi_spec.rb +43 -10
- data/spec/unit/provider/package/aix_spec.rb +29 -0
- data/spec/unit/provider/package/apt_spec.rb +43 -2
- data/spec/unit/provider/package/aptitude_spec.rb +1 -0
- data/spec/unit/provider/package/dnfmodule_spec.rb +76 -15
- data/spec/unit/provider/package/dpkg_spec.rb +28 -6
- data/spec/unit/provider/package/gem_spec.rb +40 -0
- data/spec/unit/provider/package/openbsd_spec.rb +17 -0
- data/spec/unit/provider/package/pacman_spec.rb +6 -21
- data/spec/unit/provider/package/pip_spec.rb +68 -19
- data/spec/unit/provider/package/pkg_spec.rb +15 -1
- data/spec/unit/provider/package/pkgdmg_spec.rb +1 -1
- data/spec/unit/provider/package/pkgng_spec.rb +38 -0
- data/spec/unit/provider/package/portage_spec.rb +9 -4
- data/spec/unit/provider/package/puppet_gem_spec.rb +8 -0
- data/spec/unit/provider/package/rpm_spec.rb +0 -212
- data/spec/unit/provider/package/yum_spec.rb +292 -0
- data/spec/unit/provider/package/zypper_spec.rb +84 -0
- data/spec/unit/provider/package_targetable_spec.rb +60 -0
- data/spec/unit/provider/service/init_spec.rb +1 -0
- data/spec/unit/provider/service/openbsd_spec.rb +9 -0
- data/spec/unit/provider/service/openwrt_spec.rb +1 -0
- data/spec/unit/provider/service/redhat_spec.rb +9 -0
- data/spec/unit/provider/service/systemd_spec.rb +92 -12
- data/spec/unit/provider/user/directoryservice_spec.rb +41 -0
- data/spec/unit/provider/user/hpux_spec.rb +2 -2
- data/spec/unit/provider/user/useradd_spec.rb +21 -8
- data/spec/unit/provider/user/windows_adsi_spec.rb +3 -3
- data/spec/unit/puppet_pal_2pec.rb +0 -26
- data/spec/unit/puppet_pal_catalog_spec.rb +46 -0
- data/spec/unit/puppet_spec.rb +47 -0
- data/spec/unit/reports/http_spec.rb +70 -52
- data/spec/unit/settings/autosign_setting_spec.rb +1 -1
- data/spec/unit/settings/http_extra_headers_spec.rb +64 -0
- data/spec/unit/ssl/certificate_spec.rb +7 -0
- data/spec/unit/ssl/host_spec.rb +4 -2
- data/spec/unit/ssl/oids_spec.rb +1 -0
- data/spec/unit/ssl/ssl_provider_spec.rb +71 -0
- data/spec/unit/ssl/state_machine_spec.rb +99 -13
- data/spec/unit/transaction/persistence_spec.rb +1 -10
- data/spec/unit/transaction/report_spec.rb +4 -0
- data/spec/unit/transaction_spec.rb +45 -1
- data/spec/unit/type/file/content_spec.rb +9 -3
- data/spec/unit/type/file/ensure_spec.rb +1 -2
- data/spec/unit/type/file/source_spec.rb +86 -35
- data/spec/unit/type/package_spec.rb +8 -0
- data/spec/unit/type/service_spec.rb +9 -8
- data/spec/unit/type/user_spec.rb +1 -2
- data/spec/unit/util/at_fork_spec.rb +3 -2
- data/spec/unit/util/autoload_spec.rb +2 -1
- data/spec/unit/util/log/destinations_spec.rb +1 -29
- data/spec/unit/util/log_spec.rb +0 -138
- data/spec/unit/util/logging_spec.rb +200 -0
- data/spec/unit/util/package/version/debian_spec.rb +83 -0
- data/spec/unit/util/package/version/pip_spec.rb +464 -0
- data/spec/unit/util/package/version/range_spec.rb +175 -0
- data/spec/unit/util/package/version/rpm_spec.rb +121 -0
- data/spec/unit/util/pidlock_spec.rb +112 -42
- data/spec/unit/util/plist_spec.rb +20 -0
- data/spec/unit/util/rpm_compare_spec.rb +196 -0
- data/spec/unit/util/storage_spec.rb +1 -8
- data/spec/unit/util/windows/adsi_spec.rb +55 -4
- data/spec/unit/util/windows/sid_spec.rb +2 -2
- data/spec/unit/x509/cert_provider_spec.rb +24 -4
- data/tasks/generate_cert_fixtures.rake +15 -1
- data/tasks/manpages.rake +6 -35
- metadata +92 -12
- data/COMMITTERS.md +0 -244
- data/spec/integration/faces/plugin_spec.rb +0 -61
- data/spec/lib/puppet_spec/validators.rb +0 -37
data/tasks/manpages.rake
CHANGED
@@ -1,27 +1,17 @@
|
|
1
|
-
# require 'fileutils'
|
2
|
-
|
3
1
|
desc "Build Puppet manpages"
|
4
2
|
task :gen_manpages do
|
5
3
|
require 'puppet/face'
|
6
4
|
require 'fileutils'
|
7
5
|
|
8
|
-
|
9
|
-
# as a clear, well-defined entry-point into the code and could be
|
10
|
-
# responsible for state management all on their own; this really should
|
11
|
-
# not be necessary. When we can, we should get rid of it.
|
12
|
-
# --cprice 2012-05-16
|
13
|
-
Puppet.initialize_settings()
|
14
|
-
|
6
|
+
Puppet.initialize_settings
|
15
7
|
helpface = Puppet::Face[:help, '0.0.1']
|
16
|
-
manface = Puppet::Face[:man, '0.0.1']
|
17
8
|
|
18
|
-
sbins = Dir.glob(%w{sbin/*})
|
19
9
|
bins = Dir.glob(%w{bin/*})
|
20
10
|
non_face_applications = helpface.legacy_applications
|
21
11
|
faces = Puppet::Face.faces.map(&:to_s)
|
22
12
|
apps = non_face_applications + faces
|
23
13
|
|
24
|
-
ronn_args = '--manual="Puppet manual" --organization="Puppet, Inc."
|
14
|
+
ronn_args = '--manual="Puppet manual" --organization="Puppet, Inc." --roff'
|
25
15
|
|
26
16
|
# Locate ronn
|
27
17
|
begin
|
@@ -35,45 +25,26 @@ task :gen_manpages do
|
|
35
25
|
abort("Ronn does not appear to be installed")
|
36
26
|
end
|
37
27
|
|
38
|
-
|
39
|
-
# IO.popen("#{ronn} #{ronn_args} -r > #{filename}") do |fh| fh.write text end
|
40
|
-
# end
|
41
|
-
|
42
|
-
# Create puppet.conf.5 man page
|
43
|
-
# IO.popen("#{ronn} #{ronn_args} > ./man/man5/puppet.conf.5", 'w') do |fh|
|
44
|
-
# fh.write %x{RUBYLIB=./lib:$RUBYLIB bin/puppetdoc --reference configuration}
|
45
|
-
# end
|
28
|
+
%x{mkdir -p ./man/man5 ./man/man8}
|
46
29
|
%x{RUBYLIB=./lib:$RUBYLIB bin/puppet doc --reference configuration > ./man/man5/puppetconf.5.ronn}
|
47
30
|
%x{#{ronn} #{ronn_args} ./man/man5/puppetconf.5.ronn}
|
48
31
|
FileUtils.mv("./man/man5/puppetconf.5", "./man/man5/puppet.conf.5")
|
49
32
|
FileUtils.rm("./man/man5/puppetconf.5.ronn")
|
50
33
|
|
51
34
|
# Create LEGACY binary man pages (i.e. delete me for 2.8.0)
|
52
|
-
|
53
|
-
binary.each do |bin|
|
35
|
+
bins.each do |bin|
|
54
36
|
b = bin.gsub( /^s?bin\//, "")
|
55
37
|
%x{RUBYLIB=./lib:$RUBYLIB #{bin} --help > ./man/man8/#{b}.8.ronn}
|
56
38
|
%x{#{ronn} #{ronn_args} ./man/man8/#{b}.8.ronn}
|
57
39
|
FileUtils.rm("./man/man8/#{b}.8.ronn")
|
58
40
|
end
|
59
41
|
|
60
|
-
|
61
|
-
|
62
|
-
%x{RUBYLIB=./lib:$RUBYLIB bin/puppet #{app} --help > ./man/man8/puppet-#{app}.8.ronn}
|
42
|
+
apps.each do |app|
|
43
|
+
%x{RUBYLIB=./lib:$RUBYLIB bin/puppet help #{app} --ronn > ./man/man8/puppet-#{app}.8.ronn}
|
63
44
|
%x{#{ronn} #{ronn_args} ./man/man8/puppet-#{app}.8.ronn}
|
64
45
|
FileUtils.rm("./man/man8/puppet-#{app}.8.ronn")
|
65
46
|
end
|
66
47
|
|
67
|
-
# Create face man pages
|
68
|
-
faces.each do |face|
|
69
|
-
File.open("./man/man8/puppet-#{face}.8.ronn", 'w') do |fh|
|
70
|
-
fh.write manface.man("#{face}")
|
71
|
-
end
|
72
|
-
|
73
|
-
%x{#{ronn} #{ronn_args} ./man/man8/puppet-#{face}.8.ronn}
|
74
|
-
FileUtils.rm("./man/man8/puppet-#{face}.8.ronn")
|
75
|
-
end
|
76
|
-
|
77
48
|
# Delete orphaned manpages if binary was deleted
|
78
49
|
Dir.glob(%w{./man/man8/puppet-*.8}) do |app|
|
79
50
|
appname = app.match(/puppet-(.*)\.8/)[1]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: puppet
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.
|
4
|
+
version: 6.16.0
|
5
5
|
platform: x86-mingw32
|
6
6
|
authors:
|
7
7
|
- Puppet Labs
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-05-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: facter
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: 2.0.1
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: '
|
22
|
+
version: '5'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: 2.0.1
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: '
|
32
|
+
version: '5'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: hiera
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -261,7 +261,6 @@ extra_rdoc_files: []
|
|
261
261
|
files:
|
262
262
|
- CODEOWNERS
|
263
263
|
- CODE_OF_CONDUCT.md
|
264
|
-
- COMMITTERS.md
|
265
264
|
- CONTRIBUTING.md
|
266
265
|
- Gemfile
|
267
266
|
- Gemfile.lock
|
@@ -435,6 +434,10 @@ files:
|
|
435
434
|
- lib/puppet/application_support.rb
|
436
435
|
- lib/puppet/coercion.rb
|
437
436
|
- lib/puppet/compilable_resource_type.rb
|
437
|
+
- lib/puppet/concurrent.rb
|
438
|
+
- lib/puppet/concurrent/lock.rb
|
439
|
+
- lib/puppet/concurrent/synchronized.rb
|
440
|
+
- lib/puppet/concurrent/thread_local_singleton.rb
|
438
441
|
- lib/puppet/configurer.rb
|
439
442
|
- lib/puppet/configurer/downloader.rb
|
440
443
|
- lib/puppet/configurer/fact_handler.rb
|
@@ -573,6 +576,7 @@ files:
|
|
573
576
|
- lib/puppet/functions/eyaml_lookup_key.rb
|
574
577
|
- lib/puppet/functions/filter.rb
|
575
578
|
- lib/puppet/functions/find_file.rb
|
579
|
+
- lib/puppet/functions/find_template.rb
|
576
580
|
- lib/puppet/functions/flatten.rb
|
577
581
|
- lib/puppet/functions/floor.rb
|
578
582
|
- lib/puppet/functions/get.rb
|
@@ -647,14 +651,19 @@ files:
|
|
647
651
|
- lib/puppet/http.rb
|
648
652
|
- lib/puppet/http/client.rb
|
649
653
|
- lib/puppet/http/errors.rb
|
654
|
+
- lib/puppet/http/external_client.rb
|
650
655
|
- lib/puppet/http/redirector.rb
|
651
656
|
- lib/puppet/http/resolver.rb
|
657
|
+
- lib/puppet/http/resolver/server_list.rb
|
652
658
|
- lib/puppet/http/resolver/settings.rb
|
653
659
|
- lib/puppet/http/resolver/srv.rb
|
654
660
|
- lib/puppet/http/response.rb
|
655
661
|
- lib/puppet/http/retry_after_handler.rb
|
656
662
|
- lib/puppet/http/service.rb
|
657
663
|
- lib/puppet/http/service/ca.rb
|
664
|
+
- lib/puppet/http/service/compiler.rb
|
665
|
+
- lib/puppet/http/service/file_server.rb
|
666
|
+
- lib/puppet/http/service/report.rb
|
658
667
|
- lib/puppet/http/session.rb
|
659
668
|
- lib/puppet/indirector.rb
|
660
669
|
- lib/puppet/indirector/catalog/compiler.rb
|
@@ -797,6 +806,7 @@ files:
|
|
797
806
|
- lib/puppet/network/http/base_pool.rb
|
798
807
|
- lib/puppet/network/http/compression.rb
|
799
808
|
- lib/puppet/network/http/connection.rb
|
809
|
+
- lib/puppet/network/http/connection_adapter.rb
|
800
810
|
- lib/puppet/network/http/error.rb
|
801
811
|
- lib/puppet/network/http/factory.rb
|
802
812
|
- lib/puppet/network/http/handler.rb
|
@@ -1229,6 +1239,7 @@ files:
|
|
1229
1239
|
- lib/puppet/settings/errors.rb
|
1230
1240
|
- lib/puppet/settings/file_or_directory_setting.rb
|
1231
1241
|
- lib/puppet/settings/file_setting.rb
|
1242
|
+
- lib/puppet/settings/http_extra_headers_setting.rb
|
1232
1243
|
- lib/puppet/settings/ini_file.rb
|
1233
1244
|
- lib/puppet/settings/path_setting.rb
|
1234
1245
|
- lib/puppet/settings/priority_setting.rb
|
@@ -1354,6 +1365,18 @@ files:
|
|
1354
1365
|
- lib/puppet/util/network_device/transport.rb
|
1355
1366
|
- lib/puppet/util/network_device/transport/base.rb
|
1356
1367
|
- lib/puppet/util/package.rb
|
1368
|
+
- lib/puppet/util/package/version/debian.rb
|
1369
|
+
- lib/puppet/util/package/version/gem.rb
|
1370
|
+
- lib/puppet/util/package/version/pip.rb
|
1371
|
+
- lib/puppet/util/package/version/range.rb
|
1372
|
+
- lib/puppet/util/package/version/range/eq.rb
|
1373
|
+
- lib/puppet/util/package/version/range/gt.rb
|
1374
|
+
- lib/puppet/util/package/version/range/gt_eq.rb
|
1375
|
+
- lib/puppet/util/package/version/range/lt.rb
|
1376
|
+
- lib/puppet/util/package/version/range/lt_eq.rb
|
1377
|
+
- lib/puppet/util/package/version/range/min_max.rb
|
1378
|
+
- lib/puppet/util/package/version/range/simple.rb
|
1379
|
+
- lib/puppet/util/package/version/rpm.rb
|
1357
1380
|
- lib/puppet/util/pidlock.rb
|
1358
1381
|
- lib/puppet/util/platform.rb
|
1359
1382
|
- lib/puppet/util/plist.rb
|
@@ -1376,6 +1399,7 @@ files:
|
|
1376
1399
|
- lib/puppet/util/reference.rb
|
1377
1400
|
- lib/puppet/util/resource_template.rb
|
1378
1401
|
- lib/puppet/util/retry_action.rb
|
1402
|
+
- lib/puppet/util/rpm_compare.rb
|
1379
1403
|
- lib/puppet/util/rubygems.rb
|
1380
1404
|
- lib/puppet/util/run_mode.rb
|
1381
1405
|
- lib/puppet/util/selinux.rb
|
@@ -1518,6 +1542,10 @@ files:
|
|
1518
1542
|
- spec/fixtures/ssl/signed.pem
|
1519
1543
|
- spec/fixtures/ssl/tampered-cert.pem
|
1520
1544
|
- spec/fixtures/ssl/tampered-csr.pem
|
1545
|
+
- spec/fixtures/ssl/unknown-127.0.0.1-key.pem
|
1546
|
+
- spec/fixtures/ssl/unknown-127.0.0.1.pem
|
1547
|
+
- spec/fixtures/ssl/unknown-ca-key.pem
|
1548
|
+
- spec/fixtures/ssl/unknown-ca.pem
|
1521
1549
|
- spec/fixtures/stdlib.tgz
|
1522
1550
|
- spec/fixtures/unit/application/environments/production/data/common.yaml
|
1523
1551
|
- spec/fixtures/unit/application/environments/production/environment.conf
|
@@ -1591,6 +1619,7 @@ files:
|
|
1591
1619
|
- spec/fixtures/unit/data_providers/environments/production/modules/xyz/functions/data.pp
|
1592
1620
|
- spec/fixtures/unit/data_providers/environments/production/modules/xyz/manifests/init.pp
|
1593
1621
|
- spec/fixtures/unit/data_providers/environments/production/modules/xyz/metadata.json
|
1622
|
+
- spec/fixtures/unit/forge/bacula.json
|
1594
1623
|
- spec/fixtures/unit/functions/hiera/hiera/backend/hieraspec_backend.rb
|
1595
1624
|
- spec/fixtures/unit/functions/lookup/data/common.yaml
|
1596
1625
|
- spec/fixtures/unit/functions/lookup/hiera/backend/custom_backend.rb
|
@@ -1786,7 +1815,7 @@ files:
|
|
1786
1815
|
- spec/fixtures/unit/provider/cron/crontab/vixie_header.txt
|
1787
1816
|
- spec/fixtures/unit/provider/cron/parsed/managed
|
1788
1817
|
- spec/fixtures/unit/provider/cron/parsed/simple
|
1789
|
-
- spec/fixtures/unit/provider/package/dnfmodule/dnf-module-list
|
1818
|
+
- spec/fixtures/unit/provider/package/dnfmodule/dnf-module-list.txt
|
1790
1819
|
- spec/fixtures/unit/provider/package/gem/gem-list-single-package
|
1791
1820
|
- spec/fixtures/unit/provider/package/gem/line-with-1.8.5-warning
|
1792
1821
|
- spec/fixtures/unit/provider/package/openbsd/pkginfo.detail
|
@@ -1814,8 +1843,10 @@ files:
|
|
1814
1843
|
- spec/fixtures/unit/provider/package/yum/yum-check-update-plugin-output.txt
|
1815
1844
|
- spec/fixtures/unit/provider/package/yum/yum-check-update-security.txt
|
1816
1845
|
- spec/fixtures/unit/provider/package/yum/yum-check-update-simple.txt
|
1846
|
+
- spec/fixtures/unit/provider/package/yum/yum-check-update-subscription-manager.txt
|
1817
1847
|
- spec/fixtures/unit/provider/package/zypper/zypper-list-updates-SLES11sp1.out
|
1818
1848
|
- spec/fixtures/unit/provider/package/zypper/zypper-list-updates-empty.out
|
1849
|
+
- spec/fixtures/unit/provider/package/zypper/zypper-search-uninstalled.out
|
1819
1850
|
- spec/fixtures/unit/provider/parsedfile/aliases.txt
|
1820
1851
|
- spec/fixtures/unit/provider/parsedfile/simple.txt
|
1821
1852
|
- spec/fixtures/unit/provider/service/base/ps_ef.mixed_encoding
|
@@ -1848,9 +1879,12 @@ files:
|
|
1848
1879
|
- spec/fixtures/yaml/report2.6.x.yaml
|
1849
1880
|
- spec/fixtures/yaml/test.local.yaml
|
1850
1881
|
- spec/integration/agent/logging_spec.rb
|
1882
|
+
- spec/integration/application/agent_spec.rb
|
1851
1883
|
- spec/integration/application/apply_spec.rb
|
1852
1884
|
- spec/integration/application/doc_spec.rb
|
1885
|
+
- spec/integration/application/filebucket_spec.rb
|
1853
1886
|
- spec/integration/application/lookup_spec.rb
|
1887
|
+
- spec/integration/application/plugin_spec.rb
|
1854
1888
|
- spec/integration/configurer_spec.rb
|
1855
1889
|
- spec/integration/data_binding_spec.rb
|
1856
1890
|
- spec/integration/defaults_spec.rb
|
@@ -1861,18 +1895,20 @@ files:
|
|
1861
1895
|
- spec/integration/environments/settings_spec.rb
|
1862
1896
|
- spec/integration/faces/config_spec.rb
|
1863
1897
|
- spec/integration/faces/documentation_spec.rb
|
1864
|
-
- spec/integration/faces/plugin_spec.rb
|
1865
1898
|
- spec/integration/file_bucket/file_spec.rb
|
1866
1899
|
- spec/integration/file_serving/content_spec.rb
|
1867
1900
|
- spec/integration/file_serving/fileset_spec.rb
|
1868
1901
|
- spec/integration/file_serving/metadata_spec.rb
|
1869
1902
|
- spec/integration/file_serving/terminus_helper_spec.rb
|
1870
1903
|
- spec/integration/file_system/uniquefile_spec.rb
|
1904
|
+
- spec/integration/http/client_spec.rb
|
1871
1905
|
- spec/integration/indirector/catalog/compiler_spec.rb
|
1872
1906
|
- spec/integration/indirector/direct_file_server_spec.rb
|
1873
1907
|
- spec/integration/indirector/facts/facter_spec.rb
|
1874
1908
|
- spec/integration/indirector/file_content/file_server_spec.rb
|
1875
1909
|
- spec/integration/indirector/file_metadata/file_server_spec.rb
|
1910
|
+
- spec/integration/indirector/report/yaml.rb
|
1911
|
+
- spec/integration/module_tool/forge_spec.rb
|
1876
1912
|
- spec/integration/module_tool/tar/mini_spec.rb
|
1877
1913
|
- spec/integration/network/authconfig_spec.rb
|
1878
1914
|
- spec/integration/network/formats_spec.rb
|
@@ -1960,11 +1996,11 @@ files:
|
|
1960
1996
|
- spec/lib/puppet_spec/modules.rb
|
1961
1997
|
- spec/lib/puppet_spec/network.rb
|
1962
1998
|
- spec/lib/puppet_spec/pops.rb
|
1999
|
+
- spec/lib/puppet_spec/puppetserver.rb
|
1963
2000
|
- spec/lib/puppet_spec/scope.rb
|
1964
2001
|
- spec/lib/puppet_spec/settings.rb
|
1965
2002
|
- spec/lib/puppet_spec/ssl.rb
|
1966
2003
|
- spec/lib/puppet_spec/unindent.rb
|
1967
|
-
- spec/lib/puppet_spec/validators.rb
|
1968
2004
|
- spec/lib/puppet_spec/verbose.rb
|
1969
2005
|
- spec/shared_behaviours/all_parsedfile_providers.rb
|
1970
2006
|
- spec/shared_behaviours/an_indirector_face.rb
|
@@ -1980,6 +2016,7 @@ files:
|
|
1980
2016
|
- spec/shared_behaviours/things_that_declare_options.rb
|
1981
2017
|
- spec/shared_contexts/checksum.rb
|
1982
2018
|
- spec/shared_contexts/digests.rb
|
2019
|
+
- spec/shared_contexts/https.rb
|
1983
2020
|
- spec/shared_contexts/types_setup.rb
|
1984
2021
|
- spec/shared_examples/rhel_package_provider.rb
|
1985
2022
|
- spec/spec_helper.rb
|
@@ -2002,6 +2039,7 @@ files:
|
|
2002
2039
|
- spec/unit/application_spec.rb
|
2003
2040
|
- spec/unit/capability_spec.rb
|
2004
2041
|
- spec/unit/certificate_factory_spec.rb
|
2042
|
+
- spec/unit/concurrent/lock_spec.rb
|
2005
2043
|
- spec/unit/configurer/downloader_spec.rb
|
2006
2044
|
- spec/unit/configurer/fact_handler_spec.rb
|
2007
2045
|
- spec/unit/configurer/plugin_handler_spec.rb
|
@@ -2094,6 +2132,7 @@ files:
|
|
2094
2132
|
- spec/unit/functions/epp_spec.rb
|
2095
2133
|
- spec/unit/functions/filter_spec.rb
|
2096
2134
|
- spec/unit/functions/find_file_spec.rb
|
2135
|
+
- spec/unit/functions/find_template_spec.rb
|
2097
2136
|
- spec/unit/functions/flatten_spec.rb
|
2098
2137
|
- spec/unit/functions/floor_spec.rb
|
2099
2138
|
- spec/unit/functions/get_spec.rb
|
@@ -2155,8 +2194,13 @@ files:
|
|
2155
2194
|
- spec/unit/hiera/scope_spec.rb
|
2156
2195
|
- spec/unit/hiera_puppet_spec.rb
|
2157
2196
|
- spec/unit/http/client_spec.rb
|
2197
|
+
- spec/unit/http/external_client_spec.rb
|
2158
2198
|
- spec/unit/http/resolver_spec.rb
|
2199
|
+
- spec/unit/http/response_spec.rb
|
2159
2200
|
- spec/unit/http/service/ca_spec.rb
|
2201
|
+
- spec/unit/http/service/compiler_spec.rb
|
2202
|
+
- spec/unit/http/service/file_server_spec.rb
|
2203
|
+
- spec/unit/http/service/report_spec.rb
|
2160
2204
|
- spec/unit/http/service_spec.rb
|
2161
2205
|
- spec/unit/http/session_spec.rb
|
2162
2206
|
- spec/unit/indirector/catalog/compiler_spec.rb
|
@@ -2189,6 +2233,7 @@ files:
|
|
2189
2233
|
- spec/unit/indirector/file_content/selector_spec.rb
|
2190
2234
|
- spec/unit/indirector/file_metadata/file_server_spec.rb
|
2191
2235
|
- spec/unit/indirector/file_metadata/file_spec.rb
|
2236
|
+
- spec/unit/indirector/file_metadata/http_spec.rb
|
2192
2237
|
- spec/unit/indirector/file_metadata/rest_spec.rb
|
2193
2238
|
- spec/unit/indirector/file_metadata/selector_spec.rb
|
2194
2239
|
- spec/unit/indirector/file_server_spec.rb
|
@@ -2478,6 +2523,7 @@ files:
|
|
2478
2523
|
- spec/unit/provider/package/windows_spec.rb
|
2479
2524
|
- spec/unit/provider/package/yum_spec.rb
|
2480
2525
|
- spec/unit/provider/package/zypper_spec.rb
|
2526
|
+
- spec/unit/provider/package_targetable_spec.rb
|
2481
2527
|
- spec/unit/provider/parsedfile_spec.rb
|
2482
2528
|
- spec/unit/provider/service/base_spec.rb
|
2483
2529
|
- spec/unit/provider/service/bsd_spec.rb
|
@@ -2535,6 +2581,7 @@ files:
|
|
2535
2581
|
- spec/unit/settings/enum_setting_spec.rb
|
2536
2582
|
- spec/unit/settings/environment_conf_spec.rb
|
2537
2583
|
- spec/unit/settings/file_setting_spec.rb
|
2584
|
+
- spec/unit/settings/http_extra_headers_spec.rb
|
2538
2585
|
- spec/unit/settings/ini_file_spec.rb
|
2539
2586
|
- spec/unit/settings/path_setting_spec.rb
|
2540
2587
|
- spec/unit/settings/priority_setting_spec.rb
|
@@ -2625,6 +2672,10 @@ files:
|
|
2625
2672
|
- spec/unit/util/network_device/config_spec.rb
|
2626
2673
|
- spec/unit/util/network_device/transport/base_spec.rb
|
2627
2674
|
- spec/unit/util/network_device_spec.rb
|
2675
|
+
- spec/unit/util/package/version/debian_spec.rb
|
2676
|
+
- spec/unit/util/package/version/pip_spec.rb
|
2677
|
+
- spec/unit/util/package/version/range_spec.rb
|
2678
|
+
- spec/unit/util/package/version/rpm_spec.rb
|
2628
2679
|
- spec/unit/util/package_spec.rb
|
2629
2680
|
- spec/unit/util/pidlock_spec.rb
|
2630
2681
|
- spec/unit/util/plist_spec.rb
|
@@ -2639,6 +2690,7 @@ files:
|
|
2639
2690
|
- spec/unit/util/reference_spec.rb
|
2640
2691
|
- spec/unit/util/resource_template_spec.rb
|
2641
2692
|
- spec/unit/util/retry_action_spec.rb
|
2693
|
+
- spec/unit/util/rpm_compare_spec.rb
|
2642
2694
|
- spec/unit/util/rubygems_spec.rb
|
2643
2695
|
- spec/unit/util/run_mode_spec.rb
|
2644
2696
|
- spec/unit/util/selinux_spec.rb
|
@@ -2705,7 +2757,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
2705
2757
|
- !ruby/object:Gem::Version
|
2706
2758
|
version: 1.3.1
|
2707
2759
|
requirements: []
|
2708
|
-
rubygems_version: 3.0.
|
2760
|
+
rubygems_version: 3.0.6
|
2709
2761
|
signing_key:
|
2710
2762
|
specification_version: 4
|
2711
2763
|
summary: Puppet, an automated configuration management tool
|
@@ -2767,6 +2819,10 @@ test_files:
|
|
2767
2819
|
- spec/fixtures/ssl/signed.pem
|
2768
2820
|
- spec/fixtures/ssl/tampered-cert.pem
|
2769
2821
|
- spec/fixtures/ssl/tampered-csr.pem
|
2822
|
+
- spec/fixtures/ssl/unknown-127.0.0.1-key.pem
|
2823
|
+
- spec/fixtures/ssl/unknown-127.0.0.1.pem
|
2824
|
+
- spec/fixtures/ssl/unknown-ca-key.pem
|
2825
|
+
- spec/fixtures/ssl/unknown-ca.pem
|
2770
2826
|
- spec/fixtures/stdlib.tgz
|
2771
2827
|
- spec/fixtures/unit/application/environments/production/data/common.yaml
|
2772
2828
|
- spec/fixtures/unit/application/environments/production/environment.conf
|
@@ -2840,6 +2896,7 @@ test_files:
|
|
2840
2896
|
- spec/fixtures/unit/data_providers/environments/production/modules/xyz/functions/data.pp
|
2841
2897
|
- spec/fixtures/unit/data_providers/environments/production/modules/xyz/manifests/init.pp
|
2842
2898
|
- spec/fixtures/unit/data_providers/environments/production/modules/xyz/metadata.json
|
2899
|
+
- spec/fixtures/unit/forge/bacula.json
|
2843
2900
|
- spec/fixtures/unit/functions/hiera/hiera/backend/hieraspec_backend.rb
|
2844
2901
|
- spec/fixtures/unit/functions/lookup/data/common.yaml
|
2845
2902
|
- spec/fixtures/unit/functions/lookup/hiera/backend/custom_backend.rb
|
@@ -3035,7 +3092,7 @@ test_files:
|
|
3035
3092
|
- spec/fixtures/unit/provider/cron/crontab/vixie_header.txt
|
3036
3093
|
- spec/fixtures/unit/provider/cron/parsed/managed
|
3037
3094
|
- spec/fixtures/unit/provider/cron/parsed/simple
|
3038
|
-
- spec/fixtures/unit/provider/package/dnfmodule/dnf-module-list
|
3095
|
+
- spec/fixtures/unit/provider/package/dnfmodule/dnf-module-list.txt
|
3039
3096
|
- spec/fixtures/unit/provider/package/gem/gem-list-single-package
|
3040
3097
|
- spec/fixtures/unit/provider/package/gem/line-with-1.8.5-warning
|
3041
3098
|
- spec/fixtures/unit/provider/package/openbsd/pkginfo.detail
|
@@ -3063,8 +3120,10 @@ test_files:
|
|
3063
3120
|
- spec/fixtures/unit/provider/package/yum/yum-check-update-plugin-output.txt
|
3064
3121
|
- spec/fixtures/unit/provider/package/yum/yum-check-update-security.txt
|
3065
3122
|
- spec/fixtures/unit/provider/package/yum/yum-check-update-simple.txt
|
3123
|
+
- spec/fixtures/unit/provider/package/yum/yum-check-update-subscription-manager.txt
|
3066
3124
|
- spec/fixtures/unit/provider/package/zypper/zypper-list-updates-SLES11sp1.out
|
3067
3125
|
- spec/fixtures/unit/provider/package/zypper/zypper-list-updates-empty.out
|
3126
|
+
- spec/fixtures/unit/provider/package/zypper/zypper-search-uninstalled.out
|
3068
3127
|
- spec/fixtures/unit/provider/parsedfile/aliases.txt
|
3069
3128
|
- spec/fixtures/unit/provider/parsedfile/simple.txt
|
3070
3129
|
- spec/fixtures/unit/provider/service/base/ps_ef.mixed_encoding
|
@@ -3097,9 +3156,12 @@ test_files:
|
|
3097
3156
|
- spec/fixtures/yaml/report2.6.x.yaml
|
3098
3157
|
- spec/fixtures/yaml/test.local.yaml
|
3099
3158
|
- spec/integration/agent/logging_spec.rb
|
3159
|
+
- spec/integration/application/agent_spec.rb
|
3100
3160
|
- spec/integration/application/apply_spec.rb
|
3101
3161
|
- spec/integration/application/doc_spec.rb
|
3162
|
+
- spec/integration/application/filebucket_spec.rb
|
3102
3163
|
- spec/integration/application/lookup_spec.rb
|
3164
|
+
- spec/integration/application/plugin_spec.rb
|
3103
3165
|
- spec/integration/configurer_spec.rb
|
3104
3166
|
- spec/integration/data_binding_spec.rb
|
3105
3167
|
- spec/integration/defaults_spec.rb
|
@@ -3110,18 +3172,20 @@ test_files:
|
|
3110
3172
|
- spec/integration/environments/settings_spec.rb
|
3111
3173
|
- spec/integration/faces/config_spec.rb
|
3112
3174
|
- spec/integration/faces/documentation_spec.rb
|
3113
|
-
- spec/integration/faces/plugin_spec.rb
|
3114
3175
|
- spec/integration/file_bucket/file_spec.rb
|
3115
3176
|
- spec/integration/file_serving/content_spec.rb
|
3116
3177
|
- spec/integration/file_serving/fileset_spec.rb
|
3117
3178
|
- spec/integration/file_serving/metadata_spec.rb
|
3118
3179
|
- spec/integration/file_serving/terminus_helper_spec.rb
|
3119
3180
|
- spec/integration/file_system/uniquefile_spec.rb
|
3181
|
+
- spec/integration/http/client_spec.rb
|
3120
3182
|
- spec/integration/indirector/catalog/compiler_spec.rb
|
3121
3183
|
- spec/integration/indirector/direct_file_server_spec.rb
|
3122
3184
|
- spec/integration/indirector/facts/facter_spec.rb
|
3123
3185
|
- spec/integration/indirector/file_content/file_server_spec.rb
|
3124
3186
|
- spec/integration/indirector/file_metadata/file_server_spec.rb
|
3187
|
+
- spec/integration/indirector/report/yaml.rb
|
3188
|
+
- spec/integration/module_tool/forge_spec.rb
|
3125
3189
|
- spec/integration/module_tool/tar/mini_spec.rb
|
3126
3190
|
- spec/integration/network/authconfig_spec.rb
|
3127
3191
|
- spec/integration/network/formats_spec.rb
|
@@ -3209,11 +3273,11 @@ test_files:
|
|
3209
3273
|
- spec/lib/puppet_spec/modules.rb
|
3210
3274
|
- spec/lib/puppet_spec/network.rb
|
3211
3275
|
- spec/lib/puppet_spec/pops.rb
|
3276
|
+
- spec/lib/puppet_spec/puppetserver.rb
|
3212
3277
|
- spec/lib/puppet_spec/scope.rb
|
3213
3278
|
- spec/lib/puppet_spec/settings.rb
|
3214
3279
|
- spec/lib/puppet_spec/ssl.rb
|
3215
3280
|
- spec/lib/puppet_spec/unindent.rb
|
3216
|
-
- spec/lib/puppet_spec/validators.rb
|
3217
3281
|
- spec/lib/puppet_spec/verbose.rb
|
3218
3282
|
- spec/shared_behaviours/all_parsedfile_providers.rb
|
3219
3283
|
- spec/shared_behaviours/an_indirector_face.rb
|
@@ -3229,6 +3293,7 @@ test_files:
|
|
3229
3293
|
- spec/shared_behaviours/things_that_declare_options.rb
|
3230
3294
|
- spec/shared_contexts/checksum.rb
|
3231
3295
|
- spec/shared_contexts/digests.rb
|
3296
|
+
- spec/shared_contexts/https.rb
|
3232
3297
|
- spec/shared_contexts/types_setup.rb
|
3233
3298
|
- spec/shared_examples/rhel_package_provider.rb
|
3234
3299
|
- spec/spec_helper.rb
|
@@ -3251,6 +3316,7 @@ test_files:
|
|
3251
3316
|
- spec/unit/application_spec.rb
|
3252
3317
|
- spec/unit/capability_spec.rb
|
3253
3318
|
- spec/unit/certificate_factory_spec.rb
|
3319
|
+
- spec/unit/concurrent/lock_spec.rb
|
3254
3320
|
- spec/unit/configurer/downloader_spec.rb
|
3255
3321
|
- spec/unit/configurer/fact_handler_spec.rb
|
3256
3322
|
- spec/unit/configurer/plugin_handler_spec.rb
|
@@ -3343,6 +3409,7 @@ test_files:
|
|
3343
3409
|
- spec/unit/functions/epp_spec.rb
|
3344
3410
|
- spec/unit/functions/filter_spec.rb
|
3345
3411
|
- spec/unit/functions/find_file_spec.rb
|
3412
|
+
- spec/unit/functions/find_template_spec.rb
|
3346
3413
|
- spec/unit/functions/flatten_spec.rb
|
3347
3414
|
- spec/unit/functions/floor_spec.rb
|
3348
3415
|
- spec/unit/functions/get_spec.rb
|
@@ -3404,8 +3471,13 @@ test_files:
|
|
3404
3471
|
- spec/unit/hiera/scope_spec.rb
|
3405
3472
|
- spec/unit/hiera_puppet_spec.rb
|
3406
3473
|
- spec/unit/http/client_spec.rb
|
3474
|
+
- spec/unit/http/external_client_spec.rb
|
3407
3475
|
- spec/unit/http/resolver_spec.rb
|
3476
|
+
- spec/unit/http/response_spec.rb
|
3408
3477
|
- spec/unit/http/service/ca_spec.rb
|
3478
|
+
- spec/unit/http/service/compiler_spec.rb
|
3479
|
+
- spec/unit/http/service/file_server_spec.rb
|
3480
|
+
- spec/unit/http/service/report_spec.rb
|
3409
3481
|
- spec/unit/http/service_spec.rb
|
3410
3482
|
- spec/unit/http/session_spec.rb
|
3411
3483
|
- spec/unit/indirector/catalog/compiler_spec.rb
|
@@ -3438,6 +3510,7 @@ test_files:
|
|
3438
3510
|
- spec/unit/indirector/file_content/selector_spec.rb
|
3439
3511
|
- spec/unit/indirector/file_metadata/file_server_spec.rb
|
3440
3512
|
- spec/unit/indirector/file_metadata/file_spec.rb
|
3513
|
+
- spec/unit/indirector/file_metadata/http_spec.rb
|
3441
3514
|
- spec/unit/indirector/file_metadata/rest_spec.rb
|
3442
3515
|
- spec/unit/indirector/file_metadata/selector_spec.rb
|
3443
3516
|
- spec/unit/indirector/file_server_spec.rb
|
@@ -3727,6 +3800,7 @@ test_files:
|
|
3727
3800
|
- spec/unit/provider/package/windows_spec.rb
|
3728
3801
|
- spec/unit/provider/package/yum_spec.rb
|
3729
3802
|
- spec/unit/provider/package/zypper_spec.rb
|
3803
|
+
- spec/unit/provider/package_targetable_spec.rb
|
3730
3804
|
- spec/unit/provider/parsedfile_spec.rb
|
3731
3805
|
- spec/unit/provider/service/base_spec.rb
|
3732
3806
|
- spec/unit/provider/service/bsd_spec.rb
|
@@ -3784,6 +3858,7 @@ test_files:
|
|
3784
3858
|
- spec/unit/settings/enum_setting_spec.rb
|
3785
3859
|
- spec/unit/settings/environment_conf_spec.rb
|
3786
3860
|
- spec/unit/settings/file_setting_spec.rb
|
3861
|
+
- spec/unit/settings/http_extra_headers_spec.rb
|
3787
3862
|
- spec/unit/settings/ini_file_spec.rb
|
3788
3863
|
- spec/unit/settings/path_setting_spec.rb
|
3789
3864
|
- spec/unit/settings/priority_setting_spec.rb
|
@@ -3874,6 +3949,10 @@ test_files:
|
|
3874
3949
|
- spec/unit/util/network_device/config_spec.rb
|
3875
3950
|
- spec/unit/util/network_device/transport/base_spec.rb
|
3876
3951
|
- spec/unit/util/network_device_spec.rb
|
3952
|
+
- spec/unit/util/package/version/debian_spec.rb
|
3953
|
+
- spec/unit/util/package/version/pip_spec.rb
|
3954
|
+
- spec/unit/util/package/version/range_spec.rb
|
3955
|
+
- spec/unit/util/package/version/rpm_spec.rb
|
3877
3956
|
- spec/unit/util/package_spec.rb
|
3878
3957
|
- spec/unit/util/pidlock_spec.rb
|
3879
3958
|
- spec/unit/util/plist_spec.rb
|
@@ -3888,6 +3967,7 @@ test_files:
|
|
3888
3967
|
- spec/unit/util/reference_spec.rb
|
3889
3968
|
- spec/unit/util/resource_template_spec.rb
|
3890
3969
|
- spec/unit/util/retry_action_spec.rb
|
3970
|
+
- spec/unit/util/rpm_compare_spec.rb
|
3891
3971
|
- spec/unit/util/rubygems_spec.rb
|
3892
3972
|
- spec/unit/util/run_mode_spec.rb
|
3893
3973
|
- spec/unit/util/selinux_spec.rb
|