summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTodd Zullinger <tmz@fedoraproject.org>2008-12-16 22:46:36 +0000
committerTodd Zullinger <tmz@fedoraproject.org>2008-12-16 22:46:36 +0000
commitc0270277a4bd091371c9712f0c14bcd0bb13513b (patch)
treecc0502035b7cbec1fbcea48a7ab3aadc217c444e
parent79c31eb8eb06dfe4ad1e630d8e66c646ba97c302 (diff)
downloadpuppet-package-c0270277a4bd091371c9712f0c14bcd0bb13513b.tar.gz
puppet-package-c0270277a4bd091371c9712f0c14bcd0bb13513b.tar.xz
puppet-package-c0270277a4bd091371c9712f0c14bcd0bb13513b.zip
Remove redundant useradd from %%prepuppet-0_24_7-4_fc11
-rw-r--r--puppet.spec6
1 files changed, 4 insertions, 2 deletions
diff --git a/puppet.spec b/puppet.spec
index 5d95fdd..a4c8bf1 100644
--- a/puppet.spec
+++ b/puppet.spec
@@ -3,7 +3,7 @@
Name: puppet
Version: 0.24.7
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: A network tool for managing many disparate systems
License: GPLv2+
URL: http://puppet.reductivelabs.com/
@@ -156,7 +156,6 @@ touch %{buildroot}%{_sysconfdir}/puppet/puppetd.conf
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
if [ $1 -gt 1 ] ; then
@@ -195,6 +194,9 @@ fi
rm -rf %{buildroot}
%changelog
+* Tue Dec 16 2008 Todd Zullinger <tmz@pobox.com> - 0.24.7-4
+- Remove redundant useradd from %%pre
+
* 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)