From 2b372df7038a268eee31372f62e8cf6be989b09e Mon Sep 17 00:00:00 2001 From: luke Date: Thu, 24 May 2007 19:17:23 +0000 Subject: Updating the exec docs to specify that the timeout is in seconds git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2530 980ebf18-57e1-0310-9a29-db15c13687c0 --- lib/puppet/type/exec.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/puppet/type/exec.rb b/lib/puppet/type/exec.rb index 79c9ff999..e5071b484 100755 --- a/lib/puppet/type/exec.rb +++ b/lib/puppet/type/exec.rb @@ -236,7 +236,8 @@ module Puppet newparam(:timeout) do desc "The maximum time the command should take. If the command takes longer than the timeout, the command is considered to have failed - and will be stopped. Use any negative number to disable the timeout." + and will be stopped. Use any negative number to disable the timeout. + The time is specified in seconds." munge do |value| value = value.shift if value.is_a?(Array) -- cgit