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

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

    XMLWordPrintable

Details

    • Skeletor
    • 1
    • Platform OS Kanban, Skeletor Kanban
    • Needs Assessment
    • 33740,34350
    • 2
    • Bug Fix
    • Fixed a regression that prevented installing MSI packages from an HTTP URL
    • 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

              Unassigned Unassigned
              geoff.nichols Geoff Nichols
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support