From 4204b8b46d31bb871bc6183bd224c92fef688b9b Mon Sep 17 00:00:00 2001 From: Steve Traylen Date: Sat, 10 Jun 2023 20:20:12 +0200 Subject: [PATCH] Avoid deprecation of ensure_package With puppetlabs-stdlib version 9: ``` juin 10 20:18:41 isaac puppet[23883]: Warning: This function is deprecated, please use stdlib::ensure_packages instead. at ["/etc/puppetlabs/code/environments/production/modules/mit_krb5/manifests/install.pp", 32]:["/etc/puppetlabs/code/environments/production/site.pp", 15] ``` --- manifests/install.pp | 2 +- metadata.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/manifests/install.pp b/manifests/install.pp index 56b6d4f..014e8fc 100644 --- a/manifests/install.pp +++ b/manifests/install.pp @@ -29,5 +29,5 @@ 'Suse' => ['krb5-client'], } } - ensure_packages($install) + stdlib::ensure_packages($install) } diff --git a/metadata.json b/metadata.json index 249fd2c..2ecc57f 100644 --- a/metadata.json +++ b/metadata.json @@ -3,7 +3,7 @@ "dependencies": [ { "name": "puppetlabs/stdlib", - "version_requirement": ">=4.13.0 <9.0.0" + "version_requirement": ">=9.0.0 <10.0.0" }, { "name": "puppetlabs/concat",