puppet 6.28.0-universal-darwin → 7.0.0-universal-darwin
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 +16 -2
- data/CONTRIBUTING.md +5 -5
- data/Gemfile +5 -7
- data/Gemfile.lock +52 -131
- data/README.md +5 -5
- data/conf/fileserver.conf +5 -10
- data/ext/README.environment +8 -0
- data/ext/build_defaults.yaml +1 -1
- data/ext/dbfix.sql +132 -0
- data/ext/debian/README.Debian +8 -0
- data/ext/debian/README.source +2 -0
- data/ext/debian/TODO.Debian +1 -0
- data/ext/debian/changelog.erb +1122 -0
- data/ext/debian/compat +1 -0
- data/ext/debian/control +144 -0
- data/ext/debian/copyright +339 -0
- data/ext/debian/docs +1 -0
- data/ext/debian/fileserver.conf +41 -0
- data/ext/debian/puppet-common.dirs +13 -0
- data/ext/debian/puppet-common.install +3 -0
- data/ext/debian/puppet-common.lintian-overrides +5 -0
- data/ext/debian/puppet-common.manpages +28 -0
- data/ext/debian/puppet-common.postinst +35 -0
- data/ext/debian/puppet-common.postrm +33 -0
- data/ext/debian/puppet-el.dirs +1 -0
- data/ext/debian/puppet-el.emacsen-install +25 -0
- data/ext/debian/puppet-el.emacsen-remove +11 -0
- data/ext/debian/puppet-el.emacsen-startup +9 -0
- data/ext/debian/puppet-el.install +1 -0
- data/ext/debian/puppet-testsuite.install +2 -0
- data/ext/debian/puppet-testsuite.lintian-overrides +4 -0
- data/ext/debian/puppet.lintian-overrides +3 -0
- data/ext/debian/puppet.logrotate +20 -0
- data/ext/debian/puppet.postinst +20 -0
- data/ext/debian/puppet.postrm +20 -0
- data/ext/debian/puppet.preinst +20 -0
- data/ext/debian/puppetmaster-common.install +2 -0
- data/ext/debian/puppetmaster-common.manpages +2 -0
- data/ext/debian/puppetmaster-common.postinst +6 -0
- data/ext/debian/puppetmaster-passenger.dirs +4 -0
- data/ext/debian/puppetmaster-passenger.postinst +162 -0
- data/ext/debian/puppetmaster-passenger.postrm +61 -0
- data/ext/debian/puppetmaster.README.debian +17 -0
- data/ext/debian/puppetmaster.default +14 -0
- data/ext/debian/puppetmaster.init +137 -0
- data/ext/debian/puppetmaster.lintian-overrides +3 -0
- data/ext/debian/puppetmaster.postinst +20 -0
- data/ext/debian/puppetmaster.postrm +5 -0
- data/ext/debian/puppetmaster.preinst +22 -0
- data/ext/debian/rules +132 -0
- data/ext/debian/source/format +1 -0
- data/ext/debian/source/options +1 -0
- data/ext/debian/vim-puppet.README.Debian +13 -0
- data/ext/debian/vim-puppet.dirs +5 -0
- data/ext/debian/vim-puppet.yaml +7 -0
- data/ext/debian/watch +2 -0
- data/ext/freebsd/puppetd +26 -0
- data/ext/freebsd/puppetmasterd +26 -0
- data/ext/gentoo/conf.d/puppet +5 -0
- data/ext/gentoo/conf.d/puppetmaster +12 -0
- data/ext/gentoo/init.d/puppet +38 -0
- data/ext/gentoo/init.d/puppetmaster +51 -0
- data/ext/gentoo/puppet/fileserver.conf +41 -0
- data/ext/ips/puppet-agent +44 -0
- data/ext/ips/puppet-master +44 -0
- data/ext/ips/puppet.p5m.erb +12 -0
- data/ext/ips/puppetagent.xml +42 -0
- data/ext/ips/puppetmaster.xml +42 -0
- data/ext/ips/rules +19 -0
- data/ext/ips/transforms +34 -0
- data/ext/ldap/puppet.schema +24 -0
- data/ext/logcheck/puppet +23 -0
- data/{examples → ext}/nagios/check_puppet.rb +2 -2
- data/ext/osx/file_mapping.yaml +28 -0
- data/ext/osx/postflight.erb +109 -0
- data/ext/osx/preflight.erb +52 -0
- data/ext/osx/prototype.plist.erb +38 -0
- data/ext/osx/puppet.plist +0 -2
- data/ext/project_data.yaml +1 -15
- data/ext/redhat/fileserver.conf +41 -0
- data/ext/redhat/logrotate +21 -0
- data/ext/redhat/puppet.spec.erb +841 -0
- data/ext/redhat/server.init +128 -0
- data/ext/redhat/server.sysconfig +13 -0
- data/{examples/enc → ext}/regexp_nodes/classes/databases +0 -0
- data/{examples/enc → ext}/regexp_nodes/classes/webservers +0 -0
- data/{examples/enc → ext}/regexp_nodes/environment/development +0 -0
- data/{examples/enc → ext}/regexp_nodes/parameters/service/prod +0 -0
- data/{examples/enc → ext}/regexp_nodes/parameters/service/qa +0 -0
- data/{examples/enc → ext}/regexp_nodes/parameters/service/sandbox +0 -0
- data/{examples/enc → ext}/regexp_nodes/regexp_nodes.rb +0 -0
- data/ext/solaris/pkginfo +6 -0
- data/ext/solaris/smf/puppetd.xml +77 -0
- data/ext/solaris/smf/puppetmasterd.xml +77 -0
- data/ext/solaris/smf/svc-puppetd +71 -0
- data/ext/solaris/smf/svc-puppetmasterd +67 -0
- data/ext/suse/puppet.spec +310 -0
- data/ext/suse/server.init +173 -0
- data/ext/windows/service/daemon.rb +6 -5
- data/ext/yaml_nodes.rb +105 -0
- data/install.rb +21 -17
- data/lib/puppet/agent.rb +11 -47
- data/lib/puppet/application/agent.rb +16 -18
- data/lib/puppet/application/apply.rb +4 -24
- data/lib/puppet/application/device.rb +100 -106
- data/lib/puppet/application/filebucket.rb +13 -10
- data/lib/puppet/application/lookup.rb +24 -74
- data/lib/puppet/application/resource.rb +16 -32
- data/lib/puppet/application/script.rb +0 -2
- data/lib/puppet/application/ssl.rb +1 -13
- data/lib/puppet/application.rb +178 -108
- data/lib/puppet/application_support.rb +0 -7
- data/lib/puppet/concurrent/thread_local_singleton.rb +3 -6
- data/lib/puppet/configurer/downloader.rb +1 -2
- data/lib/puppet/configurer/plugin_handler.rb +21 -19
- data/lib/puppet/configurer.rb +86 -183
- data/lib/puppet/confine/variable.rb +1 -1
- data/lib/puppet/defaults.rb +130 -244
- data/lib/puppet/environments.rb +82 -146
- data/lib/puppet/face/facts.rb +5 -103
- data/lib/puppet/face/generate.rb +0 -2
- data/lib/puppet/face/help/action.erb +0 -1
- data/lib/puppet/face/help/face.erb +0 -1
- data/lib/puppet/face/help.rb +1 -1
- data/lib/puppet/face/node/clean.rb +0 -11
- data/lib/puppet/face/plugin.rb +5 -8
- data/lib/puppet/ffi/windows/api_types.rb +311 -0
- data/lib/puppet/ffi/windows/constants.rb +404 -0
- data/lib/puppet/ffi/windows/functions.rb +628 -0
- data/lib/puppet/ffi/windows/structs.rb +338 -0
- data/lib/puppet/ffi/windows.rb +12 -0
- data/lib/puppet/file_serving/configuration/parser.rb +3 -34
- data/lib/puppet/file_serving/configuration.rb +0 -8
- data/lib/puppet/file_serving/fileset.rb +2 -14
- data/lib/puppet/file_serving/http_metadata.rb +1 -1
- data/lib/puppet/file_serving/metadata.rb +0 -3
- data/lib/puppet/file_serving/mount/file.rb +4 -4
- data/lib/puppet/file_serving/mount.rb +1 -2
- data/lib/puppet/file_system/file_impl.rb +8 -10
- data/lib/puppet/file_system/jruby.rb +1 -1
- data/lib/puppet/file_system/memory_file.rb +1 -8
- data/lib/puppet/file_system/windows.rb +6 -8
- data/lib/puppet/file_system.rb +1 -1
- data/lib/puppet/forge/repository.rb +0 -1
- data/lib/puppet/forge.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/empty.rb +0 -8
- data/lib/puppet/functions/find_template.rb +2 -2
- data/lib/puppet/functions/get.rb +5 -5
- data/lib/puppet/functions/group_by.rb +5 -13
- data/lib/puppet/functions/lest.rb +1 -1
- data/lib/puppet/functions/new.rb +100 -100
- data/lib/puppet/functions/next.rb +1 -18
- data/lib/puppet/functions/partition.rb +4 -12
- data/lib/puppet/functions/require.rb +5 -5
- data/lib/puppet/functions/sort.rb +3 -3
- data/lib/puppet/functions/strftime.rb +0 -1
- data/lib/puppet/functions/tree_each.rb +10 -7
- data/lib/puppet/functions/type.rb +4 -4
- data/lib/puppet/functions/unwrap.rb +2 -17
- data/lib/puppet/functions/upcase.rb +2 -2
- data/lib/puppet/functions/versioncmp.rb +2 -6
- data/lib/puppet/generate/models/type/type.rb +4 -1
- data/lib/puppet/generate/type.rb +0 -9
- data/lib/puppet/http/client.rb +167 -137
- data/lib/puppet/{network/resolver.rb → http/dns.rb} +2 -2
- data/lib/puppet/http/errors.rb +16 -0
- data/lib/puppet/http/external_client.rb +5 -7
- data/lib/puppet/{network/http → http}/factory.rb +8 -15
- data/lib/puppet/{network/http → http}/pool.rb +61 -26
- data/lib/puppet/{network/http/session.rb → http/pool_entry.rb} +2 -3
- data/lib/puppet/http/proxy.rb +137 -0
- data/lib/puppet/http/redirector.rb +4 -17
- data/lib/puppet/http/resolver/server_list.rb +10 -25
- data/lib/puppet/http/resolver/settings.rb +4 -7
- data/lib/puppet/http/resolver/srv.rb +7 -11
- data/lib/puppet/http/resolver.rb +5 -15
- data/lib/puppet/http/response.rb +36 -54
- data/lib/puppet/http/response_converter.rb +24 -0
- data/lib/puppet/http/response_net_http.rb +42 -0
- data/lib/puppet/http/retry_after_handler.rb +4 -13
- data/lib/puppet/http/service/ca.rb +11 -22
- data/lib/puppet/http/service/compiler.rb +23 -144
- data/lib/puppet/http/service/file_server.rb +19 -29
- data/lib/puppet/http/service/puppetserver.rb +26 -12
- data/lib/puppet/http/service/report.rb +8 -10
- data/lib/puppet/http/service.rb +12 -26
- data/lib/puppet/http/session.rb +11 -20
- data/lib/puppet/{network/http → http}/site.rb +1 -2
- data/lib/puppet/http.rb +22 -13
- data/lib/puppet/indirector/catalog/compiler.rb +6 -25
- data/lib/puppet/indirector/catalog/rest.rb +2 -5
- data/lib/puppet/indirector/facts/facter.rb +6 -6
- data/lib/puppet/indirector/facts/rest.rb +3 -22
- data/lib/puppet/indirector/file_bucket_file/rest.rb +3 -9
- data/lib/puppet/indirector/file_content/rest.rb +2 -6
- data/lib/puppet/indirector/file_metadata/rest.rb +3 -10
- data/lib/puppet/indirector/file_server.rb +1 -8
- data/lib/puppet/indirector/generic_http.rb +0 -11
- data/lib/puppet/indirector/indirection.rb +1 -1
- data/lib/puppet/indirector/node/rest.rb +2 -4
- data/lib/puppet/indirector/report/rest.rb +3 -8
- data/lib/puppet/indirector/request.rb +0 -101
- data/lib/puppet/indirector/resource/ral.rb +1 -6
- data/lib/puppet/indirector/rest.rb +12 -263
- data/lib/puppet/indirector/terminus.rb +0 -4
- data/lib/puppet/interface/documentation.rb +0 -1
- data/lib/puppet/module/plan.rb +1 -0
- data/lib/puppet/module/task.rb +1 -1
- data/lib/puppet/module.rb +0 -1
- data/lib/puppet/module_tool/applications/installer.rb +2 -56
- data/lib/puppet/module_tool/applications/uninstaller.rb +1 -1
- data/lib/puppet/module_tool/applications/upgrader.rb +1 -1
- data/lib/puppet/module_tool/applications.rb +0 -1
- data/lib/puppet/module_tool/errors/shared.rb +2 -34
- data/lib/puppet/network/authconfig.rb +2 -96
- data/lib/puppet/network/authorization.rb +13 -35
- data/lib/puppet/network/formats.rb +0 -67
- data/lib/puppet/network/http/api/indirected_routes.rb +3 -21
- data/lib/puppet/network/http/api/master/v3.rb +11 -13
- data/lib/puppet/network/http/connection.rb +247 -316
- data/lib/puppet/network/http/handler.rb +0 -1
- data/lib/puppet/network/http.rb +3 -3
- data/lib/puppet/network/http_pool.rb +16 -34
- data/lib/puppet/node/environment.rb +11 -10
- data/lib/puppet/node.rb +2 -31
- data/lib/puppet/pal/json_catalog_encoder.rb +4 -0
- data/lib/puppet/pal/pal_impl.rb +4 -2
- data/lib/puppet/parser/ast/leaf.rb +2 -3
- data/lib/puppet/parser/ast/pops_bridge.rb +0 -38
- data/lib/puppet/parser/compiler/catalog_validator/relationship_validator.rb +14 -39
- data/lib/puppet/parser/compiler.rb +0 -198
- data/lib/puppet/parser/functions/fqdn_rand.rb +6 -14
- data/lib/puppet/parser/resource.rb +1 -70
- data/lib/puppet/parser/scope.rb +0 -1
- data/lib/puppet/parser/templatewrapper.rb +1 -2
- data/lib/puppet/pops/evaluator/closure.rb +5 -7
- data/lib/puppet/pops/evaluator/deferred_resolver.rb +3 -5
- data/lib/puppet/pops/evaluator/evaluator_impl.rb +0 -5
- data/lib/puppet/pops/evaluator/runtime3_resource_support.rb +3 -4
- data/lib/puppet/pops/evaluator/runtime3_support.rb +1 -1
- data/lib/puppet/pops/issues.rb +0 -5
- data/lib/puppet/pops/loader/ruby_legacy_function_instantiator.rb +6 -8
- data/lib/puppet/pops/lookup/lookup_adapter.rb +2 -3
- data/lib/puppet/pops/model/ast.pp +0 -42
- data/lib/puppet/pops/model/ast.rb +0 -291
- data/lib/puppet/pops/model/ast_transformer.rb +1 -1
- data/lib/puppet/pops/model/factory.rb +1 -47
- data/lib/puppet/pops/model/model_label_provider.rb +0 -5
- data/lib/puppet/pops/model/model_tree_dumper.rb +0 -22
- data/lib/puppet/pops/model/pn_transformer.rb +0 -16
- data/lib/puppet/pops/parser/code_merger.rb +4 -4
- data/lib/puppet/pops/parser/egrammar.ra +0 -58
- data/lib/puppet/pops/parser/eparser.rb +1685 -1896
- data/lib/puppet/pops/parser/lexer2.rb +91 -92
- data/lib/puppet/pops/parser/parser_support.rb +0 -5
- data/lib/puppet/pops/parser/slurp_support.rb +0 -1
- data/lib/puppet/pops/resource/resource_type_impl.rb +2 -24
- data/lib/puppet/pops/serialization/to_stringified_converter.rb +1 -1
- data/lib/puppet/pops/types/p_sem_ver_type.rb +2 -8
- data/lib/puppet/pops/types/p_sensitive_type.rb +0 -10
- data/lib/puppet/pops/types/type_calculator.rb +0 -7
- data/lib/puppet/pops/types/type_formatter.rb +3 -4
- data/lib/puppet/pops/types/type_mismatch_describer.rb +1 -1
- data/lib/puppet/pops/types/type_parser.rb +0 -4
- data/lib/puppet/pops/types/types.rb +1 -2
- data/lib/puppet/pops/validation/checker4_0.rb +9 -37
- data/lib/puppet/pops/validation/tasks_checker.rb +0 -12
- data/lib/puppet/pops/validation/validator_factory_4_0.rb +1 -2
- data/lib/puppet/property/list.rb +1 -1
- data/lib/puppet/provider/aix_object.rb +1 -1
- data/lib/puppet/provider/exec/posix.rb +4 -16
- data/lib/puppet/provider/group/groupadd.rb +10 -18
- data/lib/puppet/provider/nameservice.rb +0 -18
- data/lib/puppet/provider/package/apt.rb +2 -34
- data/lib/puppet/provider/package/aptitude.rb +0 -6
- data/lib/puppet/provider/package/dnfmodule.rb +1 -1
- data/lib/puppet/provider/package/dpkg.rb +0 -10
- data/lib/puppet/provider/package/gem.rb +23 -3
- data/lib/puppet/provider/package/nim.rb +6 -11
- data/lib/puppet/provider/package/pip.rb +3 -16
- data/lib/puppet/provider/package/pkg.rb +2 -23
- data/lib/puppet/provider/package/portage.rb +1 -1
- data/lib/puppet/provider/package/puppet_gem.rb +1 -4
- data/lib/puppet/provider/package/puppetserver_gem.rb +17 -8
- data/lib/puppet/provider/package/windows/exe_package.rb +1 -30
- data/lib/puppet/provider/package/windows/package.rb +1 -2
- data/lib/puppet/provider/package/windows.rb +1 -14
- data/lib/puppet/provider/package/yum.rb +1 -1
- data/lib/puppet/provider/parsedfile.rb +0 -3
- data/lib/puppet/provider/service/base.rb +1 -1
- data/lib/puppet/provider/service/debian.rb +0 -2
- data/lib/puppet/provider/service/init.rb +9 -10
- data/lib/puppet/provider/service/launchd.rb +2 -2
- data/lib/puppet/provider/service/redhat.rb +1 -1
- data/lib/puppet/provider/service/smf.rb +194 -76
- data/lib/puppet/provider/service/systemd.rb +6 -16
- data/lib/puppet/provider/service/upstart.rb +5 -5
- data/lib/puppet/provider/service/windows.rb +0 -38
- data/lib/puppet/provider/user/aix.rb +3 -46
- data/lib/puppet/provider/user/directoryservice.rb +11 -39
- data/lib/puppet/provider/user/useradd.rb +24 -134
- data/lib/puppet/provider.rb +1 -14
- data/lib/puppet/reference/configuration.rb +8 -7
- data/lib/puppet/reference/indirection.rb +1 -1
- data/lib/puppet/reference/providers.rb +2 -2
- data/lib/puppet/resource/catalog.rb +2 -15
- data/lib/puppet/resource/type.rb +3 -119
- data/lib/puppet/resource/type_collection.rb +3 -49
- data/lib/puppet/resource.rb +6 -127
- data/lib/puppet/runtime.rb +2 -13
- data/lib/puppet/settings/environment_conf.rb +0 -1
- data/lib/puppet/settings/integer_setting.rb +17 -0
- data/lib/puppet/settings/port_setting.rb +15 -0
- data/lib/puppet/settings/priority_setting.rb +5 -4
- data/lib/puppet/settings.rb +82 -98
- data/lib/puppet/ssl/base.rb +3 -5
- data/lib/puppet/ssl/certificate.rb +0 -6
- data/lib/puppet/ssl/certificate_request.rb +1 -12
- data/lib/puppet/ssl/certificate_signer.rb +6 -0
- data/lib/puppet/ssl/oids.rb +3 -1
- data/lib/puppet/ssl/ssl_provider.rb +36 -75
- data/lib/puppet/ssl/state_machine.rb +20 -14
- data/lib/puppet/ssl/verifier.rb +2 -6
- data/lib/puppet/ssl.rb +10 -6
- data/lib/puppet/test/test_helper.rb +2 -7
- data/lib/puppet/transaction/additional_resource_generator.rb +1 -1
- data/lib/puppet/transaction/persistence.rb +1 -21
- data/lib/puppet/transaction/report.rb +3 -19
- data/lib/puppet/transaction.rb +1 -7
- data/lib/puppet/type/exec.rb +6 -36
- data/lib/puppet/type/file/checksum.rb +1 -1
- data/lib/puppet/type/file/data_sync.rb +1 -1
- data/lib/puppet/type/file/mode.rb +0 -6
- data/lib/puppet/type/file/selcontext.rb +1 -1
- data/lib/puppet/type/file/source.rb +1 -1
- data/lib/puppet/type/file.rb +12 -32
- data/lib/puppet/type/filebucket.rb +4 -4
- data/lib/puppet/type/group.rb +1 -0
- data/lib/puppet/type/package.rb +8 -16
- data/lib/puppet/type/resources.rb +1 -1
- data/lib/puppet/type/service.rb +41 -26
- data/lib/puppet/type/tidy.rb +3 -22
- data/lib/puppet/type/user.rb +13 -35
- data/lib/puppet/type.rb +1 -77
- data/lib/puppet/util/autoload.rb +8 -1
- data/lib/puppet/util/command_line.rb +1 -1
- data/lib/puppet/util/execution.rb +0 -11
- data/lib/puppet/util/filetype.rb +2 -2
- data/lib/puppet/util/http_proxy.rb +2 -215
- data/lib/puppet/util/json.rb +0 -20
- data/lib/puppet/util/log.rb +4 -8
- data/lib/puppet/util/logging.rb +25 -1
- data/lib/puppet/util/monkey_patches.rb +2 -59
- data/lib/puppet/util/package.rb +16 -25
- data/lib/puppet/util/pidlock.rb +1 -1
- data/lib/puppet/util/posix.rb +5 -54
- data/lib/puppet/util/rdoc/parser/puppet_parser_core.rb +1 -1
- data/lib/puppet/util/rdoc.rb +0 -7
- data/lib/puppet/util/retry_action.rb +1 -1
- data/lib/puppet/util/run_mode.rb +9 -1
- data/lib/puppet/util/selinux.rb +4 -30
- data/lib/puppet/util/suidmanager.rb +2 -1
- data/lib/puppet/util/symbolic_file_mode.rb +17 -29
- data/lib/puppet/util/tagging.rb +0 -1
- data/lib/puppet/util/windows/adsi.rb +0 -46
- data/lib/puppet/util/windows/daemon.rb +360 -0
- data/lib/puppet/util/windows/error.rb +1 -0
- data/lib/puppet/util/windows/eventlog.rb +4 -9
- data/lib/puppet/util/windows/file.rb +8 -242
- data/lib/puppet/util/windows/monkey_patches/process.rb +414 -0
- data/lib/puppet/util/windows/principal.rb +2 -9
- data/lib/puppet/util/windows/process.rb +4 -226
- data/lib/puppet/util/windows/service.rb +11 -457
- data/lib/puppet/util/windows/sid.rb +2 -6
- data/lib/puppet/util/windows/string.rb +12 -13
- data/lib/puppet/util/windows/user.rb +2 -0
- data/lib/puppet/util/windows.rb +3 -11
- data/lib/puppet/util/yaml.rb +1 -42
- data/lib/puppet/util.rb +5 -5
- data/lib/puppet/vendor/require_vendored.rb +0 -1
- data/lib/puppet/version.rb +1 -1
- data/lib/puppet/x509/cert_provider.rb +29 -1
- data/lib/puppet/x509.rb +5 -1
- data/lib/puppet.rb +34 -27
- data/locales/puppet.pot +9633 -5
- data/man/man5/puppet.conf.5 +286 -401
- data/man/man8/puppet-agent.8 +2 -5
- data/man/man8/puppet-apply.8 +2 -2
- data/man/man8/puppet-catalog.8 +9 -9
- 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 +8 -51
- data/man/man8/puppet-filebucket.8 +4 -4
- data/man/man8/puppet-generate.8 +1 -1
- data/man/man8/puppet-help.8 +1 -1
- data/man/man8/puppet-lookup.8 +6 -9
- data/man/man8/puppet-module.8 +3 -60
- data/man/man8/puppet-node.8 +5 -5
- data/man/man8/puppet-parser.8 +1 -1
- data/man/man8/puppet-plugin.8 +1 -1
- data/man/man8/puppet-report.8 +5 -5
- data/man/man8/puppet-resource.8 +1 -1
- data/man/man8/puppet-script.8 +2 -2
- data/man/man8/puppet-ssl.8 +1 -5
- data/man/man8/puppet.8 +2 -2
- data/spec/fixtures/ssl/127.0.0.1-key.pem +57 -107
- data/spec/fixtures/ssl/127.0.0.1.pem +31 -52
- data/spec/fixtures/ssl/bad-basic-constraints.pem +35 -57
- data/spec/fixtures/ssl/bad-int-basic-constraints.pem +35 -57
- data/spec/fixtures/ssl/ca.pem +35 -57
- data/spec/fixtures/ssl/crl.pem +18 -28
- data/spec/fixtures/ssl/ec-key.pem +11 -11
- data/spec/fixtures/ssl/ec.pem +24 -33
- data/spec/fixtures/ssl/encrypted-ec-key.pem +12 -12
- data/spec/fixtures/ssl/encrypted-key.pem +58 -108
- data/spec/fixtures/ssl/intermediate-agent-crl.pem +19 -28
- data/spec/fixtures/ssl/intermediate-agent.pem +36 -57
- data/spec/fixtures/ssl/intermediate-crl.pem +21 -31
- data/spec/fixtures/ssl/intermediate.pem +36 -57
- data/spec/fixtures/ssl/pluto-key.pem +57 -107
- data/spec/fixtures/ssl/pluto.pem +30 -52
- data/spec/fixtures/ssl/request-key.pem +57 -107
- data/spec/fixtures/ssl/request.pem +26 -47
- data/spec/fixtures/ssl/revoked-key.pem +57 -107
- data/spec/fixtures/ssl/revoked.pem +30 -52
- data/spec/fixtures/ssl/signed-key.pem +57 -107
- data/spec/fixtures/ssl/signed.pem +30 -52
- data/spec/fixtures/ssl/tampered-cert.pem +30 -52
- data/spec/fixtures/ssl/tampered-csr.pem +26 -47
- data/spec/fixtures/ssl/unknown-127.0.0.1-key.pem +57 -107
- data/spec/fixtures/ssl/unknown-127.0.0.1.pem +29 -50
- data/spec/fixtures/ssl/unknown-ca-key.pem +57 -107
- data/spec/fixtures/ssl/unknown-ca.pem +33 -55
- data/spec/fixtures/unit/forge/bacula.json +1 -1
- data/spec/fixtures/unit/provider/service/smf/{svcs.out → svcs_instances.out} +0 -0
- data/spec/fixtures/unit/provider/user/aix/aix_passwd_file.out +0 -4
- data/spec/integration/application/agent_spec.rb +50 -406
- data/spec/integration/application/apply_spec.rb +1 -20
- data/spec/integration/application/filebucket_spec.rb +16 -32
- data/spec/integration/application/help_spec.rb +2 -0
- data/spec/integration/application/lookup_spec.rb +50 -81
- data/spec/integration/application/module_spec.rb +0 -21
- data/spec/integration/application/plugin_spec.rb +24 -2
- data/spec/integration/configurer_spec.rb +2 -18
- data/spec/integration/defaults_spec.rb +14 -3
- data/spec/integration/environments/settings_interpolation_spec.rb +4 -0
- data/spec/integration/http/client_spec.rb +4 -63
- data/spec/integration/indirector/direct_file_server_spec.rb +3 -1
- data/spec/integration/indirector/facts/facter_spec.rb +39 -93
- data/spec/integration/network/http_pool_spec.rb +3 -21
- data/spec/integration/parser/catalog_spec.rb +0 -38
- data/spec/integration/parser/node_spec.rb +0 -9
- data/spec/integration/parser/pcore_resource_spec.rb +0 -47
- data/spec/integration/resource/type_collection_spec.rb +6 -2
- data/spec/integration/transaction/report_spec.rb +1 -1
- data/spec/integration/transaction_spec.rb +9 -4
- data/spec/integration/type/exec_spec.rb +45 -70
- data/spec/integration/type/file_spec.rb +7 -6
- data/spec/integration/type/package_spec.rb +6 -6
- data/spec/integration/util/rdoc/parser_spec.rb +1 -1
- data/spec/integration/util/windows/adsi_spec.rb +1 -21
- data/spec/integration/util/windows/monkey_patches/process_spec.rb +231 -0
- data/spec/integration/util/windows/principal_spec.rb +0 -21
- data/spec/integration/util/windows/process_spec.rb +9 -1
- data/spec/integration/util/windows/registry_spec.rb +10 -6
- data/spec/integration/util/windows/security_spec.rb +1 -1
- data/spec/lib/matchers/include.rb +27 -0
- data/spec/lib/matchers/include_spec.rb +32 -0
- data/spec/lib/puppet/test_ca.rb +2 -7
- data/spec/lib/puppet_spec/https.rb +1 -1
- data/spec/lib/puppet_spec/modules.rb +2 -13
- data/spec/lib/puppet_spec/puppetserver.rb +3 -55
- data/spec/lib/puppet_spec/settings.rb +1 -1
- data/spec/shared_behaviours/documentation_on_faces.rb +2 -0
- data/spec/spec_helper.rb +17 -13
- data/spec/unit/agent_spec.rb +8 -38
- data/spec/unit/application/agent_spec.rb +19 -33
- data/spec/unit/application/apply_spec.rb +56 -76
- data/spec/unit/application/facts_spec.rb +12 -456
- data/spec/unit/application/filebucket_spec.rb +43 -39
- data/spec/unit/application/lookup_spec.rb +10 -131
- data/spec/unit/application/resource_spec.rb +0 -29
- data/spec/unit/application/ssl_spec.rb +2 -25
- data/spec/unit/application_spec.rb +9 -51
- data/spec/unit/certificate_factory_spec.rb +1 -1
- data/spec/unit/configurer/downloader_spec.rb +6 -8
- data/spec/unit/configurer/plugin_handler_spec.rb +56 -18
- data/spec/unit/configurer_spec.rb +68 -327
- data/spec/unit/confine/feature_spec.rb +1 -1
- data/spec/unit/confine_spec.rb +2 -8
- data/spec/unit/context/trusted_information_spec.rb +2 -6
- data/spec/unit/daemon_spec.rb +11 -2
- data/spec/unit/defaults_spec.rb +68 -55
- data/spec/unit/environments_spec.rb +68 -408
- data/spec/unit/face/generate_spec.rb +0 -64
- data/spec/unit/face/node_spec.rb +11 -0
- data/spec/unit/face/plugin_spec.rb +73 -33
- data/spec/unit/file_bucket/dipper_spec.rb +2 -2
- data/spec/unit/file_bucket/file_spec.rb +1 -1
- data/spec/unit/file_serving/configuration/parser_spec.rb +15 -41
- data/spec/unit/file_serving/configuration_spec.rb +10 -26
- data/spec/unit/file_serving/fileset_spec.rb +0 -60
- data/spec/unit/file_serving/metadata_spec.rb +3 -3
- data/spec/unit/file_serving/terminus_helper_spec.rb +4 -11
- data/spec/unit/file_system_spec.rb +4 -56
- data/spec/unit/forge/module_release_spec.rb +10 -5
- data/spec/unit/functions/assert_type_spec.rb +1 -1
- data/spec/unit/functions/camelcase_spec.rb +1 -1
- data/spec/unit/functions/capitalize_spec.rb +1 -1
- data/spec/unit/functions/downcase_spec.rb +1 -1
- data/spec/unit/functions/empty_spec.rb +0 -10
- data/spec/unit/functions/logging_spec.rb +0 -1
- data/spec/unit/functions/lookup_spec.rb +0 -64
- data/spec/unit/functions/unwrap_spec.rb +0 -8
- data/spec/unit/functions/upcase_spec.rb +1 -1
- data/spec/unit/functions/versioncmp_spec.rb +4 -40
- data/spec/unit/functions4_spec.rb +2 -2
- data/spec/unit/gettext/config_spec.rb +0 -12
- data/spec/unit/http/client_spec.rb +8 -84
- data/spec/unit/{network/resolver_spec.rb → http/dns_spec.rb} +3 -3
- data/spec/unit/http/external_client_spec.rb +4 -4
- data/spec/unit/{network/http → http}/factory_spec.rb +5 -30
- data/spec/unit/{network/http/session_spec.rb → http/pool_entry_spec.rb} +3 -3
- data/spec/unit/{network/http → http}/pool_spec.rb +12 -17
- data/spec/unit/{util/http_proxy_spec.rb → http/proxy_spec.rb} +2 -69
- data/spec/unit/http/resolver_spec.rb +13 -13
- data/spec/unit/http/service/compiler_spec.rb +0 -193
- data/spec/unit/http/service/file_server_spec.rb +3 -3
- data/spec/unit/http/service/puppetserver_spec.rb +34 -4
- data/spec/unit/http/service_spec.rb +0 -1
- data/spec/unit/http/session_spec.rb +16 -14
- data/spec/unit/{network/http → http}/site_spec.rb +3 -3
- data/spec/unit/indirector/catalog/compiler_spec.rb +10 -101
- data/spec/unit/indirector/catalog/rest_spec.rb +0 -8
- data/spec/unit/indirector/face_spec.rb +1 -0
- data/spec/unit/indirector/facts/facter_spec.rb +3 -0
- data/spec/unit/indirector/file_bucket_file/file_spec.rb +5 -3
- data/spec/unit/indirector/file_bucket_file/selector_spec.rb +8 -26
- data/spec/unit/indirector/file_content/rest_spec.rb +0 -4
- data/spec/unit/indirector/file_metadata/rest_spec.rb +0 -4
- data/spec/unit/indirector/file_server_spec.rb +1 -15
- data/spec/unit/indirector/indirection_spec.rb +15 -18
- data/spec/unit/indirector/report/rest_spec.rb +2 -17
- data/spec/unit/indirector/request_spec.rb +0 -264
- data/spec/unit/indirector/resource/ral_spec.rb +75 -40
- data/spec/unit/indirector/rest_spec.rb +98 -752
- data/spec/unit/indirector/store_configs_spec.rb +7 -0
- data/spec/unit/indirector_spec.rb +2 -2
- data/spec/unit/interface/action_spec.rb +9 -0
- data/spec/unit/module_spec.rb +1 -15
- data/spec/unit/module_tool/applications/installer_spec.rb +0 -105
- data/spec/unit/network/authconfig_spec.rb +2 -129
- data/spec/unit/network/authorization_spec.rb +2 -55
- data/spec/unit/network/formats_spec.rb +4 -51
- data/spec/unit/network/http/api/indirected_routes_spec.rb +5 -92
- data/spec/unit/network/http/api/master/v3_spec.rb +28 -7
- data/spec/unit/network/http/api_spec.rb +10 -0
- data/spec/unit/network/http/connection_spec.rb +19 -41
- data/spec/unit/network/http/handler_spec.rb +0 -1
- data/spec/unit/network/http_pool_spec.rb +0 -4
- data/spec/unit/node/environment_spec.rb +33 -21
- data/spec/unit/node_spec.rb +2 -60
- data/spec/unit/parser/compiler_spec.rb +19 -3
- data/spec/unit/parser/functions/create_resources_spec.rb +2 -20
- data/spec/unit/parser/functions/fqdn_rand_spec.rb +1 -15
- data/spec/unit/parser/resource_spec.rb +8 -14
- data/spec/unit/parser/templatewrapper_spec.rb +5 -16
- data/spec/unit/pops/evaluator/evaluating_parser_spec.rb +4 -7
- data/spec/unit/pops/loaders/loaders_spec.rb +6 -21
- data/spec/unit/pops/parser/parse_application_spec.rb +4 -22
- data/spec/unit/pops/parser/parse_basic_expressions_spec.rb +0 -1
- data/spec/unit/pops/parser/parse_capabilities_spec.rb +8 -21
- data/spec/unit/pops/parser/parse_containers_spec.rb +13 -2
- data/spec/unit/pops/parser/parse_site_spec.rb +20 -24
- data/spec/unit/pops/resource/resource_type_impl_spec.rb +0 -71
- data/spec/unit/pops/serialization/to_from_hr_spec.rb +1 -1
- data/spec/unit/pops/serialization/to_stringified_spec.rb +0 -5
- data/spec/unit/pops/types/p_sem_ver_type_spec.rb +0 -18
- data/spec/unit/pops/types/p_sensitive_type_spec.rb +0 -18
- data/spec/unit/pops/types/type_calculator_spec.rb +6 -12
- data/spec/unit/pops/types/type_factory_spec.rb +1 -1
- data/spec/unit/pops/validator/validator_spec.rb +61 -51
- data/spec/unit/pops/visitor_spec.rb +1 -1
- data/spec/unit/property_spec.rb +0 -1
- data/spec/unit/provider/group/groupadd_spec.rb +2 -5
- data/spec/unit/provider/nameservice_spec.rb +64 -122
- data/spec/unit/provider/package/apt_spec.rb +23 -28
- data/spec/unit/provider/package/aptitude_spec.rb +1 -1
- data/spec/unit/provider/package/base_spec.rb +5 -6
- data/spec/unit/provider/package/dnfmodule_spec.rb +1 -10
- data/spec/unit/provider/package/dpkg_spec.rb +0 -48
- data/spec/unit/provider/package/gem_spec.rb +33 -1
- data/spec/unit/provider/package/nim_spec.rb +0 -42
- data/spec/unit/provider/package/pacman_spec.rb +12 -18
- data/spec/unit/provider/package/pip2_spec.rb +1 -1
- data/spec/unit/provider/package/pip3_spec.rb +1 -1
- data/spec/unit/provider/package/pip_spec.rb +12 -44
- data/spec/unit/provider/package/pkg_spec.rb +4 -29
- data/spec/unit/provider/package/pkgdmg_spec.rb +4 -0
- data/spec/unit/provider/package/puppet_gem_spec.rb +4 -3
- data/spec/unit/provider/package/puppetserver_gem_spec.rb +3 -3
- data/spec/unit/provider/package/windows/exe_package_spec.rb +0 -17
- data/spec/unit/provider/parsedfile_spec.rb +0 -10
- data/spec/unit/provider/service/gentoo_spec.rb +5 -6
- data/spec/unit/provider/service/init_spec.rb +9 -16
- data/spec/unit/provider/service/launchd_spec.rb +0 -11
- data/spec/unit/provider/service/openwrt_spec.rb +29 -23
- data/spec/unit/provider/service/redhat_spec.rb +2 -3
- data/spec/unit/provider/service/smf_spec.rb +401 -165
- data/spec/unit/provider/service/systemd_spec.rb +9 -54
- data/spec/unit/provider/service/windows_spec.rb +0 -203
- data/spec/unit/provider/user/aix_spec.rb +0 -105
- data/spec/unit/provider/user/directoryservice_spec.rb +36 -68
- data/spec/unit/provider/user/hpux_spec.rb +1 -1
- data/spec/unit/provider/user/pw_spec.rb +0 -2
- data/spec/unit/provider/user/useradd_spec.rb +5 -114
- data/spec/unit/provider_spec.rb +12 -22
- data/spec/unit/puppet_spec.rb +4 -12
- data/spec/unit/resource/catalog_spec.rb +2 -15
- data/spec/unit/resource/type_collection_spec.rb +2 -22
- data/spec/unit/resource/type_spec.rb +1 -1
- data/spec/unit/resource_spec.rb +12 -125
- data/spec/unit/settings/http_extra_headers_spec.rb +2 -4
- data/spec/unit/settings/integer_setting_spec.rb +42 -0
- data/spec/unit/settings/port_setting_spec.rb +31 -0
- data/spec/unit/settings/priority_setting_spec.rb +4 -4
- data/spec/unit/settings_spec.rb +79 -110
- data/spec/unit/ssl/base_spec.rb +37 -3
- data/spec/unit/ssl/certificate_request_spec.rb +21 -45
- data/spec/unit/ssl/certificate_spec.rb +2 -11
- data/spec/unit/ssl/ssl_provider_spec.rb +3 -80
- data/spec/unit/ssl/state_machine_spec.rb +5 -21
- data/spec/unit/ssl/verifier_spec.rb +0 -21
- data/spec/unit/transaction/additional_resource_generator_spec.rb +9 -3
- data/spec/unit/transaction/event_manager_spec.rb +11 -14
- data/spec/unit/transaction/persistence_spec.rb +0 -51
- data/spec/unit/transaction/report_spec.rb +0 -2
- data/spec/unit/transaction/resource_harness_spec.rb +2 -2
- data/spec/unit/transaction_spec.rb +55 -96
- data/spec/unit/type/exec_spec.rb +29 -76
- data/spec/unit/type/file/checksum_spec.rb +6 -6
- data/spec/unit/type/file/content_spec.rb +2 -1
- data/spec/unit/type/file/ensure_spec.rb +1 -1
- data/spec/unit/type/file/mode_spec.rb +1 -1
- data/spec/unit/type/file/selinux_spec.rb +5 -3
- data/spec/unit/type/file/source_spec.rb +4 -5
- data/spec/unit/type/file_spec.rb +18 -6
- data/spec/unit/type/group_spec.rb +6 -13
- data/spec/unit/type/package_spec.rb +1 -1
- data/spec/unit/type/resources_spec.rb +7 -7
- data/spec/unit/type/service_spec.rb +189 -87
- data/spec/unit/type/tidy_spec.rb +8 -24
- data/spec/unit/type_spec.rb +24 -4
- data/spec/unit/util/at_fork_spec.rb +2 -2
- data/spec/unit/util/autoload_spec.rb +1 -5
- data/spec/unit/util/backups_spec.rb +2 -3
- data/spec/unit/util/execution_spec.rb +11 -44
- data/spec/unit/util/inifile_spec.rb +14 -6
- data/spec/unit/util/log_spec.rb +7 -8
- data/spec/unit/util/logging_spec.rb +3 -5
- data/spec/unit/util/monkey_patches_spec.rb +0 -6
- data/spec/unit/util/posix_spec.rb +15 -363
- data/spec/unit/util/run_mode_spec.rb +21 -121
- data/spec/unit/util/selinux_spec.rb +68 -163
- data/spec/unit/util/storage_spec.rb +1 -3
- data/spec/unit/util/suidmanager_spec.rb +41 -44
- data/spec/unit/util/windows/sid_spec.rb +0 -41
- data/spec/unit/util/windows/string_spec.rb +1 -3
- data/spec/unit/util/yaml_spec.rb +13 -92
- data/spec/unit/util_spec.rb +6 -31
- data/tasks/generate_cert_fixtures.rake +7 -17
- data/tasks/parallel.rake +3 -3
- metadata +138 -233
- data/conf/auth.conf +0 -150
- data/ext/README.md +0 -13
- data/lib/puppet/application/cert.rb +0 -76
- data/lib/puppet/application/key.rb +0 -4
- data/lib/puppet/application/man.rb +0 -4
- data/lib/puppet/application/status.rb +0 -4
- data/lib/puppet/face/key.rb +0 -16
- data/lib/puppet/face/man.rb +0 -145
- data/lib/puppet/face/module/build.rb +0 -14
- data/lib/puppet/face/module/generate.rb +0 -14
- data/lib/puppet/face/module/search.rb +0 -103
- data/lib/puppet/face/status.rb +0 -51
- data/lib/puppet/facter_impl.rb +0 -96
- data/lib/puppet/ffi/posix/constants.rb +0 -14
- data/lib/puppet/ffi/posix/functions.rb +0 -24
- data/lib/puppet/ffi/posix.rb +0 -10
- data/lib/puppet/file_serving/mount/scripts.rb +0 -24
- data/lib/puppet/indirector/certificate/file.rb +0 -9
- data/lib/puppet/indirector/certificate/rest.rb +0 -18
- data/lib/puppet/indirector/certificate_request/file.rb +0 -9
- data/lib/puppet/indirector/certificate_request/memory.rb +0 -7
- data/lib/puppet/indirector/certificate_request/rest.rb +0 -11
- data/lib/puppet/indirector/file_content/http.rb +0 -22
- data/lib/puppet/indirector/key/file.rb +0 -46
- data/lib/puppet/indirector/key/memory.rb +0 -7
- data/lib/puppet/indirector/ssl_file.rb +0 -162
- data/lib/puppet/indirector/status/local.rb +0 -12
- data/lib/puppet/indirector/status/rest.rb +0 -27
- data/lib/puppet/indirector/status.rb +0 -3
- data/lib/puppet/module_tool/applications/searcher.rb +0 -29
- data/lib/puppet/network/auth_config_parser.rb +0 -90
- data/lib/puppet/network/authstore.rb +0 -283
- data/lib/puppet/network/http/api/master/v3/authorization.rb +0 -18
- data/lib/puppet/network/http/api/master/v3/environment.rb +0 -88
- data/lib/puppet/network/http/base_pool.rb +0 -36
- data/lib/puppet/network/http/compression.rb +0 -127
- data/lib/puppet/network/http/connection_adapter.rb +0 -184
- data/lib/puppet/network/http/nocache_pool.rb +0 -28
- data/lib/puppet/network/rest_controller.rb +0 -2
- data/lib/puppet/network/rights.rb +0 -210
- data/lib/puppet/parser/compiler/catalog_validator/env_relationship_validator.rb +0 -66
- data/lib/puppet/parser/compiler/catalog_validator/site_validator.rb +0 -22
- data/lib/puppet/parser/environment_compiler.rb +0 -202
- data/lib/puppet/pops/types/enumeration.rb +0 -16
- data/lib/puppet/resource/capability_finder.rb +0 -154
- data/lib/puppet/rest/errors.rb +0 -15
- data/lib/puppet/rest/response.rb +0 -35
- data/lib/puppet/rest/route.rb +0 -85
- data/lib/puppet/rest/routes.rb +0 -135
- data/lib/puppet/settings/alias_setting.rb +0 -37
- data/lib/puppet/ssl/host.rb +0 -505
- data/lib/puppet/ssl/key.rb +0 -61
- data/lib/puppet/ssl/validator/default_validator.rb +0 -209
- data/lib/puppet/ssl/validator/no_validator.rb +0 -22
- data/lib/puppet/ssl/validator.rb +0 -61
- data/lib/puppet/ssl/verifier_adapter.rb +0 -58
- data/lib/puppet/status.rb +0 -40
- data/lib/puppet/util/connection.rb +0 -88
- data/lib/puppet/util/fact_dif.rb +0 -81
- data/lib/puppet/util/ssl.rb +0 -83
- data/lib/puppet/util/windows/api_types.rb +0 -309
- data/lib/puppet/util/windows/monkey_patches/dir.rb +0 -40
- data/lib/puppet/vendor/load_pathspec.rb +0 -1
- data/lib/puppet/vendor/pathspec/CHANGELOG.md +0 -2
- data/lib/puppet/vendor/pathspec/LICENSE +0 -201
- data/lib/puppet/vendor/pathspec/PUPPET_README.md +0 -6
- data/lib/puppet/vendor/pathspec/README.md +0 -53
- data/lib/puppet/vendor/pathspec/lib/pathspec/gitignorespec.rb +0 -275
- data/lib/puppet/vendor/pathspec/lib/pathspec/regexspec.rb +0 -17
- data/lib/puppet/vendor/pathspec/lib/pathspec/spec.rb +0 -14
- data/lib/puppet/vendor/pathspec/lib/pathspec.rb +0 -122
- data/man/man8/puppet-key.8 +0 -126
- data/man/man8/puppet-man.8 +0 -76
- data/man/man8/puppet-status.8 +0 -108
- data/spec/fixtures/integration/application/agent/cached_deferred_catalog.json +0 -92
- data/spec/fixtures/integration/application/agent/lib/facter/agent_spec_role.rb +0 -3
- data/spec/fixtures/integration/l10n/envs/prod/modules/demo/Gemfile +0 -4
- data/spec/fixtures/integration/l10n/envs/prod/modules/demo/Rakefile +0 -3
- data/spec/fixtures/integration/l10n/envs/prod/modules/demo/lib/puppet/functions/l10n.rb +0 -8
- data/spec/fixtures/integration/l10n/envs/prod/modules/demo/locales/config.yaml +0 -25
- data/spec/fixtures/integration/l10n/envs/prod/modules/demo/locales/ja/puppet-l10n.po +0 -19
- data/spec/fixtures/integration/l10n/envs/prod/modules/demo/locales/puppet-l10n.pot +0 -20
- data/spec/fixtures/integration/l10n/envs/prod/modules/demo/metadata.json +0 -8
- data/spec/fixtures/ssl/oid-key.pem +0 -117
- data/spec/fixtures/ssl/oid.pem +0 -69
- data/spec/fixtures/ssl/trusted_oid_mapping.yaml +0 -5
- data/spec/fixtures/unit/provider/service/systemd/list_unit_files_services_vendor_preset +0 -9
- data/spec/integration/application/resource_spec.rb +0 -68
- data/spec/integration/application/ssl_spec.rb +0 -20
- data/spec/integration/l10n/compiler_spec.rb +0 -37
- data/spec/integration/network/authconfig_spec.rb +0 -256
- data/spec/integration/util/windows/monkey_patches/dir_spec.rb +0 -11
- data/spec/shared_contexts/l10n.rb +0 -32
- data/spec/unit/application/man_spec.rb +0 -52
- data/spec/unit/capability_spec.rb +0 -414
- data/spec/unit/concurrent/thread_local_singleton_spec.rb +0 -39
- data/spec/unit/face/key_spec.rb +0 -9
- data/spec/unit/face/module/search_spec.rb +0 -231
- data/spec/unit/face/status_spec.rb +0 -9
- data/spec/unit/facter_impl_spec.rb +0 -31
- data/spec/unit/file_serving/mount/scripts_spec.rb +0 -69
- data/spec/unit/indirector/certificate/file_spec.rb +0 -14
- data/spec/unit/indirector/certificate/rest_spec.rb +0 -61
- data/spec/unit/indirector/certificate_request/file_spec.rb +0 -14
- data/spec/unit/indirector/certificate_request/rest_spec.rb +0 -25
- data/spec/unit/indirector/key/file_spec.rb +0 -78
- data/spec/unit/indirector/ssl_file_spec.rb +0 -305
- data/spec/unit/indirector/status/local_spec.rb +0 -10
- data/spec/unit/indirector/status/rest_spec.rb +0 -50
- data/spec/unit/module_tool/applications/searcher_spec.rb +0 -38
- data/spec/unit/network/auth_config_parser_spec.rb +0 -115
- data/spec/unit/network/authstore_spec.rb +0 -407
- data/spec/unit/network/http/api/master/v3/authorization_spec.rb +0 -57
- data/spec/unit/network/http/api/master/v3/environment_spec.rb +0 -185
- data/spec/unit/network/http/compression_spec.rb +0 -240
- data/spec/unit/network/http/nocache_pool_spec.rb +0 -64
- data/spec/unit/network/http_spec.rb +0 -9
- data/spec/unit/network/rights_spec.rb +0 -439
- data/spec/unit/parser/environment_compiler_spec.rb +0 -730
- data/spec/unit/pops/evaluator/deferred_resolver_spec.rb +0 -20
- data/spec/unit/pops/types/enumeration_spec.rb +0 -51
- data/spec/unit/resource/capability_finder_spec.rb +0 -148
- data/spec/unit/rest/route_spec.rb +0 -132
- data/spec/unit/ssl/host_spec.rb +0 -645
- data/spec/unit/ssl/key_spec.rb +0 -173
- data/spec/unit/ssl/validator_spec.rb +0 -278
- data/spec/unit/status_spec.rb +0 -45
- data/spec/unit/util/json_spec.rb +0 -126
- data/spec/unit/util/ssl_spec.rb +0 -91
- data/spec/unit/util/windows_spec.rb +0 -23
@@ -0,0 +1,841 @@
|
|
1
|
+
# Augeas and SELinux requirements may be disabled at build time by passing
|
2
|
+
# --without augeas and/or --without selinux to rpmbuild or mock
|
3
|
+
|
4
|
+
# Fedora 17 ships with ruby 1.9, RHEL 7 with ruby 2.0, which use vendorlibdir instead
|
5
|
+
# of sitelibdir. Adjust our target if installing on f17 or rhel7.
|
6
|
+
%if 0%{?fedora} >= 17 || 0%{?rhel} >= 7 || 0%{?amzn} >= 1
|
7
|
+
%global puppet_libdir %(ruby -rrbconfig -e 'puts RbConfig::CONFIG["vendorlibdir"]')
|
8
|
+
%else
|
9
|
+
%global puppet_libdir %(ruby -rrbconfig -e 'puts RbConfig::CONFIG["sitelibdir"]')
|
10
|
+
%endif
|
11
|
+
|
12
|
+
%if 0%{?fedora} >= 17 || 0%{?rhel} >= 7
|
13
|
+
%global _with_systemd 1
|
14
|
+
%else
|
15
|
+
%global _with_systemd 0
|
16
|
+
%endif
|
17
|
+
|
18
|
+
# VERSION is subbed out during rake srpm process
|
19
|
+
%global realversion <%= @version %>
|
20
|
+
%global rpmversion <%= @rpmversion %>
|
21
|
+
|
22
|
+
%global confdir ext/redhat
|
23
|
+
%global pending_upgrade_path %{_localstatedir}/lib/rpm-state/puppet
|
24
|
+
%global pending_upgrade_file %{pending_upgrade_path}/upgrade_pending
|
25
|
+
|
26
|
+
Name: puppet
|
27
|
+
Version: %{rpmversion}
|
28
|
+
Release: <%= @rpmrelease -%>%{?dist}
|
29
|
+
Vendor: %{?_host_vendor}
|
30
|
+
Summary: A network tool for managing many disparate systems
|
31
|
+
License: ASL 2.0
|
32
|
+
URL: https://puppetlabs.com
|
33
|
+
Source0: https://puppetlabs.com/downloads/%{name}/%{name}-%{realversion}.tar.gz
|
34
|
+
|
35
|
+
Group: System Environment/Base
|
36
|
+
|
37
|
+
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
38
|
+
|
39
|
+
BuildRequires: facter >= 1:1.7.0
|
40
|
+
# Puppet 3.x drops ruby 1.8.5 support and adds ruby 1.9 support
|
41
|
+
BuildRequires: ruby >= 1.8.7
|
42
|
+
BuildRequires: hiera >= 2.0.0
|
43
|
+
BuildArch: noarch
|
44
|
+
Requires: ruby >= 1.8
|
45
|
+
Requires: ruby-shadow
|
46
|
+
Requires: rubygem-json
|
47
|
+
|
48
|
+
# Pull in ruby selinux bindings where available
|
49
|
+
%if 0%{?fedora} || 0%{?rhel} >= 6
|
50
|
+
%{!?_without_selinux:Requires: ruby(selinux), libselinux-utils}
|
51
|
+
%else
|
52
|
+
%if ( 0%{?rhel} && 0%{?rhel} == 5 ) || 0%{?amzn} >= 1
|
53
|
+
%{!?_without_selinux:Requires: libselinux-ruby, libselinux-utils}
|
54
|
+
%endif
|
55
|
+
%endif
|
56
|
+
|
57
|
+
Requires: facter >= 1:1.7.0
|
58
|
+
# Puppet 3.x drops ruby 1.8.5 support and adds ruby 1.9 support
|
59
|
+
# Ruby 1.8.7 available for el5 at: yum.puppetlabs.com/el/5/devel/$ARCH
|
60
|
+
Requires: ruby >= 1.8.7
|
61
|
+
Requires: hiera >= 2.0.0
|
62
|
+
Obsoletes: hiera-puppet < 1.0.0
|
63
|
+
Provides: hiera-puppet >= 1.0.0
|
64
|
+
%{!?_without_augeas:Requires: ruby-augeas}
|
65
|
+
|
66
|
+
# Required for %%pre
|
67
|
+
Requires: shadow-utils
|
68
|
+
|
69
|
+
%if 0%{?_with_systemd}
|
70
|
+
# Required for %%post, %%preun, %%postun
|
71
|
+
Requires: systemd
|
72
|
+
%if 0%{?fedora} >= 18 || 0%{?rhel} >= 7
|
73
|
+
BuildRequires: systemd
|
74
|
+
%else
|
75
|
+
BuildRequires: systemd-units
|
76
|
+
%endif
|
77
|
+
%else
|
78
|
+
# Required for %%post and %%preun
|
79
|
+
Requires: chkconfig
|
80
|
+
# Required for %%preun and %%postun
|
81
|
+
Requires: initscripts
|
82
|
+
%endif
|
83
|
+
|
84
|
+
%description
|
85
|
+
Puppet lets you centrally manage every important aspect of your system using a
|
86
|
+
cross-platform specification language that manages all the separate elements
|
87
|
+
normally aggregated in different files, like users, cron jobs, and hosts,
|
88
|
+
along with obviously discrete elements like packages, services, and files.
|
89
|
+
|
90
|
+
%package server
|
91
|
+
Group: System Environment/Base
|
92
|
+
Summary: Server for the puppet system management tool
|
93
|
+
Requires: puppet = %{version}-%{release}
|
94
|
+
# chkconfig (%%post, %%preun) and initscripts (%%preun %%postun) are required for non systemd
|
95
|
+
# and systemd (%%post, %%preun, and %%postun) are required for systems with systemd as default
|
96
|
+
# They come along transitively with puppet-%{version}-%{release}.
|
97
|
+
|
98
|
+
%description server
|
99
|
+
Provides the central puppet server daemon which provides manifests to clients.
|
100
|
+
The server can also function as a certificate authority and file server.
|
101
|
+
|
102
|
+
%prep
|
103
|
+
%setup -q -n %{name}-%{realversion}
|
104
|
+
|
105
|
+
|
106
|
+
%build
|
107
|
+
find examples/ -type f | xargs --no-run-if-empty chmod a-x
|
108
|
+
|
109
|
+
%install
|
110
|
+
rm -rf %{buildroot}
|
111
|
+
ruby install.rb --destdir=%{buildroot} --quick --no-rdoc --sitelibdir=%{puppet_libdir}
|
112
|
+
|
113
|
+
install -d -m0755 %{buildroot}%{_sysconfdir}/puppet/environments/example_env/manifests
|
114
|
+
install -d -m0755 %{buildroot}%{_sysconfdir}/puppet/environments/example_env/modules
|
115
|
+
install -d -m0755 %{buildroot}%{_sysconfdir}/puppet/manifests
|
116
|
+
install -d -m0755 %{buildroot}%{_datadir}/%{name}/modules
|
117
|
+
install -d -m0755 %{buildroot}%{_localstatedir}/lib/puppet
|
118
|
+
install -d -m0755 %{buildroot}%{_localstatedir}/lib/puppet/state
|
119
|
+
install -d -m0755 %{buildroot}%{_localstatedir}/lib/puppet/reports
|
120
|
+
install -d -m0755 %{buildroot}%{_localstatedir}/run/puppet
|
121
|
+
|
122
|
+
# As per redhat bz #495096
|
123
|
+
install -d -m0750 %{buildroot}%{_localstatedir}/log/puppet
|
124
|
+
|
125
|
+
%if 0%{?_with_systemd}
|
126
|
+
# Systemd for fedora >= 17 or el 7
|
127
|
+
%{__install} -d -m0755 %{buildroot}%{_unitdir}
|
128
|
+
install -Dp -m0644 ext/systemd/puppet.service %{buildroot}%{_unitdir}/puppet.service
|
129
|
+
ln -s %{_unitdir}/puppet.service %{buildroot}%{_unitdir}/puppetagent.service
|
130
|
+
install -Dp -m0644 ext/systemd/puppetmaster.service %{buildroot}%{_unitdir}/puppetmaster.service
|
131
|
+
%else
|
132
|
+
# Otherwise init.d for fedora < 17 or el 5, 6
|
133
|
+
install -Dp -m0644 %{confdir}/client.sysconfig %{buildroot}%{_sysconfdir}/sysconfig/puppet
|
134
|
+
install -Dp -m0755 %{confdir}/client.init %{buildroot}%{_initrddir}/puppet
|
135
|
+
install -Dp -m0644 %{confdir}/server.sysconfig %{buildroot}%{_sysconfdir}/sysconfig/puppetmaster
|
136
|
+
install -Dp -m0755 %{confdir}/server.init %{buildroot}%{_initrddir}/puppetmaster
|
137
|
+
%endif
|
138
|
+
|
139
|
+
install -Dp -m0644 %{confdir}/fileserver.conf %{buildroot}%{_sysconfdir}/puppet/fileserver.conf
|
140
|
+
install -Dp -m0644 %{confdir}/puppet.conf %{buildroot}%{_sysconfdir}/puppet/puppet.conf
|
141
|
+
install -Dp -m0644 %{confdir}/logrotate %{buildroot}%{_sysconfdir}/logrotate.d/puppet
|
142
|
+
install -Dp -m0644 ext/README.environment %{buildroot}%{_sysconfdir}/puppet/environments/example_env/README.environment
|
143
|
+
|
144
|
+
# Install the ext/ directory to %%{_datadir}/%%{name}
|
145
|
+
install -d %{buildroot}%{_datadir}/%{name}
|
146
|
+
cp -a ext/ %{buildroot}%{_datadir}/%{name}
|
147
|
+
# emacs and vim bits are installed elsewhere
|
148
|
+
rm -rf %{buildroot}%{_datadir}/%{name}/ext/{emacs,vim}
|
149
|
+
# remove misc packaging artifacts not applicable to rpms
|
150
|
+
rm -rf %{buildroot}%{_datadir}/%{name}/ext/{gentoo,freebsd,solaris,suse,windows,osx,ips,debian}
|
151
|
+
rm -f %{buildroot}%{_datadir}/%{name}/ext/redhat/*.init
|
152
|
+
rm -f %{buildroot}%{_datadir}/%{name}/ext/{build_defaults.yaml,project_data.yaml}
|
153
|
+
|
154
|
+
# Rpmlint fixup
|
155
|
+
chmod 755 %{buildroot}%{_datadir}/%{name}/ext/regexp_nodes/regexp_nodes.rb
|
156
|
+
|
157
|
+
# Install emacs mode files
|
158
|
+
emacsdir=%{buildroot}%{_datadir}/emacs/site-lisp
|
159
|
+
install -Dp -m0644 ext/emacs/puppet-mode.el $emacsdir/puppet-mode.el
|
160
|
+
install -Dp -m0644 ext/emacs/puppet-mode-init.el \
|
161
|
+
$emacsdir/site-start.d/puppet-mode-init.el
|
162
|
+
|
163
|
+
# Install vim syntax files
|
164
|
+
vimdir=%{buildroot}%{_datadir}/vim/vimfiles
|
165
|
+
install -Dp -m0644 ext/vim/ftdetect/puppet.vim $vimdir/ftdetect/puppet.vim
|
166
|
+
install -Dp -m0644 ext/vim/syntax/puppet.vim $vimdir/syntax/puppet.vim
|
167
|
+
install -Dp -m0644 ext/vim/indent/puppet.vim $vimdir/indent/puppet.vim
|
168
|
+
install -Dp -m0644 ext/vim/ftplugin/puppet.vim $vimdir/ftplugin/puppet.vim
|
169
|
+
|
170
|
+
%if 0%{?fedora} >= 15 || 0%{?rhel} >= 7
|
171
|
+
# Setup tmpfiles.d config
|
172
|
+
mkdir -p %{buildroot}%{_sysconfdir}/tmpfiles.d
|
173
|
+
echo "D /var/run/%{name} 0755 %{name} %{name} -" > \
|
174
|
+
%{buildroot}%{_sysconfdir}/tmpfiles.d/%{name}.conf
|
175
|
+
%endif
|
176
|
+
|
177
|
+
# Create puppet modules directory for puppet module tool
|
178
|
+
mkdir -p %{buildroot}%{_sysconfdir}/%{name}/modules
|
179
|
+
|
180
|
+
# Masterhttp.log is created on server start and should be distributed
|
181
|
+
# with correct permissions
|
182
|
+
touch %{buildroot}%{_localstatedir}/log/puppet/masterhttp.log
|
183
|
+
|
184
|
+
%files
|
185
|
+
%defattr(-, root, root, 0755)
|
186
|
+
%doc LICENSE README.md examples
|
187
|
+
%{_bindir}/puppet
|
188
|
+
%{puppet_libdir}/*
|
189
|
+
%if 0%{?_with_systemd}
|
190
|
+
%{_unitdir}/puppet.service
|
191
|
+
%{_unitdir}/puppetagent.service
|
192
|
+
%else
|
193
|
+
%{_initrddir}/puppet
|
194
|
+
%config(noreplace) %{_sysconfdir}/sysconfig/puppet
|
195
|
+
%endif
|
196
|
+
%dir %{_sysconfdir}/puppet
|
197
|
+
%dir %{_sysconfdir}/%{name}/modules
|
198
|
+
%if 0%{?fedora} >= 15 || 0%{?rhel} >= 7
|
199
|
+
%config(noreplace) %{_sysconfdir}/tmpfiles.d/%{name}.conf
|
200
|
+
%endif
|
201
|
+
%config(noreplace) %{_sysconfdir}/puppet/puppet.conf
|
202
|
+
%config(noreplace) %{_sysconfdir}/logrotate.d/puppet
|
203
|
+
# We don't want to require emacs or vim, so we need to own these dirs
|
204
|
+
%{_datadir}/emacs
|
205
|
+
%{_datadir}/vim
|
206
|
+
%{_datadir}/%{name}
|
207
|
+
# man pages
|
208
|
+
%{_mandir}/man5/puppet.conf.5.gz
|
209
|
+
%{_mandir}/man8/puppet.8.gz
|
210
|
+
%{_mandir}/man8/puppet-agent.8.gz
|
211
|
+
%{_mandir}/man8/puppet-apply.8.gz
|
212
|
+
%{_mandir}/man8/puppet-catalog.8.gz
|
213
|
+
%{_mandir}/man8/puppet-describe.8.gz
|
214
|
+
%{_mandir}/man8/puppet-ca.8.gz
|
215
|
+
%{_mandir}/man8/puppet-cert.8.gz
|
216
|
+
%{_mandir}/man8/puppet-certificate.8.gz
|
217
|
+
%{_mandir}/man8/puppet-certificate_request.8.gz
|
218
|
+
%{_mandir}/man8/puppet-certificate_revocation_list.8.gz
|
219
|
+
%{_mandir}/man8/puppet-config.8.gz
|
220
|
+
%{_mandir}/man8/puppet-device.8.gz
|
221
|
+
%{_mandir}/man8/puppet-doc.8.gz
|
222
|
+
%{_mandir}/man8/puppet-facts.8.gz
|
223
|
+
%{_mandir}/man8/puppet-file.8.gz
|
224
|
+
%{_mandir}/man8/puppet-filebucket.8.gz
|
225
|
+
%{_mandir}/man8/puppet-help.8.gz
|
226
|
+
%{_mandir}/man8/puppet-inspect.8.gz
|
227
|
+
%{_mandir}/man8/puppet-key.8.gz
|
228
|
+
%{_mandir}/man8/puppet-kick.8.gz
|
229
|
+
%{_mandir}/man8/puppet-man.8.gz
|
230
|
+
%{_mandir}/man8/puppet-module.8.gz
|
231
|
+
%{_mandir}/man8/puppet-node.8.gz
|
232
|
+
%{_mandir}/man8/puppet-parser.8.gz
|
233
|
+
%{_mandir}/man8/puppet-plugin.8.gz
|
234
|
+
%{_mandir}/man8/puppet-report.8.gz
|
235
|
+
%{_mandir}/man8/puppet-resource.8.gz
|
236
|
+
%{_mandir}/man8/puppet-status.8.gz
|
237
|
+
# These need to be owned by puppet so the server can
|
238
|
+
# write to them. The separate %defattr's are required
|
239
|
+
# to work around RH Bugzilla 681540
|
240
|
+
%defattr(-, puppet, puppet, 0755)
|
241
|
+
%{_localstatedir}/run/puppet
|
242
|
+
%defattr(-, puppet, puppet, 0750)
|
243
|
+
%{_localstatedir}/log/puppet
|
244
|
+
%{_localstatedir}/lib/puppet
|
245
|
+
%{_localstatedir}/lib/puppet/state
|
246
|
+
%{_localstatedir}/lib/puppet/reports
|
247
|
+
# Return the default attributes to 0755 to
|
248
|
+
# prevent incorrect permission assignment on EL6
|
249
|
+
%defattr(-, root, root, 0755)
|
250
|
+
|
251
|
+
|
252
|
+
%files server
|
253
|
+
%defattr(-, root, root, 0755)
|
254
|
+
%if 0%{?_with_systemd}
|
255
|
+
%{_unitdir}/puppetmaster.service
|
256
|
+
%else
|
257
|
+
%{_initrddir}/puppetmaster
|
258
|
+
%config(noreplace) %{_sysconfdir}/sysconfig/puppetmaster
|
259
|
+
%endif
|
260
|
+
%config(noreplace) %{_sysconfdir}/puppet/fileserver.conf
|
261
|
+
%dir %{_sysconfdir}/puppet/manifests
|
262
|
+
%dir %{_sysconfdir}/puppet/environments
|
263
|
+
%dir %{_sysconfdir}/puppet/environments/example_env
|
264
|
+
%dir %{_sysconfdir}/puppet/environments/example_env/manifests
|
265
|
+
%dir %{_sysconfdir}/puppet/environments/example_env/modules
|
266
|
+
%{_sysconfdir}/puppet/environments/example_env/README.environment
|
267
|
+
%{_mandir}/man8/puppet-ca.8.gz
|
268
|
+
%{_mandir}/man8/puppet-master.8.gz
|
269
|
+
%attr(660, puppet, puppet) %{_localstatedir}/log/puppet/masterhttp.log
|
270
|
+
|
271
|
+
# Fixed uid/gid were assigned in bz 472073 (Fedora), 471918 (RHEL-5),
|
272
|
+
# and 471919 (RHEL-4)
|
273
|
+
%pre
|
274
|
+
getent group puppet &>/dev/null || groupadd -r puppet -g 52 &>/dev/null
|
275
|
+
getent passwd puppet &>/dev/null || \
|
276
|
+
useradd -r -u 52 -g puppet -d %{_localstatedir}/lib/puppet -s /sbin/nologin \
|
277
|
+
-c "Puppet" puppet &>/dev/null
|
278
|
+
# ensure that old setups have the right puppet home dir
|
279
|
+
if [ $1 -gt 1 ] ; then
|
280
|
+
usermod -d %{_localstatedir}/lib/puppet puppet &>/dev/null
|
281
|
+
fi
|
282
|
+
exit 0
|
283
|
+
|
284
|
+
%post
|
285
|
+
%if 0%{?_with_systemd}
|
286
|
+
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
|
287
|
+
if [ "$1" -ge 1 ]; then
|
288
|
+
# The pidfile changed from 0.25.x to 2.6.x, handle upgrades without leaving
|
289
|
+
# the old process running.
|
290
|
+
oldpid="%{_localstatedir}/run/puppet/puppetd.pid"
|
291
|
+
newpid="%{_localstatedir}/run/puppet/agent.pid"
|
292
|
+
if [ -s "$oldpid" -a ! -s "$newpid" ]; then
|
293
|
+
(kill $(< "$oldpid") && rm -f "$oldpid" && \
|
294
|
+
/bin/systemctl start puppet.service) >/dev/null 2>&1 || :
|
295
|
+
fi
|
296
|
+
fi
|
297
|
+
%else
|
298
|
+
/sbin/chkconfig --add puppet || :
|
299
|
+
if [ "$1" -ge 1 ]; then
|
300
|
+
# The pidfile changed from 0.25.x to 2.6.x, handle upgrades without leaving
|
301
|
+
# the old process running.
|
302
|
+
oldpid="%{_localstatedir}/run/puppet/puppetd.pid"
|
303
|
+
newpid="%{_localstatedir}/run/puppet/agent.pid"
|
304
|
+
if [ -s "$oldpid" -a ! -s "$newpid" ]; then
|
305
|
+
(kill $(< "$oldpid") && rm -f "$oldpid" && \
|
306
|
+
/sbin/service puppet start) >/dev/null 2>&1 || :
|
307
|
+
fi
|
308
|
+
|
309
|
+
# If an old puppet process (one whose binary is located in /sbin) is running,
|
310
|
+
# kill it and then start up a fresh with the new binary.
|
311
|
+
if [ -e "$newpid" ]; then
|
312
|
+
if ps aux | grep `cat "$newpid"` | grep -v grep | awk '{ print $12 }' | grep -q sbin; then
|
313
|
+
(kill $(< "$newpid") && rm -f "$newpid" && \
|
314
|
+
/sbin/service puppet start) >/dev/null 2>&1 || :
|
315
|
+
fi
|
316
|
+
fi
|
317
|
+
fi
|
318
|
+
%endif
|
319
|
+
|
320
|
+
%post server
|
321
|
+
%if 0%{?_with_systemd}
|
322
|
+
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
|
323
|
+
if [ "$1" -ge 1 ]; then
|
324
|
+
# The pidfile changed from 0.25.x to 2.6.x, handle upgrades without leaving
|
325
|
+
# the old process running.
|
326
|
+
oldpid="%{_localstatedir}/run/puppet/puppetmasterd.pid"
|
327
|
+
newpid="%{_localstatedir}/run/puppet/master.pid"
|
328
|
+
if [ -s "$oldpid" -a ! -s "$newpid" ]; then
|
329
|
+
(kill $(< "$oldpid") && rm -f "$oldpid" && \
|
330
|
+
/bin/systemctl start puppetmaster.service) > /dev/null 2>&1 || :
|
331
|
+
fi
|
332
|
+
fi
|
333
|
+
%else
|
334
|
+
/sbin/chkconfig --add puppetmaster || :
|
335
|
+
if [ "$1" -ge 1 ]; then
|
336
|
+
# The pidfile changed from 0.25.x to 2.6.x, handle upgrades without leaving
|
337
|
+
# the old process running.
|
338
|
+
oldpid="%{_localstatedir}/run/puppet/puppetmasterd.pid"
|
339
|
+
newpid="%{_localstatedir}/run/puppet/master.pid"
|
340
|
+
if [ -s "$oldpid" -a ! -s "$newpid" ]; then
|
341
|
+
(kill $(< "$oldpid") && rm -f "$oldpid" && \
|
342
|
+
/sbin/service puppetmaster start) >/dev/null 2>&1 || :
|
343
|
+
fi
|
344
|
+
fi
|
345
|
+
%endif
|
346
|
+
|
347
|
+
%preun
|
348
|
+
%if 0%{?_with_systemd}
|
349
|
+
if [ "$1" -eq 0 ] ; then
|
350
|
+
# Package removal, not upgrade
|
351
|
+
/bin/systemctl --no-reload disable puppetagent.service > /dev/null 2>&1 || :
|
352
|
+
/bin/systemctl --no-reload disable puppet.service > /dev/null 2>&1 || :
|
353
|
+
/bin/systemctl stop puppetagent.service > /dev/null 2>&1 || :
|
354
|
+
/bin/systemctl stop puppet.service > /dev/null 2>&1 || :
|
355
|
+
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
|
356
|
+
fi
|
357
|
+
|
358
|
+
if [ "$1" == "1" ]; then
|
359
|
+
/bin/systemctl is-enabled puppetagent.service > /dev/null 2>&1
|
360
|
+
if [ "$?" == "0" ]; then
|
361
|
+
/bin/systemctl --no-reload disable puppetagent.service > /dev/null 2>&1 ||:
|
362
|
+
/bin/systemctl stop puppetagent.service > /dev/null 2>&1 ||:
|
363
|
+
/bin/systemctl daemon-reload >/dev/null 2>&1 ||:
|
364
|
+
if [ ! -d %{pending_upgrade_path} ]; then
|
365
|
+
mkdir -p %{pending_upgrade_path}
|
366
|
+
fi
|
367
|
+
|
368
|
+
if [ ! -e %{pending_upgrade_file} ]; then
|
369
|
+
touch %{pending_upgrade_file}
|
370
|
+
fi
|
371
|
+
fi
|
372
|
+
fi
|
373
|
+
|
374
|
+
%else
|
375
|
+
if [ "$1" = 0 ] ; then
|
376
|
+
/sbin/service puppet stop > /dev/null 2>&1
|
377
|
+
/sbin/chkconfig --del puppet || :
|
378
|
+
fi
|
379
|
+
%endif
|
380
|
+
|
381
|
+
%preun server
|
382
|
+
%if 0%{?_with_systemd}
|
383
|
+
if [ $1 -eq 0 ] ; then
|
384
|
+
# Package removal, not upgrade
|
385
|
+
/bin/systemctl --no-reload disable puppetmaster.service > /dev/null 2>&1 || :
|
386
|
+
/bin/systemctl stop puppetmaster.service > /dev/null 2>&1 || :
|
387
|
+
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
|
388
|
+
fi
|
389
|
+
%else
|
390
|
+
if [ "$1" = 0 ] ; then
|
391
|
+
/sbin/service puppetmaster stop > /dev/null 2>&1
|
392
|
+
/sbin/chkconfig --del puppetmaster || :
|
393
|
+
fi
|
394
|
+
%endif
|
395
|
+
|
396
|
+
%postun
|
397
|
+
%if 0%{?_with_systemd}
|
398
|
+
if [ $1 -ge 1 ] ; then
|
399
|
+
if [ -e %{pending_upgrade_file} ]; then
|
400
|
+
/bin/systemctl --no-reload enable puppet.service > /dev/null 2>&1 ||:
|
401
|
+
/bin/systemctl start puppet.service > /dev/null 2>&1 ||:
|
402
|
+
/bin/systemctl daemon-reload >/dev/null 2>&1 ||:
|
403
|
+
rm %{pending_upgrade_file}
|
404
|
+
fi
|
405
|
+
# Package upgrade, not uninstall
|
406
|
+
/bin/systemctl try-restart puppetagent.service >/dev/null 2>&1 || :
|
407
|
+
fi
|
408
|
+
%else
|
409
|
+
if [ "$1" -ge 1 ]; then
|
410
|
+
/sbin/service puppet condrestart >/dev/null 2>&1 || :
|
411
|
+
fi
|
412
|
+
%endif
|
413
|
+
|
414
|
+
%postun server
|
415
|
+
%if 0%{?_with_systemd}
|
416
|
+
if [ $1 -ge 1 ] ; then
|
417
|
+
# Package upgrade, not uninstall
|
418
|
+
/bin/systemctl try-restart puppetmaster.service >/dev/null 2>&1 || :
|
419
|
+
fi
|
420
|
+
%else
|
421
|
+
if [ "$1" -ge 1 ]; then
|
422
|
+
/sbin/service puppetmaster condrestart >/dev/null 2>&1 || :
|
423
|
+
fi
|
424
|
+
%endif
|
425
|
+
|
426
|
+
%clean
|
427
|
+
rm -rf %{buildroot}
|
428
|
+
|
429
|
+
%changelog
|
430
|
+
* <%= Time.now.strftime("%a %b %d %Y") %> Puppet Labs Release <info@puppetlabs.com> - <%= @rpmversion %>-<%= @rpmrelease %>
|
431
|
+
- Build for <%= @version %>
|
432
|
+
|
433
|
+
* Wed Oct 2 2013 Jason Antman <jason@jasonantman.com>
|
434
|
+
- Move systemd service and unit file names back to "puppet" from erroneous "puppetagent"
|
435
|
+
- Add symlink to puppetagent unit file for compatibility with current bug
|
436
|
+
- Alter package removal actions to deactivate and stop both service names
|
437
|
+
|
438
|
+
* Thu Jun 27 2013 Matthaus Owens <matthaus@puppetlabs.com> - 3.2.3-0.1rc0
|
439
|
+
- Bump requires on ruby-rgen to 0.6.5
|
440
|
+
|
441
|
+
* Fri Apr 12 2013 Matthaus Owens <matthaus@puppetlabs.com> - 3.2.0-0.1rc0
|
442
|
+
- Add requires on ruby-rgen for new parser in Puppet 3.2
|
443
|
+
|
444
|
+
* Fri Jan 25 2013 Matthaus Owens <matthaus@puppetlabs.com> - 3.1.0-0.1rc1
|
445
|
+
- Add extlookup2hiera.8.gz to the files list
|
446
|
+
|
447
|
+
* Wed Jan 9 2013 Ryan Uber <ru@ryanuber.com> - 3.1.0-0.1rc1
|
448
|
+
- Work-around for RH Bugzilla 681540
|
449
|
+
|
450
|
+
* Fri Dec 28 2012 Michael Stahnke <stahnma@puppetlabs.com> - 3.0.2-2
|
451
|
+
- Added a script for Network Manager for bug https://bugzilla.redhat.com/532085
|
452
|
+
|
453
|
+
* Tue Dec 18 2012 Matthaus Owens <matthaus@puppetlabs.com>
|
454
|
+
- Remove for loop on examples/ code which no longer exists. Add --no-run-if-empty to xargs invocations.
|
455
|
+
|
456
|
+
* Sat Dec 1 2012 Ryan Uber <ryuber@cisco.com>
|
457
|
+
- Fix for logdir perms regression (#17866)
|
458
|
+
|
459
|
+
* Wed Aug 29 2012 Moses Mendoza <moses@puppetlabs.com> - 3.0.0-0.1rc5
|
460
|
+
- Update for 3.0.0 rc5
|
461
|
+
|
462
|
+
* Fri Aug 24 2012 Eric Sorenson <eric0@puppetlabs.com> - 3.0.0-0.1rc4
|
463
|
+
- Facter requirement is 1.6.11, not 2.0
|
464
|
+
- Update for 3.0.0 rc4
|
465
|
+
|
466
|
+
* Tue Aug 21 2012 Moses Mendoza <moses@puppetlabs.com> - 2.7.19-1
|
467
|
+
- Update for 2.7.19
|
468
|
+
|
469
|
+
* Tue Aug 14 2012 Moses Mendoza <moses@puppetlabs.com> - 2.7.19-0.1rc3
|
470
|
+
- Update for 2.7.19rc3
|
471
|
+
|
472
|
+
* Tue Aug 7 2012 Moses Mendoza <moses@puppetlabs.com> - 2.7.19-0.1rc2
|
473
|
+
- Update for 2.7.19rc2
|
474
|
+
|
475
|
+
* Wed Aug 1 2012 Moses Mendoza <moses@puppetlabs.com> - 2.7.19-0.1rc1
|
476
|
+
- Update for 2.7.19rc1
|
477
|
+
|
478
|
+
* Wed Jul 11 2012 William Hopper <whopper@puppetlabs.com> - 2.7.18-2
|
479
|
+
- (#15221) Create /etc/puppet/modules for puppet module tool
|
480
|
+
|
481
|
+
* Mon Jul 9 2012 Moses Mendoza <moses@puppetlabs.com> - 2.7.18-1
|
482
|
+
- Update for 2.7.18
|
483
|
+
|
484
|
+
* Tue Jun 19 2012 Matthaus Litteken <matthaus@puppetlabs.com> - 2.7.17-1
|
485
|
+
- Update for 2.7.17
|
486
|
+
|
487
|
+
* Wed Jun 13 2012 Matthaus Litteken <matthaus@puppetlabs.com> - 2.7.16-1
|
488
|
+
- Update for 2.7.16
|
489
|
+
|
490
|
+
* Fri Jun 08 2012 Moses Mendoza <moses@puppetlabs.com> - 2.7.16-0.1rc1.2
|
491
|
+
- Updated facter 2.0 dep to include epoch 1
|
492
|
+
|
493
|
+
* Wed Jun 06 2012 Matthaus Litteken <matthaus@puppetlabs.com> - 2.7.16-0.1rc1
|
494
|
+
- Update for 2.7.16rc1, added generated manpages
|
495
|
+
|
496
|
+
* Fri Jun 01 2012 Matthaus Litteken <matthaus@puppetlabs.com> - 3.0.0-0.1rc3
|
497
|
+
- Puppet 3.0.0rc3 Release
|
498
|
+
|
499
|
+
* Fri Jun 01 2012 Matthaus Litteken <matthaus@puppetlabs.com> - 2.7.15-0.1rc4
|
500
|
+
- Update for 2.7.15rc4
|
501
|
+
|
502
|
+
* Tue May 29 2012 Moses Mendoza <moses@puppetlabs.com> - 2.7.15-0.1rc3
|
503
|
+
- Update for 2.7.15rc3
|
504
|
+
|
505
|
+
* Tue May 22 2012 Matthaus Litteken <matthaus@puppetlabs.com> - 3.0.0-0.1rc2
|
506
|
+
- Puppet 3.0.0rc2 Release
|
507
|
+
|
508
|
+
* Thu May 17 2012 Matthaus Litteken <matthaus@puppetlabs.com> - 3.0.0-0.1rc1
|
509
|
+
- Puppet 3.0.0rc1 Release
|
510
|
+
|
511
|
+
* Wed May 16 2012 Moses Mendoza <moses@puppetlabs.com> - 2.7.15-0.1rc2
|
512
|
+
- Update for 2.7.15rc2
|
513
|
+
|
514
|
+
* Tue May 15 2012 Moses Mendoza <moses@puppetlabs.com> - 2.7.15-0.1rc1
|
515
|
+
- Update for 2.7.15rc1
|
516
|
+
|
517
|
+
* Wed May 02 2012 Moses Mendoza <moses@puppetlabs.com> - 2.7.14-1
|
518
|
+
- Update for 2.7.14
|
519
|
+
|
520
|
+
* Tue Apr 10 2012 Matthaus Litteken <matthaus@puppetlabs.com> - 2.7.13-1
|
521
|
+
- Update for 2.7.13
|
522
|
+
|
523
|
+
* Mon Mar 12 2012 Michael Stahnke <stahnma@puppetlabs.com> - 2.7.12-1
|
524
|
+
- Update for 2.7.12
|
525
|
+
|
526
|
+
* Fri Feb 24 2012 Matthaus Litteken <matthaus@puppetlabs.com> - 2.7.11-2
|
527
|
+
- Update 2.7.11 from proper tag, including #12572
|
528
|
+
|
529
|
+
* Wed Feb 22 2012 Michael Stahnke <stahnma@puppetlabs.com> - 2.7.11-1
|
530
|
+
- Update for 2.7.11
|
531
|
+
|
532
|
+
* Wed Jan 25 2012 Michael Stahnke <stahnma@puppetlabs.com> - 2.7.10-1
|
533
|
+
- Update for 2.7.10
|
534
|
+
|
535
|
+
* Fri Dec 9 2011 Matthaus Litteken <matthaus@puppetlabs.com> - 2.7.9-1
|
536
|
+
- Update for 2.7.9
|
537
|
+
|
538
|
+
* Thu Dec 8 2011 Matthaus Litteken <matthaus@puppetlabs.com> - 2.7.8-1
|
539
|
+
- Update for 2.7.8
|
540
|
+
|
541
|
+
* Wed Nov 30 2011 Michael Stahnke <stahnma@puppetlabs.com> - 2.7.8-0.1rc1
|
542
|
+
- Update for 2.7.8rc1
|
543
|
+
|
544
|
+
* Mon Nov 21 2011 Michael Stahnke <stahnma@puppetlabs.com> - 2.7.7-1
|
545
|
+
- Relaese 2.7.7
|
546
|
+
|
547
|
+
* Tue Nov 01 2011 Michael Stahnke <stahnma@puppetlabs.com> - 2.7.7-0.1rc1
|
548
|
+
- Update for 2.7.7rc1
|
549
|
+
|
550
|
+
* Fri Oct 21 2011 Michael Stahnke <stahnma@puppetlabs.com> - 2.7.6-1
|
551
|
+
- 2.7.6 final
|
552
|
+
|
553
|
+
* Thu Oct 13 2011 Michael Stahnke <stahnma@puppetlabs.com> - 2.7.6-.1rc3
|
554
|
+
- New RC
|
555
|
+
|
556
|
+
* Fri Oct 07 2011 Michael Stahnke <stahnma@puppetlabs.com> - 2.7.6-0.1rc2
|
557
|
+
- New RC
|
558
|
+
|
559
|
+
* Mon Oct 03 2011 Michael Stahnke <stahnma@puppetlabs.com> - 2.7.6-0.1rc1
|
560
|
+
- New RC
|
561
|
+
|
562
|
+
* Fri Sep 30 2011 Michael Stahnke <stahnma@puppetlabs.com> - 2.7.5-1
|
563
|
+
- Fixes for CVE-2011-3869, 3870, 3871
|
564
|
+
|
565
|
+
* Wed Sep 28 2011 Michael Stahnke <stahnma@puppetlabs.com> - 2.7.4-1
|
566
|
+
- Fix for CVE-2011-3484
|
567
|
+
|
568
|
+
* Wed Jul 06 2011 Michael Stahnke <stahnma@puppetlabs.com> - 2.7.2-0.2.rc1
|
569
|
+
- Clean up rpmlint errors
|
570
|
+
- Put man pages in correct package
|
571
|
+
|
572
|
+
* Wed Jul 06 2011 Michael Stahnke <stahnma@puppetlabs.com> - 2.7.2-0.1.rc1
|
573
|
+
- Update to 2.7.2rc1
|
574
|
+
|
575
|
+
* Wed Jun 15 2011 Todd Zullinger <tmz@pobox.com> - 2.6.9-0.1.rc1
|
576
|
+
- Update rc versioning to ensure 2.6.9 final is newer to rpm
|
577
|
+
- sync changes with Fedora/EPEL
|
578
|
+
|
579
|
+
* Tue Jun 14 2011 Michael Stahnke <stahnma@puppetlabs.com> - 2.6.9rc1-1
|
580
|
+
- Update to 2.6.9rc1
|
581
|
+
|
582
|
+
* Thu Apr 14 2011 Todd Zullinger <tmz@pobox.com> - 2.6.8-1
|
583
|
+
- Update to 2.6.8
|
584
|
+
|
585
|
+
* Thu Mar 24 2011 Todd Zullinger <tmz@pobox.com> - 2.6.7-1
|
586
|
+
- Update to 2.6.7
|
587
|
+
|
588
|
+
* Wed Mar 16 2011 Todd Zullinger <tmz@pobox.com> - 2.6.6-1
|
589
|
+
- Update to 2.6.6
|
590
|
+
- Ensure %%pre exits cleanly
|
591
|
+
- Fix License tag, puppet is now GPLv2 only
|
592
|
+
- Create and own /usr/share/puppet/modules (#615432)
|
593
|
+
- Properly restart puppet agent/master daemons on upgrades from 0.25.x
|
594
|
+
- Require libselinux-utils when selinux support is enabled
|
595
|
+
- Support tmpfiles.d for Fedora >= 15 (#656677)
|
596
|
+
|
597
|
+
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.25.5-2
|
598
|
+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
599
|
+
|
600
|
+
* Mon May 17 2010 Todd Zullinger <tmz@pobox.com> - 0.25.5-1
|
601
|
+
- Update to 0.25.5
|
602
|
+
- Adjust selinux conditional for EL-6
|
603
|
+
- Apply rundir-perms patch from tarball rather than including it separately
|
604
|
+
- Update URL's to reflect the new puppetlabs.com domain
|
605
|
+
|
606
|
+
* Fri Jan 29 2010 Todd Zullinger <tmz@pobox.com> - 0.25.4-1
|
607
|
+
- Update to 0.25.4
|
608
|
+
|
609
|
+
* Tue Jan 19 2010 Todd Zullinger <tmz@pobox.com> - 0.25.3-2
|
610
|
+
- Apply upstream patch to fix cron resources (upstream #2845)
|
611
|
+
|
612
|
+
* Mon Jan 11 2010 Todd Zullinger <tmz@pobox.com> - 0.25.3-1
|
613
|
+
- Update to 0.25.3
|
614
|
+
|
615
|
+
* Tue Jan 05 2010 Todd Zullinger <tmz@pobox.com> - 0.25.2-1.1
|
616
|
+
- Replace %%define with %%global for macros
|
617
|
+
|
618
|
+
* Tue Jan 05 2010 Todd Zullinger <tmz@pobox.com> - 0.25.2-1
|
619
|
+
- Update to 0.25.2
|
620
|
+
- Fixes CVE-2010-0156, tmpfile security issue (#502881)
|
621
|
+
- Install auth.conf, puppetqd manpage, and queuing examples/docs
|
622
|
+
|
623
|
+
* Wed Nov 25 2009 Jeroen van Meeuwen <j.van.meeuwen@ogd.nl> - 0.25.1-1
|
624
|
+
- New upstream version
|
625
|
+
|
626
|
+
* Tue Oct 27 2009 Todd Zullinger <tmz@pobox.com> - 0.25.1-0.3
|
627
|
+
- Update to 0.25.1
|
628
|
+
- Include the pi program and man page (R.I.Pienaar)
|
629
|
+
|
630
|
+
* Sat Oct 17 2009 Todd Zullinger <tmz@pobox.com> - 0.25.1-0.2.rc2
|
631
|
+
- Update to 0.25.1rc2
|
632
|
+
|
633
|
+
* Tue Sep 22 2009 Todd Zullinger <tmz@pobox.com> - 0.25.1-0.1.rc1
|
634
|
+
- Update to 0.25.1rc1
|
635
|
+
- Move puppetca to puppet package, it has uses on client systems
|
636
|
+
- Drop redundant %%doc from manpage %%file listings
|
637
|
+
|
638
|
+
* Fri Sep 04 2009 Todd Zullinger <tmz@pobox.com> - 0.25.0-1
|
639
|
+
- Update to 0.25.0
|
640
|
+
- Fix permissions on /var/log/puppet (#495096)
|
641
|
+
- Install emacs mode and vim syntax files (#491437)
|
642
|
+
- Install ext/ directory in %%{_datadir}/%%{name} (/usr/share/puppet)
|
643
|
+
|
644
|
+
* Mon May 04 2009 Todd Zullinger <tmz@pobox.com> - 0.25.0-0.1.beta1
|
645
|
+
- Update to 0.25.0beta1
|
646
|
+
- Make Augeas and SELinux requirements build time options
|
647
|
+
|
648
|
+
* Mon Mar 23 2009 Todd Zullinger <tmz@pobox.com> - 0.24.8-1
|
649
|
+
- Update to 0.24.8
|
650
|
+
- Quiet output from %%pre
|
651
|
+
- Use upstream install script
|
652
|
+
- Increase required facter version to >= 1.5
|
653
|
+
|
654
|
+
* Tue Dec 16 2008 Todd Zullinger <tmz@pobox.com> - 0.24.7-4
|
655
|
+
- Remove redundant useradd from %%pre
|
656
|
+
|
657
|
+
* Tue Dec 16 2008 Jeroen van Meeuwen <kanarip@kanarip.com> - 0.24.7-3
|
658
|
+
- New upstream version
|
659
|
+
- Set a static uid and gid (#472073, #471918, #471919)
|
660
|
+
- Add a conditional requirement on libselinux-ruby for Fedora >= 9
|
661
|
+
- Add a dependency on ruby-augeas
|
662
|
+
|
663
|
+
* Wed Oct 22 2008 Todd Zullinger <tmz@pobox.com> - 0.24.6-1
|
664
|
+
- Update to 0.24.6
|
665
|
+
- Require ruby-shadow on Fedora and RHEL >= 5
|
666
|
+
- Simplify Fedora/RHEL version checks for ruby(abi) and BuildArch
|
667
|
+
- Require chkconfig and initstripts for preun, post, and postun scripts
|
668
|
+
- Conditionally restart puppet in %%postun
|
669
|
+
- Ensure %%preun, %%post, and %%postun scripts exit cleanly
|
670
|
+
- Create puppet user/group according to Fedora packaging guidelines
|
671
|
+
- Quiet a few rpmlint complaints
|
672
|
+
- Remove useless %%pbuild macro
|
673
|
+
- Make specfile more like the Fedora/EPEL template
|
674
|
+
|
675
|
+
* Mon Jul 28 2008 David Lutterkort <dlutter@redhat.com> - 0.24.5-1
|
676
|
+
- Add /usr/bin/puppetdoc
|
677
|
+
|
678
|
+
* Thu Jul 24 2008 Brenton Leanhardt <bleanhar@redhat.com>
|
679
|
+
- New version
|
680
|
+
- man pages now ship with tarball
|
681
|
+
- examples/code moved to root examples dir in upstream tarball
|
682
|
+
|
683
|
+
* Tue Mar 25 2008 David Lutterkort <dlutter@redhat.com> - 0.24.4-1
|
684
|
+
- Add man pages (from separate tarball, upstream will fix to
|
685
|
+
include in main tarball)
|
686
|
+
|
687
|
+
* Mon Mar 24 2008 David Lutterkort <dlutter@redhat.com> - 0.24.3-1
|
688
|
+
- New version
|
689
|
+
|
690
|
+
* Wed Mar 5 2008 David Lutterkort <dlutter@redhat.com> - 0.24.2-1
|
691
|
+
- New version
|
692
|
+
|
693
|
+
* Sat Dec 22 2007 David Lutterkort <dlutter@redhat.com> - 0.24.1-1
|
694
|
+
- New version
|
695
|
+
|
696
|
+
* Mon Dec 17 2007 David Lutterkort <dlutter@redhat.com> - 0.24.0-2
|
697
|
+
- Use updated upstream tarball that contains yumhelper.py
|
698
|
+
|
699
|
+
* Fri Dec 14 2007 David Lutterkort <dlutter@redhat.com> - 0.24.0-1
|
700
|
+
- Fixed license
|
701
|
+
- Munge examples/ to make rpmlint happier
|
702
|
+
|
703
|
+
* Wed Aug 22 2007 David Lutterkort <dlutter@redhat.com> - 0.23.2-1
|
704
|
+
- New version
|
705
|
+
|
706
|
+
* Thu Jul 26 2007 David Lutterkort <dlutter@redhat.com> - 0.23.1-1
|
707
|
+
- Remove old config files
|
708
|
+
|
709
|
+
* Wed Jun 20 2007 David Lutterkort <dlutter@redhat.com> - 0.23.0-1
|
710
|
+
- Install one puppet.conf instead of old config files, keep old configs
|
711
|
+
around to ease update
|
712
|
+
- Use plain shell commands in install instead of macros
|
713
|
+
|
714
|
+
* Wed May 2 2007 David Lutterkort <dlutter@redhat.com> - 0.22.4-1
|
715
|
+
- New version
|
716
|
+
|
717
|
+
* Thu Mar 29 2007 David Lutterkort <dlutter@redhat.com> - 0.22.3-1
|
718
|
+
- Claim ownership of _sysconfdir/puppet (bz 233908)
|
719
|
+
|
720
|
+
* Mon Mar 19 2007 David Lutterkort <dlutter@redhat.com> - 0.22.2-1
|
721
|
+
- Set puppet's homedir to /var/lib/puppet, not /var/puppet
|
722
|
+
- Remove no-lockdir patch, not needed anymore
|
723
|
+
|
724
|
+
* Mon Feb 12 2007 David Lutterkort <dlutter@redhat.com> - 0.22.1-2
|
725
|
+
- Fix bogus config parameter in puppetd.conf
|
726
|
+
|
727
|
+
* Sat Feb 3 2007 David Lutterkort <dlutter@redhat.com> - 0.22.1-1
|
728
|
+
- New version
|
729
|
+
|
730
|
+
* Fri Jan 5 2007 David Lutterkort <dlutter@redhat.com> - 0.22.0-1
|
731
|
+
- New version
|
732
|
+
|
733
|
+
* Mon Nov 20 2006 David Lutterkort <dlutter@redhat.com> - 0.20.1-2
|
734
|
+
- Make require ruby(abi) and buildarch: noarch conditional for fedora 5 or
|
735
|
+
later to allow building on older fedora releases
|
736
|
+
|
737
|
+
* Mon Nov 13 2006 David Lutterkort <dlutter@redhat.com> - 0.20.1-1
|
738
|
+
- New version
|
739
|
+
|
740
|
+
* Mon Oct 23 2006 David Lutterkort <dlutter@redhat.com> - 0.20.0-1
|
741
|
+
- New version
|
742
|
+
|
743
|
+
* Tue Sep 26 2006 David Lutterkort <dlutter@redhat.com> - 0.19.3-1
|
744
|
+
- New version
|
745
|
+
|
746
|
+
* Mon Sep 18 2006 David Lutterkort <dlutter@redhat.com> - 0.19.1-1
|
747
|
+
- New version
|
748
|
+
|
749
|
+
* Thu Sep 7 2006 David Lutterkort <dlutter@redhat.com> - 0.19.0-1
|
750
|
+
- New version
|
751
|
+
|
752
|
+
* Tue Aug 1 2006 David Lutterkort <dlutter@redhat.com> - 0.18.4-2
|
753
|
+
- Use /usr/bin/ruby directly instead of /usr/bin/env ruby in
|
754
|
+
executables. Otherwise, initscripts break since pidof can't find the
|
755
|
+
right process
|
756
|
+
|
757
|
+
* Tue Aug 1 2006 David Lutterkort <dlutter@redhat.com> - 0.18.4-1
|
758
|
+
- New version
|
759
|
+
|
760
|
+
* Fri Jul 14 2006 David Lutterkort <dlutter@redhat.com> - 0.18.3-1
|
761
|
+
- New version
|
762
|
+
|
763
|
+
* Wed Jul 5 2006 David Lutterkort <dlutter@redhat.com> - 0.18.2-1
|
764
|
+
- New version
|
765
|
+
|
766
|
+
* Wed Jun 28 2006 David Lutterkort <dlutter@redhat.com> - 0.18.1-1
|
767
|
+
- Removed lsb-config.patch and yumrepo.patch since they are upstream now
|
768
|
+
|
769
|
+
* Mon Jun 19 2006 David Lutterkort <dlutter@redhat.com> - 0.18.0-1
|
770
|
+
- Patch config for LSB compliance (lsb-config.patch)
|
771
|
+
- Changed config moves /var/puppet to /var/lib/puppet, /etc/puppet/ssl
|
772
|
+
to /var/lib/puppet, /etc/puppet/clases.txt to /var/lib/puppet/classes.txt,
|
773
|
+
/etc/puppet/localconfig.yaml to /var/lib/puppet/localconfig.yaml
|
774
|
+
|
775
|
+
* Fri May 19 2006 David Lutterkort <dlutter@redhat.com> - 0.17.2-1
|
776
|
+
- Added /usr/bin/puppetrun to server subpackage
|
777
|
+
- Backported patch for yumrepo type (yumrepo.patch)
|
778
|
+
|
779
|
+
* Wed May 3 2006 David Lutterkort <dlutter@redhat.com> - 0.16.4-1
|
780
|
+
- Rebuilt
|
781
|
+
|
782
|
+
* Fri Apr 21 2006 David Lutterkort <dlutter@redhat.com> - 0.16.0-1
|
783
|
+
- Fix default file permissions in server subpackage
|
784
|
+
- Run puppetmaster as user puppet
|
785
|
+
- rebuilt for 0.16.0
|
786
|
+
|
787
|
+
* Mon Apr 17 2006 David Lutterkort <dlutter@redhat.com> - 0.15.3-2
|
788
|
+
- Don't create empty log files in post-install scriptlet
|
789
|
+
|
790
|
+
* Fri Apr 7 2006 David Lutterkort <dlutter@redhat.com> - 0.15.3-1
|
791
|
+
- Rebuilt for new version
|
792
|
+
|
793
|
+
* Wed Mar 22 2006 David Lutterkort <dlutter@redhat.com> - 0.15.1-1
|
794
|
+
- Patch0: Run puppetmaster as root; running as puppet is not ready
|
795
|
+
for primetime
|
796
|
+
|
797
|
+
* Mon Mar 13 2006 David Lutterkort <dlutter@redhat.com> - 0.15.0-1
|
798
|
+
- Commented out noarch; requires fix for bz184199
|
799
|
+
|
800
|
+
* Mon Mar 6 2006 David Lutterkort <dlutter@redhat.com> - 0.14.0-1
|
801
|
+
- Added BuildRequires for ruby
|
802
|
+
|
803
|
+
* Wed Mar 1 2006 David Lutterkort <dlutter@redhat.com> - 0.13.5-1
|
804
|
+
- Removed use of fedora-usermgmt. It is not required for Fedora Extras and
|
805
|
+
makes it unnecessarily hard to use this rpm outside of Fedora. Just
|
806
|
+
allocate the puppet uid/gid dynamically
|
807
|
+
|
808
|
+
* Sun Feb 19 2006 David Lutterkort <dlutter@redhat.com> - 0.13.0-4
|
809
|
+
- Use fedora-usermgmt to create puppet user/group. Use uid/gid 24. Fixed
|
810
|
+
problem with listing fileserver.conf and puppetmaster.conf twice
|
811
|
+
|
812
|
+
* Wed Feb 8 2006 David Lutterkort <dlutter@redhat.com> - 0.13.0-3
|
813
|
+
- Fix puppetd.conf
|
814
|
+
|
815
|
+
* Wed Feb 8 2006 David Lutterkort <dlutter@redhat.com> - 0.13.0-2
|
816
|
+
- Changes to run puppetmaster as user puppet
|
817
|
+
|
818
|
+
* Mon Feb 6 2006 David Lutterkort <dlutter@redhat.com> - 0.13.0-1
|
819
|
+
- Don't mark initscripts as config files
|
820
|
+
|
821
|
+
* Mon Feb 6 2006 David Lutterkort <dlutter@redhat.com> - 0.12.0-2
|
822
|
+
- Fix BuildRoot. Add dist to release
|
823
|
+
|
824
|
+
* Tue Jan 17 2006 David Lutterkort <dlutter@redhat.com> - 0.11.0-1
|
825
|
+
- Rebuild
|
826
|
+
|
827
|
+
* Thu Jan 12 2006 David Lutterkort <dlutter@redhat.com> - 0.10.2-1
|
828
|
+
- Updated for 0.10.2 Fixed minor kink in how Source is given
|
829
|
+
|
830
|
+
* Wed Jan 11 2006 David Lutterkort <dlutter@redhat.com> - 0.10.1-3
|
831
|
+
- Added basic fileserver.conf
|
832
|
+
|
833
|
+
* Wed Jan 11 2006 David Lutterkort <dlutter@redhat.com> - 0.10.1-1
|
834
|
+
- Updated. Moved installation of library files to sitelibdir. Pulled
|
835
|
+
initscripts into separate files. Folded tools rpm into server
|
836
|
+
|
837
|
+
* Thu Nov 24 2005 Duane Griffin <d.griffin@psenterprise.com>
|
838
|
+
- Added init scripts for the client
|
839
|
+
|
840
|
+
* Wed Nov 23 2005 Duane Griffin <d.griffin@psenterprise.com>
|
841
|
+
- First packaging
|