[Pkg-puppet-devel] Vendoring core modules in puppet-agent

Antoine Beaupré anarcat at debian.org
Thu Feb 8 15:16:51 GMT 2024


On 2024-02-08 08:55:12, Jérôme Charaoui wrote:
> Hi all,
>
> So in the wake of #1060084 I'm considering vendoring the Puppet agent 
> core modules into the puppet-agent directly. This would mean 
> puppet-agent would be modified and become a multi-tarball source package 
> (via an appropriate uscan configuration in d/watch).
>
> The list of vendored modules would be the same as those shipped in the 
> puppetlabs packages:
>
> - https://github.com/puppetlabs/puppetlabs-augeas_core
> - https://github.com/puppetlabs/puppetlabs-cron_core
> - https://github.com/puppetlabs/puppetlabs-host_core
> - https://github.com/puppetlabs/puppetlabs-mailalias_core
> - https://github.com/puppetlabs/puppetlabs-mount_core
> - https://github.com/puppetlabs/puppetlabs-scheduled_task
> - https://github.com/puppetlabs/puppetlabs-sshkeys_core
> - https://github.com/puppetlabs/puppetlabs-yumrepo_core
> - https://github.com/puppetlabs/puppetlabs-zfs_core
> - https://github.com/puppetlabs/puppetlabs-zone_core
>
> This would also lead to the removal of the following packages from trixie:
>
> - puppet-module-puppetlabs-augeas-core
> - puppet-module-puppetlabs-cron-core
> - puppet-module-puppetlabs-host-core
> - puppet-module-puppetlabs-mailalias-core
> - puppet-module-puppetlabs-mount-core
> - puppet-module-puppetlabs-selinux-core
> - puppet-module-puppetlabs-sshkeys-core
>
> I think this is the most straightforward way to proceed.
>
> The alternative would be to modify all the existing core packages to 
> install in '/usr/share/puppet/vendor_modules' instead of 
> '/usr/share/puppet/modules' and somehow find a way to manage this 
> transition (because those packages are members of the 
> update-alternatives club), in addition to the need to package and upload 
> the missing modules.

No objection on "vendoring" (if it's a multi-tarball, is it really
vendoring?)... I don't quite see the use case of installing those
packages on their own, without the agent, anyway.

A.

-- 
Nature hides her secret because of her essential loftiness, but not by
means of ruse.
                       - Albert Einstein



More information about the Pkg-puppet-devel mailing list