summaryrefslogtreecommitdiffstats
path: root/puppet.spec
diff options
context:
space:
mode:
Diffstat (limited to 'puppet.spec')
-rw-r--r--puppet.spec19
1 files changed, 11 insertions, 8 deletions
diff --git a/puppet.spec b/puppet.spec
index 718df95..4fd015d 100644
--- a/puppet.spec
+++ b/puppet.spec
@@ -2,12 +2,9 @@
%define confdir conf/redhat
Name: puppet
-Version: 0.24.6
+Version: 0.24.7
Release: 1%{?dist}
Summary: A network tool for managing many disparate systems
-
-Group: System Environment/Base
-
License: GPLv2+
URL: http://puppet.reductivelabs.com/
Source0: http://reductivelabs.com/downloads/puppet/%{name}-%{version}.tgz
@@ -21,6 +18,11 @@ 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(pre): shadow-utils
@@ -145,12 +147,10 @@ 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 -g 52
+getent group puppet >/dev/null || groupadd -r puppet
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
if [ $1 -gt 1 ] ; then
@@ -189,6 +189,9 @@ fi
rm -rf %{buildroot}
%changelog
+* Tue Dec 16 2008 Jeroen van Meeuwen <kanarip@kanarip.com> - 0.24.7-1
+- New upstream version
+
* 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