From 7ba6728cfdcc7a53e5acdd576f4656449ff89d74 Mon Sep 17 00:00:00 2001 From: Tim 'bastelfreak' Meusel Date: Tue, 5 Sep 2023 15:08:58 +0200 Subject: [PATCH] replace to_yaml() with stdlib::to_yaml() sine puppetlabs/stdlib 9 to_yaml() is deprecated and stdlib::to_yaml() is the successor. This isn't a breaking change because we already use stdlib::to_yaml() in other places in this module. --- manifests/webhook/config.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/webhook/config.pp b/manifests/webhook/config.pp index d3fecb55..6b1fff62 100644 --- a/manifests/webhook/config.pp +++ b/manifests/webhook/config.pp @@ -6,7 +6,7 @@ file { 'webhook.yml': ensure => $r10k::webhook::config_ensure, path => $r10k::webhook::config_path, - content => to_yaml($r10k::webhook::config), + content => stdlib::to_yaml($r10k::webhook::config), notify => Service['webhook-go'], } }