[Pkg-puppet-devel] Bug#1030323: /etc/default/puppet refers to non-existent /etc/init.d/puppet-agent

Jérôme Charaoui jerome at riseup.net
Thu Feb 2 22:38:05 GMT 2023


Le 2023-02-02 à 16 h 20, Antoine Beaupre a écrit :
> Package: puppet-agent
> Version: 7.22.0-3
> Severity: normal
> 
> Today's upgrade suggested this patch to the configuration file:
> 
> Configuration file '/etc/default/puppet'
>   ==> File on system created by you or by a script.
>   ==> File also in package provided by package maintainer.
>     What would you like to do about it ?  Your options are:
>      Y or I  : install the package maintainer's version
>      N or O  : keep your currently-installed version
>        D     : show the differences between the versions
>        Z     : start a shell to examine the situation
>   The default action is to keep your current version.
> *** puppet (Y/I/N/O/D/Z) [default=N] ? d
> --- /etc/default/puppet 2022-09-29 12:50:59.011237328 -0400
> +++ /etc/default/puppet.dpkg-new        2023-01-29 10:45:20.000000000 -0500
> @@ -1 +1,4 @@
> -START=no
> +# Defaults for puppet - sourced by /etc/init.d/puppet
> +
> +# Startup options
> +DAEMON_OPTS=""
> 
> Yet that file doesn't exist:
> 
> cat: /etc/init.d/puppet: No such file or directory
> 
> The init file is actually /etc/init.d/puppet-agent now, so the default
> file needs to be corrected.

Actually, this is most likely a manifestation of #1030212: the confffile 
/etc/init.d/puppet-agent should have been renamed to /etc/init.d/puppet 
but it didn't happen because I messed up as described in the bug report.

The service name (both sysv and systemd) is indeed supposed to be 
"puppet" rather than "puppet-agent". The change was implemented in the 
interest of cross-platform compatibility.

-- Jérôme



More information about the Pkg-puppet-devel mailing list