diff options
| author | Luke Kanies <luke@madstop.com> | 2009-01-07 20:43:05 +0100 |
|---|---|---|
| committer | Luke Kanies <luke@madstop.com> | 2009-01-07 20:43:05 +0100 |
| commit | 15d43608593e3abeae52e773db352950b6ca7655 (patch) | |
| tree | 1bd495d284aa0705014deece2d9533d4a220b1af | |
| parent | 8befc18917d8a6f9c6a1eb041457e14ad052bee4 (diff) | |
| parent | 7403330c4f63c290ba3cc5992706a3f0b1c9caa0 (diff) | |
| download | puppet-15d43608593e3abeae52e773db352950b6ca7655.tar.gz puppet-15d43608593e3abeae52e773db352950b6ca7655.tar.xz puppet-15d43608593e3abeae52e773db352950b6ca7655.zip | |
Merge commit 'turnbull/0.24.x' into 0.24.x
| -rw-r--r-- | CHANGELOG | 3 | ||||
| -rw-r--r-- | conf/redhat/puppet.spec | 23 |
2 files changed, 23 insertions, 3 deletions
@@ -1,3 +1,6 @@ +0.25.x + Updated Red Hat spec file 0.24.7 + 0.24.7 Fixed #1804 - Added VDev and MultiVDev properties to the ZPool type diff --git a/conf/redhat/puppet.spec b/conf/redhat/puppet.spec index 367836abe..5d95fddd0 100644 --- a/conf/redhat/puppet.spec +++ b/conf/redhat/puppet.spec @@ -2,12 +2,14 @@ %define confdir conf/redhat Name: puppet -Version: 0.24.6 -Release: 1%{?dist} +Version: 0.24.7 +Release: 3%{?dist} Summary: A network tool for managing many disparate systems License: GPLv2+ URL: http://puppet.reductivelabs.com/ Source0: http://reductivelabs.com/downloads/puppet/%{name}-%{version}.tgz +Group: System Environment/Base + BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: ruby >= 1.8.1 @@ -18,8 +20,14 @@ Requires: ruby(abi) = 1.8 Requires: ruby-shadow %endif +# Pull in libselinux-ruby where it is available +%if 0%{?fedora} >=9 +Requires: libselinux-ruby +%endif + Requires: facter >= 1.1.4 Requires: ruby >= 1.8.1 +Requires: ruby-augeas Requires(pre): shadow-utils Requires(post): chkconfig Requires(preun): chkconfig @@ -142,9 +150,12 @@ touch %{buildroot}%{_sysconfdir}/puppet/puppetd.conf %doc %{_mandir}/man8/puppetmasterd.8.gz %doc %{_mandir}/man8/puppetrun.8.gz +# Fixed uid/gid were assigned in bz 472073 (Fedora), 471918 (RHEL-5), +# and 471919 (RHEL-4) %pre -getent group puppet >/dev/null || groupadd -r puppet +getent group puppet >/dev/null || groupadd -r puppet -g 52 getent passwd puppet >/dev/null || \ +useradd -r -u 52 -g puppet -d %{_localstatedir}/lib/puppet -s /sbin/nologin \ useradd -r -g puppet -d %{_localstatedir}/lib/puppet -s /sbin/nologin \ -c "Puppet" puppet || : # ensure that old setups have the right puppet home dir @@ -184,6 +195,12 @@ fi rm -rf %{buildroot} %changelog +* Tue Dec 16 2008 Jeroen van Meeuwen <kanarip@kanarip.com> - 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 <tmz@pobox.com> - 0.24.6-1 - Update to 0.24.6 - Require ruby-shadow on Fedora and RHEL >= 5 |
