So I knew the script took a while but I thought to myself: "No way does it 
take 5 minutes." Sure enough I dropped the timeout and it finishes. 312 
seconds...
 
Also I understand now that the log is posted in full AFTER the script runs, 
so that's why I wasn't seeing any of the echo outputs at all after the 
timeout fail.
 
I needed that second brain to see a goof like that, highly appriciate 
it Andreas.

On Thursday, November 21, 2013 10:33:41 AM UTC-8, Andreas Ntaflos wrote:

> On 2013-11-21 19:08, Daniel Lyons wrote: 
> > We've got a decently complicated .sh script used to set up oracle 
> > database, inlcuding partioning and the like. If I attempt to run it 
> > through puppet the script will end after 300 seconds as timed out. To 
> > test a simpler case I just made a little script as such: 
>
> Exec has a timeout parameter: 
>
> http://docs.puppetlabs.com/references/latest/type.html#exec-attribute-timeout<http://www.google.com/url?q=http%3A%2F%2Fdocs.puppetlabs.com%2Freferences%2Flatest%2Ftype.html%23exec-attribute-timeout&sa=D&sntz=1&usg=AFQjCNGXNhLCTWLV4cHSmCXtjIt0gosWQA>
>  
>
> HTH 
>
> Andreas 
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/aef74b71-7690-4bf2-b2ff-6b63b633d34a%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to