[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, master, updated. debian/0.24.7-1-98-gf19c0e5

James Turnbull james at lovedthanlost.net
Wed Apr 8 21:48:01 UTC 2009


The following commit has been merged in the master branch:
commit 7403330c4f63c290ba3cc5992706a3f0b1c9caa0
Author: James Turnbull <james at lovedthanlost.net>
Date:   Tue Dec 16 22:54:35 2008 +1100

    Updated Red Hat spec file 0.24.7

diff --git a/CHANGELOG b/CHANGELOG
index 99768cb..30fc1c6 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -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 367836a..5d95fdd 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 at 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 at pobox.com> - 0.24.6-1
 - Update to 0.24.6
 - Require ruby-shadow on Fedora and RHEL >= 5

-- 
Puppet packaging for Debian



More information about the Pkg-puppet-devel mailing list