Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-1072

support HTTP(S) URL as the file 'source'

    Details

    • Template:
    • Story Points:
      3
    • Sprint:
      Client 2015-07-22, Client 2015-08-05, Client 2015-09-16, Client 2016-01-13
    • Release Notes:
      New Feature
    • Release Notes Summary:
      Hide
      This adds support for 'http' and 'https' URLS as source attributes to the file resource.

      Since the checksum metadata is not available from the URL, applying a file resource with an http/s source will always be detected as a content change. This can be avoided by specifying the {{checksum}} and {{checksum_value}} explicitly, or using {{mtime}} as the checksum.
      Show
      This adds support for 'http' and 'https' URLS as source attributes to the file resource. Since the checksum metadata is not available from the URL, applying a file resource with an http/s source will always be detected as a content change. This can be avoided by specifying the {{checksum}} and {{checksum_value}} explicitly, or using {{mtime}} as the checksum.

      Description

      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.

        Attachments

          Issue Links

            Activity

              jsd-sla-details-panel

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  redmine.exporter redmine.exporter
                  QA Contact:
                  Eric Thompson
                • Votes:
                  27 Vote for this issue
                  Watchers:
                  52 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Zendesk Support