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....
> 
> exec { "wget http://myurl.com/file.txt -o /path/to/file.txt":
>            creates  =>  "/path/to/file.txt",
> }
> 
> Having "creates" will ensure that it doesn't run if the file already exists.
> 
> Craig

Just to clarify, if the remote file is changed, the client will not know to 
redownload the remote file.

Zsync might do what you want if you want the client's file to change if the 
remote file changes.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to