[Pkg-puppet-devel] Vendoring core modules in puppet-agent
Jérôme Charaoui
jerome at riseup.net
Thu Feb 8 13:55:12 GMT 2024
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.
Thoughts?
-- Jérôme
More information about the Pkg-puppet-devel
mailing list