From 70a46a3bdf2ec6766a0f4a9d5c817a8b19f50384 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Tarti=C3=A8re?= Date: Thu, 8 Sep 2022 09:36:07 -1000 Subject: [PATCH] Drop support for Puppet 6 This module install gems using the puppet_gem provider in the gempath of the version of Ruby bundled with Puppet. Puppet 6 bundle Ruby 2.5 which has reached EoL on 2022-04-05, and the gems the module needs depend on gems that do not offer support for this version of Ruby anymore. This break CI and the situation has no reason to improve in the future, so stop advertising support for Puppet 6. --- metadata.json | 2 +- spec/setup_acceptance_node.pp | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) delete mode 100644 spec/setup_acceptance_node.pp diff --git a/metadata.json b/metadata.json index 678d9666b..d02c699e3 100644 --- a/metadata.json +++ b/metadata.json @@ -52,7 +52,7 @@ "requirements": [ { "name": "puppet", - "version_requirement": ">= 6.1.0 < 8.0.0" + "version_requirement": ">= 7.0.0 < 8.0.0" } ], "operatingsystem_support": [ diff --git a/spec/setup_acceptance_node.pp b/spec/setup_acceptance_node.pp deleted file mode 100644 index e00ca77c3..000000000 --- a/spec/setup_acceptance_node.pp +++ /dev/null @@ -1,6 +0,0 @@ -# Needed for os.distro.codebase fact on ubuntu 16/18 on puppet 6 -if $facts['os']['name'] == 'Ubuntu' and versioncmp($facts['puppetversion'], '7.0.0') < 0 { - package{'lsb-release': - ensure => present, - } -}