diff options
author | John McCrae <john.mccrae@progress.com> | 2022-06-14 12:32:03 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-14 12:32:03 -0700 |
commit | b69e7e31615c1b62cd3b168f001a956598231763 (patch) | |
tree | 7e4de2f0c07f78e1c77af4482076772d63bf7703 | |
parent | 257b7319a49206dc8f2ff4579f32a71b73e16784 (diff) | |
parent | 32721f5909ece502ff5edd23d018cc56ff0b3a86 (diff) | |
download | chef-b69e7e31615c1b62cd3b168f001a956598231763.tar.gz |
Merge pull request #12905 from hrak/fix/locale_chef17
Signed-off-by: John McCrae <john.mccrae@progress.com>
-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 90377ef93a..27f7cda2f7 100644 --- a/lib/chef/resource/locale.rb +++ b/lib/chef/resource/locale.rb @@ -114,7 +114,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 |