Log the correct command_timeout value

For the no-retry_actions we need to log the correct, longer, timeout.

Change-Id: I035c1eee84f0db5f04e3b63f8bb12a13738d4327
This commit is contained in:
Matt Fischer 2016-03-31 10:20:05 -06:00
parent 0c7003c37a
commit adb0b1d012
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ class Puppet::Provider::Openstack < Puppet::Provider
openstack_command *args
end
rescue Timeout::Error
raise Puppet::ExecutionFailure, "Command: 'openstack #{args.inspect}' has been running for more then #{command_timeout} seconds!"
raise Puppet::ExecutionFailure, "Command: 'openstack #{args.inspect}' has been running for more then #{command_timeout(action)} seconds!"
end
end