Skip to content

Commit

Permalink
Avoid deprecation of ensure_package
Browse files Browse the repository at this point in the history
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]
```
  • Loading branch information
traylenator committed Jun 10, 2023
1 parent c6e438a commit 4204b8b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion manifests/install.pp
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@
'Suse' => ['krb5-client'],
}
}
ensure_packages($install)
stdlib::ensure_packages($install)
}
2 changes: 1 addition & 1 deletion metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 4204b8b

Please sign in to comment.