diff --git a/lib/puppet/provider/openstack.rb b/lib/puppet/provider/openstack.rb index 0240ce4b..7397b0d1 100644 --- a/lib/puppet/provider/openstack.rb +++ b/lib/puppet/provider/openstack.rb @@ -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"