From eebd182d50165e405375f1063abd94cb5d19d867 Mon Sep 17 00:00:00 2001 From: Tim Meusel Date: Fri, 28 Jul 2023 19:53:21 +0200 Subject: [PATCH 1/2] require puppetlabs/stdlib 9.x The `ensure_packages()` function is deprecated. The successor is `stdlib::ensure_packages(). --- manifests/providers.pp | 2 +- metadata.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/manifests/providers.pp b/manifests/providers.pp index a895aab4c..a08047de5 100644 --- a/manifests/providers.pp +++ b/manifests/providers.pp @@ -16,7 +16,7 @@ String $oauth_package = $foreman::providers::params::oauth_package, ) inherits foreman::providers::params { if $oauth { - ensure_packages([$oauth_package]) + stdlib::ensure_packages([$oauth_package]) anchor { 'foreman::providers::oauth': } # lint:ignore:anchor_resource Anchor <| title == 'foreman::repo' |> -> Package[$oauth_package] -> Anchor['foreman::providers::oauth'] } diff --git a/metadata.json b/metadata.json index 9c2870c6c..99005ed40 100644 --- a/metadata.json +++ b/metadata.json @@ -34,7 +34,7 @@ }, { "name": "puppetlabs/stdlib", - "version_requirement": ">= 4.25.0 < 9.0.0" + "version_requirement": ">= 9.0.0 < 10.0.0" }, { "name": "puppet/extlib", From c266b2a768908b564b634c44b781678a5bd57c56 Mon Sep 17 00:00:00 2001 From: Tim Meusel Date: Fri, 28 Jul 2023 19:54:42 +0200 Subject: [PATCH 2/2] puppetlabs/concat: Allow 9.x --- metadata.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metadata.json b/metadata.json index 99005ed40..35ef40c64 100644 --- a/metadata.json +++ b/metadata.json @@ -26,7 +26,7 @@ }, { "name": "puppetlabs/concat", - "version_requirement": ">= 1.0.0 < 9.0.0" + "version_requirement": ">= 1.0.0 < 10.0.0" }, { "name": "puppetlabs/postgresql",