summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2021-01-05 19:54:27 -0800
committerGitHub <noreply@github.com>2021-01-05 19:54:27 -0800
commitf0524b72fa06870643d5d016b1e384aa8437db54 (patch)
treeac2e05b08f0ca3be92c60838b5d4106aa196e4c1
parente7c996122c9bc3d2ff91fdef478962eb04bf632a (diff)
parent00248587200b1d6c9da1fbdc36790dcc5a79e052 (diff)
downloadchef-f0524b72fa06870643d5d016b1e384aa8437db54.tar.gz
Merge pull request #10844 from chef/locale_15
locale: Update the locale-gen timeout to 1800s
-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 4914b88168..243fb813ad 100644
--- a/lib/chef/resource/locale.rb
+++ b/lib/chef/resource/locale.rb
@@ -97,7 +97,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
# Updates system locale by appropriately writing them in /etc/locale.conf