summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-12-15 16:44:45 -0800
committerTim Smith <tsmith84@gmail.com>2020-12-15 16:44:45 -0800
commite46b278a6c9acb8d3b48b5db487b52bbc8a9485c (patch)
treed0da66883a9ae062e2a2479cfc54c3f0df501d69
parent9a53f7f0cb1de9aa82ab3eb228b9fa739a32fdd8 (diff)
downloadchef-e46b278a6c9acb8d3b48b5db487b52bbc8a9485c.tar.gz
locale: Update the locale-gen timeout to 1800s
This command can take a while to run so let's give it all the time it needs to complete. Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--lib/chef/resource/locale.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/locale.rb b/lib/chef/resource/locale.rb
index 5e4a63c06b..fafa1a5caa 100644
--- a/lib/chef/resource/locale.rb
+++ b/lib/chef/resource/locale.rb
@@ -125,7 +125,7 @@ class Chef
# @raise [Mixlib::ShellOut::ShellCommandFailed] not a supported language or locale
#
def generate_locales
- shell_out!("locale-gen #{unavailable_locales.join(" ")}")
+ shell_out!("locale-gen #{unavailable_locales.join(" ")}", timeout: 1800)
end
# Sets the system locale for the current computer.