[Pkg-puppet-devel] Bug#854487: Bug#854487: Binary-only package puppet was silently converted into a package shipping and running a service

Russ Allbery rra at debian.org
Wed Feb 8 03:10:26 UTC 2017


Alexander Kurtz <alexander at kurtz.be> writes:

> However, now somebody decided, that it's a good idea to drop the
> puppet-agent package and move the service file back to the puppet
> package [1]. This is bad, very, very bad. Here's why:

I don't think this is the problem.  I think the problem is that the
service is enabled by default.

There's no harm in having everything in one package provided that the
service defaults to *disabled*, not enabled.  My recollection is that this
is even what the puppet-agent package did, although maybe I'm
misremembering.  But it looks like the default installation logic may have
been lost with the merge into a single puppet package.

For systemd, I think the fix may be as easy as using --no-enable in a
dh_systemd_enable override.  I'm not sure how this used to be done for
dh_installinit.

(Completely agreed that having the daemon start and try to use the server
named "puppet" as a Puppet master on package installation is pretty bad.)

-- 
Russ Allbery (rra at debian.org)               <http://www.eyrie.org/~eagle/>



More information about the Pkg-puppet-devel mailing list