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

yum provider should be able to install from remote URLs

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PUP 5.4.0
    • Component/s: Types and Providers
    • Labels:
      None
    • Environment:

      Any platform using the yum provider

    • Release Notes:
      New Feature
    • Release Notes Summary:
      As of Puppet 5.4.0, the :source attribute to a package resource using the yum provider can be an http or file url to a remote/local file, and the provider will use yum's built in support for installing the file directly with dependency management.
    • QA Risk Assessment:
      No Action

      Description

      This should result in the remote package being installed, with all dependencies:

      package{'activemq':
        source => 'http://www.netconsonance.com/downloads/activemq-5.9.1-2.el6.noarch.rpm',
        ensure => present,
      }
      

      What actually happens is that the latest version available in the configured yum repos is installed.

      Explicitly specifying provider => 'rpm' downloads and installs the remote package, but will fail if all dependencies are not already installed.

      yum supports this, ie. "yum install http://www.netconsonance.com/downloads/activemq-5.9.1-2.el6.noarch.rpm" will download the package and install with all dependencies, so I think the puppet yum provider should support this too.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              melissa Melissa Stone
              Reporter:
              robinbowes Robin Bowes
              QA Contact:
              Eric Thompson
              Votes:
              1 Vote for this issue
              Watchers:
              9 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support