commit
5518048d79
|
@ -21,7 +21,7 @@ hierarchy:
|
||||||
pkcs7_public_key: /etc/hiera/eyaml/public_certkey.pkcs7.pem
|
pkcs7_public_key: /etc/hiera/eyaml/public_certkey.pkcs7.pem
|
||||||
|
|
||||||
- name: "Overrides per distribution"
|
- name: "Overrides per distribution"
|
||||||
path: "dist_%{::lsbdistcodename}_override.yaml"
|
path: "dist_%{facts.os.distro.codename}_override.yaml"
|
||||||
|
|
||||||
- name: "Data common to whole environment"
|
- name: "Data common to whole environment"
|
||||||
path: "common.yaml"
|
path: "common.yaml"
|
|
@ -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