> 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

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