puppet 7.6.1-universal-darwin → 7.10.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/CONTRIBUTING.md +7 -7
- data/Gemfile +2 -1
- data/Gemfile.lock +18 -18
- data/README.md +4 -4
- data/{ext → examples/enc}/regexp_nodes/classes/databases +0 -0
- data/{ext → examples/enc}/regexp_nodes/classes/webservers +0 -0
- data/{ext → examples/enc}/regexp_nodes/environment/development +0 -0
- data/{ext → examples/enc}/regexp_nodes/parameters/service/prod +0 -0
- data/{ext → examples/enc}/regexp_nodes/parameters/service/qa +0 -0
- data/{ext → examples/enc}/regexp_nodes/parameters/service/sandbox +0 -0
- data/{ext → examples/enc}/regexp_nodes/regexp_nodes.rb +0 -0
- data/{ext → examples}/nagios/check_puppet.rb +2 -2
- data/ext/README.md +13 -0
- data/ext/osx/puppet.plist +2 -0
- data/ext/project_data.yaml +1 -0
- data/install.rb +11 -15
- data/lib/hiera_puppet.rb +1 -1
- data/lib/puppet.rb +40 -40
- 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 +3 -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 +18 -4
- data/lib/puppet/application/script.rb +6 -5
- data/lib/puppet/application/ssl.rb +3 -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 +159 -50
- 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 +67 -33
- data/lib/puppet/environments.rb +76 -26
- 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/help/action.erb +1 -0
- data/lib/puppet/face/help/face.erb +1 -0
- 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/node/clean.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 +12 -10
- data/lib/puppet/file_serving/configuration/parser.rb +4 -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/scripts.rb +24 -0
- 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/file_impl.rb +1 -1
- 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 +4 -4
- data/lib/puppet/forge.rb +8 -8
- data/lib/puppet/forge/cache.rb +2 -2
- 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/empty.rb +8 -0
- data/lib/puppet/functions/find_template.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/strftime.rb +1 -0
- data/lib/puppet/functions/tree_each.rb +7 -9
- data/lib/puppet/functions/type.rb +4 -4
- data/lib/puppet/functions/unwrap.rb +17 -2
- 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 +79 -2
- data/lib/puppet/http/service/file_server.rb +3 -2
- data/lib/puppet/indirector.rb +5 -5
- data/lib/puppet/indirector/catalog/compiler.rb +28 -9
- 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 +3 -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 +7 -2
- data/lib/puppet/indirector/resource/store_configs.rb +2 -2
- data/lib/puppet/indirector/terminus.rb +9 -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 +2 -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 -2
- data/lib/puppet/module/task.rb +2 -2
- 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 +19 -11
- 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/errors/shared.rb +17 -0
- 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/module_tool/tar/mini.rb +1 -1
- 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 +2 -2
- 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 +13 -14
- 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/serialization/to_data_converter.rb +18 -6
- data/lib/puppet/pops/time/timespan.rb +1 -1
- data/lib/puppet/pops/types/p_sem_ver_type.rb +8 -2
- data/lib/puppet/pops/types/p_sensitive_type.rb +10 -0
- 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_mismatch_describer.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 +17 -5
- 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 +5 -5
- 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 +13 -8
- 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 +18 -6
- data/lib/puppet/provider/package/pkg.rb +10 -3
- 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 +17 -4
- data/lib/puppet/provider/package/windows/exe_package.rb +31 -2
- data/lib/puppet/provider/package/windows/msi_package.rb +1 -1
- data/lib/puppet/provider/package/windows/package.rb +6 -5
- data/lib/puppet/provider/package/yum.rb +6 -6
- data/lib/puppet/provider/package/zypper.rb +3 -3
- data/lib/puppet/provider/package_targetable.rb +1 -1
- data/lib/puppet/provider/parsedfile.rb +6 -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/freebsd.rb +1 -1
- data/lib/puppet/provider/service/init.rb +1 -1
- data/lib/puppet/provider/service/launchd.rb +10 -4
- 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 +18 -8
- 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 +26 -13
- 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 +45 -12
- 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 +6 -4
- data/lib/puppet/runtime.rb +1 -1
- data/lib/puppet/scheduler.rb +4 -4
- data/lib/puppet/settings.rb +58 -35
- 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 +2 -9
- data/lib/puppet/settings/errors.rb +1 -1
- data/lib/puppet/settings/priority_setting.rb +3 -3
- data/lib/puppet/settings/value_translator.rb +0 -1
- 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/additional_resource_generator.rb +1 -1
- data/lib/puppet/transaction/event.rb +4 -4
- data/lib/puppet/transaction/event_manager.rb +1 -1
- data/lib/puppet/transaction/persistence.rb +12 -2
- data/lib/puppet/transaction/report.rb +17 -3
- data/lib/puppet/transaction/resource_harness.rb +1 -1
- data/lib/puppet/type.rb +15 -15
- data/lib/puppet/type/component.rb +3 -3
- data/lib/puppet/type/exec.rb +26 -4
- data/lib/puppet/type/file.rb +43 -25
- 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 +7 -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 +3 -3
- 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 +18 -38
- data/lib/puppet/type/tidy.rb +25 -6
- data/lib/puppet/type/user.rb +43 -25
- 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 +9 -20
- 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 +30 -18
- 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 +4 -2
- 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 +4 -22
- data/lib/puppet/x509/pem_store.rb +1 -1
- data/lib/puppet_pal.rb +2 -2
- data/locales/puppet.pot +441 -357
- data/man/man5/puppet.conf.5 +322 -264
- data/man/man8/puppet-agent.8 +1 -1
- data/man/man8/puppet-apply.8 +1 -1
- 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 +1 -1
- data/man/man8/puppet-doc.8 +1 -1
- data/man/man8/puppet-epp.8 +1 -1
- data/man/man8/puppet-facts.8 +7 -7
- 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 +3 -3
- 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 +1 -1
- data/man/man8/puppet-ssl.8 +1 -1
- data/man/man8/puppet.8 +2 -2
- data/spec/fixtures/integration/application/agent/lib/facter/agent_spec_role.rb +3 -0
- data/spec/fixtures/integration/l10n/envs/prod/modules/demo/Gemfile +4 -0
- data/spec/fixtures/integration/l10n/envs/prod/modules/demo/Rakefile +3 -0
- data/spec/fixtures/integration/l10n/envs/prod/modules/demo/lib/puppet/functions/l10n.rb +8 -0
- data/spec/fixtures/integration/l10n/envs/prod/modules/demo/locales/config.yaml +25 -0
- data/spec/fixtures/integration/l10n/envs/prod/modules/demo/locales/ja/puppet-l10n.po +19 -0
- data/spec/fixtures/integration/l10n/envs/prod/modules/demo/locales/puppet-l10n.pot +20 -0
- data/spec/fixtures/integration/l10n/envs/prod/modules/demo/metadata.json +8 -0
- 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-openssl.pem +8 -0
- data/spec/fixtures/ssl/ec-key-pk8.pem +5 -0
- 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/oid-key.pem +117 -0
- data/spec/fixtures/ssl/oid.pem +69 -0
- 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/trusted_oid_mapping.yaml +5 -0
- 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/application/agent_spec.rb +102 -52
- data/spec/integration/application/filebucket_spec.rb +16 -0
- data/spec/integration/application/module_spec.rb +21 -0
- data/spec/integration/application/resource_spec.rb +64 -0
- data/spec/integration/application/ssl_spec.rb +20 -0
- data/spec/integration/configurer_spec.rb +17 -1
- data/spec/integration/defaults_spec.rb +5 -0
- data/spec/integration/environments/settings_interpolation_spec.rb +0 -4
- data/spec/integration/indirector/facts/facter_spec.rb +90 -36
- data/spec/integration/l10n/compiler_spec.rb +37 -0
- data/spec/integration/type/exec_spec.rb +70 -45
- data/spec/integration/type/file_spec.rb +5 -5
- data/spec/lib/puppet/test_ca.rb +7 -2
- data/spec/lib/puppet_spec/files.rb +1 -1
- data/spec/lib/puppet_spec/modules.rb +13 -2
- data/spec/lib/puppet_spec/puppetserver.rb +15 -0
- data/spec/lib/puppet_spec/settings.rb +1 -0
- data/spec/shared_behaviours/documentation_on_faces.rb +0 -2
- data/spec/shared_contexts/l10n.rb +27 -0
- data/spec/shared_contexts/provider.rb +16 -0
- data/spec/spec_helper.rb +1 -10
- data/spec/unit/application/agent_spec.rb +7 -2
- data/spec/unit/configurer/downloader_spec.rb +6 -0
- data/spec/unit/configurer_spec.rb +288 -54
- data/spec/unit/environments_spec.rb +184 -0
- data/spec/unit/file_bucket/dipper_spec.rb +1 -1
- data/spec/unit/file_serving/configuration/parser_spec.rb +23 -0
- data/spec/unit/file_serving/configuration_spec.rb +12 -4
- data/spec/unit/file_serving/fileset_spec.rb +60 -0
- data/spec/unit/file_serving/mount/scripts_spec.rb +69 -0
- data/spec/unit/file_system_spec.rb +6 -0
- data/spec/unit/functions/assert_type_spec.rb +1 -1
- data/spec/unit/functions/empty_spec.rb +10 -0
- data/spec/unit/functions/logging_spec.rb +1 -0
- data/spec/unit/functions/lookup_spec.rb +23 -0
- data/spec/unit/functions/unwrap_spec.rb +8 -0
- data/spec/unit/functions4_spec.rb +19 -10
- data/spec/unit/gettext/config_spec.rb +12 -0
- data/spec/unit/http/service/compiler_spec.rb +131 -0
- data/spec/unit/indirector/catalog/compiler_spec.rb +101 -10
- data/spec/unit/indirector/catalog/rest_spec.rb +8 -0
- data/spec/unit/indirector/resource/ral_spec.rb +40 -75
- data/spec/unit/interface/action_spec.rb +0 -9
- data/spec/unit/module_spec.rb +14 -0
- data/spec/unit/module_tool/applications/installer_spec.rb +52 -14
- data/spec/unit/parser/compiler_spec.rb +29 -0
- data/spec/unit/parser/functions/fqdn_rand_spec.rb +15 -1
- data/spec/unit/parser/templatewrapper_spec.rb +12 -2
- data/spec/unit/pops/loaders/dependency_loader_spec.rb +0 -9
- data/spec/unit/pops/lookup/context_spec.rb +1 -1
- data/spec/unit/pops/parser/lexer2_spec.rb +0 -4
- data/spec/unit/pops/parser/parse_containers_spec.rb +0 -11
- data/spec/unit/pops/serialization/to_from_hr_spec.rb +58 -0
- data/spec/unit/pops/types/p_sem_ver_type_spec.rb +18 -0
- data/spec/unit/pops/types/p_sensitive_type_spec.rb +18 -0
- 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/nim_spec.rb +42 -0
- 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 +40 -1
- data/spec/unit/provider/package/pkg_spec.rb +63 -49
- 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/package/windows/exe_package_spec.rb +17 -0
- data/spec/unit/provider/parsedfile_spec.rb +10 -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/freebsd_spec.rb +1 -1
- 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 +21 -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 +70 -30
- data/spec/unit/provider/service/upstart_spec.rb +25 -20
- data/spec/unit/provider/service/windows_spec.rb +202 -0
- data/spec/unit/provider/user/directoryservice_spec.rb +67 -35
- data/spec/unit/provider/user/useradd_spec.rb +3 -2
- data/spec/unit/resource/catalog_spec.rb +1 -1
- data/spec/unit/resource/type_collection_spec.rb +16 -0
- data/spec/unit/resource/type_spec.rb +2 -2
- data/spec/unit/settings/config_file_spec.rb +1 -11
- data/spec/unit/settings/value_translator_spec.rb +4 -5
- data/spec/unit/settings_spec.rb +120 -79
- data/spec/unit/ssl/ssl_provider_spec.rb +18 -16
- 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/exec_spec.rb +76 -29
- data/spec/unit/type/file/selinux_spec.rb +3 -3
- data/spec/unit/type/file/source_spec.rb +4 -4
- data/spec/unit/type/service_spec.rb +59 -188
- data/spec/unit/type/tidy_spec.rb +24 -7
- data/spec/unit/type/user_spec.rb +45 -0
- data/spec/unit/util/at_fork_spec.rb +9 -9
- data/spec/unit/util/ldap/connection_spec.rb +10 -10
- data/spec/unit/util/ldap/manager_spec.rb +2 -2
- data/spec/unit/util/posix_spec.rb +1 -1
- data/spec/unit/util/selinux_spec.rb +87 -16
- data/spec/unit/util/windows/sid_spec.rb +39 -4
- data/spec/unit/util_spec.rb +1 -3
- data/spec/unit/x509/cert_provider_spec.rb +9 -1
- data/tasks/generate_cert_fixtures.rake +12 -3
- metadata +52 -95
- data/ext/README.environment +0 -8
- data/ext/dbfix.sql +0 -132
- data/ext/debian/README.Debian +0 -8
- data/ext/debian/README.source +0 -2
- data/ext/debian/TODO.Debian +0 -1
- data/ext/debian/changelog.erb +0 -1122
- data/ext/debian/compat +0 -1
- data/ext/debian/control +0 -144
- data/ext/debian/copyright +0 -339
- data/ext/debian/docs +0 -1
- data/ext/debian/fileserver.conf +0 -41
- data/ext/debian/puppet-common.dirs +0 -13
- data/ext/debian/puppet-common.install +0 -3
- data/ext/debian/puppet-common.lintian-overrides +0 -5
- data/ext/debian/puppet-common.manpages +0 -28
- data/ext/debian/puppet-common.postinst +0 -35
- data/ext/debian/puppet-common.postrm +0 -33
- data/ext/debian/puppet-el.dirs +0 -1
- data/ext/debian/puppet-el.emacsen-install +0 -25
- data/ext/debian/puppet-el.emacsen-remove +0 -11
- data/ext/debian/puppet-el.emacsen-startup +0 -9
- data/ext/debian/puppet-el.install +0 -1
- data/ext/debian/puppet-testsuite.install +0 -2
- data/ext/debian/puppet-testsuite.lintian-overrides +0 -4
- data/ext/debian/puppet.lintian-overrides +0 -3
- data/ext/debian/puppet.logrotate +0 -20
- data/ext/debian/puppet.postinst +0 -20
- data/ext/debian/puppet.postrm +0 -20
- data/ext/debian/puppet.preinst +0 -20
- data/ext/debian/puppetmaster-common.install +0 -2
- data/ext/debian/puppetmaster-common.manpages +0 -2
- data/ext/debian/puppetmaster-common.postinst +0 -6
- data/ext/debian/puppetmaster-passenger.dirs +0 -4
- data/ext/debian/puppetmaster-passenger.postinst +0 -162
- data/ext/debian/puppetmaster-passenger.postrm +0 -61
- data/ext/debian/puppetmaster.README.debian +0 -17
- data/ext/debian/puppetmaster.default +0 -14
- data/ext/debian/puppetmaster.init +0 -137
- data/ext/debian/puppetmaster.lintian-overrides +0 -3
- data/ext/debian/puppetmaster.postinst +0 -20
- data/ext/debian/puppetmaster.postrm +0 -5
- data/ext/debian/puppetmaster.preinst +0 -22
- data/ext/debian/rules +0 -132
- data/ext/debian/source/format +0 -1
- data/ext/debian/source/options +0 -1
- data/ext/debian/vim-puppet.README.Debian +0 -13
- data/ext/debian/vim-puppet.dirs +0 -5
- data/ext/debian/vim-puppet.yaml +0 -7
- data/ext/debian/watch +0 -2
- data/ext/freebsd/puppetd +0 -26
- data/ext/freebsd/puppetmasterd +0 -26
- data/ext/gentoo/conf.d/puppet +0 -5
- data/ext/gentoo/conf.d/puppetmaster +0 -12
- data/ext/gentoo/init.d/puppet +0 -38
- data/ext/gentoo/init.d/puppetmaster +0 -51
- data/ext/gentoo/puppet/fileserver.conf +0 -41
- data/ext/ips/puppet-agent +0 -44
- data/ext/ips/puppet-master +0 -44
- data/ext/ips/puppet.p5m.erb +0 -12
- data/ext/ips/puppetagent.xml +0 -42
- data/ext/ips/puppetmaster.xml +0 -42
- data/ext/ips/rules +0 -19
- data/ext/ips/transforms +0 -34
- data/ext/ldap/puppet.schema +0 -24
- data/ext/logcheck/puppet +0 -23
- data/ext/osx/file_mapping.yaml +0 -28
- data/ext/osx/postflight.erb +0 -109
- data/ext/osx/preflight.erb +0 -52
- data/ext/osx/prototype.plist.erb +0 -38
- data/ext/redhat/fileserver.conf +0 -41
- data/ext/redhat/logrotate +0 -21
- data/ext/redhat/puppet.spec.erb +0 -841
- data/ext/redhat/server.init +0 -128
- data/ext/redhat/server.sysconfig +0 -13
- data/ext/solaris/pkginfo +0 -6
- data/ext/solaris/smf/puppetd.xml +0 -77
- data/ext/solaris/smf/puppetmasterd.xml +0 -77
- data/ext/solaris/smf/svc-puppetd +0 -71
- data/ext/solaris/smf/svc-puppetmasterd +0 -67
- data/ext/suse/puppet.spec +0 -310
- data/ext/suse/server.init +0 -173
- data/ext/yaml_nodes.rb +0 -105
- data/spec/unit/indirector/store_configs_spec.rb +0 -7
data/ext/ips/transforms
DELETED
@@ -1,34 +0,0 @@
|
|
1
|
-
<transform file dir link hardlink path=usr/share/man/.+(/.+)? -> default facet.doc.man true>
|
2
|
-
<transform file path=usr/share/man/.+(/.+)? -> add restart_fmri svc:/application/man-index:default>
|
3
|
-
|
4
|
-
# drop opt and user
|
5
|
-
<transform dir path=(lib|etc|usr|var)$->drop>
|
6
|
-
<transform dir path=usr/(share|ruby)$->drop>
|
7
|
-
<transform dir path=usr/share/man$->drop>
|
8
|
-
<transform dir path=usr/ruby/1.8$->drop>
|
9
|
-
<transform dir path=usr/ruby/1.8/lib$->drop>
|
10
|
-
<transform dir path=usr/ruby/1.8/ruby$->drop>
|
11
|
-
<transform dir path=usr/ruby/1.8/ruby/1.8$->drop>
|
12
|
-
<transform dir path=(var|lib)/svc$->drop>
|
13
|
-
<transform dir path=lib/svc/method$->drop>
|
14
|
-
<transform dir path=var/svc/manifest$->drop>
|
15
|
-
<transform dir path=var/svc/manifest/network$->drop>
|
16
|
-
|
17
|
-
# drop var/lib var/log
|
18
|
-
<transform dir path=var/(lib|log)$->drop>
|
19
|
-
|
20
|
-
# saner dependencies
|
21
|
-
<transform depend -> edit fmri "@[^ \t\n\r\f\v]*" "">
|
22
|
-
|
23
|
-
# make sure /var/log/puppet and /var/lib/puppet are owned by puppet
|
24
|
-
<transform dir path=var/(log|lib)/puppet$ -> edit group bin puppet>
|
25
|
-
<transform dir path=var/(log|lib)/puppet$ -> edit owner root puppet>
|
26
|
-
|
27
|
-
<transform file path=var/svc/manifest/.*\.xml -> add restart_fmri svc:/system/manifest-import:default>
|
28
|
-
|
29
|
-
# we depend on facter
|
30
|
-
<transform pkg -> emit depend type=require fmri=application/facter@1.7.0>
|
31
|
-
|
32
|
-
# preserve the old conf file on upgrade.
|
33
|
-
<transform file path=etc/puppet/(puppet|auth).conf -> add overlay true>
|
34
|
-
<transform file path=etc/puppet/(puppet|auth).conf -> add preserve renamenew>
|
data/ext/ldap/puppet.schema
DELETED
@@ -1,24 +0,0 @@
|
|
1
|
-
attributetype ( 1.3.6.1.4.1.34380.1.1.3.10 NAME 'puppetClass'
|
2
|
-
DESC 'Puppet Node Class'
|
3
|
-
EQUALITY caseIgnoreIA5Match
|
4
|
-
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
|
5
|
-
|
6
|
-
attributetype ( 1.3.6.1.4.1.34380.1.1.3.9 NAME 'parentNode'
|
7
|
-
DESC 'Puppet Parent Node'
|
8
|
-
EQUALITY caseIgnoreIA5Match
|
9
|
-
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
|
10
|
-
SINGLE-VALUE )
|
11
|
-
|
12
|
-
attributetype ( 1.3.6.1.4.1.34380.1.1.3.11 NAME 'environment'
|
13
|
-
DESC 'Puppet Node Environment'
|
14
|
-
EQUALITY caseIgnoreIA5Match
|
15
|
-
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
|
16
|
-
|
17
|
-
attributetype ( 1.3.6.1.4.1.34380.1.1.3.12 NAME 'puppetVar'
|
18
|
-
DESC 'A variable setting for puppet'
|
19
|
-
EQUALITY caseIgnoreIA5Match
|
20
|
-
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
|
21
|
-
|
22
|
-
objectclass ( 1.3.6.1.4.1.34380.1.1.1.2 NAME 'puppetClient' SUP top AUXILIARY
|
23
|
-
DESC 'Puppet Client objectclass'
|
24
|
-
MAY ( puppetclass $ parentnode $ environment $ puppetvar ))
|
data/ext/logcheck/puppet
DELETED
@@ -1,23 +0,0 @@
|
|
1
|
-
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ puppet-master\[[0-9]+\]: (Handled resources in|Resource comparison took|Searched for (host|resources|resource params and tags) in) [0-9.]+ seconds
|
2
|
-
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ puppet-master\[[0-9]+\]: Starting Puppet server version [.0-9]+$
|
3
|
-
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ puppet-master\[[0-9]+\]: Compiled catalog for [._[:alnum:]-]+ in environment [_[:alnum:]]+ in [.[:digit:]]+ seconds$
|
4
|
-
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ puppet-master\[[0-9]+\]: Caught TERM; shutting down$
|
5
|
-
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ puppet-master\[[0-9]+\]: Shutting down$
|
6
|
-
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ puppet-agent\[[0-9]+\]: Starting Puppet client version [.0-9]+$
|
7
|
-
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ puppet-agent\[[0-9]+\]: getting config$
|
8
|
-
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ puppet-agent\[[0-9]+\]: Caching configuration at [\/._[:alnum:]-]+$
|
9
|
-
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ puppet-agent\[[0-9]+\]: Loaded state in [.0-9]+ seconds$
|
10
|
-
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ puppet-agent\[[0-9]+\]: Calling puppetmaster.getconfig$
|
11
|
-
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ puppet-agent\[[0-9]+\]: Retrieved configuration in [.0-9]+ seconds$
|
12
|
-
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ puppet-agent\[[0-9]+\]: Starting configuration run$
|
13
|
-
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ puppet-agent\[[0-9]+\]: Finished configuration run in [.0-9]+ seconds$
|
14
|
-
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ puppet-agent\[[0-9]+\]: Caught (TERM|INT); shutting down$
|
15
|
-
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ puppet-agent\[[0-9]+\]: Shutting down$
|
16
|
-
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ puppet-agent\[[0-9]+\]: Restarting with .*$
|
17
|
-
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ puppet-agent\[[0-9]+\]: Starting catalog run$
|
18
|
-
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ puppet-agent\[[0-9]+\]: Finished catalog run in [.0-9]+ seconds$
|
19
|
-
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ puppet-agent\[[0-9]+\]: Loading fact .*$
|
20
|
-
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ puppet-agent\[[0-9]+\]: Ignoring cache$
|
21
|
-
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ puppet-agent\[[0-9]+\]: Ignoring --listen on onetime run$
|
22
|
-
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ puppet-agent\[[0-9]+\]: Retrieving plugins$
|
23
|
-
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ puppet-master\[[0-9]+\]: Reopening log files$
|
data/ext/osx/file_mapping.yaml
DELETED
@@ -1,28 +0,0 @@
|
|
1
|
-
directories:
|
2
|
-
lib:
|
3
|
-
path: 'Library/Ruby/Site'
|
4
|
-
owner: 'root'
|
5
|
-
group: 'wheel'
|
6
|
-
perms: '0644'
|
7
|
-
bin:
|
8
|
-
path: 'usr/bin'
|
9
|
-
owner: 'root'
|
10
|
-
group: 'wheel'
|
11
|
-
perms: '0755'
|
12
|
-
'man/man8':
|
13
|
-
path: 'usr/share/man/man8'
|
14
|
-
owner: 'root'
|
15
|
-
group: 'wheel'
|
16
|
-
perms: '0755'
|
17
|
-
files:
|
18
|
-
'man/man5/puppet.conf.5':
|
19
|
-
path: 'usr/share/man/man5'
|
20
|
-
owner: 'root'
|
21
|
-
group: 'wheel'
|
22
|
-
perms: '0644'
|
23
|
-
'[A-Z]*':
|
24
|
-
path: 'usr/share/doc/puppet'
|
25
|
-
owner: 'root'
|
26
|
-
group: 'wheel'
|
27
|
-
perms: '0644'
|
28
|
-
|
data/ext/osx/postflight.erb
DELETED
@@ -1,109 +0,0 @@
|
|
1
|
-
#!/bin/bash
|
2
|
-
|
3
|
-
#by doing the below, we are ensuring we are modifying the target system the package is being installed on,
|
4
|
-
#not the OS running the installer
|
5
|
-
declare -x dest_vol="${3}"
|
6
|
-
declare -x dscl="${dest_vol}/usr/bin/dscl"
|
7
|
-
declare -x dspath="${dest_vol}/var/db/dslocal/nodes/Default/"
|
8
|
-
declare -x scripts_dir="${1}/Contents/Resources/"
|
9
|
-
declare -x awk="/usr/bin/awk"
|
10
|
-
declare -x last_user_id='-1'
|
11
|
-
declare -x last_group_id='-1'
|
12
|
-
|
13
|
-
function idFree() {
|
14
|
-
declare -a idArray=("${!2}")
|
15
|
-
for inc in ${idArray[@]}
|
16
|
-
do
|
17
|
-
if [ $inc == $1 ]
|
18
|
-
then
|
19
|
-
return 1
|
20
|
-
fi
|
21
|
-
done
|
22
|
-
|
23
|
-
return 0
|
24
|
-
|
25
|
-
}
|
26
|
-
|
27
|
-
function create_puser () {
|
28
|
-
"${dscl}" -f "${dspath}" localonly -create /Local/Target/Users/puppet
|
29
|
-
"${dscl}" -f "${dspath}" localonly -create /Local/Target/Users/puppet UniqueID $1
|
30
|
-
"${dscl}" -f "${dspath}" localonly -create /Local/Target/Users/puppet PrimaryGroupID $2
|
31
|
-
}
|
32
|
-
|
33
|
-
function create_pgroup () {
|
34
|
-
"${dscl}" -f "${dspath}" localonly -create /Local/Target/Groups/puppet
|
35
|
-
"${dscl}" -f "${dspath}" localonly -create /Local/Target/Groups/puppet PrimaryGroupID $1
|
36
|
-
}
|
37
|
-
|
38
|
-
function scan_users () {
|
39
|
-
UniqueIDS=(`"${dscl}" -f "${dspath}" localonly list /Local/Target/Users UniqueID | $awk '{print $2}'`);
|
40
|
-
|
41
|
-
#first just check for UID 52
|
42
|
-
if idFree '52' UniqueIDS[@]
|
43
|
-
then
|
44
|
-
last_user_id='52'
|
45
|
-
else
|
46
|
-
for possibleUID in {450..495}
|
47
|
-
do
|
48
|
-
if idFree $possibleUID UniqueIDS[@]
|
49
|
-
then
|
50
|
-
last_user_id=$possibleUID
|
51
|
-
#echo $last_good_id
|
52
|
-
fi
|
53
|
-
done
|
54
|
-
fi
|
55
|
-
}
|
56
|
-
|
57
|
-
function scan_groups () {
|
58
|
-
GroupIDS=(`"${dscl}" -f "${dspath}" localonly list /Local/Target/Groups PrimaryGroupID | $awk '{print $2}'`);
|
59
|
-
#check for 52 for group, if it's free, take it, don't bother doing the big search
|
60
|
-
if idFree '52' GroupIDS[@]
|
61
|
-
then
|
62
|
-
last_group_id='52'
|
63
|
-
else
|
64
|
-
for groupID in {450..495}
|
65
|
-
do
|
66
|
-
if idFree $groupID GroupIDS[@]
|
67
|
-
then
|
68
|
-
last_group_id=$groupID
|
69
|
-
fi
|
70
|
-
done
|
71
|
-
fi
|
72
|
-
}
|
73
|
-
|
74
|
-
echo "looking for Puppet User"
|
75
|
-
"${dscl}" -f "${dspath}" localonly -read /Local/Target/Users/puppet
|
76
|
-
puser_exists=$?
|
77
|
-
echo "Looking for Puppet Group"
|
78
|
-
"${dscl}" -f "${dspath}" localonly -read /Local/Target/Groups/puppet
|
79
|
-
pgroup_exists=$?
|
80
|
-
# exit status 56 indicates user/group not found
|
81
|
-
# exit status 0 indicates user/group does exist
|
82
|
-
|
83
|
-
if [ $pgroup_exists == '0' ] && [ $puser_exists == '0' ]; then
|
84
|
-
#Puppet user and group already exist
|
85
|
-
echo "Puppet User / Group already exist, not adding anything"
|
86
|
-
#storing the existing UID/GID to set permissions for /var/lib/puppet and /etc/puppet/puppet.conf
|
87
|
-
last_group_id=`"${dscl}" -f "${dspath}" localonly -read /Local/Target/Groups/puppet PrimaryGroupID | awk '{print $2}'`
|
88
|
-
last_user_id=`"${dscl}" -f "${dspath}" localonly -read /Local/Target/Users/puppet UniqueID | awk '{print $2}'`
|
89
|
-
elif [ $pgroup_exists == '0' ] && [ $puser_exists == '56' ]; then
|
90
|
-
#puppet group exists, but user does not
|
91
|
-
last_group_id=`"${dscl}" -f "${dspath}" localonly -read /Local/Target/Groups/puppet PrimaryGroupID | awk '{print $2}'`
|
92
|
-
scan_users
|
93
|
-
echo "Creating Puppet User (uid: $last_user_id) in existing Puppet Group (gid: $last_group_id)"
|
94
|
-
create_puser $last_user_id $last_group_id
|
95
|
-
elif [ $pgroup_exists == '56' ] && [ $puser_exists == '0' ]; then
|
96
|
-
#puppet user exists, but group does not
|
97
|
-
last_user_id=`"${dscl}" -f "${dspath}" localonly -read /Local/Target/Users/puppet UniqueID | awk '{print $2}'`
|
98
|
-
scan_groups
|
99
|
-
echo "Creating Puppet Group (gid: $last_group_id), Puppet User exists (uid: $last_user_id)"
|
100
|
-
create_pgroup $last_group_id
|
101
|
-
elif [ $pgroup_exists == '56' ] && [ $puser_exists == '56' ]; then
|
102
|
-
scan_users
|
103
|
-
scan_groups
|
104
|
-
echo "Creating Puppet User (uid: $last_user_id) in new Puppet Group (gid: $last_group_id)"
|
105
|
-
create_pgroup $last_group_id
|
106
|
-
create_puser $last_user_id $last_group_id
|
107
|
-
else
|
108
|
-
echo "Something went wrong and user creation will need to be done manually"
|
109
|
-
fi
|
data/ext/osx/preflight.erb
DELETED
@@ -1,52 +0,0 @@
|
|
1
|
-
#!/bin/bash
|
2
|
-
#
|
3
|
-
# Make sure that old puppet cruft is removed
|
4
|
-
# This also allows us to downgrade puppet as
|
5
|
-
# it's more likely that installing old versions
|
6
|
-
# over new will cause issues.
|
7
|
-
#
|
8
|
-
# ${3} is the destination volume so that this works correctly
|
9
|
-
# when being installed to volumes other than the current OS.
|
10
|
-
|
11
|
-
<%- ["@apple_libdir", "@apple_sbindir", "@apple_bindir", "@apple_docdir", "@package_name"].each do |i| -%>
|
12
|
-
<%- val = instance_variable_get(i) -%>
|
13
|
-
<%- raise "Critical variable #{i} is unset!" if val.nil? or val.empty? -%>
|
14
|
-
<%- end -%>
|
15
|
-
|
16
|
-
# remove ruby library files. Because hiera and puppet both place a "hiera"
|
17
|
-
# directory in the libdir, we have to be sure we only delete the files
|
18
|
-
# belonging to this project. In this case, we only delete files from within
|
19
|
-
# the 'hiera' directory, while deleting the entire puppet directory.
|
20
|
-
<%- Dir.chdir("lib") do -%>
|
21
|
-
<%- [@apple_old_libdir, @apple_libdir].compact.each do |libdir| -%>
|
22
|
-
<%- Dir["hiera/**/*"].select{ |i| File.file?(i) }.each do |file| -%>
|
23
|
-
/bin/rm -f "${3}<%= libdir %>/<%= file %>"
|
24
|
-
<%- end -%>
|
25
|
-
<%- Dir.glob("*").each do |file| -%>
|
26
|
-
<%- next if file == "hiera" -%>
|
27
|
-
<%- if File.directory?(file) -%>
|
28
|
-
/bin/rm -Rf "${3}<%= libdir %>/<%= file %>"
|
29
|
-
<%- else -%>
|
30
|
-
/bin/rm -f "${3}<%= libdir %>/<%= file %>"
|
31
|
-
<%- end -%>
|
32
|
-
<%- end -%>
|
33
|
-
<%- end -%>
|
34
|
-
<%- end -%>
|
35
|
-
|
36
|
-
# remove bin files
|
37
|
-
<%- Dir.chdir("bin") do -%>
|
38
|
-
<%- Dir.glob("*").each do |file| -%>
|
39
|
-
/bin/rm -f "${3}<%= @apple_bindir %>/<%= file %>"
|
40
|
-
<%- end -%>
|
41
|
-
<%- end -%>
|
42
|
-
|
43
|
-
# remove old doc files
|
44
|
-
/bin/rm -Rf "${3}<%= @apple_docdir %>/<%= @package_name %>"
|
45
|
-
|
46
|
-
# These files used to live in the sbindir but were
|
47
|
-
# removed in Pupppet >= 3.0. Remove them
|
48
|
-
/bin/rm -f "${3}<%= @apple_sbindir %>/puppetca"
|
49
|
-
/bin/rm -f "${3}<%= @apple_sbindir %>/puppetd"
|
50
|
-
/bin/rm -f "${3}<%= @apple_sbindir %>/puppetmasterd"
|
51
|
-
/bin/rm -f "${3}<%= @apple_sbindir %>/puppetqd"
|
52
|
-
/bin/rm -f "${3}<%= @apple_sbindir %>/puppetrun"
|
data/ext/osx/prototype.plist.erb
DELETED
@@ -1,38 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
3
|
-
<plist version="1.0">
|
4
|
-
<dict>
|
5
|
-
<key>CFBundleIdentifier</key>
|
6
|
-
<string><%= @title %></string>
|
7
|
-
<key>CFBundleShortVersionString</key>
|
8
|
-
<string><%= @version %></string>
|
9
|
-
<key>IFMajorVersion</key>
|
10
|
-
<integer><%= @package_major_version %></integer>
|
11
|
-
<key>IFMinorVersion</key>
|
12
|
-
<integer><%= @package_minor_version %></integer>
|
13
|
-
<key>IFPkgBuildDate</key>
|
14
|
-
<date><%= @build_date %></date>
|
15
|
-
<key>IFPkgFlagAllowBackRev</key>
|
16
|
-
<false/>
|
17
|
-
<key>IFPkgFlagAuthorizationAction</key>
|
18
|
-
<string>RootAuthorization</string>
|
19
|
-
<key>IFPkgFlagDefaultLocation</key>
|
20
|
-
<string>/</string>
|
21
|
-
<key>IFPkgFlagFollowLinks</key>
|
22
|
-
<true/>
|
23
|
-
<key>IFPkgFlagInstallFat</key>
|
24
|
-
<false/>
|
25
|
-
<key>IFPkgFlagIsRequired</key>
|
26
|
-
<false/>
|
27
|
-
<key>IFPkgFlagOverwritePermissions</key>
|
28
|
-
<false/>
|
29
|
-
<key>IFPkgFlagRelocatable</key>
|
30
|
-
<false/>
|
31
|
-
<key>IFPkgFlagRestartAction</key>
|
32
|
-
<string><%= @pm_restart %></string>
|
33
|
-
<key>IFPkgFlagRootVolumeOnly</key>
|
34
|
-
<true/>
|
35
|
-
<key>IFPkgFlagUpdateInstalledLanguages</key>
|
36
|
-
<false/>
|
37
|
-
</dict>
|
38
|
-
</plist>
|
data/ext/redhat/fileserver.conf
DELETED
@@ -1,41 +0,0 @@
|
|
1
|
-
# fileserver.conf
|
2
|
-
|
3
|
-
# Puppet automatically serves PLUGINS and FILES FROM MODULES: anything in
|
4
|
-
# <module name>/files/<file name> is available to authenticated nodes at
|
5
|
-
# puppet:///modules/<module name>/<file name>. You do not need to edit this
|
6
|
-
# file to enable this.
|
7
|
-
|
8
|
-
# MOUNT POINTS
|
9
|
-
|
10
|
-
# If you need to serve files from a directory that is NOT in a module,
|
11
|
-
# you must create a static mount point in this file:
|
12
|
-
#
|
13
|
-
# [extra_files]
|
14
|
-
# path /etc/puppet/files
|
15
|
-
# allow *
|
16
|
-
#
|
17
|
-
# In the example above, anything in /etc/puppet/files/<file name> would be
|
18
|
-
# available to authenticated nodes at puppet:///extra_files/<file name>.
|
19
|
-
#
|
20
|
-
# Mount points may also use three placeholders as part of their path:
|
21
|
-
#
|
22
|
-
# %H - The node's certname.
|
23
|
-
# %h - The portion of the node's certname before the first dot. (Usually the
|
24
|
-
# node's short hostname.)
|
25
|
-
# %d - The portion of the node's certname after the first dot. (Usually the
|
26
|
-
# node's domain name.)
|
27
|
-
|
28
|
-
# PERMISSIONS
|
29
|
-
|
30
|
-
# Every static mount point should have an `allow *` line; setting more
|
31
|
-
# granular permissions in this file is deprecated. Instead, you can
|
32
|
-
# control file access in auth.conf by controlling the
|
33
|
-
# /file_metadata/<mount point> and /file_content/<mount point> paths:
|
34
|
-
#
|
35
|
-
# path ~ ^/file_(metadata|content)/extra_files/
|
36
|
-
# auth yes
|
37
|
-
# allow /^(.+)\.example\.com$/
|
38
|
-
# allow_ip 192.168.100.0/24
|
39
|
-
#
|
40
|
-
# If added to auth.conf BEFORE the "path /file" rule, the rule above
|
41
|
-
# will add stricter restrictions to the extra_files mount point.
|
data/ext/redhat/logrotate
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
# Generic logrotate config for Red Hat systems. Works with both official
|
2
|
-
# Fedora and RHEL packages as well as PuppetLabs distributions.
|
3
|
-
|
4
|
-
/var/log/puppetlabs/masterhttp.log /var/log/puppet/masterhttp.log {
|
5
|
-
compress
|
6
|
-
missingok
|
7
|
-
notifempty
|
8
|
-
nocreate
|
9
|
-
}
|
10
|
-
|
11
|
-
/var/log/puppetlabs/puppetd.log /var/log/puppet/puppetd.log {
|
12
|
-
compress
|
13
|
-
missingok
|
14
|
-
notifempty
|
15
|
-
nocreate
|
16
|
-
sharedscripts
|
17
|
-
postrotate
|
18
|
-
([ -x /etc/init.d/puppet ] && /etc/init.d/puppet rotate > /dev/null 2>&1) ||
|
19
|
-
([ -x /usr/bin/systemctl ] && /usr/bin/systemctl kill -s USR2 puppet.service > /dev/null 2>&1) || true
|
20
|
-
endscript
|
21
|
-
}
|
data/ext/redhat/puppet.spec.erb
DELETED
@@ -1,841 +0,0 @@
|
|
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
|