Skip to content

Commit

Permalink
require puppetlabs/stdlib 9.x
Browse files Browse the repository at this point in the history
The `ensure_packages()` function is deprecated. The successor is
`stdlib::ensure_packages().
  • Loading branch information
bastelfreak committed Jul 28, 2023
1 parent a4157ab commit b335b1a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion manifests/providers.pp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
String $oauth_package = $foreman::providers::params::oauth_package,
) inherits foreman::providers::params {
if $oauth {
ensure_packages([$oauth_package])
stdlib::ensure_packages([$oauth_package])
anchor { 'foreman::providers::oauth': } # lint:ignore:anchor_resource
Anchor <| title == 'foreman::repo' |> -> Package[$oauth_package] -> Anchor['foreman::providers::oauth']
}
Expand Down
2 changes: 1 addition & 1 deletion metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
},
{
"name": "puppetlabs/stdlib",
"version_requirement": ">= 4.25.0 < 9.0.0"
"version_requirement": ">= 9.0.0 < 10.0.0"
},
{
"name": "puppet/extlib",
Expand Down

0 comments on commit b335b1a

Please sign in to comment.