[Pkg-puppet-devel] Bug#527381: Bug#527381: purge fails
Russ Allbery
rra at debian.org
Fri May 8 22:08:15 UTC 2009
Stig Sandbeck Mathisen <ssm at debian.org> writes:
> The "deluser" command is in the non-essential "adduser" package. The
> "puppet" package assumes this is present on install and purge, which
> may not be the case.
>
> I've attached a patch to fix this by:
>
> * Moving adduser from Depends: to Pre-Depends
This requires debian-devel discussion and approval.
Why is puppet calling adduser in preinst anyway? Usually this can be
done in postinst.
> * Checking if "userdel" and "groupdel" is available during purge, and
> only removing users if they are.
Yup, this is the right solution.
--
Russ Allbery (rra at debian.org) <http://www.eyrie.org/~eagle/>
More information about the Pkg-puppet-devel
mailing list