summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-12-15 16:44:45 -0800
committerTim Smith <tsmith84@gmail.com>2021-01-05 19:35:44 -0800
commit00248587200b1d6c9da1fbdc36790dcc5a79e052 (patch)
tree1ef9d7f00f1d93eb0066ef8ebf5e19d46fcf8797
parente18cb90f7db932bf57a786e8a40c7dedc95837d5 (diff)
downloadchef-00248587200b1d6c9da1fbdc36790dcc5a79e052.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 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