[Puppet Users] Downloading files to Puppet clients from HTTP Server

2010-08-18 Thread Ahmed El Gamil
Hi, I was working on some puppet recipe and came to the need where i want to download a file from an HTTP server, usually i use the "file" resource type with the "source" parameter to push files to the clients, but in this situation i just need to download the file directly from the HTTP server to

Re: [Puppet Users] Downloading files to Puppet clients from HTTP Server

2010-08-18 Thread Darren Chamberlain
* Ahmed El Gamil [2010/08/18 17:17]: > I was working on some puppet recipe and came to the need where i > want to download a file from an HTTP server, usually i use the > "file" resource type with the "source" parameter to push files to > the clients, but in this situation i just need to download

Re: [Puppet Users] Downloading files to Puppet clients from HTTP Server

2010-08-19 Thread Craig Dunn
> By any chance, does the "source" parameter supports HTTP URLs, if not > then how can i do that in Puppet ? > > Source currently only supports the "file" and "puppet" URI types, you could accomplish a few ways, one is with a simple exec exec { "wget http://myurl.com/file.txt -o /path/to/fil

Re: [Puppet Users] Downloading files to Puppet clients from HTTP Server

2010-08-19 Thread Patrick
On Aug 19, 2010, at 2:38 AM, Craig Dunn wrote: > > By any chance, does the "source" parameter supports HTTP URLs, if not > then how can i do that in Puppet ? > > > Source currently only supports the "file" and "puppet" URI types, you could > accomplish a few ways, one is with a simple exec.