rpms/puppet/EL-5 puppet.spec,1.25,1.26

David Lutterkort lutter at fedoraproject.org
Mon Dec 15 11:24:28 UTC 2008


Author: lutter

Update of /cvs/pkgs/rpms/puppet/EL-5
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv24647/EL-5

Modified Files:
	puppet.spec 
Log Message:
Use fixed uid/gid pair across all active branches


Index: puppet.spec
===================================================================
RCS file: /cvs/pkgs/rpms/puppet/EL-5/puppet.spec,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- puppet.spec	23 Oct 2008 21:27:11 -0000	1.25
+++ puppet.spec	15 Dec 2008 11:23:57 -0000	1.26
@@ -145,10 +145,12 @@
 %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 -g puppet -d %{_localstatedir}/lib/puppet -s /sbin/nologin \
+useradd -r -u 52 -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




More information about the fedora-extras-commits mailing list