From 83a0976b2a3af35a07b5a02d03a6aac0b0933b59 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Thu, 14 Aug 2025 18:26:44 +0900 Subject: [PATCH] Switch to namespace sdtlib functions puppetlabs-stdlib deprecated the existing functions in favor of the new stdlib:: functions in 9.0.0. The version was released a few years ago and now we assume we are ready to adopt to the migration. Change-Id: I4cf5919830d3237f25f9b7d719174aa0f93bdfaf Signed-off-by: Takashi Kajinami --- manifests/init.pp | 2 +- metadata.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/manifests/init.pp b/manifests/init.pp index ea1aad8..a190e3e 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -347,7 +347,7 @@ class cloudkitty( file {'metrics.yml': ensure => present, path => $::cloudkitty::params::metrics_yaml, - content => to_yaml($metrics_config), + content => stdlib::to_yaml($metrics_config), mode => '0640', owner => 'root', group => $::cloudkitty::params::group, diff --git a/metadata.json b/metadata.json index a316996..967e117 100644 --- a/metadata.json +++ b/metadata.json @@ -11,7 +11,7 @@ }, { "name": "puppetlabs/stdlib", - "version_requirement": ">=5.0.0 <10.0.0" + "version_requirement": ">=9.0.0 <10.0.0" }, { "name": "openstack/openstacklib",