From c96a1165f035a12b6ea52cfe135d16b79d3e5aad Mon Sep 17 00:00:00 2001 From: Alfredo Moralejo Date: Sep 10 2021 11:17:28 +0000 Subject: Import puppet-7.10.0-1.el9 in CloudSIG xena --- diff --git a/.puppet.metadata b/.puppet.metadata new file mode 100644 index 0000000..0e7cc67 --- /dev/null +++ b/.puppet.metadata @@ -0,0 +1,11 @@ +0b3d09f32e979d910941ea5fb62ffa87725b36a9 SOURCES/puppet-7.10.0.tar.gz +1c878999d38dea6934e9f74b70ec24b43ad77027 SOURCES/puppetlabs-augeas_core-1.1.2.tar.gz +19478dba93d6f926533ff8e02f9b9b9c4e943aa3 SOURCES/puppetlabs-cron_core-1.0.5.tar.gz +0d40c2c8b6b2e17023492850bcad8fa88ee94b27 SOURCES/puppetlabs-host_core-1.0.3.tar.gz +b0f26b3c8d9565fe4debdf745d4e1b79a459d336 SOURCES/puppetlabs-mount_core-1.0.4.tar.gz +4c8e3dd9c04b243cefd0239fe043759287df16ee SOURCES/puppetlabs-scheduled_task-2.0.1.tar.gz +0b05a565c4cedfded4111a85354599601d341766 SOURCES/puppetlabs-selinux_core-1.1.0.tar.gz +184312c8c9d7f5f4be7fd2e0aca925c49ddb5654 SOURCES/puppetlabs-sshkeys_core-2.2.0.tar.gz +cc4a3d06ef62e67cbf91ba9a779dedbefac6b390 SOURCES/puppetlabs-yumrepo_core-1.0.7.tar.gz +915728f023741a5da0eecbd9f5c5d15b2568a000 SOURCES/puppetlabs-zfs_core-1.2.0.tar.gz +eeaf8358084066235177a0bdd1d6027b7167e281 SOURCES/puppetlabs-zone_core-1.0.3.tar.gz diff --git a/SOURCES/0001-Adapt-path-for-vendored-modules-according-to-Fedora-.patch b/SOURCES/0001-Adapt-path-for-vendored-modules-according-to-Fedora-.patch new file mode 100644 index 0000000..81b4ff8 --- /dev/null +++ b/SOURCES/0001-Adapt-path-for-vendored-modules-according-to-Fedora-.patch @@ -0,0 +1,25 @@ +From adee1aa6df15d42b86109ba892ca002d7e8130bd Mon Sep 17 00:00:00 2001 +From: Alfredo Moralejo +Date: Mon, 15 Jul 2019 18:14:36 +0200 +Subject: [PATCH] Adapt path for vendored modules according to Fedora standards + +--- + lib/puppet/defaults.rb | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/lib/puppet/defaults.rb b/lib/puppet/defaults.rb +index 54ed58b75d..7a7bf86299 100644 +--- a/lib/puppet/defaults.rb ++++ b/lib/puppet/defaults.rb +@@ -54,7 +54,7 @@ module Puppet + nil + end + else +- '/opt/puppetlabs/puppet/vendor_modules' ++ '/usr/share/ruby/vendor_ruby/puppet/vendor_modules' + end + end + +-- +2.20.1 + diff --git a/SOURCES/0001-Fix-puppet-paths.patch b/SOURCES/0001-Fix-puppet-paths.patch new file mode 100644 index 0000000..78fd66e --- /dev/null +++ b/SOURCES/0001-Fix-puppet-paths.patch @@ -0,0 +1,49 @@ +From e6d4f123893c27a3d8a6aac7b26853023433166e Mon Sep 17 00:00:00 2001 +From: Yatin Karel +Date: Fri, 14 May 2021 08:21:46 +0000 +Subject: [PATCH] Fix puppet paths + +--- + lib/puppet/util/run_mode.rb | 12 ++++++------ + 1 file changed, 6 insertions(+), 6 deletions(-) + +diff --git a/lib/puppet/util/run_mode.rb b/lib/puppet/util/run_mode.rb +index 36f38ddb0d..314bf1bd15 100644 +--- a/lib/puppet/util/run_mode.rb ++++ b/lib/puppet/util/run_mode.rb +@@ -63,27 +63,27 @@ module Puppet + + class UnixRunMode < RunMode + def conf_dir +- which_dir("/etc/puppetlabs/puppet", "~/.puppetlabs/etc/puppet") ++ which_dir("/etc/puppet", "~/.puppet") + end + + def code_dir +- which_dir("/etc/puppetlabs/code", "~/.puppetlabs/etc/code") ++ which_dir("/etc/puppet", "~/.puppet/code") + end + + def var_dir +- which_dir("/opt/puppetlabs/puppet/cache", "~/.puppetlabs/opt/puppet/cache") ++ which_dir("/var/lib/puppet", "~/.puppet/cache") + end + + def public_dir +- which_dir("/opt/puppetlabs/puppet/public", "~/.puppetlabs/opt/puppet/public") ++ which_dir("/var/lib/puppet", "~/.puppet/public") + end + + def run_dir +- which_dir("/var/run/puppetlabs", "~/.puppetlabs/var/run") ++ which_dir("/var/run/puppet", "~/.puppet/var/run") + end + + def log_dir +- which_dir("/var/log/puppetlabs/puppet", "~/.puppetlabs/var/log") ++ which_dir("/var/log/puppet", "~/.puppet/var/log") + end + end + +-- +2.27.0 diff --git a/SOURCES/0002-Revert-maint-Remove-puppetmaster.service.patch b/SOURCES/0002-Revert-maint-Remove-puppetmaster.service.patch new file mode 100644 index 0000000..365e21f --- /dev/null +++ b/SOURCES/0002-Revert-maint-Remove-puppetmaster.service.patch @@ -0,0 +1,46 @@ +From f54a22b96e9e631991bad095a7b321273a2e6e3f Mon Sep 17 00:00:00 2001 +From: Gael Chamoulaud +Date: Wed, 29 Jul 2015 21:58:48 +0200 +Subject: [PATCH 2/5] Revert "(maint) Remove puppetmaster.service" + +This reverts commit c0e30daa53b6267c1c86b6e27c01b1c26cf49af5. +--- + ext/systemd/puppet.service | 2 +- + ext/systemd/puppetmaster.service | 12 ++++++++++++ + 2 files changed, 13 insertions(+), 1 deletion(-) + create mode 100644 ext/systemd/puppetmaster.service + +diff --git a/ext/systemd/puppet.service b/ext/systemd/puppet.service +index 7c16615..36769ac 100644 +--- a/ext/systemd/puppet.service ++++ b/ext/systemd/puppet.service +@@ -11,7 +11,7 @@ + [Unit] + Description=Puppet agent + Wants=basic.target +-After=basic.target network.target ++After=basic.target network.target puppetmaster.service + + [Service] + EnvironmentFile=-/etc/sysconfig/puppetagent +diff --git a/ext/systemd/puppetmaster.service b/ext/systemd/puppetmaster.service +new file mode 100644 +index 0000000..dbbd627 +--- /dev/null ++++ b/ext/systemd/puppetmaster.service +@@ -0,0 +1,12 @@ ++[Unit] ++Description=Puppet master ++Wants=basic.target ++After=basic.target network.target ++ ++[Service] ++EnvironmentFile=-/etc/sysconfig/puppetmaster ++EnvironmentFile=-/etc/default/puppetmaster ++ExecStart=/usr/bin/puppet master $PUPPETMASTER_EXTRA_OPTS --no-daemonize ++ ++[Install] ++WantedBy=multi-user.target +-- +2.19.2 + diff --git a/SOURCES/puppet-6.21.1-1.el8.src.rpm b/SOURCES/puppet-6.21.1-1.el8.src.rpm new file mode 100644 index 0000000..12256d0 Binary files /dev/null and b/SOURCES/puppet-6.21.1-1.el8.src.rpm differ diff --git a/SOURCES/puppet-6.21.1.tar.gz b/SOURCES/puppet-6.21.1.tar.gz new file mode 100644 index 0000000..92efcbc Binary files /dev/null and b/SOURCES/puppet-6.21.1.tar.gz differ diff --git a/SOURCES/puppet-6.21.1.tar.gz.asc b/SOURCES/puppet-6.21.1.tar.gz.asc new file mode 100644 index 0000000..6055903 --- /dev/null +++ b/SOURCES/puppet-6.21.1.tar.gz.asc @@ -0,0 +1,17 @@ +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1 + +iQIcBAABCAAGBQJgLAaXAAoJEEUots2eYe8mqQIQANm/rhRZQxB8JLmis+arEvVT +flnWq3fNqoaaHd1HrIRpCJM6ynbjXP7U19qEavvFnnRQIj26768MjaXkTFuw/Zlf +YeK7tL0S6SaohyHfw+/+A1nQH3tbFB/e5CGS+31gVAAYVbuukIbebxgxCwiclxHE +CH3tLMdgQ/4IJIqvTeU3O/YY68nD6bXOxs2JT+NiWOROkmWLfW0LEakmXhhbOUl3 +fR0oy+aT6k/W8ndAIUZsubhtpyh4HddDOMrGcUvB6nlVNZE6tgmbs/oDr4Nm+4TE +GXFOX+vNhwtx5HgoQPdWKQs/QWz9GG/MPUY7dKm8QWLBjUaL+RJAoBl2hG8dENfP +vrzbZP5/zMZaZTsHFwSQyiP4cY2mPQZyeq3CrlEut4TQKcSzbf6sj3q1kQF8pk9K +o3X+XTmqVA0KWCC07C7C5e36IVfCUeQlDfDtsLnVCixqnzwm/ivQMrohzQQMDnpy +XKhPpoqcYjPtaY9SWQ16hyLWMUZpwDFzgCbREEOYB1glGEIn0u2UTc8vffRJOWnA +QVRKpIqMHGUFmHUYsdsiUbkcGjXv4KD1S+vaqS5ujDbyYGe27RsbSJA1+wfrLu1f +aUW2gcCkBcmzD6EqV/fxmZQYMCqHdiDlbtu6NoIyCqYNLPjzxDNbmso7c0D2ijGx +Et7RK5xFP6tfH/vdJrrd +=mPtO +-----END PGP SIGNATURE----- diff --git a/SOURCES/puppet-7.6.1.tar.gz b/SOURCES/puppet-7.6.1.tar.gz new file mode 100644 index 0000000..927cdb7 Binary files /dev/null and b/SOURCES/puppet-7.6.1.tar.gz differ diff --git a/SOURCES/puppet-7.6.1.tar.gz.asc b/SOURCES/puppet-7.6.1.tar.gz.asc new file mode 100644 index 0000000..65c0e75 --- /dev/null +++ b/SOURCES/puppet-7.6.1.tar.gz.asc @@ -0,0 +1,17 @@ +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1 + +iQIcBAABCAAGBQJghvrkAAoJEEUots2eYe8mya8P/j4r7V4VnAhtKl3OF25KX7iM +w2DtITXbEk7Zsgki5Gg/mn0Q+MLxrxq2XDGj5AUQzkh/Bw56BYmD6FOminsKOmav +Q4U7/B/uT7Lw202/BcPnsfeIkUVCsfm7m8bfCdpITbat14VNJ//9M621SRZBQoa3 +3TcBoTK4PPtBf0rU+fMKX27IAZ1vx6b1NHwC7hm6X+WGX8veVyZsau7D+PWbkpEf +33qQW0HmdcHADWwGbh5WaAttaUj+xw6AvuuSCJodnyZt8U9TuUhY3bp2cL9qbLrL +hHpuVqNU52APKWUZa4TfyRBN+lxj9JD4NWDI66iz7trUu/Drv3CG1ti8lFkLrasK +vBvPvRpaiDMHAop1Xxv/dG5026oIPeCj8/BPi13x9V8m/PEsA6Z6P0zC1vMaKlaO +EoWU67ARQ1LUWxSHKtz6VqOUuhUxxeRzpVPePmjVR63Dv4V5xu5nZdqpRsWVSmnz +CMhDJSncFVoR60DBFyYXw68LoNPOlVgyCFAiDW5AWA2p/oYJCwMysthnbzKrKhTB +lDxN0owFqLZNmYYFb0wh6V0wvGBtF0dGohfozqhsFdpVkACyQ/9rW65vgodv+vPF +AWLewSRhd2JcRJTZSTuh9BUZVOcZ9wT7Q8XK+Ip1v2s3THcbt2oXpS3eGufnnwEk ++FfjGULtsyWSHuWp6Hvv +=gP8M +-----END PGP SIGNATURE----- diff --git a/SOURCES/puppet-7.8.0.tar.gz b/SOURCES/puppet-7.8.0.tar.gz new file mode 100644 index 0000000..55eba0d Binary files /dev/null and b/SOURCES/puppet-7.8.0.tar.gz differ diff --git a/SOURCES/puppet-nm-dispatcher b/SOURCES/puppet-nm-dispatcher new file mode 100644 index 0000000..6e9e0b3 --- /dev/null +++ b/SOURCES/puppet-nm-dispatcher @@ -0,0 +1,8 @@ +#!/bin/bash +# +# Restart puppet on network changes to pickup changes to /etc/resolv.conf +# +# https://projects.puppetlabs.com/issues/2776 +# https://bugzilla.redhat.com/532085 + +[[ $2 =~ ^(up|down)$ ]] && /sbin/service puppet condrestart || : diff --git a/SOURCES/puppet-nm-dispatcher.systemd b/SOURCES/puppet-nm-dispatcher.systemd new file mode 100644 index 0000000..3e5eeee --- /dev/null +++ b/SOURCES/puppet-nm-dispatcher.systemd @@ -0,0 +1,8 @@ +#!/bin/bash +# +# Restart puppet on network changes to pickup changes to /etc/resolv.conf +# +# https://projects.puppetlabs.com/issues/2776 +# https://bugzilla.redhat.com/532085 + +[[ $2 =~ ^(up|down)$ ]] && /bin/systemctl condrestart puppetagent.service || : diff --git a/SOURCES/puppetlabs-augeas_core-1.1.1.tar.gz b/SOURCES/puppetlabs-augeas_core-1.1.1.tar.gz new file mode 100644 index 0000000..6630064 Binary files /dev/null and b/SOURCES/puppetlabs-augeas_core-1.1.1.tar.gz differ diff --git a/SOURCES/puppetlabs-selinux_core-1.0.4.tar.gz b/SOURCES/puppetlabs-selinux_core-1.0.4.tar.gz new file mode 100644 index 0000000..3d1cfac Binary files /dev/null and b/SOURCES/puppetlabs-selinux_core-1.0.4.tar.gz differ diff --git a/SOURCES/start-puppet-wrapper b/SOURCES/start-puppet-wrapper new file mode 100644 index 0000000..e0c8b70 --- /dev/null +++ b/SOURCES/start-puppet-wrapper @@ -0,0 +1,8 @@ +#!/bin/sh +# +# This is wrapper script to start puppet which is used to support starting +# puppet daemon processes with correct SELinux context. +# + +# Call exec rather that spawn sub-process because of signals +exec /usr/bin/puppet $* diff --git a/SPECS/puppet.spec b/SPECS/puppet.spec new file mode 100644 index 0000000..685321f --- /dev/null +++ b/SPECS/puppet.spec @@ -0,0 +1,928 @@ +%global puppet_libdir %{ruby_vendorlibdir} +%global puppet_vendorlib /usr/share/ruby/vendor_ruby/puppet/vendor_modules + +%if 0%{?fedora} > 18 || 0%{?rhel} >= 7 || 0%{?suse_version} +%global _with_systemd 1 +%endif + +# FIXME(hguemar): RH products builds of facter and hiera have introduced epochs +# does not impact Fedora nor EPEL +%if 0%{?rhel} && 0%{?rhel} >= 7 && !0%{?epel} +%global has_epoch 1 +%endif + +%global confdir conf +%global pending_upgrade_path %{_localstatedir}/lib/rpm-state/puppet +%global pending_upgrade_file %{pending_upgrade_path}/upgrade_pending + +# Versions of vendored modules bundled in puppet package +%global augeas_core_vers 1.1.2 +%global cron_core_vers 1.0.5 +%global host_core_vers 1.0.3 +%global mount_core_vers 1.0.4 +%global scheduled_task_vers 2.0.1 +%global selinux_core_vers 1.1.0 +%global sshkeys_core_vers 2.2.0 +%global yumrepo_core_vers 1.0.7 +%global zfs_core_vers 1.2.0 +%global zone_core_vers 1.0.3 +# + +Name: puppet +Version: 7.10.0 +Release: 1%{?dist} +Summary: A network tool for managing many disparate systems +License: ASL 2.0 +URL: http://puppetlabs.com +Source0: http://downloads.puppetlabs.com/%{name}/%{name}-%{version}.tar.gz +#Source1: http://downloads.puppetlabs.com/%{name}/%{name}-%{version}.tar.gz.asc +Source2: puppet-nm-dispatcher +Source3: puppet-nm-dispatcher.systemd +Source4: start-puppet-wrapper +Source10: https://forge.puppet.com/v3/files/puppetlabs-augeas_core-%{augeas_core_vers}.tar.gz +Source11: https://forge.puppet.com/v3/files/puppetlabs-cron_core-%{cron_core_vers}.tar.gz +Source12: https://forge.puppet.com/v3/files/puppetlabs-host_core-%{host_core_vers}.tar.gz +Source13: https://forge.puppet.com/v3/files/puppetlabs-mount_core-%{mount_core_vers}.tar.gz +Source14: https://forge.puppet.com/v3/files/puppetlabs-scheduled_task-%{scheduled_task_vers}.tar.gz +Source15: https://forge.puppet.com/v3/files/puppetlabs-selinux_core-%{selinux_core_vers}.tar.gz +Source16: https://forge.puppet.com/v3/files/puppetlabs-sshkeys_core-%{sshkeys_core_vers}.tar.gz +Source17: https://forge.puppet.com/v3/files/puppetlabs-yumrepo_core-%{yumrepo_core_vers}.tar.gz +Source18: https://forge.puppet.com/v3/files/puppetlabs-zfs_core-%{zfs_core_vers}.tar.gz +Source19: https://forge.puppet.com/v3/files/puppetlabs-zone_core-%{zone_core_vers}.tar.gz + +# Puppetlabs messed up with default paths +Patch01: 0001-Fix-puppet-paths.patch +Patch02: 0002-Revert-maint-Remove-puppetmaster.service.patch +Patch03: 0001-Adapt-path-for-vendored-modules-according-to-Fedora-.patch + +BuildArch: noarch +BuildRequires: git +BuildRequires: ruby-devel >= 2.3.0 +# ruby-devel does not require the base package, but requires -libs instead +BuildRequires: ruby >= 2.3.0 + +Requires: puppet-headless = %{version}-%{release} + +%if 0%{?_with_systemd} +%{?systemd_requires} +BuildRequires: systemd +%else +Requires(post): chkconfig +Requires(preun): chkconfig +Requires(preun): initscripts +Requires(postun): initscripts +%endif + +%description +Puppet lets you centrally manage every important aspect of your system using a +cross-platform specification language that manages all the separate elements +normally aggregated in different files, like users, cron jobs, and hosts, +along with obviously discrete elements like packages, services, and files. + +%package headless +Summary: Headless Puppet +Conflicts: puppet < 5.5.6-6 +%if 0%{?rhel} && 0%{?rhel} <= 6 +Requires: ruby(abi) = 1.8 +%else +Requires: ruby(release) +%endif +Requires: ruby(shadow) +Requires: rubygem(json) +# Removed in puppet 7 +#Requires: rubygem(pathspec) +#Requires: rubygem(rgen) +# Prevents jruby from being pulled in by dependencies (BZ #985208) +Requires: ruby +# Pull in ruby selinux bindings where available +%{!?_without_selinux:Requires: ruby(selinux), libselinux-utils} + +# Fedora 28 updates to facter3 where puppet needs to require the ruby bindings specifically +# RHEL8 has also moved to facter3 +%if 0%{?fedora} >= 28 || 0%{?rhel} > 7 +BuildRequires: ruby-facter >= %{?has_epoch:1:}3.0 +BuildRequires: ruby-facter < %{?has_epoch:1:}5 +Requires: ruby-facter >= %{?has_epoch:1:}3.0 +Requires: ruby-facter < %{?has_epoch:1:}5 +%else +BuildRequires: facter >= %{?has_epoch:1:}2.0 +BuildRequires: facter < %{?has_epoch:1:}4 +Requires: facter >= %{?has_epoch:1:}2.0 +Requires: facter < %{?has_epoch:1:}4 +%endif +BuildRequires: hiera >= 2.0 +BuildRequires: hiera < %{?has_epoch:1:}4 +Requires: hiera >= 2.0 +Requires: hiera < %{?has_epoch:1:}4 +Obsoletes: hiera-puppet < 1.0.0-2 +Provides: hiera-puppet = %{version}-%{release} + +%{!?_without_augeas:Requires: ruby(augeas)} +Requires: tar +Requires(pre): shadow-utils + +Requires: rubygem(fast_gettext) >= 1.1 +Requires: rubygem(multi_json) >= 1.10 +# Add requires for modules and library unbundled in 6.0.0 +Requires: rubygem(semantic_puppet) >= 1.0.4 +Requires: rubygem(puppet-resource_api) >= 1.8.4 +Requires: rubygem(concurrent-ruby) >= 1.0 +Requires: rubygem(deep_merge) >= 1.0 + +%description headless +This puppet headless subpackage may be used when there is no need to +have puppet agent running as a service, for example, in a container +image. + +%prep +%setup -D -b 10 puppetlabs-augeas_core-%{augeas_core_vers} +%setup -D -b 11 puppetlabs-cron_core-%{cron_core_vers} +%setup -D -b 12 puppetlabs-host_core-%{host_core_vers} +%setup -D -b 13 puppetlabs-mount_core-%{mount_core_vers} +%setup -D -b 14 puppetlabs-scheduled_task-%{scheduled_task_vers} +%setup -D -b 15 puppetlabs-selinux_core-%{selinux_core_vers} +%setup -D -b 16 puppetlabs-sshkeys_core-%{sshkeys_core_vers} +%setup -D -b 17 puppetlabs-yumrepo_core-%{yumrepo_core_vers} +%setup -D -b 18 puppetlabs-zfs_core-%{zfs_core_vers} +%setup -D -b 19 puppetlabs-zone_core-%{zone_core_vers} +%autosetup -S git + +# Unbundle +rm -rf lib/puppet/vendor/pathspec +# Note(hguemar): remove unrelated OS/distro specific folders +# These mess-up with RPM automatic dependencies compute by adding +# unnecessary deps like /sbin/runscripts +rm -r ext/{debian,freebsd,gentoo,ips,osx,solaris,suse,windows} +rm ext/redhat/*.init +rm ext/{build_defaults.yaml,project_data.yaml} + + +%build +# Nothing to build + +%install +rm -rf %{buildroot} +ruby install.rb --destdir=%{buildroot} \ + --configdir=%{_sysconfdir}/puppet \ + --bindir=%{_bindir} --vardir=%{_localstatedir}/cache/puppet \ + --logdir=%{_localstatedir}/log/puppet \ + --rundir=%{_localstatedir}/log/puppet \ + --localedir=%{_datadir}/%{name}/locale \ + --quick --no-rdoc --sitelibdir=%{puppet_libdir} + + +install -d -m0755 %{buildroot}%{_sysconfdir}/puppet/manifests +install -d -m0755 %{buildroot}%{_datadir}/%{name}/modules +install -d -m0755 %{buildroot}%{_localstatedir}/lib/puppet +install -d -m0755 %{buildroot}%{_localstatedir}/run/puppet +install -d -m0750 %{buildroot}%{_localstatedir}/log/puppet +install -d -m0750 %{buildroot}%{_localstatedir}/cache/puppet + +mkdir -p %{buildroot}%{puppet_vendorlib} +mv %{_builddir}/puppetlabs-augeas_core-%{augeas_core_vers} %{buildroot}%{puppet_vendorlib}/augeas_core +mv %{_builddir}/puppetlabs-cron_core-%{cron_core_vers} %{buildroot}%{puppet_vendorlib}/cron_core +mv %{_builddir}/puppetlabs-host_core-%{host_core_vers} %{buildroot}%{puppet_vendorlib}/host_core +mv %{_builddir}/puppetlabs-mount_core-%{mount_core_vers} %{buildroot}%{puppet_vendorlib}/mount_core +mv %{_builddir}/puppetlabs-scheduled_task-%{scheduled_task_vers} %{buildroot}%{puppet_vendorlib}/scheduled_task +mv %{_builddir}/puppetlabs-selinux_core-%{selinux_core_vers} %{buildroot}%{puppet_vendorlib}/selinux_core +mv %{_builddir}/puppetlabs-sshkeys_core-%{sshkeys_core_vers} %{buildroot}%{puppet_vendorlib}/sshkeys_core +mv %{_builddir}/puppetlabs-yumrepo_core-%{yumrepo_core_vers} %{buildroot}%{puppet_vendorlib}/yumrepo_core +mv %{_builddir}/puppetlabs-zfs_core-%{zfs_core_vers} %{buildroot}%{puppet_vendorlib}/zfs_core +mv %{_builddir}/puppetlabs-zone_core-%{zone_core_vers} %{buildroot}%{puppet_vendorlib}/zone_core + +%if 0%{?_with_systemd} +%{__install} -d -m0755 %{buildroot}%{_unitdir} +install -Dp -m0644 ext/systemd/puppet.service %{buildroot}%{_unitdir}/puppet.service +ln -s %{_unitdir}/puppet.service %{buildroot}%{_unitdir}/puppetagent.service +%else +install -Dp -m0644 %{confdir}/client.sysconfig %{buildroot}%{_sysconfdir}/sysconfig/puppet +install -Dp -m0755 %{confdir}/client.init %{buildroot}%{_initrddir}/puppet +%endif + +#install -Dp -m0644 %{confdir}/auth.conf %{buildroot}%{_sysconfdir}/puppet/auth.conf +install -Dp -m0644 %{confdir}/puppet.conf %{buildroot}%{_sysconfdir}/puppet/puppet.conf +install -Dp -m0644 ext/redhat/logrotate %{buildroot}%{_sysconfdir}/logrotate.d/puppet + +# Note(hguemar): Conflicts with config file from hiera package +rm %{buildroot}%{_sysconfdir}/puppet/hiera.yaml + +# Install a NetworkManager dispatcher script to pickup changes to +# /etc/resolv.conf and such (https://bugzilla.redhat.com/532085). +%if 0%{?_with_systemd} +install -Dpv -m0755 %{SOURCE3} \ + %{buildroot}%{_sysconfdir}/NetworkManager/dispatcher.d/98-%{name} +%else +install -Dpv -m0755 %{SOURCE2} \ + %{buildroot}%{_sysconfdir}/NetworkManager/dispatcher.d/98-%{name} +%endif + +# Install the ext/ directory to %%{_datadir}/%%{name} +install -d %{buildroot}%{_datadir}/%{name} +cp -a ext/ %{buildroot}%{_datadir}/%{name} + +chmod 0755 %{buildroot}%{_datadir}/%{name}/ext/regexp_nodes/regexp_nodes.rb + +# Install wrappers for SELinux +install -Dp -m0755 %{SOURCE4} %{buildroot}%{_bindir}/start-puppet-agent +install -Dp -m0755 %{SOURCE4} %{buildroot}%{_bindir}/start-puppet-master +install -Dp -m0755 %{SOURCE4} %{buildroot}%{_bindir}/start-puppet-ca +%if 0%{?_with_systemd} +sed -i 's|^ExecStart=.*/bin/puppet|ExecStart=/usr/bin/start-puppet-agent|' \ + %{buildroot}%{_unitdir}/puppet.service +%endif + +%if 0%{?fedora} >= 15 +# Setup tmpfiles.d config +mkdir -p %{buildroot}%{_tmpfilesdir} +echo "D /var/run/%{name} 0755 %{name} %{name} -" > \ + %{buildroot}%{_tmpfilesdir}/%{name}.conf +%endif + +# Create puppet modules directory for puppet module tool +mkdir -p %{buildroot}%{_sysconfdir}/%{name}/modules + +# Create directory for vendored modules +mkdir -p %{buildroot}%{puppet_libdir}/puppet/vendor_modules + +%files +%if 0%{?_with_systemd} +%{_unitdir}/puppet.service +%{_unitdir}/puppetagent.service +%else +%{_initrddir}/puppet +%config(noreplace) %{_sysconfdir}/sysconfig/puppet +%endif +%if 0%{?fedora} >= 15 +%{_tmpfilesdir}/%{name}.conf +%endif +%config(noreplace) %{_sysconfdir}/logrotate.d/puppet +%dir %{_sysconfdir}/NetworkManager +%dir %{_sysconfdir}/NetworkManager/dispatcher.d +%{_sysconfdir}/NetworkManager/dispatcher.d/98-puppet + +%files headless +%doc README.md examples +%license LICENSE +%{_bindir}/puppet +%{_bindir}/start-puppet-* +%{puppet_libdir}/* +%{puppet_vendorlib} +%dir %{_sysconfdir}/puppet +%dir %{_sysconfdir}/%{name}/modules +%config(noreplace) %{_sysconfdir}/puppet/puppet.conf +#%config(noreplace) %{_sysconfdir}/puppet/auth.conf +%{_datadir}/%{name} +# These need to be owned by puppet so the server can +# write to them +%attr(-, puppet, puppet) %{_localstatedir}/run/puppet +%attr(0750, puppet, puppet) %{_localstatedir}/log/puppet +%attr(-, puppet, puppet) %{_localstatedir}/lib/puppet +%attr(0750, puppet, puppet) %{_localstatedir}/cache/puppet +%{_mandir}/man5/puppet.conf.5.gz +%{_mandir}/man8/puppet.8.gz +%{_mandir}/man8/puppet-agent.8.gz +%{_mandir}/man8/puppet-apply.8.gz +%{_mandir}/man8/puppet-catalog.8.gz +%{_mandir}/man8/puppet-describe.8.gz +%{_mandir}/man8/puppet-config.8.gz +%{_mandir}/man8/puppet-device.8.gz +%{_mandir}/man8/puppet-doc.8.gz +%{_mandir}/man8/puppet-facts.8.gz +%{_mandir}/man8/puppet-filebucket.8.gz +%{_mandir}/man8/puppet-generate.8.gz +%{_mandir}/man8/puppet-help.8.gz +%{_mandir}/man8/puppet-epp.8.gz +#%{_mandir}/man8/puppet-key.8.gz +%{_mandir}/man8/puppet-lookup.8.gz +#%{_mandir}/man8/puppet-man.8.gz +%{_mandir}/man8/puppet-module.8.gz +%{_mandir}/man8/puppet-node.8.gz +%{_mandir}/man8/puppet-parser.8.gz +%{_mandir}/man8/puppet-plugin.8.gz +%{_mandir}/man8/puppet-report.8.gz +%{_mandir}/man8/puppet-resource.8.gz +%{_mandir}/man8/puppet-script.8.gz +%{_mandir}/man8/puppet-ssl.8.gz +#%{_mandir}/man8/puppet-status.8.gz + +# Fixed uid/gid were assigned in bz 472073 (Fedora), 471918 (RHEL-5), +# and 471919 (RHEL-4) +%pre headless +getent group puppet &>/dev/null || groupadd -r puppet -g 52 &>/dev/null +getent passwd puppet &>/dev/null || \ +useradd -r -u 52 -g puppet -d %{_localstatedir}/lib/puppet -s /sbin/nologin \ + -c "Puppet" puppet &>/dev/null +# ensure that old setups have the right puppet home dir +if [ $1 -gt 1 ]; then + usermod -d %{_localstatedir}/lib/puppet puppet &>/dev/null +fi +exit 0 + +%post +%if 0%{?_with_systemd} +%systemd_post puppet.service +%else +# If there's a running puppet agent, restart it during upgrade. Fixes +# BZ #1024538. +if [ "$1" -ge 1 ]; then + pid="%{_localstatedir}/run/puppet/agent.pid" + if [ -e "$pid" ]; then + if ps -p "$(< "$pid")" -o cmd= | grep -q "puppet agent"; then + kill "$(< "$pid")" \ + && rm -f "$pid" \ + && /sbin/service puppet start + fi &>/dev/null + fi +fi +/sbin/chkconfig --add puppet +%endif +exit 0 + +%preun +%if 0%{?_with_systemd} +%systemd_preun puppet.service +%else +if [ "$1" -eq 0 ]; then + /sbin/service puppet stop &>/dev/null + /sbin/chkconfig --del puppet +fi +%endif +exit 0 + +%postun +%if 0%{?_with_systemd} +%systemd_postun_with_restart puppet.service +%else +if [ "$1" -ge 1 ]; then + /sbin/service puppet condrestart &>/dev/null +fi +%endif +exit 0 + +%changelog +* Fri Sep 10 2021 Alfredo Moralejo - 7.10.0-1 +- Update to 7.10.0 + +* Thu Jul 01 2021 Alfredo Moralejo - 7.8.0-1 +- Update to 7.8.0. Includes support for Ruby 3 + +* Mon May 31 2021 Alfredo Moralejo - 7.6.1-1 +- Update to 7.6.1 + +* Tue Feb 23 2021 Yatin Karel - 6.21.1-1 +- Update to 6.21.1 + +* Tue Apr 07 2020 Alfredo Moralejo - 6.14.0-2 +- Update to 6.14.0 + +* Wed Dec 04 2019 Alfrdo Moralejo - 5.5.10-9 +- Add rubygem-multi_json as dependency. + +* Sun Sep 22 2019 Terje Rosten - 5.5.10-8 +- Prefer /run over /var/run (rhbz#1710635) + +* Sun Sep 22 2019 Terje Rosten - 5.5.10-7 +- Drop buildroot prefix in nm_dispatcher_dir macro +- Fix wrong path for gem in puppetet_gem.rb (rhbz#1751385), + report and fix from Lucien Weller, thanks! + +* Thu Aug 22 2019 Lubomir Rintel - 5.5.10-6 +- Move the NetworkManager dispatcher script out of /etc + +* Fri Jul 26 2019 Fedora Release Engineering - 5.5.10-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Wed Mar 13 2019 Terje Rosten - 5.5.10-4 +- Minor clean up + +* Thu Mar 07 2019 Terje Rosten - 5.5.10-3 +- Move sysconfdirs to headless too + +* Thu Mar 07 2019 Terje Rosten - 5.5.10-2 +- Move reqs to headless + +* Thu Mar 07 2019 Terje Rosten - 5.5.10-1 +- 5.5.10 + +* Thu Mar 07 2019 Terje Rosten - 5.5.6-6 +- Split off headless subpackage, based on idea from Bogdan Dobrelya + +* Sun Feb 17 2019 Bogdan Dobrelya - 5.5.6-5 +- Revert use of systemd_ordering macro + +* Sat Feb 02 2019 Fedora Release Engineering - 5.5.6-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Tue Jan 22 2019 Bogdan Dobrelya - 5.5.6-3 +- Use systemd_ordering macro + +* Wed Oct 31 2018 Haïkel Guémar - 5.5.6-1 +- Upstream 5.5.6 +- Fix issues with RHEL > 7 + +* Fri Jul 13 2018 Fedora Release Engineering - 5.5.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Tue May 8 2018 Haïkel Guémar - 5.5.1-1 +- Upstream 5.5.1 +- Unmaintained editor extensions were removed upstream (PUP-7558) +- Deprecated commands were removed: inspect (PUP-893), extlookup2hiera (PUP-3478) +- Refreshed patches + +* Thu Mar 15 2018 Terje Rosten - 4.10.10-1 +- Update to 4.10.10 + +* Fri Feb 09 2018 Fedora Release Engineering - 4.10.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Tue Nov 07 2017 James Hogarth - 4.10.1-3 +- F28 facter3 change means puppet needs to require the ruby bindings for facter + +* Thu Jul 27 2017 Fedora Release Engineering - 4.10.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Wed May 31 2017 Dominic Cleal - 4.10.1-1 +- Update to 4.10.1 + +* Wed May 31 2017 Dominic Cleal - 4.8.2-2 +- Remove Fedora release restrictions from DNF package provider + +* Thu May 25 2017 Dominic Cleal - 4.8.2-1 +- Update to 4.8.2 + +* Tue May 23 2017 Ville Skyttä - 4.6.2-5 +- Move tmpfiles.d config to %%{_tmpfilesdir} +- Install LICENSE as %%license + +* Tue May 23 2017 Dominic Cleal - 4.6.2-4 +- Fix remote code exec via YAML deserialization (BZ#1452654, CVE-2017-2295) + +* Thu May 18 2017 Dominic Cleal - 4.6.2-3 +- Fix Ruby 2.4 compatibility, xmlrpc + OpenSSL errors (BZ#1443673, BZ#1440710) + +* Sat Feb 11 2017 Fedora Release Engineering - 4.6.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Tue Sep 13 2016 Haïkel Guémar - 4.6.2-1 +- Upstream 4.6.2 + +* Thu Feb 04 2016 Fedora Release Engineering - 4.2.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Wed Jul 29 2015 Gael Chamoulaud - 4.2.1-2 +- Remove usage of vendored library safe_yaml (rhbz#1261091) + +* Wed Jul 29 2015 Gael Chamoulaud - 4.2.1-1 +- Upstream 4.2.1 + +* Tue Jul 28 2015 Lukas Zapletal 4.1.0-4 +- 1246238 - systemd service type changed to 'simple' + +* Tue Jul 21 2015 Lukas Zapletal 4.1.0-3 +- Puppet agent is started via exec rather than sub-process + +* Thu Jun 18 2015 Fedora Release Engineering - 4.1.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sat May 23 2015 Haïkel Guémar - 4.1.0-1 +- Upstream 4.1.0 +- Fix Puppet belief that Fedora is OpenBSD (PUP-4491) + +* Sun May 17 2015 Haïkel Guémar - 4.0.0-2 +- Fix puppet paths and unit files (upstream #12185) + +* Tue Apr 28 2015 Haïkel Guémar - 4.0.0-1 +- Upstream 4.0.0 + +* Mon Apr 27 2015 Haïkel Guémar - 4.0.0-0.1rc1 +- Upstream 4.0.0 +- Fix issue codedir path +- Fix init provider for Fedora (systemd is default on all supported releases now) + +* Wed Apr 22 2015 Orion Poplawski - 3.7.5-4 +- Do not unbundle puppet's semantic module + +* Sun Apr 19 2015 Orion Poplawski - 3.7.5-3 +- Require rubygem(pathspec) and rubygem(semantic) + +* Tue Mar 31 2015 Orion Poplawski - 3.7.5-2 +- Unbundle libs (bug #1198366) + +* Tue Mar 31 2015 Orion Poplawski - 3.7.5-1 +- Update to 3.7.5 + +* Sat Feb 28 2015 Haïkel Guémar - 3.7.1-3 +- Use systemd macros (RHBZ #1197239) + +* Tue Sep 30 2014 Orion Poplawski - 3.7.1-2 +- Drop server deps and configuration changes (bug #1144298) + +* Wed Sep 17 2014 Jeroen van Meeuwen - 3.7.1-1 +- Update to 3.7.1 + +* Tue Aug 19 2014 Lukas Zapletal 3.6.2-3 +- 1131398 - added start-puppet-ca SELinux wrapper binary + +* Mon Jun 30 2014 Pádraig Brady - 3.6.2-2 +- Allow yumrepo proxy attribute to be set to _none_ + +* Mon Jun 16 2014 Orion Poplawski - 3.6.2-1 +- Update to 3.6.2 + +* Sat Jun 07 2014 Fedora Release Engineering - 3.6.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sun May 18 2014 Sam Kottler 3.6.0-1 +- Remove logic specific to unsupported versions of Fedora +- Update to 3.6.0 + +* Mon Apr 28 2014 Sam Kottler 3.5.1-1 +- Update to 3.5.1 + +* Tue Apr 08 2014 Lukas Zapletal 3.4.3-3 +- RHBZ#1070395 - fixed error in postun scriplet +- Reformatted all scriplets and corrected exit codes + +* Tue Apr 08 2014 Lukas Zapletal 3.4.3-2 +- Fixed systemd unit files - wrappers are now in use and master starts + with correct context + +* Mon Feb 24 2014 Sam Kottler - 3.4.3-1 +- Update to 3.4.3 + +* Wed Jan 29 2014 Sam Kottler - 3.4.2-5 +- Add rubygem(rgen) runtime dependency + +* Thu Jan 23 2014 Sam Kottler - 3.4.2-4 +- Use localstatedir macro instead of /tmp + +* Fri Jan 17 2014 Sam Kottler - 3.4.2-3 +- Enable puppet.service during upgrade if puppetagent.service was previously enabled + +* Thu Jan 16 2014 Sam Kottler - 3.4.2-2 +- Remove F18 conditionals now that it's EOL + +* Tue Jan 14 2014 Sam Kottler - 3.4.2-1 +- Update to 3.4.2 to mitigate CVE-2013-4969 (BZ#1047792) + +* Mon Nov 18 2013 Sam Kottler - 3.3.2-1 +- Update to 3.3.2 (BZ#1031810) + +* Sat Nov 16 2013 Sam Kottler - 3.3.1-3 +- Add patch to convert nil resource parameter values to undef (BZ#1028930) + +* Fri Nov 1 2013 Lukas Zapletal - 3.3.1-2 +- Added SELinux wrappers for daemon processes + +* Mon Oct 7 2013 Orion Poplawski - 3.3.1-1 +- Update to 3.3.1 + +* Fri Sep 13 2013 Sam Kottler - 3.3.0-1 +- Update to 3.3.0 and remove the rundir-perms patch since it's no longer needed + +* Fri Aug 30 2013 Sam Kottler - 3.2.4-1 +- Update to 3.2.4 to fix CVE-2013-4761 and CVE-2013-4956 + +* Thu Aug 29 2013 Sam Kottler - 3.2.2-1 +- Update to 3.2.2 + +* Wed Aug 7 2013 Sam Kottler - 3.1.1-6 +- Add tar as an installation requirement + +* Tue Jul 30 2013 Orion Poplawski - 3.1.1-5 +- Use systemd semantics and name in NM dispatcher script + +* Fri Jul 26 2013 Sam Kottler - 3.1.1-4 +- Add hard dependency on ruby + +* Tue Apr 16 2013 Orion Poplawski - 3.1.1-3 +- Add upstream patch for ruby 2.0 support +- Fix rhel ruby conditional + +* Fri Mar 15 2013 Vít Ondruch - 3.1.1-2 +- Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0 + +* Wed Mar 13 2013 Michael Stahnke - 3.1.1-1 +- Fixes for CVE-2013-1640 CVE-2013-1652 CVE-2013-1653 CVE-2013-1654 +- CVE-2013-1655 CVE-2013-2274 CVE-2013-2275 + +* Thu Mar 07 2013 Michael Stahnke - 3.1.0-4 +- Disable systemd in F18 as per bz#873853 +- Update Patch0 to work with 3.1 + +* Thu Mar 7 2013 Daniel Drake - 3.1.0-2 +- Improve server compatibility with old puppet clients (#831303) + +* Mon Feb 11 2013 Sam Kottler - 3.1.0-1 +- Update to 3.1.0 + +* Tue Oct 30 2012 Moses Mendoza - 3.0.2-1 +- Update to 3.0.2 +- Update new dependencies (ruby >= 1.8.7, facter >= 1.6.6, hiera >= 1.0.0) +- Update for manpage and file changes in upstream +- Add conditionals for systemd service management +- Remove 0001-Ruby-1.9.3-has-a-different-error-when-require-fails.patch +- Remove 0001-Preserve-timestamps-when-installing-files.patch + +* Wed Jul 11 2012 Todd Zullinger - 2.7.18-1 +- Update to 2.7.17, fixes CVE-2012-3864, CVE-2012-3865, CVE-2012-3866, + CVE-2012-3867 +- Improve NetworkManager compatibility, thanks to Orion Poplawski (#532085) +- Preserve timestamps when installing files + +* Wed Apr 25 2012 Todd Zullinger - 2.7.13-1 +- Update to 2.7.13 +- Change license from GPLv2 to ASL 2.0 +- Drop %%post hacks to deal with upgrades from 0.25 +- Minor rpmlint fixes +- Backport patch to silence confine warnings in ruby-1.9.3 + +* Wed Apr 11 2012 Todd Zullinger - 2.6.16-1 +- Update to 2.6.16, fixes CVE-2012-1986, CVE-2012-1987, and CVE-2012-1988 +- Correct permissions of /var/log/puppet (0750) + +* Wed Feb 22 2012 Todd Zullinger - 2.6.14-1 +- Update to 2.6.14, fixes CVE-2012-1053 and CVE-2012-1054 + +* Mon Feb 13 2012 Todd Zullinger - 2.6.13-3 +- Move rpmlint fixes to %%prep, add a few additional fixes +- Bump minimum ruby version to 1.8.5 now that EL-4 is all but dead +- Update install locations for Fedora-17 / Ruby-1.9 +- Use ruby($lib) for augeas and shadow requirements +- Only try to run 0.25.x -> 2.6.x pid file updates on EL + +* Thu Jan 05 2012 Todd Zullinger - 2.6.13-2 +- Revert to minimal patch for augeas >= 0.10 (bz#771097) + +* Wed Dec 14 2011 Todd Zullinger - 2.6.13-1 +- Update to 2.6.13 +- Cherry-pick various augeas fixes from upstream (bz#771097) + +* Sun Oct 23 2011 Todd Zullinger - 2.6.12-1 +- Update to 2.6.12, fixes CVE-2011-3872 +- Add upstream patch to restore Mongrel XMLRPC functionality (upstream #10244) +- Apply partial fix for upstream #9167 (tagmail report sends email when nothing + happens) + +* Thu Sep 29 2011 Todd Zullinger - 2.6.6-3 +- Apply upstream patches for CVE-2011-3869, CVE-2011-3870, CVE-2011-3871, and + upstream #9793 + +* Tue Sep 27 2011 Todd Zullinger - 2.6.6-2 +- Apply upstream patch for CVE-2011-3848 + +* Wed Mar 16 2011 Todd Zullinger - 2.6.6-1 +- Update to 2.6.6 +- Ensure %%pre exits cleanly +- Fix License tag, puppet is now GPLv2 only +- Create and own /usr/share/puppet/modules (#615432) +- Properly restart puppet agent/master daemons on upgrades from 0.25.x +- Require libselinux-utils when selinux support is enabled +- Support tmpfiles.d for Fedora >= 15 (#656677) +- Apply a few upstream fixes for 0.25.5 regressions + +* Wed Feb 09 2011 Fedora Release Engineering - 0.25.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Mon May 17 2010 Todd Zullinger - 0.25.5-1 +- Update to 0.25.5 +- Adjust selinux conditional for EL-6 +- Apply rundir-perms patch from tarball rather than including it separately +- Update URL's to reflect the new puppetlabs.com domain + +* Fri Jan 29 2010 Todd Zullinger - 0.25.4-1 +- Update to 0.25.4 + +* Tue Jan 19 2010 Todd Zullinger - 0.25.3-2 +- Apply upstream patch to fix cron resources (upstream #2845) + +* Mon Jan 11 2010 Todd Zullinger - 0.25.3-1 +- Update to 0.25.3 + +* Tue Jan 05 2010 Todd Zullinger - 0.25.2-1.1 +- Replace %%define with %%global for macros + +* Tue Jan 05 2010 Todd Zullinger - 0.25.2-1 +- Update to 0.25.2 +- Fixes CVE-2010-0156, tmpfile security issue (#502881) +- Install auth.conf, puppetqd manpage, and queuing examples/docs + +* Wed Nov 25 2009 Jeroen van Meeuwen - 0.25.1-1 +- New upstream version + +* Tue Oct 27 2009 Todd Zullinger - 0.25.1-0.3 +- Update to 0.25.1 +- Include the pi program and man page (R.I.Pienaar) + +* Sat Oct 17 2009 Todd Zullinger - 0.25.1-0.2.rc2 +- Update to 0.25.1rc2 + +* Tue Sep 22 2009 Todd Zullinger - 0.25.1-0.1.rc1 +- Update to 0.25.1rc1 +- Move puppetca to puppet package, it has uses on client systems +- Drop redundant %%doc from manpage %%file listings + +* Fri Sep 04 2009 Todd Zullinger - 0.25.0-1 +- Update to 0.25.0 +- Fix permissions on /var/log/puppet (#495096) +- Install emacs mode and vim syntax files (#491437) +- Install ext/ directory in %%{_datadir}/%%{name} (/usr/share/puppet) + +* Mon May 04 2009 Todd Zullinger - 0.25.0-0.1.beta1 +- Update to 0.25.0beta1 +- Make Augeas and SELinux requirements build time options + +* Mon Mar 23 2009 Todd Zullinger - 0.24.8-1 +- Update to 0.24.8 +- Quiet output from %%pre +- Use upstream install script +- Increase required facter version to >= 1.5 + +* Tue Dec 16 2008 Todd Zullinger - 0.24.7-4 +- Remove redundant useradd from %%pre + +* Tue Dec 16 2008 Jeroen van Meeuwen - 0.24.7-3 +- New upstream version +- Set a static uid and gid (#472073, #471918, #471919) +- Add a conditional requirement on libselinux-ruby for Fedora >= 9 +- Add a dependency on ruby-augeas + +* Wed Oct 22 2008 Todd Zullinger - 0.24.6-1 +- Update to 0.24.6 +- Require ruby-shadow on Fedora and RHEL >= 5 +- Simplify Fedora/RHEL version checks for ruby(abi) and BuildArch +- Require chkconfig and initstripts for preun, post, and postun scripts +- Conditionally restart puppet in %%postun +- Ensure %%preun, %%post, and %%postun scripts exit cleanly +- Create puppet user/group according to Fedora packaging guidelines +- Quiet a few rpmlint complaints +- Remove useless %%pbuild macro +- Make specfile more like the Fedora/EPEL template + +* Mon Jul 28 2008 David Lutterkort - 0.24.5-1 +- Add /usr/bin/puppetdoc + +* Thu Jul 24 2008 Brenton Leanhardt +- New version +- man pages now ship with tarball +- examples/code moved to root examples dir in upstream tarball + +* Tue Mar 25 2008 David Lutterkort - 0.24.4-1 +- Add man pages (from separate tarball, upstream will fix to + include in main tarball) + +* Mon Mar 24 2008 David Lutterkort - 0.24.3-1 +- New version + +* Wed Mar 5 2008 David Lutterkort - 0.24.2-1 +- New version + +* Sat Dec 22 2007 David Lutterkort - 0.24.1-1 +- New version + +* Mon Dec 17 2007 David Lutterkort - 0.24.0-2 +- Use updated upstream tarball that contains yumhelper.py + +* Fri Dec 14 2007 David Lutterkort - 0.24.0-1 +- Fixed license +- Munge examples/ to make rpmlint happier + +* Wed Aug 22 2007 David Lutterkort - 0.23.2-1 +- New version + +* Thu Jul 26 2007 David Lutterkort - 0.23.1-1 +- Remove old config files + +* Wed Jun 20 2007 David Lutterkort - 0.23.0-1 +- Install one puppet.conf instead of old config files, keep old configs + around to ease update +- Use plain shell commands in install instead of macros + +* Wed May 2 2007 David Lutterkort - 0.22.4-1 +- New version + +* Thu Mar 29 2007 David Lutterkort - 0.22.3-1 +- Claim ownership of _sysconfdir/puppet (bz 233908) + +* Mon Mar 19 2007 David Lutterkort - 0.22.2-1 +- Set puppet's homedir to /var/lib/puppet, not /var/puppet +- Remove no-lockdir patch, not needed anymore + +* Mon Feb 12 2007 David Lutterkort - 0.22.1-2 +- Fix bogus config parameter in puppetd.conf + +* Sat Feb 3 2007 David Lutterkort - 0.22.1-1 +- New version + +* Fri Jan 5 2007 David Lutterkort - 0.22.0-1 +- New version + +* Mon Nov 20 2006 David Lutterkort - 0.20.1-2 +- Make require ruby(abi) and buildarch: noarch conditional for fedora 5 or + later to allow building on older fedora releases + +* Mon Nov 13 2006 David Lutterkort - 0.20.1-1 +- New version + +* Mon Oct 23 2006 David Lutterkort - 0.20.0-1 +- New version + +* Tue Sep 26 2006 David Lutterkort - 0.19.3-1 +- New version + +* Mon Sep 18 2006 David Lutterkort - 0.19.1-1 +- New version + +* Thu Sep 7 2006 David Lutterkort - 0.19.0-1 +- New version + +* Tue Aug 1 2006 David Lutterkort - 0.18.4-2 +- Use /usr/bin/ruby directly instead of /usr/bin/env ruby in + executables. Otherwise, initscripts break since pidof can't find the + right process + +* Tue Aug 1 2006 David Lutterkort - 0.18.4-1 +- New version + +* Fri Jul 14 2006 David Lutterkort - 0.18.3-1 +- New version + +* Wed Jul 5 2006 David Lutterkort - 0.18.2-1 +- New version + +* Wed Jun 28 2006 David Lutterkort - 0.18.1-1 +- Removed lsb-config.patch and yumrepo.patch since they are upstream now + +* Mon Jun 19 2006 David Lutterkort - 0.18.0-1 +- Patch config for LSB compliance (lsb-config.patch) +- Changed config moves /var/puppet to /var/lib/puppet, /etc/puppet/ssl + to /var/lib/puppet, /etc/puppet/clases.txt to /var/lib/puppet/classes.txt, + /etc/puppet/localconfig.yaml to /var/lib/puppet/localconfig.yaml + +* Fri May 19 2006 David Lutterkort - 0.17.2-1 +- Added /usr/bin/puppetrun to server subpackage +- Backported patch for yumrepo type (yumrepo.patch) + +* Wed May 3 2006 David Lutterkort - 0.16.4-1 +- Rebuilt + +* Fri Apr 21 2006 David Lutterkort - 0.16.0-1 +- Fix default file permissions in server subpackage +- Run puppetmaster as user puppet +- rebuilt for 0.16.0 + +* Mon Apr 17 2006 David Lutterkort - 0.15.3-2 +- Don't create empty log files in post-install scriptlet + +* Fri Apr 7 2006 David Lutterkort - 0.15.3-1 +- Rebuilt for new version + +* Wed Mar 22 2006 David Lutterkort - 0.15.1-1 +- Patch0: Run puppetmaster as root; running as puppet is not ready + for primetime + +* Mon Mar 13 2006 David Lutterkort - 0.15.0-1 +- Commented out noarch; requires fix for bz184199 + +* Mon Mar 6 2006 David Lutterkort - 0.14.0-1 +- Added BuildRequires for ruby + +* Wed Mar 1 2006 David Lutterkort - 0.13.5-1 +- Removed use of fedora-usermgmt. It is not required for Fedora Extras and + makes it unnecessarily hard to use this rpm outside of Fedora. Just + allocate the puppet uid/gid dynamically + +* Sun Feb 19 2006 David Lutterkort - 0.13.0-4 +- Use fedora-usermgmt to create puppet user/group. Use uid/gid 24. Fixed +problem with listing fileserver.conf and puppetmaster.conf twice + +* Wed Feb 8 2006 David Lutterkort - 0.13.0-3 +- Fix puppetd.conf + +* Wed Feb 8 2006 David Lutterkort - 0.13.0-2 +- Changes to run puppetmaster as user puppet + +* Mon Feb 6 2006 David Lutterkort - 0.13.0-1 +- Don't mark initscripts as config files + +* Mon Feb 6 2006 David Lutterkort - 0.12.0-2 +- Fix BuildRoot. Add dist to release + +* Tue Jan 17 2006 David Lutterkort - 0.11.0-1 +- Rebuild + +* Thu Jan 12 2006 David Lutterkort - 0.10.2-1 +- Updated for 0.10.2 Fixed minor kink in how Source is given + +* Wed Jan 11 2006 David Lutterkort - 0.10.1-3 +- Added basic fileserver.conf + +* Wed Jan 11 2006 David Lutterkort - 0.10.1-1 +- Updated. Moved installation of library files to sitelibdir. Pulled +initscripts into separate files. Folded tools rpm into server + +* Thu Nov 24 2005 Duane Griffin +- Added init scripts for the client + +* Wed Nov 23 2005 Duane Griffin +- First packaging