Details
-
Improvement
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
None
-
None
-
Any platform using the yum provider
-
Platform Core
-
Platform Core KANBAN
-
New Feature
-
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.
-
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.