Use upstream puppet modules for ubuntu24+.
This is how we do it in modern debian so it makes sense to do it on modern ubuntu as well.
This commit is contained in:
parent
5d88e66379
commit
bc9d1dc960
|
@ -13,7 +13,7 @@ if ! test -f "${stamp}" -a -f /usr/bin/puppet; then
|
||||||
. /etc/os-release
|
. /etc/os-release
|
||||||
|
|
||||||
# Note: in posix shell, string comparison is done with a single =
|
# Note: in posix shell, string comparison is done with a single =
|
||||||
if [ "${ID}" = "debian" ] && [ "${VERSION_ID}" -ge 12 ]; then
|
if [ "${ID}" = "debian" ] && [ "${VERSION_ID}" -ge 12 ] || ([ "${ID}" = "ubuntu" ] && $(dpkg --compare-versions ${VERSION_ID} ge 24.04)) ; then
|
||||||
apt-get -y install \
|
apt-get -y install \
|
||||||
cron \
|
cron \
|
||||||
puppet-module-camptocamp-augeas \
|
puppet-module-camptocamp-augeas \
|
||||||
|
|
Loading…
Reference in a new issue