diff options
author | John McCrae <john.mccrae@progress.com> | 2022-06-14 12:27:59 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-14 12:27:59 -0700 |
commit | a3ee2700a612536b75eebafdcb1376f25c8c0b47 (patch) | |
tree | 8442fb4b596053b50d98cbbc9a78ae4fa5f8719c | |
parent | 95e7189162584f3d131a8ca6d0889539808ad3ab (diff) | |
parent | 67547c824bc3cb79af12920603e27c2c164af215 (diff) | |
download | chef-a3ee2700a612536b75eebafdcb1376f25c8c0b47.tar.gz |
Merge pull request #12833 from hrak/fix/locale_resource
2 failures in the verify pipeline are known and unrelated to this code
-rw-r--r-- | lib/chef/resource/locale.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/locale.rb b/lib/chef/resource/locale.rb index 8d9280b20b..a57dd70975 100644 --- a/lib/chef/resource/locale.rb +++ b/lib/chef/resource/locale.rb @@ -113,7 +113,7 @@ class Chef requirements.assert(:all_actions) do |a| # RHEL/CentOS type platforms don't have locale-gen - a.assertion { shell_out("locale-gen") } + a.assertion { which("locale-gen") } a.failure_message(Chef::Exceptions::ProviderNotFound, "The locale resource requires the locale-gen tool") end end |