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

Unable to use remote URI as source parameter with package provider on Windows

    Details

    • Template:
      PUP Bug Template
    • Team:
      Skeletor
    • Story Points:
      1
    • Sprint:
      Platform OS Kanban, Skeletor Kanban
    • Method Found:
      Needs Assessment
    • Zendesk Ticket IDs:
      33740,34350
    • Zendesk Ticket Count:
      2
    • Release Notes:
      Bug Fix
    • Release Notes Summary:
      Fixed a regression that prevented installing MSI packages from an HTTP URL
    • QA Risk Assessment:
      Needs Assessment

      Description

      Prior to Puppet 5.5.7, it was possible with the 'windows' provider for the Package resource to use HTTP sources for MSI packages. As of Puppet 5.5.7, this functionality no longer works.

      Example:

      package { 'my software':
      ensure => '1.0.0',
      source => 'http://my-web-repo.net/my-package.msi',
      }
      

      Error message:

      'Error: Could not update: Working directory http://my-web-repo.net does not exist!'
      

      Puppet 5.5.7 implemented https://tickets.puppetlabs.com/browse/PUP-6920, which allows for the working directory to be the same directory as the package source, which breaks the unintended functionality of the windows provider using a remote URI. It previously worked because MSI was actually handling the download of the installer rather than Puppet handling the download.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                geoff.nichols Geoff Nichols
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Zendesk Support