From e46b278a6c9acb8d3b48b5db487b52bbc8a9485c Mon Sep 17 00:00:00 2001 From: Tim Smith Date: Tue, 15 Dec 2020 16:44:45 -0800 Subject: 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 --- lib/chef/resource/locale.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/chef') 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. -- cgit v1.2.1