Re: [Puppet Users] Cleanup after timeout in exec resource

2010-12-18 Thread Ken Barber
Shame wget doesn't do this for you. I'm sure there is a better tool to do .part files. Anyway, taking from kc7zzv's excellent idea ... something as simple as the following might do as a work-around: exec {"wget-foo": command => "/usr/bin/wget http://mirror.ox.ac.uk/sites/mirror.centos.org/5.5

Re: [Puppet Users] Cleanup after timeout in exec resource

2010-12-18 Thread Patrick
On Dec 17, 2010, at 9:45 PM, Erwin Bolwidt wrote: > Hi, > > When I use an exec resource to create a file, a timeout may occur. As an > example, I can run wget to get a file (not the most elegant solution but > necessary sometimes), or run some other program that depends on the network > to ge

[Puppet Users] Cleanup after timeout in exec resource

2010-12-17 Thread Erwin Bolwidt
Hi, When I use an exec resource to create a file, a timeout may occur. As an example, I can run wget to get a file (not the most elegant solution but necessary sometimes), or run some other program that depends on the network to get some data that is necessary to create the file. This timeou