Merge "Keep the system locale in the openstack command."

This commit is contained in:
Zuul 2019-03-12 12:34:41 +00:00 committed by Gerrit Code Review
commit 0bce7c13c5
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ class Puppet::Provider::Openstack < Puppet::Provider
begin
action = args[1]
Timeout.timeout(command_timeout(action)) do
openstack_command *args
execute([command(:openstack_command)] + args, override_locale: false)
end
rescue Timeout::Error
raise Puppet::ExecutionFailure, "Command: 'openstack #{args.inspect}' has been running for more than #{command_timeout(action)} seconds"