Skip to content

Commit

Permalink
use stdlib::ensure_packages() and require stdlib >= 9
Browse files Browse the repository at this point in the history
Resolves this warning:

    Warning: This function is deprecated, please use stdlib::ensure_packages instead. at ["/etc/puppetlabs/code/environments/production/modules/ccs_software/manifests/pre.pp", 16]:["/etc/puppetlabs/code/environments/production/modules/ccs_software/manifests/init.pp", 119]
  • Loading branch information
jhoblitt committed Mar 19, 2024
1 parent 33d4da0 commit 086e1af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion manifests/pre.pp
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@
'wget',
]

ensure_packages($deps)
stdlib::ensure_packages($deps)
}
2 changes: 1 addition & 1 deletion metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"dependencies": [
{
"name": "puppetlabs/stdlib",
"version_requirement": ">= 5.0.0 < 10.0.0"
"version_requirement": ">= 9.0.0 < 10.0.0"
},
{
"name": "puppetlabs/vcsrepo",
Expand Down

0 comments on commit 086e1af

Please sign in to comment.