]> review.fuel-infra Code Review - puppet-modules/puppetlabs-apt.git/commit
(maint) Fix resource ordering when apt-transport-https is needed apt-transport-https-ordering
authorRomain Tartière <romain@blogreen.org>
Thu, 17 Feb 2022 00:54:06 +0000 (14:54 -1000)
committerRomain Tartière <romain@blogreen.org>
Thu, 17 Feb 2022 00:54:06 +0000 (14:54 -1000)
commit0ca3c30dec52c6097713db2f8985de7b0f41852b
tree4eb5403fbecf2118f19a567cf999e3584d81c3bf
parent3bcbd1557b4ee0c964cc2dbbc936af00b0ea1316
(maint) Fix resource ordering when apt-transport-https is needed

On older Debian / Ubuntu releases, the apt-transport-https package is
required to download from an https:// source.  This package dependency
is ensured by ensure_packages() but no ordering is set, possibly
resulting of the resource being applied in a non-working order:

1. Setup a https:// source
2. Trigger apt update (this will fail)
3. Install apt-transport-https

Add a dependency to ensure apt-transport-https is installed when the
repositories are updated.
manifests/source.pp