Skip to content

Commit

Permalink
Merge pull request #54 from SUNET/pahol-ubuntu24
Browse files Browse the repository at this point in the history
Ubuntu-24 fixes
  • Loading branch information
theseal committed Jun 19, 2024
2 parents 5d88e66 + 4231b4a commit 5518048
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion global/overlay/etc/puppet/hiera.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ hierarchy:
pkcs7_public_key: /etc/hiera/eyaml/public_certkey.pkcs7.pem

- name: "Overrides per distribution"
path: "dist_%{::lsbdistcodename}_override.yaml"
path: "dist_%{facts.os.distro.codename}_override.yaml"

- name: "Data common to whole environment"
path: "common.yaml"
2 changes: 1 addition & 1 deletion global/pre-tasks.d/030puppet
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ if ! test -f "${stamp}" -a -f /usr/bin/puppet; then
. /etc/os-release

# 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 \
cron \
puppet-module-camptocamp-augeas \
Expand Down

0 comments on commit 5518048

Please sign in to comment.