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
* 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
> 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
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.