Skip to content

Commit

Permalink
fix stdlib deprecations for ensure_packages()
Browse files Browse the repository at this point in the history
  • Loading branch information
Lightning- committed Jul 23, 2024
1 parent e2061ea commit 820e7f7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion manifests/install.pp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
before => [Python::Pip[$thumbor::package_name], Python::Pip[[$thumbor::plugins]]],
}
}
ensure_packages($thumbor::additional_packages)
stdlib::ensure_packages($thumbor::additional_packages)

$venv = $thumbor::venv_path ? {
undef => 'system',
Expand Down
4 changes: 2 additions & 2 deletions spec/acceptance/thumbor_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
apply_manifest(%(
# be_listening() tests will fail if `ss` is not installed.
if ($facts['os']['family'] == 'RedHat') and (versioncmp($facts['os']['release']['major'], '8') >= 0) {
ensure_packages('iproute')
stdlib::ensure_packages('iproute')
}
# cURL is needed to send requests to Thumbor
ensure_packages('curl')
stdlib::ensure_packages('curl')
), catch_failures: true)
end
context 'with default parameters' do
Expand Down

0 comments on commit 820e7f7

Please sign in to comment.