diff options
author | David Lutterkort <lutter@fedoraproject.org> | 2008-12-15 11:23:57 +0000 |
---|---|---|
committer | David Lutterkort <lutter@fedoraproject.org> | 2008-12-15 11:23:57 +0000 |
commit | 55b26e739146ce03428f9996f69919616f414ebe (patch) | |
tree | 3a8d096988eaf90efcf9c4ba6b7cc9611e20e941 | |
parent | dc2322331a3f143b1737b61f862f9d12ed063d2d (diff) | |
download | puppet-package-55b26e739146ce03428f9996f69919616f414ebe.tar.gz puppet-package-55b26e739146ce03428f9996f69919616f414ebe.tar.xz puppet-package-55b26e739146ce03428f9996f69919616f414ebe.zip |
Use fixed uid/gid pair across all active branches
-rw-r--r-- | puppet.spec | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/puppet.spec b/puppet.spec index e098823..718df95 100644 --- a/puppet.spec +++ b/puppet.spec @@ -145,10 +145,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 -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 |