puppet 6.24.0-x64-mingw32 → 6.25.0-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of puppet might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/Gemfile +2 -2
- data/Gemfile.lock +12 -12
- 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/lib/puppet/application/agent.rb +4 -0
- data/lib/puppet/application/apply.rb +20 -2
- data/lib/puppet/application/resource.rb +15 -13
- data/lib/puppet/concurrent/thread_local_singleton.rb +1 -0
- data/lib/puppet/configurer.rb +85 -57
- data/lib/puppet/confine/variable.rb +1 -1
- data/lib/puppet/defaults.rb +36 -30
- data/lib/puppet/environments.rb +66 -26
- data/lib/puppet/face/facts.rb +1 -1
- data/lib/puppet/facter_impl.rb +96 -0
- data/lib/puppet/file_serving/configuration/parser.rb +2 -0
- data/lib/puppet/file_serving/configuration.rb +3 -0
- data/lib/puppet/file_serving/mount/file.rb +4 -4
- data/lib/puppet/file_serving/mount/scripts.rb +24 -0
- data/lib/puppet/file_system/file_impl.rb +3 -1
- data/lib/puppet/forge.rb +1 -1
- data/lib/puppet/functions/find_template.rb +2 -2
- data/lib/puppet/http/service/compiler.rb +6 -1
- data/lib/puppet/indirector/catalog/compiler.rb +24 -6
- data/lib/puppet/indirector/catalog/rest.rb +1 -0
- data/lib/puppet/indirector/facts/facter.rb +6 -6
- data/lib/puppet/indirector/indirection.rb +1 -1
- data/lib/puppet/indirector/terminus.rb +4 -0
- data/lib/puppet/module/plan.rb +0 -1
- data/lib/puppet/module/task.rb +1 -1
- data/lib/puppet/module.rb +1 -0
- data/lib/puppet/module_tool/applications/installer.rb +8 -4
- data/lib/puppet/module_tool/applications/uninstaller.rb +1 -1
- data/lib/puppet/module_tool/applications/upgrader.rb +1 -1
- data/lib/puppet/network/http/api/indirected_routes.rb +1 -1
- data/lib/puppet/node/environment.rb +10 -11
- data/lib/puppet/pal/pal_impl.rb +1 -1
- data/lib/puppet/parser/scope.rb +1 -0
- data/lib/puppet/parser/templatewrapper.rb +1 -0
- data/lib/puppet/pops/lookup/lookup_adapter.rb +3 -2
- data/lib/puppet/pops/model/ast.rb +1 -0
- data/lib/puppet/pops/model/factory.rb +2 -1
- data/lib/puppet/pops/parser/eparser.rb +201 -201
- data/lib/puppet/pops/parser/lexer2.rb +92 -91
- data/lib/puppet/pops/parser/slurp_support.rb +1 -0
- data/lib/puppet/pops/serialization/to_data_converter.rb +18 -6
- data/lib/puppet/pops/serialization/to_stringified_converter.rb +1 -1
- data/lib/puppet/pops/types/type_formatter.rb +4 -3
- data/lib/puppet/pops/types/types.rb +1 -1
- data/lib/puppet/provider/aix_object.rb +1 -1
- data/lib/puppet/provider/group/groupadd.rb +5 -2
- data/lib/puppet/provider/package/pkg.rb +19 -2
- data/lib/puppet/provider/package/puppetserver_gem.rb +1 -1
- data/lib/puppet/provider/package/yum.rb +1 -1
- data/lib/puppet/provider/service/base.rb +1 -1
- data/lib/puppet/provider/service/init.rb +5 -5
- data/lib/puppet/provider/service/launchd.rb +2 -2
- data/lib/puppet/provider/service/redhat.rb +1 -1
- data/lib/puppet/provider/service/smf.rb +3 -3
- data/lib/puppet/provider/service/systemd.rb +2 -2
- data/lib/puppet/provider/service/upstart.rb +5 -5
- data/lib/puppet/provider/user/aix.rb +44 -1
- data/lib/puppet/provider/user/directoryservice.rb +1 -1
- data/lib/puppet/provider/user/useradd.rb +72 -16
- data/lib/puppet/provider.rb +1 -1
- data/lib/puppet/reference/providers.rb +2 -2
- data/lib/puppet/resource/type_collection.rb +1 -0
- data/lib/puppet/runtime.rb +11 -1
- data/lib/puppet/settings.rb +2 -2
- data/lib/puppet/test/test_helper.rb +4 -1
- data/lib/puppet/transaction/persistence.rb +11 -1
- data/lib/puppet/transaction/report.rb +15 -1
- data/lib/puppet/type/exec.rb +19 -2
- data/lib/puppet/type/file.rb +6 -6
- data/lib/puppet/type/filebucket.rb +3 -3
- data/lib/puppet/type/group.rb +0 -1
- data/lib/puppet/type/resources.rb +1 -1
- data/lib/puppet/type/service.rb +8 -3
- data/lib/puppet/type/user.rb +0 -1
- data/lib/puppet/type.rb +1 -1
- data/lib/puppet/util/command_line.rb +1 -1
- data/lib/puppet/util/filetype.rb +2 -2
- data/lib/puppet/util/json.rb +3 -0
- data/lib/puppet/util/log.rb +1 -2
- data/lib/puppet/util/logging.rb +1 -25
- data/lib/puppet/util/pidlock.rb +1 -1
- data/lib/puppet/util/rdoc/parser/puppet_parser_core.rb +1 -1
- data/lib/puppet/util/suidmanager.rb +1 -2
- data/lib/puppet/util/tagging.rb +1 -0
- data/lib/puppet/util/windows/user.rb +0 -2
- data/lib/puppet/util.rb +4 -3
- data/lib/puppet/version.rb +1 -1
- data/lib/puppet.rb +2 -6
- data/locales/puppet.pot +246 -230
- data/man/man5/puppet.conf.5 +33 -25
- data/man/man8/puppet-agent.8 +4 -1
- data/man/man8/puppet-apply.8 +1 -1
- data/man/man8/puppet-catalog.8 +1 -1
- data/man/man8/puppet-config.8 +1 -1
- data/man/man8/puppet-describe.8 +1 -1
- data/man/man8/puppet-device.8 +1 -1
- data/man/man8/puppet-doc.8 +1 -1
- data/man/man8/puppet-epp.8 +1 -1
- data/man/man8/puppet-facts.8 +1 -1
- data/man/man8/puppet-filebucket.8 +1 -1
- data/man/man8/puppet-generate.8 +1 -1
- data/man/man8/puppet-help.8 +1 -1
- data/man/man8/puppet-key.8 +1 -1
- data/man/man8/puppet-lookup.8 +1 -1
- data/man/man8/puppet-man.8 +1 -1
- data/man/man8/puppet-module.8 +3 -3
- data/man/man8/puppet-node.8 +1 -1
- data/man/man8/puppet-parser.8 +1 -1
- data/man/man8/puppet-plugin.8 +1 -1
- data/man/man8/puppet-report.8 +1 -1
- data/man/man8/puppet-resource.8 +1 -1
- data/man/man8/puppet-script.8 +1 -1
- data/man/man8/puppet-ssl.8 +1 -1
- data/man/man8/puppet-status.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/integration/application/agent_spec.rb +113 -37
- data/spec/integration/application/filebucket_spec.rb +5 -0
- data/spec/integration/configurer_spec.rb +18 -2
- data/spec/integration/indirector/facts/facter_spec.rb +3 -3
- data/spec/integration/l10n/compiler_spec.rb +37 -0
- data/spec/integration/transaction/report_spec.rb +1 -1
- data/spec/integration/type/file_spec.rb +2 -2
- data/spec/integration/type/package_spec.rb +6 -6
- data/spec/integration/util/rdoc/parser_spec.rb +1 -1
- data/spec/integration/util/windows/process_spec.rb +1 -9
- data/spec/lib/puppet_spec/modules.rb +13 -2
- data/spec/lib/puppet_spec/puppetserver.rb +15 -0
- data/spec/shared_behaviours/documentation_on_faces.rb +0 -2
- data/spec/shared_contexts/l10n.rb +27 -0
- data/spec/spec_helper.rb +1 -10
- data/spec/unit/application/apply_spec.rb +76 -56
- data/spec/unit/application/resource_spec.rb +29 -0
- data/spec/unit/configurer_spec.rb +171 -56
- data/spec/unit/defaults_spec.rb +1 -0
- data/spec/unit/environments_spec.rb +150 -1
- data/spec/unit/facter_impl_spec.rb +31 -0
- data/spec/unit/file_bucket/dipper_spec.rb +2 -2
- data/spec/unit/file_serving/configuration/parser_spec.rb +23 -0
- data/spec/unit/file_serving/configuration_spec.rb +14 -4
- data/spec/unit/file_serving/mount/scripts_spec.rb +69 -0
- data/spec/unit/file_system_spec.rb +7 -0
- data/spec/unit/functions/logging_spec.rb +1 -0
- data/spec/unit/functions/lookup_spec.rb +64 -0
- data/spec/unit/http/service/compiler_spec.rb +8 -0
- data/spec/unit/indirector/catalog/compiler_spec.rb +87 -0
- data/spec/unit/indirector/catalog/rest_spec.rb +8 -0
- data/spec/unit/indirector/indirection_spec.rb +10 -3
- data/spec/unit/interface/action_spec.rb +0 -9
- data/spec/unit/module_spec.rb +15 -1
- data/spec/unit/module_tool/applications/installer_spec.rb +39 -12
- data/spec/unit/network/authstore_spec.rb +0 -15
- data/spec/unit/network/formats_spec.rb +6 -0
- 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/serialization/to_stringified_spec.rb +5 -0
- data/spec/unit/pops/types/type_calculator_spec.rb +6 -0
- data/spec/unit/provider/package/gem_spec.rb +1 -1
- data/spec/unit/provider/package/pip2_spec.rb +1 -1
- data/spec/unit/provider/package/pip3_spec.rb +1 -1
- data/spec/unit/provider/package/pip_spec.rb +1 -1
- data/spec/unit/provider/package/pkg_spec.rb +29 -4
- data/spec/unit/provider/package/puppet_gem_spec.rb +1 -1
- data/spec/unit/provider/package/puppetserver_gem_spec.rb +1 -1
- data/spec/unit/provider/service/launchd_spec.rb +11 -0
- data/spec/unit/provider/service/systemd_spec.rb +1 -1
- data/spec/unit/provider/user/aix_spec.rb +100 -0
- data/spec/unit/provider/user/directoryservice_spec.rb +1 -1
- data/spec/unit/provider/user/useradd_spec.rb +43 -2
- data/spec/unit/provider_spec.rb +4 -4
- data/spec/unit/puppet_spec.rb +12 -4
- data/spec/unit/ssl/certificate_request_spec.rb +8 -14
- data/spec/unit/type/service_spec.rb +27 -0
- data/spec/unit/type_spec.rb +2 -2
- data/spec/unit/util/logging_spec.rb +2 -0
- data/tasks/parallel.rake +3 -3
- metadata +37 -94
- 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 -33
- 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 -842
- 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/redhat/puppet.spec.erb
DELETED
@@ -1,842 +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}/puppet/auth.conf
|
203
|
-
%config(noreplace) %{_sysconfdir}/logrotate.d/puppet
|
204
|
-
# We don't want to require emacs or vim, so we need to own these dirs
|
205
|
-
%{_datadir}/emacs
|
206
|
-
%{_datadir}/vim
|
207
|
-
%{_datadir}/%{name}
|
208
|
-
# man pages
|
209
|
-
%{_mandir}/man5/puppet.conf.5.gz
|
210
|
-
%{_mandir}/man8/puppet.8.gz
|
211
|
-
%{_mandir}/man8/puppet-agent.8.gz
|
212
|
-
%{_mandir}/man8/puppet-apply.8.gz
|
213
|
-
%{_mandir}/man8/puppet-catalog.8.gz
|
214
|
-
%{_mandir}/man8/puppet-describe.8.gz
|
215
|
-
%{_mandir}/man8/puppet-ca.8.gz
|
216
|
-
%{_mandir}/man8/puppet-cert.8.gz
|
217
|
-
%{_mandir}/man8/puppet-certificate.8.gz
|
218
|
-
%{_mandir}/man8/puppet-certificate_request.8.gz
|
219
|
-
%{_mandir}/man8/puppet-certificate_revocation_list.8.gz
|
220
|
-
%{_mandir}/man8/puppet-config.8.gz
|
221
|
-
%{_mandir}/man8/puppet-device.8.gz
|
222
|
-
%{_mandir}/man8/puppet-doc.8.gz
|
223
|
-
%{_mandir}/man8/puppet-facts.8.gz
|
224
|
-
%{_mandir}/man8/puppet-file.8.gz
|
225
|
-
%{_mandir}/man8/puppet-filebucket.8.gz
|
226
|
-
%{_mandir}/man8/puppet-help.8.gz
|
227
|
-
%{_mandir}/man8/puppet-inspect.8.gz
|
228
|
-
%{_mandir}/man8/puppet-key.8.gz
|
229
|
-
%{_mandir}/man8/puppet-kick.8.gz
|
230
|
-
%{_mandir}/man8/puppet-man.8.gz
|
231
|
-
%{_mandir}/man8/puppet-module.8.gz
|
232
|
-
%{_mandir}/man8/puppet-node.8.gz
|
233
|
-
%{_mandir}/man8/puppet-parser.8.gz
|
234
|
-
%{_mandir}/man8/puppet-plugin.8.gz
|
235
|
-
%{_mandir}/man8/puppet-report.8.gz
|
236
|
-
%{_mandir}/man8/puppet-resource.8.gz
|
237
|
-
%{_mandir}/man8/puppet-status.8.gz
|
238
|
-
# These need to be owned by puppet so the server can
|
239
|
-
# write to them. The separate %defattr's are required
|
240
|
-
# to work around RH Bugzilla 681540
|
241
|
-
%defattr(-, puppet, puppet, 0755)
|
242
|
-
%{_localstatedir}/run/puppet
|
243
|
-
%defattr(-, puppet, puppet, 0750)
|
244
|
-
%{_localstatedir}/log/puppet
|
245
|
-
%{_localstatedir}/lib/puppet
|
246
|
-
%{_localstatedir}/lib/puppet/state
|
247
|
-
%{_localstatedir}/lib/puppet/reports
|
248
|
-
# Return the default attributes to 0755 to
|
249
|
-
# prevent incorrect permission assignment on EL6
|
250
|
-
%defattr(-, root, root, 0755)
|
251
|
-
|
252
|
-
|
253
|
-
%files server
|
254
|
-
%defattr(-, root, root, 0755)
|
255
|
-
%if 0%{?_with_systemd}
|
256
|
-
%{_unitdir}/puppetmaster.service
|
257
|
-
%else
|
258
|
-
%{_initrddir}/puppetmaster
|
259
|
-
%config(noreplace) %{_sysconfdir}/sysconfig/puppetmaster
|
260
|
-
%endif
|
261
|
-
%config(noreplace) %{_sysconfdir}/puppet/fileserver.conf
|
262
|
-
%dir %{_sysconfdir}/puppet/manifests
|
263
|
-
%dir %{_sysconfdir}/puppet/environments
|
264
|
-
%dir %{_sysconfdir}/puppet/environments/example_env
|
265
|
-
%dir %{_sysconfdir}/puppet/environments/example_env/manifests
|
266
|
-
%dir %{_sysconfdir}/puppet/environments/example_env/modules
|
267
|
-
%{_sysconfdir}/puppet/environments/example_env/README.environment
|
268
|
-
%{_mandir}/man8/puppet-ca.8.gz
|
269
|
-
%{_mandir}/man8/puppet-master.8.gz
|
270
|
-
%attr(660, puppet, puppet) %{_localstatedir}/log/puppet/masterhttp.log
|
271
|
-
|
272
|
-
# Fixed uid/gid were assigned in bz 472073 (Fedora), 471918 (RHEL-5),
|
273
|
-
# and 471919 (RHEL-4)
|
274
|
-
%pre
|
275
|
-
getent group puppet &>/dev/null || groupadd -r puppet -g 52 &>/dev/null
|
276
|
-
getent passwd puppet &>/dev/null || \
|
277
|
-
useradd -r -u 52 -g puppet -d %{_localstatedir}/lib/puppet -s /sbin/nologin \
|
278
|
-
-c "Puppet" puppet &>/dev/null
|
279
|
-
# ensure that old setups have the right puppet home dir
|
280
|
-
if [ $1 -gt 1 ] ; then
|
281
|
-
usermod -d %{_localstatedir}/lib/puppet puppet &>/dev/null
|
282
|
-
fi
|
283
|
-
exit 0
|
284
|
-
|
285
|
-
%post
|
286
|
-
%if 0%{?_with_systemd}
|
287
|
-
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
|
288
|
-
if [ "$1" -ge 1 ]; then
|
289
|
-
# The pidfile changed from 0.25.x to 2.6.x, handle upgrades without leaving
|
290
|
-
# the old process running.
|
291
|
-
oldpid="%{_localstatedir}/run/puppet/puppetd.pid"
|
292
|
-
newpid="%{_localstatedir}/run/puppet/agent.pid"
|
293
|
-
if [ -s "$oldpid" -a ! -s "$newpid" ]; then
|
294
|
-
(kill $(< "$oldpid") && rm -f "$oldpid" && \
|
295
|
-
/bin/systemctl start puppet.service) >/dev/null 2>&1 || :
|
296
|
-
fi
|
297
|
-
fi
|
298
|
-
%else
|
299
|
-
/sbin/chkconfig --add puppet || :
|
300
|
-
if [ "$1" -ge 1 ]; then
|
301
|
-
# The pidfile changed from 0.25.x to 2.6.x, handle upgrades without leaving
|
302
|
-
# the old process running.
|
303
|
-
oldpid="%{_localstatedir}/run/puppet/puppetd.pid"
|
304
|
-
newpid="%{_localstatedir}/run/puppet/agent.pid"
|
305
|
-
if [ -s "$oldpid" -a ! -s "$newpid" ]; then
|
306
|
-
(kill $(< "$oldpid") && rm -f "$oldpid" && \
|
307
|
-
/sbin/service puppet start) >/dev/null 2>&1 || :
|
308
|
-
fi
|
309
|
-
|
310
|
-
# If an old puppet process (one whose binary is located in /sbin) is running,
|
311
|
-
# kill it and then start up a fresh with the new binary.
|
312
|
-
if [ -e "$newpid" ]; then
|
313
|
-
if ps aux | grep `cat "$newpid"` | grep -v grep | awk '{ print $12 }' | grep -q sbin; then
|
314
|
-
(kill $(< "$newpid") && rm -f "$newpid" && \
|
315
|
-
/sbin/service puppet start) >/dev/null 2>&1 || :
|
316
|
-
fi
|
317
|
-
fi
|
318
|
-
fi
|
319
|
-
%endif
|
320
|
-
|
321
|
-
%post server
|
322
|
-
%if 0%{?_with_systemd}
|
323
|
-
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
|
324
|
-
if [ "$1" -ge 1 ]; then
|
325
|
-
# The pidfile changed from 0.25.x to 2.6.x, handle upgrades without leaving
|
326
|
-
# the old process running.
|
327
|
-
oldpid="%{_localstatedir}/run/puppet/puppetmasterd.pid"
|
328
|
-
newpid="%{_localstatedir}/run/puppet/master.pid"
|
329
|
-
if [ -s "$oldpid" -a ! -s "$newpid" ]; then
|
330
|
-
(kill $(< "$oldpid") && rm -f "$oldpid" && \
|
331
|
-
/bin/systemctl start puppetmaster.service) > /dev/null 2>&1 || :
|
332
|
-
fi
|
333
|
-
fi
|
334
|
-
%else
|
335
|
-
/sbin/chkconfig --add puppetmaster || :
|
336
|
-
if [ "$1" -ge 1 ]; then
|
337
|
-
# The pidfile changed from 0.25.x to 2.6.x, handle upgrades without leaving
|
338
|
-
# the old process running.
|
339
|
-
oldpid="%{_localstatedir}/run/puppet/puppetmasterd.pid"
|
340
|
-
newpid="%{_localstatedir}/run/puppet/master.pid"
|
341
|
-
if [ -s "$oldpid" -a ! -s "$newpid" ]; then
|
342
|
-
(kill $(< "$oldpid") && rm -f "$oldpid" && \
|
343
|
-
/sbin/service puppetmaster start) >/dev/null 2>&1 || :
|
344
|
-
fi
|
345
|
-
fi
|
346
|
-
%endif
|
347
|
-
|
348
|
-
%preun
|
349
|
-
%if 0%{?_with_systemd}
|
350
|
-
if [ "$1" -eq 0 ] ; then
|
351
|
-
# Package removal, not upgrade
|
352
|
-
/bin/systemctl --no-reload disable puppetagent.service > /dev/null 2>&1 || :
|
353
|
-
/bin/systemctl --no-reload disable puppet.service > /dev/null 2>&1 || :
|
354
|
-
/bin/systemctl stop puppetagent.service > /dev/null 2>&1 || :
|
355
|
-
/bin/systemctl stop puppet.service > /dev/null 2>&1 || :
|
356
|
-
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
|
357
|
-
fi
|
358
|
-
|
359
|
-
if [ "$1" == "1" ]; then
|
360
|
-
/bin/systemctl is-enabled puppetagent.service > /dev/null 2>&1
|
361
|
-
if [ "$?" == "0" ]; then
|
362
|
-
/bin/systemctl --no-reload disable puppetagent.service > /dev/null 2>&1 ||:
|
363
|
-
/bin/systemctl stop puppetagent.service > /dev/null 2>&1 ||:
|
364
|
-
/bin/systemctl daemon-reload >/dev/null 2>&1 ||:
|
365
|
-
if [ ! -d %{pending_upgrade_path} ]; then
|
366
|
-
mkdir -p %{pending_upgrade_path}
|
367
|
-
fi
|
368
|
-
|
369
|
-
if [ ! -e %{pending_upgrade_file} ]; then
|
370
|
-
touch %{pending_upgrade_file}
|
371
|
-
fi
|
372
|
-
fi
|
373
|
-
fi
|
374
|
-
|
375
|
-
%else
|
376
|
-
if [ "$1" = 0 ] ; then
|
377
|
-
/sbin/service puppet stop > /dev/null 2>&1
|
378
|
-
/sbin/chkconfig --del puppet || :
|
379
|
-
fi
|
380
|
-
%endif
|
381
|
-
|
382
|
-
%preun server
|
383
|
-
%if 0%{?_with_systemd}
|
384
|
-
if [ $1 -eq 0 ] ; then
|
385
|
-
# Package removal, not upgrade
|
386
|
-
/bin/systemctl --no-reload disable puppetmaster.service > /dev/null 2>&1 || :
|
387
|
-
/bin/systemctl stop puppetmaster.service > /dev/null 2>&1 || :
|
388
|
-
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
|
389
|
-
fi
|
390
|
-
%else
|
391
|
-
if [ "$1" = 0 ] ; then
|
392
|
-
/sbin/service puppetmaster stop > /dev/null 2>&1
|
393
|
-
/sbin/chkconfig --del puppetmaster || :
|
394
|
-
fi
|
395
|
-
%endif
|
396
|
-
|
397
|
-
%postun
|
398
|
-
%if 0%{?_with_systemd}
|
399
|
-
if [ $1 -ge 1 ] ; then
|
400
|
-
if [ -e %{pending_upgrade_file} ]; then
|
401
|
-
/bin/systemctl --no-reload enable puppet.service > /dev/null 2>&1 ||:
|
402
|
-
/bin/systemctl start puppet.service > /dev/null 2>&1 ||:
|
403
|
-
/bin/systemctl daemon-reload >/dev/null 2>&1 ||:
|
404
|
-
rm %{pending_upgrade_file}
|
405
|
-
fi
|
406
|
-
# Package upgrade, not uninstall
|
407
|
-
/bin/systemctl try-restart puppetagent.service >/dev/null 2>&1 || :
|
408
|
-
fi
|
409
|
-
%else
|
410
|
-
if [ "$1" -ge 1 ]; then
|
411
|
-
/sbin/service puppet condrestart >/dev/null 2>&1 || :
|
412
|
-
fi
|
413
|
-
%endif
|
414
|
-
|
415
|
-
%postun server
|
416
|
-
%if 0%{?_with_systemd}
|
417
|
-
if [ $1 -ge 1 ] ; then
|
418
|
-
# Package upgrade, not uninstall
|
419
|
-
/bin/systemctl try-restart puppetmaster.service >/dev/null 2>&1 || :
|
420
|
-
fi
|
421
|
-
%else
|
422
|
-
if [ "$1" -ge 1 ]; then
|
423
|
-
/sbin/service puppetmaster condrestart >/dev/null 2>&1 || :
|
424
|
-
fi
|
425
|
-
%endif
|
426
|
-
|
427
|
-
%clean
|
428
|
-
rm -rf %{buildroot}
|
429
|
-
|
430
|
-
%changelog
|
431
|
-
* <%= Time.now.strftime("%a %b %d %Y") %> Puppet Labs Release <info@puppetlabs.com> - <%= @rpmversion %>-<%= @rpmrelease %>
|
432
|
-
- Build for <%= @version %>
|
433
|
-
|
434
|
-
* Wed Oct 2 2013 Jason Antman <jason@jasonantman.com>
|
435
|
-
- Move systemd service and unit file names back to "puppet" from erroneous "puppetagent"
|
436
|
-
- Add symlink to puppetagent unit file for compatibility with current bug
|
437
|
-
- Alter package removal actions to deactivate and stop both service names
|
438
|
-
|
439
|
-
* Thu Jun 27 2013 Matthaus Owens <matthaus@puppetlabs.com> - 3.2.3-0.1rc0
|
440
|
-
- Bump requires on ruby-rgen to 0.6.5
|
441
|
-
|
442
|
-
* Fri Apr 12 2013 Matthaus Owens <matthaus@puppetlabs.com> - 3.2.0-0.1rc0
|
443
|
-
- Add requires on ruby-rgen for new parser in Puppet 3.2
|
444
|
-
|
445
|
-
* Fri Jan 25 2013 Matthaus Owens <matthaus@puppetlabs.com> - 3.1.0-0.1rc1
|
446
|
-
- Add extlookup2hiera.8.gz to the files list
|
447
|
-
|
448
|
-
* Wed Jan 9 2013 Ryan Uber <ru@ryanuber.com> - 3.1.0-0.1rc1
|
449
|
-
- Work-around for RH Bugzilla 681540
|
450
|
-
|
451
|
-
* Fri Dec 28 2012 Michael Stahnke <stahnma@puppetlabs.com> - 3.0.2-2
|
452
|
-
- Added a script for Network Manager for bug https://bugzilla.redhat.com/532085
|
453
|
-
|
454
|
-
* Tue Dec 18 2012 Matthaus Owens <matthaus@puppetlabs.com>
|
455
|
-
- Remove for loop on examples/ code which no longer exists. Add --no-run-if-empty to xargs invocations.
|
456
|
-
|
457
|
-
* Sat Dec 1 2012 Ryan Uber <ryuber@cisco.com>
|
458
|
-
- Fix for logdir perms regression (#17866)
|
459
|
-
|
460
|
-
* Wed Aug 29 2012 Moses Mendoza <moses@puppetlabs.com> - 3.0.0-0.1rc5
|
461
|
-
- Update for 3.0.0 rc5
|
462
|
-
|
463
|
-
* Fri Aug 24 2012 Eric Sorenson <eric0@puppetlabs.com> - 3.0.0-0.1rc4
|
464
|
-
- Facter requirement is 1.6.11, not 2.0
|
465
|
-
- Update for 3.0.0 rc4
|
466
|
-
|
467
|
-
* Tue Aug 21 2012 Moses Mendoza <moses@puppetlabs.com> - 2.7.19-1
|
468
|
-
- Update for 2.7.19
|
469
|
-
|
470
|
-
* Tue Aug 14 2012 Moses Mendoza <moses@puppetlabs.com> - 2.7.19-0.1rc3
|
471
|
-
- Update for 2.7.19rc3
|
472
|
-
|
473
|
-
* Tue Aug 7 2012 Moses Mendoza <moses@puppetlabs.com> - 2.7.19-0.1rc2
|
474
|
-
- Update for 2.7.19rc2
|
475
|
-
|
476
|
-
* Wed Aug 1 2012 Moses Mendoza <moses@puppetlabs.com> - 2.7.19-0.1rc1
|
477
|
-
- Update for 2.7.19rc1
|
478
|
-
|
479
|
-
* Wed Jul 11 2012 William Hopper <whopper@puppetlabs.com> - 2.7.18-2
|
480
|
-
- (#15221) Create /etc/puppet/modules for puppet module tool
|
481
|
-
|
482
|
-
* Mon Jul 9 2012 Moses Mendoza <moses@puppetlabs.com> - 2.7.18-1
|
483
|
-
- Update for 2.7.18
|
484
|
-
|
485
|
-
* Tue Jun 19 2012 Matthaus Litteken <matthaus@puppetlabs.com> - 2.7.17-1
|
486
|
-
- Update for 2.7.17
|
487
|
-
|
488
|
-
* Wed Jun 13 2012 Matthaus Litteken <matthaus@puppetlabs.com> - 2.7.16-1
|
489
|
-
- Update for 2.7.16
|
490
|
-
|
491
|
-
* Fri Jun 08 2012 Moses Mendoza <moses@puppetlabs.com> - 2.7.16-0.1rc1.2
|
492
|
-
- Updated facter 2.0 dep to include epoch 1
|
493
|
-
|
494
|
-
* Wed Jun 06 2012 Matthaus Litteken <matthaus@puppetlabs.com> - 2.7.16-0.1rc1
|
495
|
-
- Update for 2.7.16rc1, added generated manpages
|
496
|
-
|
497
|
-
* Fri Jun 01 2012 Matthaus Litteken <matthaus@puppetlabs.com> - 3.0.0-0.1rc3
|
498
|
-
- Puppet 3.0.0rc3 Release
|
499
|
-
|
500
|
-
* Fri Jun 01 2012 Matthaus Litteken <matthaus@puppetlabs.com> - 2.7.15-0.1rc4
|
501
|
-
- Update for 2.7.15rc4
|
502
|
-
|
503
|
-
* Tue May 29 2012 Moses Mendoza <moses@puppetlabs.com> - 2.7.15-0.1rc3
|
504
|
-
- Update for 2.7.15rc3
|
505
|
-
|
506
|
-
* Tue May 22 2012 Matthaus Litteken <matthaus@puppetlabs.com> - 3.0.0-0.1rc2
|
507
|
-
- Puppet 3.0.0rc2 Release
|
508
|
-
|
509
|
-
* Thu May 17 2012 Matthaus Litteken <matthaus@puppetlabs.com> - 3.0.0-0.1rc1
|
510
|
-
- Puppet 3.0.0rc1 Release
|
511
|
-
|
512
|
-
* Wed May 16 2012 Moses Mendoza <moses@puppetlabs.com> - 2.7.15-0.1rc2
|
513
|
-
- Update for 2.7.15rc2
|
514
|
-
|
515
|
-
* Tue May 15 2012 Moses Mendoza <moses@puppetlabs.com> - 2.7.15-0.1rc1
|
516
|
-
- Update for 2.7.15rc1
|
517
|
-
|
518
|
-
* Wed May 02 2012 Moses Mendoza <moses@puppetlabs.com> - 2.7.14-1
|
519
|
-
- Update for 2.7.14
|
520
|
-
|
521
|
-
* Tue Apr 10 2012 Matthaus Litteken <matthaus@puppetlabs.com> - 2.7.13-1
|
522
|
-
- Update for 2.7.13
|
523
|
-
|
524
|
-
* Mon Mar 12 2012 Michael Stahnke <stahnma@puppetlabs.com> - 2.7.12-1
|
525
|
-
- Update for 2.7.12
|
526
|
-
|
527
|
-
* Fri Feb 24 2012 Matthaus Litteken <matthaus@puppetlabs.com> - 2.7.11-2
|
528
|
-
- Update 2.7.11 from proper tag, including #12572
|
529
|
-
|
530
|
-
* Wed Feb 22 2012 Michael Stahnke <stahnma@puppetlabs.com> - 2.7.11-1
|
531
|
-
- Update for 2.7.11
|
532
|
-
|
533
|
-
* Wed Jan 25 2012 Michael Stahnke <stahnma@puppetlabs.com> - 2.7.10-1
|
534
|
-
- Update for 2.7.10
|
535
|
-
|
536
|
-
* Fri Dec 9 2011 Matthaus Litteken <matthaus@puppetlabs.com> - 2.7.9-1
|
537
|
-
- Update for 2.7.9
|
538
|
-
|
539
|
-
* Thu Dec 8 2011 Matthaus Litteken <matthaus@puppetlabs.com> - 2.7.8-1
|
540
|
-
- Update for 2.7.8
|
541
|
-
|
542
|
-
* Wed Nov 30 2011 Michael Stahnke <stahnma@puppetlabs.com> - 2.7.8-0.1rc1
|
543
|
-
- Update for 2.7.8rc1
|
544
|
-
|
545
|
-
* Mon Nov 21 2011 Michael Stahnke <stahnma@puppetlabs.com> - 2.7.7-1
|
546
|
-
- Relaese 2.7.7
|
547
|
-
|
548
|
-
* Tue Nov 01 2011 Michael Stahnke <stahnma@puppetlabs.com> - 2.7.7-0.1rc1
|
549
|
-
- Update for 2.7.7rc1
|
550
|
-
|
551
|
-
* Fri Oct 21 2011 Michael Stahnke <stahnma@puppetlabs.com> - 2.7.6-1
|
552
|
-
- 2.7.6 final
|
553
|
-
|
554
|
-
* Thu Oct 13 2011 Michael Stahnke <stahnma@puppetlabs.com> - 2.7.6-.1rc3
|
555
|
-
- New RC
|
556
|
-
|
557
|
-
* Fri Oct 07 2011 Michael Stahnke <stahnma@puppetlabs.com> - 2.7.6-0.1rc2
|
558
|
-
- New RC
|
559
|
-
|
560
|
-
* Mon Oct 03 2011 Michael Stahnke <stahnma@puppetlabs.com> - 2.7.6-0.1rc1
|
561
|
-
- New RC
|
562
|
-
|
563
|
-
* Fri Sep 30 2011 Michael Stahnke <stahnma@puppetlabs.com> - 2.7.5-1
|
564
|
-
- Fixes for CVE-2011-3869, 3870, 3871
|
565
|
-
|
566
|
-
* Wed Sep 28 2011 Michael Stahnke <stahnma@puppetlabs.com> - 2.7.4-1
|
567
|
-
- Fix for CVE-2011-3484
|
568
|
-
|
569
|
-
* Wed Jul 06 2011 Michael Stahnke <stahnma@puppetlabs.com> - 2.7.2-0.2.rc1
|
570
|
-
- Clean up rpmlint errors
|
571
|
-
- Put man pages in correct package
|
572
|
-
|
573
|
-
* Wed Jul 06 2011 Michael Stahnke <stahnma@puppetlabs.com> - 2.7.2-0.1.rc1
|
574
|
-
- Update to 2.7.2rc1
|
575
|
-
|
576
|
-
* Wed Jun 15 2011 Todd Zullinger <tmz@pobox.com> - 2.6.9-0.1.rc1
|
577
|
-
- Update rc versioning to ensure 2.6.9 final is newer to rpm
|
578
|
-
- sync changes with Fedora/EPEL
|
579
|
-
|
580
|
-
* Tue Jun 14 2011 Michael Stahnke <stahnma@puppetlabs.com> - 2.6.9rc1-1
|
581
|
-
- Update to 2.6.9rc1
|
582
|
-
|
583
|
-
* Thu Apr 14 2011 Todd Zullinger <tmz@pobox.com> - 2.6.8-1
|
584
|
-
- Update to 2.6.8
|
585
|
-
|
586
|
-
* Thu Mar 24 2011 Todd Zullinger <tmz@pobox.com> - 2.6.7-1
|
587
|
-
- Update to 2.6.7
|
588
|
-
|
589
|
-
* Wed Mar 16 2011 Todd Zullinger <tmz@pobox.com> - 2.6.6-1
|
590
|
-
- Update to 2.6.6
|
591
|
-
- Ensure %%pre exits cleanly
|
592
|
-
- Fix License tag, puppet is now GPLv2 only
|
593
|
-
- Create and own /usr/share/puppet/modules (#615432)
|
594
|
-
- Properly restart puppet agent/master daemons on upgrades from 0.25.x
|
595
|
-
- Require libselinux-utils when selinux support is enabled
|
596
|
-
- Support tmpfiles.d for Fedora >= 15 (#656677)
|
597
|
-
|
598
|
-
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.25.5-2
|
599
|
-
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
600
|
-
|
601
|
-
* Mon May 17 2010 Todd Zullinger <tmz@pobox.com> - 0.25.5-1
|
602
|
-
- Update to 0.25.5
|
603
|
-
- Adjust selinux conditional for EL-6
|
604
|
-
- Apply rundir-perms patch from tarball rather than including it separately
|
605
|
-
- Update URL's to reflect the new puppetlabs.com domain
|
606
|
-
|
607
|
-
* Fri Jan 29 2010 Todd Zullinger <tmz@pobox.com> - 0.25.4-1
|
608
|
-
- Update to 0.25.4
|
609
|
-
|
610
|
-
* Tue Jan 19 2010 Todd Zullinger <tmz@pobox.com> - 0.25.3-2
|
611
|
-
- Apply upstream patch to fix cron resources (upstream #2845)
|
612
|
-
|
613
|
-
* Mon Jan 11 2010 Todd Zullinger <tmz@pobox.com> - 0.25.3-1
|
614
|
-
- Update to 0.25.3
|
615
|
-
|
616
|
-
* Tue Jan 05 2010 Todd Zullinger <tmz@pobox.com> - 0.25.2-1.1
|
617
|
-
- Replace %%define with %%global for macros
|
618
|
-
|
619
|
-
* Tue Jan 05 2010 Todd Zullinger <tmz@pobox.com> - 0.25.2-1
|
620
|
-
- Update to 0.25.2
|
621
|
-
- Fixes CVE-2010-0156, tmpfile security issue (#502881)
|
622
|
-
- Install auth.conf, puppetqd manpage, and queuing examples/docs
|
623
|
-
|
624
|
-
* Wed Nov 25 2009 Jeroen van Meeuwen <j.van.meeuwen@ogd.nl> - 0.25.1-1
|
625
|
-
- New upstream version
|
626
|
-
|
627
|
-
* Tue Oct 27 2009 Todd Zullinger <tmz@pobox.com> - 0.25.1-0.3
|
628
|
-
- Update to 0.25.1
|
629
|
-
- Include the pi program and man page (R.I.Pienaar)
|
630
|
-
|
631
|
-
* Sat Oct 17 2009 Todd Zullinger <tmz@pobox.com> - 0.25.1-0.2.rc2
|
632
|
-
- Update to 0.25.1rc2
|
633
|
-
|
634
|
-
* Tue Sep 22 2009 Todd Zullinger <tmz@pobox.com> - 0.25.1-0.1.rc1
|
635
|
-
- Update to 0.25.1rc1
|
636
|
-
- Move puppetca to puppet package, it has uses on client systems
|
637
|
-
- Drop redundant %%doc from manpage %%file listings
|
638
|
-
|
639
|
-
* Fri Sep 04 2009 Todd Zullinger <tmz@pobox.com> - 0.25.0-1
|
640
|
-
- Update to 0.25.0
|
641
|
-
- Fix permissions on /var/log/puppet (#495096)
|
642
|
-
- Install emacs mode and vim syntax files (#491437)
|
643
|
-
- Install ext/ directory in %%{_datadir}/%%{name} (/usr/share/puppet)
|
644
|
-
|
645
|
-
* Mon May 04 2009 Todd Zullinger <tmz@pobox.com> - 0.25.0-0.1.beta1
|
646
|
-
- Update to 0.25.0beta1
|
647
|
-
- Make Augeas and SELinux requirements build time options
|
648
|
-
|
649
|
-
* Mon Mar 23 2009 Todd Zullinger <tmz@pobox.com> - 0.24.8-1
|
650
|
-
- Update to 0.24.8
|
651
|
-
- Quiet output from %%pre
|
652
|
-
- Use upstream install script
|
653
|
-
- Increase required facter version to >= 1.5
|
654
|
-
|
655
|
-
* Tue Dec 16 2008 Todd Zullinger <tmz@pobox.com> - 0.24.7-4
|
656
|
-
- Remove redundant useradd from %%pre
|
657
|
-
|
658
|
-
* Tue Dec 16 2008 Jeroen van Meeuwen <kanarip@kanarip.com> - 0.24.7-3
|
659
|
-
- New upstream version
|
660
|
-
- Set a static uid and gid (#472073, #471918, #471919)
|
661
|
-
- Add a conditional requirement on libselinux-ruby for Fedora >= 9
|
662
|
-
- Add a dependency on ruby-augeas
|
663
|
-
|
664
|
-
* Wed Oct 22 2008 Todd Zullinger <tmz@pobox.com> - 0.24.6-1
|
665
|
-
- Update to 0.24.6
|
666
|
-
- Require ruby-shadow on Fedora and RHEL >= 5
|
667
|
-
- Simplify Fedora/RHEL version checks for ruby(abi) and BuildArch
|
668
|
-
- Require chkconfig and initstripts for preun, post, and postun scripts
|
669
|
-
- Conditionally restart puppet in %%postun
|
670
|
-
- Ensure %%preun, %%post, and %%postun scripts exit cleanly
|
671
|
-
- Create puppet user/group according to Fedora packaging guidelines
|
672
|
-
- Quiet a few rpmlint complaints
|
673
|
-
- Remove useless %%pbuild macro
|
674
|
-
- Make specfile more like the Fedora/EPEL template
|
675
|
-
|
676
|
-
* Mon Jul 28 2008 David Lutterkort <dlutter@redhat.com> - 0.24.5-1
|
677
|
-
- Add /usr/bin/puppetdoc
|
678
|
-
|
679
|
-
* Thu Jul 24 2008 Brenton Leanhardt <bleanhar@redhat.com>
|
680
|
-
- New version
|
681
|
-
- man pages now ship with tarball
|
682
|
-
- examples/code moved to root examples dir in upstream tarball
|
683
|
-
|
684
|
-
* Tue Mar 25 2008 David Lutterkort <dlutter@redhat.com> - 0.24.4-1
|
685
|
-
- Add man pages (from separate tarball, upstream will fix to
|
686
|
-
include in main tarball)
|
687
|
-
|
688
|
-
* Mon Mar 24 2008 David Lutterkort <dlutter@redhat.com> - 0.24.3-1
|
689
|
-
- New version
|
690
|
-
|
691
|
-
* Wed Mar 5 2008 David Lutterkort <dlutter@redhat.com> - 0.24.2-1
|
692
|
-
- New version
|
693
|
-
|
694
|
-
* Sat Dec 22 2007 David Lutterkort <dlutter@redhat.com> - 0.24.1-1
|
695
|
-
- New version
|
696
|
-
|
697
|
-
* Mon Dec 17 2007 David Lutterkort <dlutter@redhat.com> - 0.24.0-2
|
698
|
-
- Use updated upstream tarball that contains yumhelper.py
|
699
|
-
|
700
|
-
* Fri Dec 14 2007 David Lutterkort <dlutter@redhat.com> - 0.24.0-1
|
701
|
-
- Fixed license
|
702
|
-
- Munge examples/ to make rpmlint happier
|
703
|
-
|
704
|
-
* Wed Aug 22 2007 David Lutterkort <dlutter@redhat.com> - 0.23.2-1
|
705
|
-
- New version
|
706
|
-
|
707
|
-
* Thu Jul 26 2007 David Lutterkort <dlutter@redhat.com> - 0.23.1-1
|
708
|
-
- Remove old config files
|
709
|
-
|
710
|
-
* Wed Jun 20 2007 David Lutterkort <dlutter@redhat.com> - 0.23.0-1
|
711
|
-
- Install one puppet.conf instead of old config files, keep old configs
|
712
|
-
around to ease update
|
713
|
-
- Use plain shell commands in install instead of macros
|
714
|
-
|
715
|
-
* Wed May 2 2007 David Lutterkort <dlutter@redhat.com> - 0.22.4-1
|
716
|
-
- New version
|
717
|
-
|
718
|
-
* Thu Mar 29 2007 David Lutterkort <dlutter@redhat.com> - 0.22.3-1
|
719
|
-
- Claim ownership of _sysconfdir/puppet (bz 233908)
|
720
|
-
|
721
|
-
* Mon Mar 19 2007 David Lutterkort <dlutter@redhat.com> - 0.22.2-1
|
722
|
-
- Set puppet's homedir to /var/lib/puppet, not /var/puppet
|
723
|
-
- Remove no-lockdir patch, not needed anymore
|
724
|
-
|
725
|
-
* Mon Feb 12 2007 David Lutterkort <dlutter@redhat.com> - 0.22.1-2
|
726
|
-
- Fix bogus config parameter in puppetd.conf
|
727
|
-
|
728
|
-
* Sat Feb 3 2007 David Lutterkort <dlutter@redhat.com> - 0.22.1-1
|
729
|
-
- New version
|
730
|
-
|
731
|
-
* Fri Jan 5 2007 David Lutterkort <dlutter@redhat.com> - 0.22.0-1
|
732
|
-
- New version
|
733
|
-
|
734
|
-
* Mon Nov 20 2006 David Lutterkort <dlutter@redhat.com> - 0.20.1-2
|
735
|
-
- Make require ruby(abi) and buildarch: noarch conditional for fedora 5 or
|
736
|
-
later to allow building on older fedora releases
|
737
|
-
|
738
|
-
* Mon Nov 13 2006 David Lutterkort <dlutter@redhat.com> - 0.20.1-1
|
739
|
-
- New version
|
740
|
-
|
741
|
-
* Mon Oct 23 2006 David Lutterkort <dlutter@redhat.com> - 0.20.0-1
|
742
|
-
- New version
|
743
|
-
|
744
|
-
* Tue Sep 26 2006 David Lutterkort <dlutter@redhat.com> - 0.19.3-1
|
745
|
-
- New version
|
746
|
-
|
747
|
-
* Mon Sep 18 2006 David Lutterkort <dlutter@redhat.com> - 0.19.1-1
|
748
|
-
- New version
|
749
|
-
|
750
|
-
* Thu Sep 7 2006 David Lutterkort <dlutter@redhat.com> - 0.19.0-1
|
751
|
-
- New version
|
752
|
-
|
753
|
-
* Tue Aug 1 2006 David Lutterkort <dlutter@redhat.com> - 0.18.4-2
|
754
|
-
- Use /usr/bin/ruby directly instead of /usr/bin/env ruby in
|
755
|
-
executables. Otherwise, initscripts break since pidof can't find the
|
756
|
-
right process
|
757
|
-
|
758
|
-
* Tue Aug 1 2006 David Lutterkort <dlutter@redhat.com> - 0.18.4-1
|
759
|
-
- New version
|
760
|
-
|
761
|
-
* Fri Jul 14 2006 David Lutterkort <dlutter@redhat.com> - 0.18.3-1
|
762
|
-
- New version
|
763
|
-
|
764
|
-
* Wed Jul 5 2006 David Lutterkort <dlutter@redhat.com> - 0.18.2-1
|
765
|
-
- New version
|
766
|
-
|
767
|
-
* Wed Jun 28 2006 David Lutterkort <dlutter@redhat.com> - 0.18.1-1
|
768
|
-
- Removed lsb-config.patch and yumrepo.patch since they are upstream now
|
769
|
-
|
770
|
-
* Mon Jun 19 2006 David Lutterkort <dlutter@redhat.com> - 0.18.0-1
|
771
|
-
- Patch config for LSB compliance (lsb-config.patch)
|
772
|
-
- Changed config moves /var/puppet to /var/lib/puppet, /etc/puppet/ssl
|
773
|
-
to /var/lib/puppet, /etc/puppet/clases.txt to /var/lib/puppet/classes.txt,
|
774
|
-
/etc/puppet/localconfig.yaml to /var/lib/puppet/localconfig.yaml
|
775
|
-
|
776
|
-
* Fri May 19 2006 David Lutterkort <dlutter@redhat.com> - 0.17.2-1
|
777
|
-
- Added /usr/bin/puppetrun to server subpackage
|
778
|
-
- Backported patch for yumrepo type (yumrepo.patch)
|
779
|
-
|
780
|
-
* Wed May 3 2006 David Lutterkort <dlutter@redhat.com> - 0.16.4-1
|
781
|
-
- Rebuilt
|
782
|
-
|
783
|
-
* Fri Apr 21 2006 David Lutterkort <dlutter@redhat.com> - 0.16.0-1
|
784
|
-
- Fix default file permissions in server subpackage
|
785
|
-
- Run puppetmaster as user puppet
|
786
|
-
- rebuilt for 0.16.0
|
787
|
-
|
788
|
-
* Mon Apr 17 2006 David Lutterkort <dlutter@redhat.com> - 0.15.3-2
|
789
|
-
- Don't create empty log files in post-install scriptlet
|
790
|
-
|
791
|
-
* Fri Apr 7 2006 David Lutterkort <dlutter@redhat.com> - 0.15.3-1
|
792
|
-
- Rebuilt for new version
|
793
|
-
|
794
|
-
* Wed Mar 22 2006 David Lutterkort <dlutter@redhat.com> - 0.15.1-1
|
795
|
-
- Patch0: Run puppetmaster as root; running as puppet is not ready
|
796
|
-
for primetime
|
797
|
-
|
798
|
-
* Mon Mar 13 2006 David Lutterkort <dlutter@redhat.com> - 0.15.0-1
|
799
|
-
- Commented out noarch; requires fix for bz184199
|
800
|
-
|
801
|
-
* Mon Mar 6 2006 David Lutterkort <dlutter@redhat.com> - 0.14.0-1
|
802
|
-
- Added BuildRequires for ruby
|
803
|
-
|
804
|
-
* Wed Mar 1 2006 David Lutterkort <dlutter@redhat.com> - 0.13.5-1
|
805
|
-
- Removed use of fedora-usermgmt. It is not required for Fedora Extras and
|
806
|
-
makes it unnecessarily hard to use this rpm outside of Fedora. Just
|
807
|
-
allocate the puppet uid/gid dynamically
|
808
|
-
|
809
|
-
* Sun Feb 19 2006 David Lutterkort <dlutter@redhat.com> - 0.13.0-4
|
810
|
-
- Use fedora-usermgmt to create puppet user/group. Use uid/gid 24. Fixed
|
811
|
-
problem with listing fileserver.conf and puppetmaster.conf twice
|
812
|
-
|
813
|
-
* Wed Feb 8 2006 David Lutterkort <dlutter@redhat.com> - 0.13.0-3
|
814
|
-
- Fix puppetd.conf
|
815
|
-
|
816
|
-
* Wed Feb 8 2006 David Lutterkort <dlutter@redhat.com> - 0.13.0-2
|
817
|
-
- Changes to run puppetmaster as user puppet
|
818
|
-
|
819
|
-
* Mon Feb 6 2006 David Lutterkort <dlutter@redhat.com> - 0.13.0-1
|
820
|
-
- Don't mark initscripts as config files
|
821
|
-
|
822
|
-
* Mon Feb 6 2006 David Lutterkort <dlutter@redhat.com> - 0.12.0-2
|
823
|
-
- Fix BuildRoot. Add dist to release
|
824
|
-
|
825
|
-
* Tue Jan 17 2006 David Lutterkort <dlutter@redhat.com> - 0.11.0-1
|
826
|
-
- Rebuild
|
827
|
-
|
828
|
-
* Thu Jan 12 2006 David Lutterkort <dlutter@redhat.com> - 0.10.2-1
|
829
|
-
- Updated for 0.10.2 Fixed minor kink in how Source is given
|
830
|
-
|
831
|
-
* Wed Jan 11 2006 David Lutterkort <dlutter@redhat.com> - 0.10.1-3
|
832
|
-
- Added basic fileserver.conf
|
833
|
-
|
834
|
-
* Wed Jan 11 2006 David Lutterkort <dlutter@redhat.com> - 0.10.1-1
|
835
|
-
- Updated. Moved installation of library files to sitelibdir. Pulled
|
836
|
-
initscripts into separate files. Folded tools rpm into server
|
837
|
-
|
838
|
-
* Thu Nov 24 2005 Duane Griffin <d.griffin@psenterprise.com>
|
839
|
-
- Added init scripts for the client
|
840
|
-
|
841
|
-
* Wed Nov 23 2005 Duane Griffin <d.griffin@psenterprise.com>
|
842
|
-
- First packaging
|