Skip to content

Commit

Permalink
replace to_yaml() with stdlib::to_yaml()
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
bastelfreak committed Sep 5, 2023
1 parent a7928ff commit 7ba6728
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/webhook/config.pp
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
}
}

0 comments on commit 7ba6728

Please sign in to comment.