puppet 7.6.1 → 7.7.0
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.lock +9 -9
- data/install.rb +11 -11
- data/lib/hiera_puppet.rb +1 -1
- data/lib/puppet.rb +37 -37
- data/lib/puppet/agent.rb +6 -6
- data/lib/puppet/agent/disabler.rb +1 -1
- data/lib/puppet/agent/locker.rb +2 -2
- data/lib/puppet/application.rb +6 -6
- data/lib/puppet/application/agent.rb +18 -11
- data/lib/puppet/application/apply.rb +6 -5
- data/lib/puppet/application/catalog.rb +1 -1
- data/lib/puppet/application/config.rb +1 -1
- data/lib/puppet/application/describe.rb +1 -1
- data/lib/puppet/application/device.rb +8 -7
- data/lib/puppet/application/doc.rb +7 -7
- data/lib/puppet/application/epp.rb +2 -2
- data/lib/puppet/application/face_base.rb +2 -2
- data/lib/puppet/application/facts.rb +1 -1
- data/lib/puppet/application/filebucket.rb +2 -2
- data/lib/puppet/application/generate.rb +1 -1
- data/lib/puppet/application/help.rb +1 -1
- data/lib/puppet/application/indirection_base.rb +1 -1
- data/lib/puppet/application/lookup.rb +6 -6
- data/lib/puppet/application/module.rb +1 -1
- data/lib/puppet/application/node.rb +1 -1
- data/lib/puppet/application/parser.rb +2 -2
- data/lib/puppet/application/plugin.rb +1 -1
- data/lib/puppet/application/report.rb +1 -1
- data/lib/puppet/application/resource.rb +3 -2
- data/lib/puppet/application/script.rb +6 -5
- data/lib/puppet/application/ssl.rb +2 -2
- data/lib/puppet/application_support.rb +4 -4
- data/lib/puppet/compilable_resource_type.rb +1 -1
- data/lib/puppet/concurrent/lock.rb +1 -1
- data/lib/puppet/configurer.rb +4 -4
- data/lib/puppet/configurer/downloader.rb +4 -3
- data/lib/puppet/configurer/fact_handler.rb +3 -3
- data/lib/puppet/configurer/plugin_handler.rb +1 -1
- data/lib/puppet/confine.rb +1 -1
- data/lib/puppet/confine/boolean.rb +1 -1
- data/lib/puppet/confine/exists.rb +1 -1
- data/lib/puppet/confine/false.rb +1 -1
- data/lib/puppet/confine/feature.rb +1 -1
- data/lib/puppet/confine/true.rb +1 -1
- data/lib/puppet/confine/variable.rb +1 -1
- data/lib/puppet/confine_collection.rb +1 -1
- data/lib/puppet/confiner.rb +1 -1
- data/lib/puppet/context.rb +2 -2
- data/lib/puppet/context/trusted_information.rb +1 -1
- data/lib/puppet/daemon.rb +2 -2
- data/lib/puppet/data_binding.rb +1 -1
- data/lib/puppet/datatypes/error.rb +1 -1
- data/lib/puppet/defaults.rb +6 -6
- data/lib/puppet/environments.rb +1 -1
- data/lib/puppet/etc.rb +1 -1
- data/lib/puppet/external/pson/common.rb +1 -1
- data/lib/puppet/external/pson/pure.rb +3 -3
- data/lib/puppet/face.rb +1 -1
- data/lib/puppet/face/catalog.rb +1 -1
- data/lib/puppet/face/config.rb +2 -2
- data/lib/puppet/face/epp.rb +6 -6
- data/lib/puppet/face/facts.rb +2 -2
- data/lib/puppet/face/generate.rb +2 -2
- data/lib/puppet/face/help.rb +3 -3
- data/lib/puppet/face/module.rb +3 -3
- data/lib/puppet/face/module/install.rb +2 -2
- data/lib/puppet/face/node.rb +1 -1
- data/lib/puppet/face/parser.rb +4 -4
- data/lib/puppet/face/plugin.rb +2 -2
- data/lib/puppet/face/report.rb +1 -1
- data/lib/puppet/face/resource.rb +1 -1
- data/lib/puppet/feature/base.rb +2 -2
- data/lib/puppet/feature/bolt.rb +1 -1
- data/lib/puppet/feature/cfpropertylist.rb +1 -1
- data/lib/puppet/feature/eventlog.rb +1 -1
- data/lib/puppet/feature/hiera_eyaml.rb +1 -1
- data/lib/puppet/feature/hocon.rb +1 -1
- data/lib/puppet/feature/libuser.rb +2 -2
- data/lib/puppet/feature/msgpack.rb +1 -1
- data/lib/puppet/feature/pe_license.rb +1 -1
- data/lib/puppet/feature/selinux.rb +1 -1
- data/lib/puppet/feature/ssh.rb +1 -1
- data/lib/puppet/feature/telnet.rb +1 -1
- data/lib/puppet/feature/zlib.rb +1 -1
- data/lib/puppet/ffi/posix.rb +2 -2
- data/lib/puppet/ffi/posix/constants.rb +1 -1
- data/lib/puppet/ffi/posix/functions.rb +1 -1
- data/lib/puppet/ffi/windows.rb +4 -4
- data/lib/puppet/ffi/windows/api_types.rb +2 -2
- data/lib/puppet/ffi/windows/constants.rb +1 -1
- data/lib/puppet/ffi/windows/functions.rb +1 -1
- data/lib/puppet/ffi/windows/structs.rb +1 -1
- data/lib/puppet/file_bucket/dipper.rb +4 -4
- data/lib/puppet/file_bucket/file.rb +3 -3
- data/lib/puppet/file_serving/base.rb +2 -2
- data/lib/puppet/file_serving/configuration.rb +10 -10
- data/lib/puppet/file_serving/configuration/parser.rb +2 -2
- data/lib/puppet/file_serving/content.rb +3 -3
- data/lib/puppet/file_serving/fileset.rb +16 -4
- data/lib/puppet/file_serving/http_metadata.rb +1 -1
- data/lib/puppet/file_serving/metadata.rb +6 -6
- data/lib/puppet/file_serving/mount.rb +4 -4
- data/lib/puppet/file_serving/mount/file.rb +1 -1
- data/lib/puppet/file_serving/mount/locales.rb +1 -1
- data/lib/puppet/file_serving/mount/modules.rb +1 -1
- data/lib/puppet/file_serving/mount/pluginfacts.rb +1 -1
- data/lib/puppet/file_serving/mount/plugins.rb +1 -1
- data/lib/puppet/file_serving/mount/tasks.rb +1 -1
- data/lib/puppet/file_serving/terminus_helper.rb +2 -2
- data/lib/puppet/file_serving/terminus_selector.rb +1 -1
- data/lib/puppet/file_system.rb +9 -9
- data/lib/puppet/file_system/jruby.rb +1 -1
- data/lib/puppet/file_system/path_pattern.rb +1 -1
- data/lib/puppet/file_system/uniquefile.rb +1 -1
- data/lib/puppet/file_system/windows.rb +2 -2
- data/lib/puppet/forge.rb +5 -5
- data/lib/puppet/forge/cache.rb +1 -1
- data/lib/puppet/forge/errors.rb +3 -3
- data/lib/puppet/forge/repository.rb +4 -4
- data/lib/puppet/functions/all.rb +1 -1
- data/lib/puppet/functions/camelcase.rb +1 -1
- data/lib/puppet/functions/capitalize.rb +2 -2
- data/lib/puppet/functions/downcase.rb +2 -2
- data/lib/puppet/functions/get.rb +5 -5
- data/lib/puppet/functions/group_by.rb +13 -5
- data/lib/puppet/functions/lest.rb +1 -1
- data/lib/puppet/functions/new.rb +100 -100
- data/lib/puppet/functions/partition.rb +4 -4
- data/lib/puppet/functions/require.rb +5 -5
- data/lib/puppet/functions/sort.rb +3 -3
- data/lib/puppet/functions/tree_each.rb +7 -9
- data/lib/puppet/functions/type.rb +4 -4
- data/lib/puppet/functions/upcase.rb +2 -2
- data/lib/puppet/functions/versioncmp.rb +1 -1
- data/lib/puppet/generate/models/type/type.rb +1 -1
- data/lib/puppet/generate/type.rb +2 -2
- data/lib/puppet/gettext/config.rb +3 -3
- data/lib/puppet/gettext/module_translations.rb +1 -1
- data/lib/puppet/graph.rb +6 -6
- data/lib/puppet/graph/simple_graph.rb +2 -2
- data/lib/puppet/http.rb +26 -26
- data/lib/puppet/http/factory.rb +2 -2
- data/lib/puppet/http/proxy.rb +1 -1
- data/lib/puppet/http/resolver/server_list.rb +15 -4
- data/lib/puppet/http/service/compiler.rb +73 -1
- data/lib/puppet/http/service/file_server.rb +3 -2
- data/lib/puppet/indirector.rb +5 -5
- data/lib/puppet/indirector/catalog/compiler.rb +7 -6
- data/lib/puppet/indirector/catalog/json.rb +2 -2
- data/lib/puppet/indirector/catalog/msgpack.rb +2 -2
- data/lib/puppet/indirector/catalog/rest.rb +2 -2
- data/lib/puppet/indirector/catalog/store_configs.rb +2 -2
- data/lib/puppet/indirector/catalog/yaml.rb +2 -2
- data/lib/puppet/indirector/code.rb +1 -1
- data/lib/puppet/indirector/data_binding/hiera.rb +1 -1
- data/lib/puppet/indirector/data_binding/none.rb +1 -1
- data/lib/puppet/indirector/direct_file_server.rb +2 -2
- data/lib/puppet/indirector/envelope.rb +1 -1
- data/lib/puppet/indirector/errors.rb +1 -1
- data/lib/puppet/indirector/exec.rb +2 -2
- data/lib/puppet/indirector/face.rb +1 -1
- data/lib/puppet/indirector/facts/facter.rb +2 -2
- data/lib/puppet/indirector/facts/json.rb +3 -3
- data/lib/puppet/indirector/facts/memory.rb +2 -2
- data/lib/puppet/indirector/facts/network_device.rb +2 -2
- data/lib/puppet/indirector/facts/rest.rb +2 -2
- data/lib/puppet/indirector/facts/store_configs.rb +2 -2
- data/lib/puppet/indirector/facts/yaml.rb +3 -3
- data/lib/puppet/indirector/file_bucket_file/file.rb +4 -4
- data/lib/puppet/indirector/file_bucket_file/rest.rb +2 -2
- data/lib/puppet/indirector/file_bucket_file/selector.rb +1 -1
- data/lib/puppet/indirector/file_content.rb +1 -1
- data/lib/puppet/indirector/file_content/file.rb +3 -3
- data/lib/puppet/indirector/file_content/file_server.rb +3 -3
- data/lib/puppet/indirector/file_content/rest.rb +3 -3
- data/lib/puppet/indirector/file_content/selector.rb +4 -4
- data/lib/puppet/indirector/file_metadata.rb +1 -1
- data/lib/puppet/indirector/file_metadata/file.rb +3 -3
- data/lib/puppet/indirector/file_metadata/file_server.rb +3 -3
- data/lib/puppet/indirector/file_metadata/http.rb +3 -3
- data/lib/puppet/indirector/file_metadata/rest.rb +4 -3
- data/lib/puppet/indirector/file_metadata/selector.rb +4 -4
- data/lib/puppet/indirector/file_server.rb +4 -4
- data/lib/puppet/indirector/generic_http.rb +1 -1
- data/lib/puppet/indirector/hiera.rb +1 -1
- data/lib/puppet/indirector/indirection.rb +5 -5
- data/lib/puppet/indirector/json.rb +2 -2
- data/lib/puppet/indirector/memory.rb +1 -1
- data/lib/puppet/indirector/msgpack.rb +2 -2
- data/lib/puppet/indirector/node/exec.rb +2 -2
- data/lib/puppet/indirector/node/json.rb +2 -2
- data/lib/puppet/indirector/node/memory.rb +2 -2
- data/lib/puppet/indirector/node/msgpack.rb +2 -2
- data/lib/puppet/indirector/node/plain.rb +2 -2
- data/lib/puppet/indirector/node/rest.rb +2 -2
- data/lib/puppet/indirector/node/store_configs.rb +2 -2
- data/lib/puppet/indirector/node/yaml.rb +2 -2
- data/lib/puppet/indirector/none.rb +1 -1
- data/lib/puppet/indirector/plain.rb +1 -1
- data/lib/puppet/indirector/report/json.rb +2 -2
- data/lib/puppet/indirector/report/msgpack.rb +2 -2
- data/lib/puppet/indirector/report/processor.rb +3 -3
- data/lib/puppet/indirector/report/rest.rb +1 -1
- data/lib/puppet/indirector/report/yaml.rb +2 -2
- data/lib/puppet/indirector/request.rb +3 -3
- data/lib/puppet/indirector/resource/ral.rb +1 -1
- data/lib/puppet/indirector/resource/store_configs.rb +2 -2
- data/lib/puppet/indirector/terminus.rb +5 -5
- data/lib/puppet/indirector/yaml.rb +2 -2
- data/lib/puppet/info_service.rb +3 -3
- data/lib/puppet/info_service/class_information_service.rb +3 -3
- data/lib/puppet/info_service/plan_information_service.rb +1 -1
- data/lib/puppet/info_service/task_information_service.rb +1 -1
- data/lib/puppet/interface.rb +10 -10
- data/lib/puppet/interface/documentation.rb +1 -1
- data/lib/puppet/loaders.rb +21 -21
- data/lib/puppet/metatype/manager.rb +3 -3
- data/lib/puppet/module.rb +4 -4
- data/lib/puppet/module/plan.rb +1 -1
- data/lib/puppet/module/task.rb +1 -1
- data/lib/puppet/module_tool.rb +10 -10
- data/lib/puppet/module_tool/applications.rb +7 -7
- data/lib/puppet/module_tool/applications/application.rb +2 -2
- data/lib/puppet/module_tool/applications/checksummer.rb +2 -2
- data/lib/puppet/module_tool/applications/installer.rb +7 -7
- data/lib/puppet/module_tool/applications/unpacker.rb +2 -2
- data/lib/puppet/module_tool/applications/upgrader.rb +5 -5
- data/lib/puppet/module_tool/checksums.rb +1 -1
- data/lib/puppet/module_tool/contents_description.rb +1 -1
- data/lib/puppet/module_tool/dependency.rb +2 -2
- data/lib/puppet/module_tool/errors.rb +6 -6
- data/lib/puppet/module_tool/install_directory.rb +2 -2
- data/lib/puppet/module_tool/installed_modules.rb +2 -2
- data/lib/puppet/module_tool/local_tarball.rb +2 -2
- data/lib/puppet/module_tool/metadata.rb +3 -3
- data/lib/puppet/module_tool/tar.rb +4 -4
- data/lib/puppet/network/format.rb +1 -1
- data/lib/puppet/network/format_handler.rb +3 -3
- data/lib/puppet/network/format_support.rb +1 -1
- data/lib/puppet/network/formats.rb +2 -2
- data/lib/puppet/network/http.rb +12 -12
- data/lib/puppet/network/http/api.rb +1 -1
- data/lib/puppet/network/http/api/indirected_routes.rb +1 -1
- data/lib/puppet/network/http/api/master.rb +1 -1
- data/lib/puppet/network/http/api/master/v3.rb +2 -2
- data/lib/puppet/network/http/api/master/v3/environments.rb +2 -2
- data/lib/puppet/network/http/api/server/v3.rb +2 -2
- data/lib/puppet/network/http/api/server/v3/environments.rb +1 -1
- data/lib/puppet/network/http/connection.rb +1 -1
- data/lib/puppet/network/http/error.rb +1 -1
- data/lib/puppet/network/http/handler.rb +3 -3
- data/lib/puppet/network/http_pool.rb +1 -1
- data/lib/puppet/node.rb +3 -3
- data/lib/puppet/node/environment.rb +3 -3
- data/lib/puppet/node/facts.rb +3 -3
- data/lib/puppet/pal/pal_api.rb +10 -10
- data/lib/puppet/pal/pal_impl.rb +3 -3
- data/lib/puppet/parameter.rb +4 -4
- data/lib/puppet/parameter/boolean.rb +1 -1
- data/lib/puppet/parameter/package_options.rb +1 -1
- data/lib/puppet/parameter/path.rb +1 -1
- data/lib/puppet/parameter/value.rb +1 -1
- data/lib/puppet/parameter/value_collection.rb +1 -1
- data/lib/puppet/parser.rb +10 -10
- data/lib/puppet/parser/ast.rb +8 -8
- data/lib/puppet/parser/ast/hostclass.rb +1 -1
- data/lib/puppet/parser/ast/pops_bridge.rb +2 -2
- data/lib/puppet/parser/catalog_compiler.rb +2 -2
- data/lib/puppet/parser/compiler.rb +5 -5
- data/lib/puppet/parser/e4_parser_adapter.rb +1 -1
- data/lib/puppet/parser/functions.rb +4 -4
- data/lib/puppet/parser/functions/digest.rb +1 -1
- data/lib/puppet/parser/functions/file.rb +1 -1
- data/lib/puppet/parser/functions/fqdn_rand.rb +14 -6
- data/lib/puppet/parser/functions/versioncmp.rb +1 -1
- data/lib/puppet/parser/parser_factory.rb +2 -2
- data/lib/puppet/parser/resource.rb +3 -3
- data/lib/puppet/parser/scope.rb +3 -3
- data/lib/puppet/parser/script_compiler.rb +2 -2
- data/lib/puppet/parser/templatewrapper.rb +2 -2
- data/lib/puppet/parser/type_loader.rb +1 -1
- data/lib/puppet/plugins/configuration.rb +5 -5
- data/lib/puppet/pops.rb +57 -57
- data/lib/puppet/pops/evaluator/deferred_resolver.rb +1 -1
- data/lib/puppet/pops/evaluator/evaluator_impl.rb +7 -7
- data/lib/puppet/pops/evaluator/external_syntax_support.rb +1 -1
- data/lib/puppet/pops/loader/task_instantiator.rb +1 -1
- data/lib/puppet/pops/lookup/invocation.rb +1 -1
- data/lib/puppet/pops/model/ast_transformer.rb +1 -1
- data/lib/puppet/pops/model/pn_transformer.rb +1 -1
- data/lib/puppet/pops/parser/eparser.rb +2 -2
- data/lib/puppet/pops/parser/evaluating_parser.rb +1 -1
- data/lib/puppet/pops/parser/lexer2.rb +5 -5
- data/lib/puppet/pops/parser/lexer_support.rb +1 -1
- data/lib/puppet/pops/parser/parser_support.rb +4 -4
- data/lib/puppet/pops/puppet_stack.rb +1 -1
- data/lib/puppet/pops/serialization/json.rb +1 -1
- data/lib/puppet/pops/serialization/json_path.rb +1 -1
- data/lib/puppet/pops/time/timespan.rb +1 -1
- data/lib/puppet/pops/types/string_converter.rb +1 -1
- data/lib/puppet/pops/types/type_calculator.rb +1 -1
- data/lib/puppet/pops/types/type_formatter.rb +1 -1
- data/lib/puppet/pops/types/type_parser.rb +1 -1
- data/lib/puppet/pops/types/types.rb +1 -1
- data/lib/puppet/pops/validation/checker4_0.rb +1 -1
- data/lib/puppet/property.rb +3 -3
- data/lib/puppet/property/boolean.rb +1 -1
- data/lib/puppet/property/ensure.rb +1 -1
- data/lib/puppet/property/keyvalue.rb +1 -1
- data/lib/puppet/property/list.rb +1 -1
- data/lib/puppet/property/ordered_list.rb +1 -1
- data/lib/puppet/provider.rb +2 -2
- data/lib/puppet/provider/confine.rb +2 -2
- data/lib/puppet/provider/exec.rb +2 -2
- data/lib/puppet/provider/exec/posix.rb +1 -1
- data/lib/puppet/provider/exec/windows.rb +1 -1
- data/lib/puppet/provider/file/posix.rb +1 -1
- data/lib/puppet/provider/file/windows.rb +1 -1
- data/lib/puppet/provider/group/aix.rb +1 -1
- data/lib/puppet/provider/group/directoryservice.rb +1 -1
- data/lib/puppet/provider/group/groupadd.rb +2 -2
- data/lib/puppet/provider/group/ldap.rb +1 -1
- data/lib/puppet/provider/group/pw.rb +1 -1
- data/lib/puppet/provider/group/windows_adsi.rb +1 -1
- data/lib/puppet/provider/ldap.rb +2 -2
- data/lib/puppet/provider/nameservice.rb +1 -1
- data/lib/puppet/provider/nameservice/directoryservice.rb +3 -3
- data/lib/puppet/provider/nameservice/objectadd.rb +1 -1
- data/lib/puppet/provider/nameservice/pw.rb +1 -1
- data/lib/puppet/provider/package.rb +1 -1
- data/lib/puppet/provider/package/aix.rb +2 -2
- data/lib/puppet/provider/package/appdmg.rb +2 -2
- data/lib/puppet/provider/package/apple.rb +1 -1
- data/lib/puppet/provider/package/apt.rb +2 -2
- data/lib/puppet/provider/package/dnfmodule.rb +1 -1
- data/lib/puppet/provider/package/dpkg.rb +1 -1
- data/lib/puppet/provider/package/gem.rb +3 -3
- data/lib/puppet/provider/package/hpux.rb +1 -1
- data/lib/puppet/provider/package/macports.rb +2 -2
- data/lib/puppet/provider/package/nim.rb +2 -2
- data/lib/puppet/provider/package/openbsd.rb +1 -1
- data/lib/puppet/provider/package/opkg.rb +1 -1
- data/lib/puppet/provider/package/pacman.rb +1 -1
- data/lib/puppet/provider/package/pip.rb +3 -3
- data/lib/puppet/provider/package/pkg.rb +2 -2
- data/lib/puppet/provider/package/pkgdmg.rb +3 -3
- data/lib/puppet/provider/package/pkgin.rb +1 -1
- data/lib/puppet/provider/package/pkgng.rb +1 -1
- data/lib/puppet/provider/package/portage.rb +1 -1
- data/lib/puppet/provider/package/portupgrade.rb +1 -1
- data/lib/puppet/provider/package/puppetserver_gem.rb +0 -0
- data/lib/puppet/provider/package/rpm.rb +2 -2
- data/lib/puppet/provider/package/sun.rb +1 -1
- data/lib/puppet/provider/package/windows.rb +3 -3
- data/lib/puppet/provider/package/windows/exe_package.rb +1 -1
- data/lib/puppet/provider/package/windows/msi_package.rb +1 -1
- data/lib/puppet/provider/package/windows/package.rb +4 -4
- data/lib/puppet/provider/package/yum.rb +3 -3
- data/lib/puppet/provider/package_targetable.rb +1 -1
- data/lib/puppet/provider/parsedfile.rb +3 -3
- data/lib/puppet/provider/service/base.rb +6 -4
- data/lib/puppet/provider/service/daemontools.rb +0 -1
- data/lib/puppet/provider/service/debian.rb +3 -5
- data/lib/puppet/provider/service/init.rb +1 -1
- data/lib/puppet/provider/service/launchd.rb +9 -3
- data/lib/puppet/provider/service/service.rb +28 -3
- data/lib/puppet/provider/service/smf.rb +0 -24
- data/lib/puppet/provider/service/src.rb +2 -2
- data/lib/puppet/provider/service/systemd.rb +11 -6
- data/lib/puppet/provider/service/windows.rb +38 -0
- data/lib/puppet/provider/user/aix.rb +2 -2
- data/lib/puppet/provider/user/directoryservice.rb +2 -2
- data/lib/puppet/provider/user/ldap.rb +1 -1
- data/lib/puppet/provider/user/openbsd.rb +1 -1
- data/lib/puppet/provider/user/pw.rb +1 -1
- data/lib/puppet/provider/user/user_role_add.rb +2 -2
- data/lib/puppet/provider/user/useradd.rb +3 -3
- data/lib/puppet/provider/user/windows_adsi.rb +1 -1
- data/lib/puppet/reference/configuration.rb +1 -1
- data/lib/puppet/reference/indirection.rb +4 -4
- data/lib/puppet/reference/report.rb +1 -1
- data/lib/puppet/reports.rb +1 -1
- data/lib/puppet/reports/http.rb +2 -2
- data/lib/puppet/reports/log.rb +1 -1
- data/lib/puppet/reports/store.rb +2 -2
- data/lib/puppet/resource.rb +4 -4
- data/lib/puppet/resource/catalog.rb +5 -5
- data/lib/puppet/resource/status.rb +2 -2
- data/lib/puppet/resource/type.rb +4 -4
- data/lib/puppet/resource/type_collection.rb +4 -4
- data/lib/puppet/runtime.rb +1 -1
- data/lib/puppet/scheduler.rb +4 -4
- data/lib/puppet/settings.rb +28 -28
- data/lib/puppet/settings/autosign_setting.rb +1 -1
- data/lib/puppet/settings/base_setting.rb +2 -2
- data/lib/puppet/settings/certificate_revocation_setting.rb +1 -1
- data/lib/puppet/settings/config_file.rb +1 -1
- data/lib/puppet/settings/errors.rb +1 -1
- data/lib/puppet/settings/priority_setting.rb +3 -3
- data/lib/puppet/ssl.rb +11 -11
- data/lib/puppet/ssl/base.rb +3 -3
- data/lib/puppet/ssl/certificate.rb +1 -1
- data/lib/puppet/ssl/certificate_request.rb +2 -2
- data/lib/puppet/ssl/certificate_request_attributes.rb +2 -2
- data/lib/puppet/ssl/oids.rb +1 -1
- data/lib/puppet/ssl/openssl_loader.rb +1 -1
- data/lib/puppet/ssl/ssl_context.rb +1 -1
- data/lib/puppet/ssl/ssl_provider.rb +1 -1
- data/lib/puppet/ssl/state_machine.rb +2 -2
- data/lib/puppet/ssl/verifier.rb +5 -1
- data/lib/puppet/syntax_checkers/base64.rb +1 -1
- data/lib/puppet/syntax_checkers/epp.rb +1 -1
- data/lib/puppet/syntax_checkers/json.rb +1 -1
- data/lib/puppet/syntax_checkers/pp.rb +1 -1
- data/lib/puppet/transaction.rb +11 -11
- data/lib/puppet/transaction/event.rb +4 -4
- data/lib/puppet/transaction/event_manager.rb +1 -1
- data/lib/puppet/transaction/persistence.rb +1 -1
- data/lib/puppet/transaction/report.rb +2 -2
- data/lib/puppet/transaction/resource_harness.rb +1 -1
- data/lib/puppet/type.rb +14 -14
- data/lib/puppet/type/component.rb +3 -3
- data/lib/puppet/type/file.rb +37 -19
- data/lib/puppet/type/file/checksum.rb +1 -1
- data/lib/puppet/type/file/checksum_value.rb +2 -2
- data/lib/puppet/type/file/content.rb +2 -2
- data/lib/puppet/type/file/data_sync.rb +2 -2
- data/lib/puppet/type/file/ensure.rb +1 -1
- data/lib/puppet/type/file/group.rb +1 -1
- data/lib/puppet/type/file/mode.rb +1 -1
- data/lib/puppet/type/file/selcontext.rb +2 -2
- data/lib/puppet/type/file/source.rb +4 -4
- data/lib/puppet/type/filebucket.rb +1 -1
- data/lib/puppet/type/group.rb +2 -2
- data/lib/puppet/type/package.rb +2 -2
- data/lib/puppet/type/resources.rb +2 -2
- data/lib/puppet/type/service.rb +10 -29
- data/lib/puppet/type/tidy.rb +24 -5
- data/lib/puppet/type/user.rb +4 -4
- data/lib/puppet/util.rb +43 -34
- data/lib/puppet/util/at_fork.rb +3 -3
- data/lib/puppet/util/at_fork/solaris.rb +1 -1
- data/lib/puppet/util/autoload.rb +4 -4
- data/lib/puppet/util/checksums.rb +3 -3
- data/lib/puppet/util/colors.rb +1 -1
- data/lib/puppet/util/command_line.rb +6 -6
- data/lib/puppet/util/command_line/puppet_option_parser.rb +2 -2
- data/lib/puppet/util/execution.rb +2 -2
- data/lib/puppet/util/feature.rb +2 -2
- data/lib/puppet/util/filetype.rb +1 -1
- data/lib/puppet/util/http_proxy.rb +1 -1
- data/lib/puppet/util/inifile.rb +2 -2
- data/lib/puppet/util/instance_loader.rb +3 -3
- data/lib/puppet/util/json_lockfile.rb +1 -1
- data/lib/puppet/util/ldap/connection.rb +1 -1
- data/lib/puppet/util/ldap/generator.rb +1 -1
- data/lib/puppet/util/ldap/manager.rb +3 -3
- data/lib/puppet/util/limits.rb +1 -1
- data/lib/puppet/util/log.rb +6 -6
- data/lib/puppet/util/log/destinations.rb +1 -1
- data/lib/puppet/util/logging.rb +2 -2
- data/lib/puppet/util/metric.rb +2 -2
- data/lib/puppet/util/monkey_patches.rb +7 -3
- data/lib/puppet/util/network_device/base.rb +3 -3
- data/lib/puppet/util/network_device/config.rb +2 -2
- data/lib/puppet/util/network_device/transport.rb +1 -1
- data/lib/puppet/util/network_device/transport/base.rb +2 -2
- data/lib/puppet/util/package/version/range.rb +6 -6
- data/lib/puppet/util/package/version/range/eq.rb +1 -1
- data/lib/puppet/util/package/version/range/gt.rb +1 -1
- data/lib/puppet/util/package/version/range/gt_eq.rb +1 -1
- data/lib/puppet/util/package/version/range/lt.rb +1 -1
- data/lib/puppet/util/package/version/range/lt_eq.rb +1 -1
- data/lib/puppet/util/package/version/range/min_max.rb +1 -1
- data/lib/puppet/util/package/version/range/simple.rb +1 -1
- data/lib/puppet/util/package/version/rpm.rb +1 -1
- data/lib/puppet/util/pidlock.rb +1 -1
- data/lib/puppet/util/plist.rb +1 -1
- data/lib/puppet/util/posix.rb +1 -1
- data/lib/puppet/util/profiler.rb +3 -3
- data/lib/puppet/util/profiler/aggregate.rb +2 -2
- data/lib/puppet/util/profiler/object_counts.rb +1 -1
- data/lib/puppet/util/profiler/wall_clock.rb +1 -1
- data/lib/puppet/util/provider_features.rb +2 -2
- data/lib/puppet/util/rdoc.rb +2 -2
- data/lib/puppet/util/rdoc/generators/puppet_generator.rb +2 -2
- data/lib/puppet/util/rdoc/parser.rb +6 -6
- data/lib/puppet/util/rdoc/parser/puppet_parser_rdoc2.rb +1 -1
- data/lib/puppet/util/reference.rb +1 -1
- data/lib/puppet/util/resource_template.rb +2 -2
- data/lib/puppet/util/rubygems.rb +1 -1
- data/lib/puppet/util/selinux.rb +30 -4
- data/lib/puppet/util/skip_tags.rb +1 -1
- data/lib/puppet/util/storage.rb +1 -1
- data/lib/puppet/util/suidmanager.rb +2 -2
- data/lib/puppet/util/symbolic_file_mode.rb +1 -1
- data/lib/puppet/util/tag_set.rb +1 -1
- data/lib/puppet/util/tagging.rb +1 -1
- data/lib/puppet/util/watched_file.rb +1 -1
- data/lib/puppet/util/watcher.rb +3 -3
- data/lib/puppet/util/windows.rb +20 -20
- data/lib/puppet/util/windows/access_control_entry.rb +1 -1
- data/lib/puppet/util/windows/adsi.rb +1 -1
- data/lib/puppet/util/windows/daemon.rb +1 -1
- data/lib/puppet/util/windows/error.rb +2 -2
- data/lib/puppet/util/windows/file.rb +1 -1
- data/lib/puppet/util/windows/monkey_patches/process.rb +2 -2
- data/lib/puppet/util/windows/principal.rb +1 -1
- data/lib/puppet/util/windows/process.rb +2 -2
- data/lib/puppet/util/windows/registry.rb +1 -1
- data/lib/puppet/util/windows/root_certs.rb +2 -2
- data/lib/puppet/util/windows/security.rb +1 -1
- data/lib/puppet/util/windows/security_descriptor.rb +1 -1
- data/lib/puppet/util/windows/service.rb +1 -1
- data/lib/puppet/util/windows/sid.rb +1 -1
- data/lib/puppet/util/windows/user.rb +1 -1
- data/lib/puppet/vendor.rb +1 -1
- data/lib/puppet/version.rb +1 -1
- data/lib/puppet/x509.rb +4 -4
- data/lib/puppet/x509/cert_provider.rb +1 -1
- data/lib/puppet/x509/pem_store.rb +1 -1
- data/lib/puppet_pal.rb +2 -2
- data/locales/puppet.pot +156 -144
- data/man/man5/puppet.conf.5 +256 -241
- data/man/man8/puppet-agent.8 +1 -1
- 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 +1 -1
- 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 +1 -1
- data/man/man8/puppet-generate.8 +1 -1
- data/man/man8/puppet-help.8 +1 -1
- data/man/man8/puppet-lookup.8 +1 -1
- data/man/man8/puppet-module.8 +1 -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 +1 -1
- data/man/man8/puppet.8 +2 -2
- data/spec/fixtures/ssl/127.0.0.1-key.pem +107 -57
- data/spec/fixtures/ssl/127.0.0.1.pem +52 -31
- data/spec/fixtures/ssl/bad-basic-constraints.pem +57 -35
- data/spec/fixtures/ssl/bad-int-basic-constraints.pem +57 -35
- data/spec/fixtures/ssl/ca.pem +57 -35
- data/spec/fixtures/ssl/crl.pem +28 -18
- data/spec/fixtures/ssl/ec-key.pem +11 -11
- data/spec/fixtures/ssl/ec.pem +33 -24
- data/spec/fixtures/ssl/encrypted-ec-key.pem +12 -12
- data/spec/fixtures/ssl/encrypted-key.pem +108 -58
- data/spec/fixtures/ssl/intermediate-agent-crl.pem +28 -19
- data/spec/fixtures/ssl/intermediate-agent.pem +57 -36
- data/spec/fixtures/ssl/intermediate-crl.pem +31 -21
- data/spec/fixtures/ssl/intermediate.pem +57 -36
- data/spec/fixtures/ssl/pluto-key.pem +107 -57
- data/spec/fixtures/ssl/pluto.pem +52 -30
- data/spec/fixtures/ssl/request-key.pem +107 -57
- data/spec/fixtures/ssl/request.pem +47 -26
- data/spec/fixtures/ssl/revoked-key.pem +107 -57
- data/spec/fixtures/ssl/revoked.pem +52 -30
- data/spec/fixtures/ssl/signed-key.pem +107 -57
- data/spec/fixtures/ssl/signed.pem +52 -30
- data/spec/fixtures/ssl/tampered-cert.pem +52 -30
- data/spec/fixtures/ssl/tampered-csr.pem +47 -26
- data/spec/fixtures/ssl/unknown-127.0.0.1-key.pem +107 -57
- data/spec/fixtures/ssl/unknown-127.0.0.1.pem +50 -29
- data/spec/fixtures/ssl/unknown-ca-key.pem +107 -57
- data/spec/fixtures/ssl/unknown-ca.pem +55 -33
- data/spec/integration/type/file_spec.rb +5 -5
- data/spec/lib/puppet/test_ca.rb +2 -2
- data/spec/lib/puppet_spec/files.rb +1 -1
- data/spec/shared_contexts/provider.rb +16 -0
- data/spec/unit/application/agent_spec.rb +7 -2
- data/spec/unit/configurer/downloader_spec.rb +6 -0
- data/spec/unit/configurer_spec.rb +23 -0
- data/spec/unit/file_bucket/dipper_spec.rb +1 -1
- data/spec/unit/file_serving/fileset_spec.rb +60 -0
- data/spec/unit/gettext/config_spec.rb +12 -0
- data/spec/unit/http/service/compiler_spec.rb +123 -0
- data/spec/unit/indirector/catalog/compiler_spec.rb +14 -10
- data/spec/unit/parser/functions/fqdn_rand_spec.rb +15 -1
- data/spec/unit/pops/lookup/context_spec.rb +1 -1
- data/spec/unit/provider/package/dnfmodule_spec.rb +3 -3
- data/spec/unit/provider/package/gem_spec.rb +3 -1
- data/spec/unit/provider/package/pip2_spec.rb +3 -1
- data/spec/unit/provider/package/pip3_spec.rb +3 -1
- data/spec/unit/provider/package/pip_spec.rb +3 -1
- data/spec/unit/provider/package/pkg_spec.rb +44 -44
- data/spec/unit/provider/package/puppet_gem_spec.rb +3 -1
- data/spec/unit/provider/package/puppetserver_gem_spec.rb +2 -0
- data/spec/unit/provider/service/base_spec.rb +8 -8
- data/spec/unit/provider/service/bsd_spec.rb +0 -4
- data/spec/unit/provider/service/daemontools_spec.rb +1 -1
- data/spec/unit/provider/service/debian_spec.rb +15 -17
- data/spec/unit/provider/service/gentoo_spec.rb +19 -14
- data/spec/unit/provider/service/init_spec.rb +29 -20
- data/spec/unit/provider/service/launchd_spec.rb +10 -12
- data/spec/unit/provider/service/openbsd_spec.rb +21 -35
- data/spec/unit/provider/service/openrc_spec.rb +15 -14
- data/spec/unit/provider/service/openwrt_spec.rb +3 -1
- data/spec/unit/provider/service/redhat_spec.rb +20 -19
- data/spec/unit/provider/service/smf_spec.rb +6 -5
- data/spec/unit/provider/service/src_spec.rb +5 -10
- data/spec/unit/provider/service/systemd_spec.rb +57 -29
- data/spec/unit/provider/service/upstart_spec.rb +25 -20
- data/spec/unit/provider/service/windows_spec.rb +202 -0
- data/spec/unit/resource/catalog_spec.rb +1 -1
- data/spec/unit/ssl/state_machine_spec.rb +19 -5
- data/spec/unit/transaction/additional_resource_generator_spec.rb +0 -2
- data/spec/unit/transaction_spec.rb +18 -20
- data/spec/unit/type/file/selinux_spec.rb +3 -3
- data/spec/unit/type/service_spec.rb +10 -154
- data/spec/unit/type/tidy_spec.rb +17 -7
- data/spec/unit/util/at_fork_spec.rb +9 -9
- data/spec/unit/util/posix_spec.rb +1 -1
- data/spec/unit/util/selinux_spec.rb +87 -16
- data/tasks/generate_cert_fixtures.rake +2 -2
- metadata +4 -2
@@ -6,43 +6,64 @@ Certificate:
|
|
6
6
|
Issuer: CN=Unknown CA
|
7
7
|
Validity
|
8
8
|
Not Before: Jan 1 00:00:00 1970 GMT
|
9
|
-
Not After :
|
9
|
+
Not After : Apr 18 18:46:23 2031 GMT
|
10
10
|
Subject: CN=127.0.0.1
|
11
11
|
Subject Public Key Info:
|
12
12
|
Public Key Algorithm: rsaEncryption
|
13
|
-
RSA Public-Key: (
|
13
|
+
RSA Public-Key: (2048 bit)
|
14
14
|
Modulus:
|
15
|
-
00:
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
15
|
+
00:c3:c8:2b:f4:88:83:50:13:f7:3d:f8:b6:b8:7b:
|
16
|
+
d0:58:7e:88:9c:a5:c2:30:72:36:9d:9a:d1:73:79:
|
17
|
+
c1:6d:06:3f:3b:f3:10:b6:87:3d:55:a4:e2:a9:c1:
|
18
|
+
48:d4:fd:30:8f:36:46:2f:96:bc:a5:e4:35:d9:89:
|
19
|
+
b2:8b:8b:90:ab:9a:b1:f9:ed:fa:67:3e:ea:27:42:
|
20
|
+
59:67:bb:69:18:e6:d7:0d:1a:0e:ad:c2:58:62:24:
|
21
|
+
05:6e:18:39:db:09:7d:96:a5:c9:c7:56:ba:68:e0:
|
22
|
+
06:27:37:15:e9:5c:f3:bf:b0:29:9b:0d:c7:ea:54:
|
23
|
+
a7:41:3f:11:11:db:23:3b:23:33:3e:c7:9c:d7:82:
|
24
|
+
99:23:df:c2:5a:4d:90:2f:73:64:92:bc:b8:f5:b5:
|
25
|
+
3f:56:e2:5d:95:e2:a8:3f:fa:ed:96:af:b8:3d:63:
|
26
|
+
fd:cd:24:2d:27:32:c8:41:7e:38:e8:02:3e:87:ce:
|
27
|
+
ab:f2:40:4d:a2:ec:42:ea:b5:14:ff:9d:ca:4b:d9:
|
28
|
+
de:84:4d:45:b7:d9:d9:56:7b:e3:7d:af:de:19:76:
|
29
|
+
91:cb:72:e9:b0:02:ca:8b:75:f8:54:23:ae:03:ab:
|
30
|
+
ec:48:ba:d6:c9:1a:0b:5b:7d:f9:f1:d7:9a:1a:83:
|
31
|
+
89:b9:f7:e7:ea:2c:11:2f:0f:c4:63:78:ff:5b:80:
|
32
|
+
be:0f
|
24
33
|
Exponent: 65537 (0x10001)
|
25
34
|
X509v3 extensions:
|
26
35
|
X509v3 Subject Alternative Name:
|
27
36
|
DNS:127.0.0.1, DNS:127.0.0.2
|
28
37
|
Signature Algorithm: sha256WithRSAEncryption
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
38
|
+
c5:f2:04:d3:b9:16:b1:fa:4a:2f:b8:0c:30:ef:ce:bd:2e:4f:
|
39
|
+
25:b6:aa:6f:c8:ae:1a:b4:e7:e6:86:51:28:34:53:ff:58:07:
|
40
|
+
68:d8:a0:ce:79:c7:2f:71:2c:55:1c:67:82:05:7d:f4:ce:d8:
|
41
|
+
b7:d7:71:67:03:e8:a2:38:34:16:83:8c:df:c3:27:80:e2:f9:
|
42
|
+
12:83:a0:49:e1:f3:5f:1d:c0:e2:68:91:77:f0:1d:a6:63:8b:
|
43
|
+
1d:96:ee:46:ec:41:cd:3c:55:63:a9:4b:5c:68:d6:44:67:47:
|
44
|
+
43:4a:21:8b:13:a2:10:06:5c:0f:1b:d5:e7:4d:b3:72:aa:bd:
|
45
|
+
cc:ac:e7:cf:8b:89:51:3c:d0:d3:0e:75:37:91:a0:e4:73:5b:
|
46
|
+
74:80:7d:64:a3:ee:4d:69:7d:97:15:35:1a:a9:a8:2a:f6:12:
|
47
|
+
d1:b7:73:ad:f1:ca:d9:9b:96:d6:66:ac:14:e5:88:2d:7e:ce:
|
48
|
+
20:61:94:4a:18:41:27:8e:2d:ad:45:d7:2e:ff:a8:d6:2c:a2:
|
49
|
+
01:54:28:16:15:84:5e:94:2d:56:a2:90:b3:31:40:3a:a8:04:
|
50
|
+
8d:42:55:45:10:7a:fe:19:4d:d9:b4:ef:95:2e:cf:6e:28:3f:
|
51
|
+
cb:12:7d:aa:34:96:60:b2:29:7e:6c:c3:bd:3b:f7:4c:6e:31:
|
52
|
+
25:60:b5:96
|
37
53
|
-----BEGIN CERTIFICATE-----
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
54
|
+
MIICxzCCAa+gAwIBAgIBATANBgkqhkiG9w0BAQsFADAVMRMwEQYDVQQDDApVbmtu
|
55
|
+
b3duIENBMB4XDTcwMDEwMTAwMDAwMFoXDTMxMDQxODE4NDYyM1owFDESMBAGA1UE
|
56
|
+
AwwJMTI3LjAuMC4xMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAw8gr
|
57
|
+
9IiDUBP3Pfi2uHvQWH6InKXCMHI2nZrRc3nBbQY/O/MQtoc9VaTiqcFI1P0wjzZG
|
58
|
+
L5a8peQ12Ymyi4uQq5qx+e36Zz7qJ0JZZ7tpGObXDRoOrcJYYiQFbhg52wl9lqXJ
|
59
|
+
x1a6aOAGJzcV6Vzzv7Apmw3H6lSnQT8REdsjOyMzPsec14KZI9/CWk2QL3Nkkry4
|
60
|
+
9bU/VuJdleKoP/rtlq+4PWP9zSQtJzLIQX446AI+h86r8kBNouxC6rUU/53KS9ne
|
61
|
+
hE1Ft9nZVnvjfa/eGXaRy3LpsALKi3X4VCOuA6vsSLrWyRoLW3358deaGoOJuffn
|
62
|
+
6iwRLw/EY3j/W4C+DwIDAQABoyMwITAfBgNVHREEGDAWggkxMjcuMC4wLjGCCTEy
|
63
|
+
Ny4wLjAuMjANBgkqhkiG9w0BAQsFAAOCAQEAxfIE07kWsfpKL7gMMO/OvS5PJbaq
|
64
|
+
b8iuGrTn5oZRKDRT/1gHaNigznnHL3EsVRxnggV99M7Yt9dxZwPoojg0FoOM38Mn
|
65
|
+
gOL5EoOgSeHzXx3A4miRd/AdpmOLHZbuRuxBzTxVY6lLXGjWRGdHQ0ohixOiEAZc
|
66
|
+
DxvV502zcqq9zKznz4uJUTzQ0w51N5Gg5HNbdIB9ZKPuTWl9lxU1GqmoKvYS0bdz
|
67
|
+
rfHK2ZuW1masFOWILX7OIGGUShhBJ44trUXXLv+o1iyiAVQoFhWEXpQtVqKQszFA
|
68
|
+
OqgEjUJVRRB6/hlN2bTvlS7Pbig/yxJ9qjSWYLIpfmzDvTv3TG4xJWC1lg==
|
48
69
|
-----END CERTIFICATE-----
|
@@ -1,67 +1,117 @@
|
|
1
|
-
RSA Private-Key: (
|
1
|
+
RSA Private-Key: (2048 bit, 2 primes)
|
2
2
|
modulus:
|
3
|
-
00:
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
3
|
+
00:ea:16:4c:26:71:56:ac:35:bb:2b:f6:1b:18:58:
|
4
|
+
16:0f:1c:39:3f:4d:02:e4:b2:a7:8b:bd:fe:99:57:
|
5
|
+
f2:a5:a8:15:01:79:0d:1d:f6:d9:12:db:d5:26:a2:
|
6
|
+
f6:58:af:4b:2c:aa:46:7a:53:63:9f:1f:1a:9e:1c:
|
7
|
+
fc:9a:8e:20:c8:c8:c8:db:4d:50:8d:4e:19:83:a1:
|
8
|
+
9d:54:49:26:7b:3a:e0:77:1d:7d:88:01:80:46:32:
|
9
|
+
70:47:16:08:71:de:12:94:67:fd:71:1f:41:56:93:
|
10
|
+
15:91:68:bd:05:3b:67:96:1f:7a:4d:d5:1e:b6:ac:
|
11
|
+
41:1f:f0:ce:d3:2d:96:d9:7c:ad:cd:be:b3:32:66:
|
12
|
+
18:03:2c:83:98:f1:e8:96:6f:85:0f:e1:1f:93:d0:
|
13
|
+
f9:09:43:8c:b1:ea:43:26:32:a5:c6:d2:32:75:2d:
|
14
|
+
ed:72:9d:bf:3a:bb:f3:4e:d0:0c:ac:ba:6b:fd:7f:
|
15
|
+
66:d8:12:40:4e:49:e7:d4:ec:70:03:71:37:cb:5e:
|
16
|
+
cc:d3:4f:f3:d2:cc:e2:39:eb:79:6c:71:e5:d1:0e:
|
17
|
+
45:4c:7a:3d:6f:39:e8:16:e7:de:60:eb:01:e7:80:
|
18
|
+
4e:42:1d:1c:33:0a:eb:f9:10:2c:5c:ed:0c:58:0b:
|
19
|
+
8c:fd:6d:f4:19:49:8a:a2:81:ab:04:b0:cb:7a:61:
|
20
|
+
1f:d3
|
12
21
|
publicExponent: 65537 (0x10001)
|
13
22
|
privateExponent:
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
+
00:b5:87:11:0a:86:bd:d5:d1:dd:12:1c:49:aa:b9:
|
24
|
+
34:72:07:4b:05:a1:ac:ea:b8:f8:60:cf:b7:8e:26:
|
25
|
+
bb:8e:67:27:d2:fa:92:87:78:13:a2:22:43:cb:30:
|
26
|
+
78:a5:11:5a:d4:8a:3f:19:41:6d:71:c9:e7:14:52:
|
27
|
+
1a:39:a8:9a:17:da:4c:98:73:fe:51:76:0d:27:1c:
|
28
|
+
bf:2a:cb:87:41:ec:c8:80:d6:a7:b0:3e:a9:c0:c6:
|
29
|
+
00:77:bf:c8:50:b5:0b:e7:76:34:fd:f2:64:f2:c4:
|
30
|
+
20:e7:a0:37:64:c5:4a:71:0a:7c:07:bb:8b:93:d1:
|
31
|
+
44:b7:86:40:7d:57:4f:31:db:98:22:21:d5:f3:b0:
|
32
|
+
57:4e:f6:c9:a4:08:43:3d:d8:ce:59:aa:a7:1f:da:
|
33
|
+
93:40:11:cf:8c:14:9d:f3:10:9f:cf:0a:d0:cf:2b:
|
34
|
+
b6:ea:e5:3c:92:9f:c2:6f:24:86:71:15:61:49:7b:
|
35
|
+
77:48:c1:d2:13:67:1a:f7:c0:89:3d:3d:87:cf:6e:
|
36
|
+
5c:e4:46:28:fe:33:89:3c:09:fc:50:3c:b7:a9:25:
|
37
|
+
3c:f2:a5:a0:e1:e0:9c:d1:4a:3e:11:5b:10:1a:33:
|
38
|
+
29:c7:ca:0b:ac:bf:c2:be:90:27:1f:ef:d7:d2:ca:
|
39
|
+
5f:37:b3:b3:b9:3a:35:87:be:ca:c3:f7:59:03:f7:
|
40
|
+
7e:f1
|
23
41
|
prime1:
|
24
|
-
00:
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
42
|
+
00:f7:83:23:4b:6f:82:af:b6:7a:0f:1f:1a:05:21:
|
43
|
+
d1:a1:84:d1:07:24:db:dd:64:9f:16:84:eb:c4:bf:
|
44
|
+
ec:cf:2f:69:92:21:b8:88:05:24:8c:bc:c1:db:d0:
|
45
|
+
38:53:bf:43:dc:5b:5e:42:7b:ad:de:d6:3a:04:9e:
|
46
|
+
a5:a7:f0:0b:2e:4e:2a:20:6f:95:7d:f0:be:ff:12:
|
47
|
+
c6:f4:d2:ca:39:e1:a5:c9:34:58:3b:3d:40:c1:88:
|
48
|
+
63:c3:cc:87:02:25:70:88:58:df:ec:b6:d6:0c:9e:
|
49
|
+
15:2d:57:e1:34:e9:2e:ac:51:cf:c4:83:dd:b6:11:
|
50
|
+
44:23:b8:95:50:6c:40:ae:ed
|
29
51
|
prime2:
|
30
|
-
00:
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
52
|
+
00:f2:1d:4d:7f:ee:9e:a5:0f:c9:73:a5:4d:fe:7c:
|
53
|
+
0a:94:8e:c6:77:c8:ec:53:e0:03:f5:65:42:39:40:
|
54
|
+
26:02:46:8f:05:3d:b9:ba:f2:29:8a:b4:3c:60:37:
|
55
|
+
85:ee:e0:ba:e2:35:69:be:84:95:53:f3:fd:b8:b9:
|
56
|
+
5b:51:76:10:2a:f8:b2:54:58:ab:e5:89:18:46:df:
|
57
|
+
08:c0:4f:57:56:cc:1c:f2:53:e6:b6:91:c0:bd:9c:
|
58
|
+
c6:a8:8c:bf:a0:d4:b6:86:37:50:f9:69:78:95:bd:
|
59
|
+
83:6f:5e:64:1a:b7:75:31:2c:a2:c5:c9:b7:b7:80:
|
60
|
+
c4:61:ac:fd:f7:c7:88:71:bf
|
35
61
|
exponent1:
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
62
|
+
3c:63:9c:9a:ed:2c:1f:9f:10:0c:dc:73:c6:c8:c7:
|
63
|
+
92:f7:0a:e1:09:57:33:9f:37:49:91:48:cd:0a:5e:
|
64
|
+
c6:f6:34:75:d9:10:62:ef:8e:49:60:4c:94:4b:2b:
|
65
|
+
53:13:99:85:0c:2d:e5:5e:b3:bf:68:d9:63:03:2a:
|
66
|
+
3b:dd:4f:7d:0e:c9:2c:7c:cd:26:9b:34:9e:9b:80:
|
67
|
+
3b:7f:aa:a3:90:b0:98:74:d3:0a:31:19:b9:9e:83:
|
68
|
+
68:e4:60:14:5f:fa:22:ea:3c:48:4f:1b:ce:9c:4b:
|
69
|
+
62:72:cc:99:d2:42:f6:fc:47:0b:15:79:64:d0:b5:
|
70
|
+
a5:59:85:e4:c7:64:c8:c9
|
41
71
|
exponent2:
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
72
|
+
00:d5:ba:32:58:d5:cf:6c:0c:94:9c:26:f7:c3:c7:
|
73
|
+
c2:1b:44:32:45:39:b4:0d:92:ba:4b:dd:38:69:8b:
|
74
|
+
8c:42:04:01:6a:f2:03:4b:d9:4b:fc:aa:80:85:bb:
|
75
|
+
5d:da:f2:bd:66:c5:19:f4:d9:db:6c:81:fd:9f:1c:
|
76
|
+
d9:54:fe:f0:e4:ce:27:b6:37:94:7f:0a:d7:c8:70:
|
77
|
+
48:ac:63:1d:c9:7c:63:ad:33:8d:7d:eb:0a:87:17:
|
78
|
+
a7:72:d0:d4:b4:e8:31:bc:27:86:ae:b5:81:82:46:
|
79
|
+
0a:89:bc:7c:87:ed:1d:61:ec:72:40:41:82:91:55:
|
80
|
+
f5:85:f8:0d:35:b7:09:66:c7
|
47
81
|
coefficient:
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
82
|
+
3d:9b:b0:01:4b:43:c3:bf:50:86:d8:c8:52:d4:4d:
|
83
|
+
7a:05:40:2d:20:50:d4:4a:a9:33:a3:b8:d1:fc:6b:
|
84
|
+
eb:be:c9:df:44:f7:70:51:05:d8:58:d2:a0:d8:e0:
|
85
|
+
36:fc:56:43:25:0f:2a:b6:41:a2:25:99:01:8b:d5:
|
86
|
+
93:f4:d6:04:ae:4f:40:44:f6:f2:85:a8:9f:35:99:
|
87
|
+
63:9d:ef:f9:f5:3e:5d:07:3c:96:23:a6:26:8c:28:
|
88
|
+
d1:60:cd:13:18:3b:41:e9:30:31:83:50:73:91:ba:
|
89
|
+
5a:a3:69:d1:6e:a8:40:f2:72:df:e8:88:73:9c:a7:
|
90
|
+
ce:e7:9f:11:97:e5:04:6d
|
53
91
|
-----BEGIN RSA PRIVATE KEY-----
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
92
|
+
MIIEpAIBAAKCAQEA6hZMJnFWrDW7K/YbGFgWDxw5P00C5LKni73+mVfypagVAXkN
|
93
|
+
HfbZEtvVJqL2WK9LLKpGelNjnx8anhz8mo4gyMjI201QjU4Zg6GdVEkmezrgdx19
|
94
|
+
iAGARjJwRxYIcd4SlGf9cR9BVpMVkWi9BTtnlh96TdUetqxBH/DO0y2W2Xytzb6z
|
95
|
+
MmYYAyyDmPHolm+FD+Efk9D5CUOMsepDJjKlxtIydS3tcp2/OrvzTtAMrLpr/X9m
|
96
|
+
2BJATknn1OxwA3E3y17M00/z0sziOet5bHHl0Q5FTHo9bznoFufeYOsB54BOQh0c
|
97
|
+
Mwrr+RAsXO0MWAuM/W30GUmKooGrBLDLemEf0wIDAQABAoIBAQC1hxEKhr3V0d0S
|
98
|
+
HEmquTRyB0sFoazquPhgz7eOJruOZyfS+pKHeBOiIkPLMHilEVrUij8ZQW1xyecU
|
99
|
+
Uho5qJoX2kyYc/5Rdg0nHL8qy4dB7MiA1qewPqnAxgB3v8hQtQvndjT98mTyxCDn
|
100
|
+
oDdkxUpxCnwHu4uT0US3hkB9V08x25giIdXzsFdO9smkCEM92M5Zqqcf2pNAEc+M
|
101
|
+
FJ3zEJ/PCtDPK7bq5TySn8JvJIZxFWFJe3dIwdITZxr3wIk9PYfPblzkRij+M4k8
|
102
|
+
CfxQPLepJTzypaDh4JzRSj4RWxAaMynHygusv8K+kCcf79fSyl83s7O5OjWHvsrD
|
103
|
+
91kD937xAoGBAPeDI0tvgq+2eg8fGgUh0aGE0Qck291knxaE68S/7M8vaZIhuIgF
|
104
|
+
JIy8wdvQOFO/Q9xbXkJ7rd7WOgSepafwCy5OKiBvlX3wvv8SxvTSyjnhpck0WDs9
|
105
|
+
QMGIY8PMhwIlcIhY3+y21gyeFS1X4TTpLqxRz8SD3bYRRCO4lVBsQK7tAoGBAPId
|
106
|
+
TX/unqUPyXOlTf58CpSOxnfI7FPgA/VlQjlAJgJGjwU9ubryKYq0PGA3he7guuI1
|
107
|
+
ab6ElVPz/bi5W1F2ECr4slRYq+WJGEbfCMBPV1bMHPJT5raRwL2cxqiMv6DUtoY3
|
108
|
+
UPlpeJW9g29eZBq3dTEsosXJt7eAxGGs/ffHiHG/AoGAPGOcmu0sH58QDNxzxsjH
|
109
|
+
kvcK4QlXM583SZFIzQpexvY0ddkQYu+OSWBMlEsrUxOZhQwt5V6zv2jZYwMqO91P
|
110
|
+
fQ7JLHzNJps0npuAO3+qo5CwmHTTCjEZuZ6DaORgFF/6Iuo8SE8bzpxLYnLMmdJC
|
111
|
+
9vxHCxV5ZNC1pVmF5MdkyMkCgYEA1boyWNXPbAyUnCb3w8fCG0QyRTm0DZK6S904
|
112
|
+
aYuMQgQBavIDS9lL/KqAhbtd2vK9ZsUZ9NnbbIH9nxzZVP7w5M4ntjeUfwrXyHBI
|
113
|
+
rGMdyXxjrTONfesKhxenctDUtOgxvCeGrrWBgkYKibx8h+0dYexyQEGCkVX1hfgN
|
114
|
+
NbcJZscCgYA9m7ABS0PDv1CG2MhS1E16BUAtIFDUSqkzo7jR/GvrvsnfRPdwUQXY
|
115
|
+
WNKg2OA2/FZDJQ8qtkGiJZkBi9WT9NYErk9ARPbyhaifNZljne/59T5dBzyWI6Ym
|
116
|
+
jCjRYM0TGDtB6TAxg1Bzkbpao2nRbqhA8nLf6IhznKfO558Rl+UEbQ==
|
67
117
|
-----END RSA PRIVATE KEY-----
|
@@ -6,21 +6,30 @@ Certificate:
|
|
6
6
|
Issuer: CN=Unknown CA
|
7
7
|
Validity
|
8
8
|
Not Before: Jan 1 00:00:00 1970 GMT
|
9
|
-
Not After :
|
9
|
+
Not After : Apr 18 18:46:23 2031 GMT
|
10
10
|
Subject: CN=Unknown CA
|
11
11
|
Subject Public Key Info:
|
12
12
|
Public Key Algorithm: rsaEncryption
|
13
|
-
RSA Public-Key: (
|
13
|
+
RSA Public-Key: (2048 bit)
|
14
14
|
Modulus:
|
15
|
-
00:
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
15
|
+
00:ea:16:4c:26:71:56:ac:35:bb:2b:f6:1b:18:58:
|
16
|
+
16:0f:1c:39:3f:4d:02:e4:b2:a7:8b:bd:fe:99:57:
|
17
|
+
f2:a5:a8:15:01:79:0d:1d:f6:d9:12:db:d5:26:a2:
|
18
|
+
f6:58:af:4b:2c:aa:46:7a:53:63:9f:1f:1a:9e:1c:
|
19
|
+
fc:9a:8e:20:c8:c8:c8:db:4d:50:8d:4e:19:83:a1:
|
20
|
+
9d:54:49:26:7b:3a:e0:77:1d:7d:88:01:80:46:32:
|
21
|
+
70:47:16:08:71:de:12:94:67:fd:71:1f:41:56:93:
|
22
|
+
15:91:68:bd:05:3b:67:96:1f:7a:4d:d5:1e:b6:ac:
|
23
|
+
41:1f:f0:ce:d3:2d:96:d9:7c:ad:cd:be:b3:32:66:
|
24
|
+
18:03:2c:83:98:f1:e8:96:6f:85:0f:e1:1f:93:d0:
|
25
|
+
f9:09:43:8c:b1:ea:43:26:32:a5:c6:d2:32:75:2d:
|
26
|
+
ed:72:9d:bf:3a:bb:f3:4e:d0:0c:ac:ba:6b:fd:7f:
|
27
|
+
66:d8:12:40:4e:49:e7:d4:ec:70:03:71:37:cb:5e:
|
28
|
+
cc:d3:4f:f3:d2:cc:e2:39:eb:79:6c:71:e5:d1:0e:
|
29
|
+
45:4c:7a:3d:6f:39:e8:16:e7:de:60:eb:01:e7:80:
|
30
|
+
4e:42:1d:1c:33:0a:eb:f9:10:2c:5c:ed:0c:58:0b:
|
31
|
+
8c:fd:6d:f4:19:49:8a:a2:81:ab:04:b0:cb:7a:61:
|
32
|
+
1f:d3
|
24
33
|
Exponent: 65537 (0x10001)
|
25
34
|
X509v3 extensions:
|
26
35
|
X509v3 Basic Constraints: critical
|
@@ -28,32 +37,45 @@ Certificate:
|
|
28
37
|
X509v3 Key Usage: critical
|
29
38
|
Certificate Sign, CRL Sign
|
30
39
|
X509v3 Subject Key Identifier:
|
31
|
-
|
40
|
+
16:C5:98:B8:84:0B:0A:43:CB:5A:D2:E0:55:C0:64:AB:89:F8:50:FD
|
32
41
|
Netscape Comment:
|
33
42
|
Puppet Server Internal Certificate
|
34
43
|
X509v3 Authority Key Identifier:
|
35
|
-
keyid:
|
44
|
+
keyid:16:C5:98:B8:84:0B:0A:43:CB:5A:D2:E0:55:C0:64:AB:89:F8:50:FD
|
36
45
|
|
37
46
|
Signature Algorithm: sha256WithRSAEncryption
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
47
|
+
7d:0b:a0:2e:d4:fb:6b:29:04:d6:86:4e:89:94:4c:b5:d4:f7:
|
48
|
+
79:5a:38:95:51:9a:80:03:82:93:c8:a7:4e:93:4a:4b:41:1a:
|
49
|
+
85:f3:46:57:e1:70:50:ad:bb:4e:b9:d6:0c:00:e5:9e:4c:f7:
|
50
|
+
26:3b:88:61:27:ad:fa:39:a7:36:e1:62:87:7a:dc:7d:f9:f6:
|
51
|
+
c1:ee:bc:db:f7:65:a1:b0:2a:06:ae:4b:cb:99:82:f5:8e:38:
|
52
|
+
51:ac:c9:92:33:b9:7b:50:8b:c6:72:36:d3:f2:73:7d:58:13:
|
53
|
+
00:21:4d:c6:70:9d:eb:70:58:bf:dc:34:94:7e:bc:ef:17:2d:
|
54
|
+
9d:00:bd:55:f9:48:11:c0:8f:88:ea:a8:7c:5d:fb:88:fd:8c:
|
55
|
+
b4:00:1d:61:a7:4b:2a:90:ef:96:c1:28:2a:a0:95:ad:bb:b3:
|
56
|
+
af:3a:d5:93:1c:54:d7:c5:5b:26:a3:24:87:df:bd:68:74:fa:
|
57
|
+
e6:07:4e:13:b9:5f:54:19:ae:da:00:8c:ca:d6:ff:b7:94:6b:
|
58
|
+
4f:ff:71:ca:2b:7d:ee:7e:32:ff:03:3e:60:a4:30:d4:7d:9c:
|
59
|
+
ab:97:0e:f7:80:ee:69:c0:28:a8:ec:6b:89:05:38:64:34:e8:
|
60
|
+
b2:e9:f3:a1:85:e7:3d:e1:64:3c:86:e4:fd:44:4f:3b:2a:f8:
|
61
|
+
d2:b4:93:22
|
46
62
|
-----BEGIN CERTIFICATE-----
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
63
|
+
MIIDPTCCAiWgAwIBAgIBADANBgkqhkiG9w0BAQsFADAVMRMwEQYDVQQDDApVbmtu
|
64
|
+
b3duIENBMB4XDTcwMDEwMTAwMDAwMFoXDTMxMDQxODE4NDYyM1owFTETMBEGA1UE
|
65
|
+
AwwKVW5rbm93biBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOoW
|
66
|
+
TCZxVqw1uyv2GxhYFg8cOT9NAuSyp4u9/plX8qWoFQF5DR322RLb1Sai9livSyyq
|
67
|
+
RnpTY58fGp4c/JqOIMjIyNtNUI1OGYOhnVRJJns64HcdfYgBgEYycEcWCHHeEpRn
|
68
|
+
/XEfQVaTFZFovQU7Z5Yfek3VHrasQR/wztMtltl8rc2+szJmGAMsg5jx6JZvhQ/h
|
69
|
+
H5PQ+QlDjLHqQyYypcbSMnUt7XKdvzq7807QDKy6a/1/ZtgSQE5J59TscANxN8te
|
70
|
+
zNNP89LM4jnreWxx5dEORUx6PW856Bbn3mDrAeeATkIdHDMK6/kQLFztDFgLjP1t
|
71
|
+
9BlJiqKBqwSwy3phH9MCAwEAAaOBlzCBlDAPBgNVHRMBAf8EBTADAQH/MA4GA1Ud
|
72
|
+
DwEB/wQEAwIBBjAdBgNVHQ4EFgQUFsWYuIQLCkPLWtLgVcBkq4n4UP0wMQYJYIZI
|
73
|
+
AYb4QgENBCQWIlB1cHBldCBTZXJ2ZXIgSW50ZXJuYWwgQ2VydGlmaWNhdGUwHwYD
|
74
|
+
VR0jBBgwFoAUFsWYuIQLCkPLWtLgVcBkq4n4UP0wDQYJKoZIhvcNAQELBQADggEB
|
75
|
+
AH0LoC7U+2spBNaGTomUTLXU93laOJVRmoADgpPIp06TSktBGoXzRlfhcFCtu065
|
76
|
+
1gwA5Z5M9yY7iGEnrfo5pzbhYod63H359sHuvNv3ZaGwKgauS8uZgvWOOFGsyZIz
|
77
|
+
uXtQi8ZyNtPyc31YEwAhTcZwnetwWL/cNJR+vO8XLZ0AvVX5SBHAj4jqqHxd+4j9
|
78
|
+
jLQAHWGnSyqQ75bBKCqgla27s6861ZMcVNfFWyajJIffvWh0+uYHThO5X1QZrtoA
|
79
|
+
jMrW/7eUa0//ccorfe5+Mv8DPmCkMNR9nKuXDveA7mnAKKjsa4kFOGQ06LLp86GF
|
80
|
+
5z3hZDyG5P1ETzsq+NK0kyI=
|
59
81
|
-----END CERTIFICATE-----
|
@@ -895,7 +895,7 @@ describe Puppet::Type.type(:file), :uses_checksums => true do
|
|
895
895
|
|
896
896
|
# Change the source file.
|
897
897
|
File.open(checksum_file, "wb") { |f| f.write "some content" }
|
898
|
-
FileUtils.touch target_file, :
|
898
|
+
FileUtils.touch target_file, mtime: Time.now - 20
|
899
899
|
|
900
900
|
# The 2nd time should update the resource.
|
901
901
|
second_catalog.add_resource Puppet::Type.send(:newfile, @options)
|
@@ -1399,7 +1399,7 @@ describe Puppet::Type.type(:file), :uses_checksums => true do
|
|
1399
1399
|
it "should fetch if no header specified" do
|
1400
1400
|
File.open(httppath, "wb") { |f| f.puts "Content originally on disk\n" }
|
1401
1401
|
# make sure the mtime is not "right now", lest we get a race
|
1402
|
-
FileUtils.touch httppath, :
|
1402
|
+
FileUtils.touch httppath, mtime: Time.parse("Sun, 22 Mar 2015 22:57:43 GMT")
|
1403
1403
|
catalog.add_resource resource
|
1404
1404
|
catalog.apply
|
1405
1405
|
expect(Puppet::FileSystem.exist?(httppath)).to be_truthy
|
@@ -1409,7 +1409,7 @@ describe Puppet::Type.type(:file), :uses_checksums => true do
|
|
1409
1409
|
it "should fetch if mtime is older on disk" do
|
1410
1410
|
File.open(httppath, "wb") { |f| f.puts "Content originally on disk\n" }
|
1411
1411
|
# fixture has Last-Modified: Sun, 22 Mar 2015 22:25:34 GMT
|
1412
|
-
FileUtils.touch httppath, :
|
1412
|
+
FileUtils.touch httppath, mtime: Time.parse("Sun, 22 Mar 2015 22:22:34 GMT")
|
1413
1413
|
catalog.add_resource resource
|
1414
1414
|
catalog.apply
|
1415
1415
|
expect(Puppet::FileSystem.exist?(httppath)).to be_truthy
|
@@ -1455,7 +1455,7 @@ describe Puppet::Type.type(:file), :uses_checksums => true do
|
|
1455
1455
|
it "should not update if content on disk is up-to-date" do
|
1456
1456
|
File.open(httppath, "wb") { |f| f.puts "Content via HTTP\n" }
|
1457
1457
|
disk_mtime = Time.parse("Sun, 22 Mar 2015 22:22:34 GMT")
|
1458
|
-
FileUtils.touch httppath, :
|
1458
|
+
FileUtils.touch httppath, mtime: disk_mtime
|
1459
1459
|
catalog.add_resource resource
|
1460
1460
|
catalog.apply
|
1461
1461
|
expect(Puppet::FileSystem.exist?(httppath)).to be_truthy
|
@@ -2002,7 +2002,7 @@ describe Puppet::Type.type(:file), :uses_checksums => true do
|
|
2002
2002
|
it "should not update mtime on an old directory" do
|
2003
2003
|
disk_mtime = Time.parse("Sun, 22 Mar 2015 22:22:34 GMT")
|
2004
2004
|
FileUtils.mkdir_p path
|
2005
|
-
FileUtils.touch path, :
|
2005
|
+
FileUtils.touch path, mtime: disk_mtime
|
2006
2006
|
status = catalog.apply.report.resource_statuses["File[#{path}]"]
|
2007
2007
|
expect(status).to be_nil
|
2008
2008
|
expect(Puppet::FileSystem).to be_directory(path)
|
data/spec/lib/puppet/test_ca.rb
CHANGED
@@ -30,7 +30,7 @@ module Puppet
|
|
30
30
|
end
|
31
31
|
|
32
32
|
def create_request(name)
|
33
|
-
key = OpenSSL::PKey::RSA.new(
|
33
|
+
key = OpenSSL::PKey::RSA.new(2048)
|
34
34
|
csr = OpenSSL::X509::Request.new
|
35
35
|
csr.public_key = key.public_key
|
36
36
|
csr.subject = OpenSSL::X509::Name.new([["CN", name]])
|
@@ -127,7 +127,7 @@ module Puppet
|
|
127
127
|
key = if opts[:key_type] == :ec
|
128
128
|
key = OpenSSL::PKey::EC.generate('prime256v1')
|
129
129
|
else
|
130
|
-
key = OpenSSL::PKey::RSA.new(
|
130
|
+
key = OpenSSL::PKey::RSA.new(2048)
|
131
131
|
end
|
132
132
|
cert = OpenSSL::X509::Certificate.new
|
133
133
|
cert.public_key = if key.is_a?(OpenSSL::PKey::EC)
|