From 50edee9710e9e8d73e0a8a34117a6be1c9615887 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Tarti=C3=A8re?= Date: Sun, 27 Mar 2022 17:13:22 -1000 Subject: [PATCH] Fix acceptance tests on Ubuntu 18.04 with Puppet 6 --- spec/setup_acceptance_node.pp | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 spec/setup_acceptance_node.pp diff --git a/spec/setup_acceptance_node.pp b/spec/setup_acceptance_node.pp new file mode 100644 index 00000000..9476c7b7 --- /dev/null +++ b/spec/setup_acceptance_node.pp @@ -0,0 +1,6 @@ +# Needed for facter to fetch facts used by the postgresql module +if fact('os.name') == 'Ubuntu' and fact('os.release.full') == '18.04' { + package{ 'lsb-release': + ensure => present, + } +}