Issue #5783 has been updated by Steve Shipway.
I'd be happy if puppet simply used sensible defaults for http: URLs where no explicit action was defined and the metatdata was not available. eg, no metadata for file owner/group/mode? Default to puppet process owner/group and mode 0644. Need to identify if file has changed? Do a 'Head' request first and use the Etag or Content-md5 headers, if they are provided by the HTTP server. If not, use Content-Length or Last-Modified. If the http server is so dumb as to not provide any metadata at all, then download the file and compare locally. Most people will have apache 2.x or a server of similar ability, so this is a fair assumption. ---------------------------------------- Feature #5783: support HTTP(S) URL as the file 'source' https://projects.puppetlabs.com/issues/5783 Author: Daniel Pittman Status: Accepted Priority: Normal Assignee: Category: fileserving Target version: Affected Puppet version: development Keywords: Branch: Lots and lots of folks want to be able to do this: file { "/tmp/example.txt": source => 'http://example.com/example.txt' } This would be good to support; obviously the metadata for the HTTP URI is much less available than via puppet file serving, but this would make a lot of people very, very happy. -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
