From 4b98242029b05051f3ffdfb3e1e568c455093199 Mon Sep 17 00:00:00 2001 From: Joshua Hoblitt Date: Tue, 19 Mar 2024 11:15:42 -0700 Subject: [PATCH] use stdlib::ensure_packages() and require stdlib >= 9 Resolves this warning: Warning: This function is deprecated, please use stdlib::ensure_packages instead. at ["/etc/puppetlabs/code/environments/production/modules/ccs_software/manifests/pre.pp", 16]:["/etc/puppetlabs/code/environments/production/modules/ccs_software/manifests/init.pp", 119] --- manifests/pre.pp | 2 +- metadata.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/manifests/pre.pp b/manifests/pre.pp index 7c779ba..49209e2 100644 --- a/manifests/pre.pp +++ b/manifests/pre.pp @@ -13,5 +13,5 @@ 'wget', ] - ensure_packages($deps) + stdlib::ensure_packages($deps) } diff --git a/metadata.json b/metadata.json index d39cbcb..2b5621f 100644 --- a/metadata.json +++ b/metadata.json @@ -8,7 +8,7 @@ "dependencies": [ { "name": "puppetlabs/stdlib", - "version_requirement": ">= 5.0.0 < 10.0.0" + "version_requirement": ">= 9.0.0 < 10.0.0" }, { "name": "puppetlabs/vcsrepo",