Issue #14660 has been reported by Evgeny Dudin.
----------------------------------------
Bug #14660: package provider gem does not use the specified source if ensure =>
latest
https://projects.puppetlabs.com/issues/14660
Author: Evgeny Dudin
Status: Unreviewed
Priority: Normal
Assignee:
Category: package
Target version:
Affected Puppet version: 2.7.14
Keywords: gem,latest,source
Branch:
I have a local gem repository where I put my gems. In the manifest I specify a
package with ensure => latest and explicitly set the source
<pre>
class trocla {
package { "moneta":
ensure => "latest",
provider => "gem",
source => "http://mylocalrepo/gem-repository/",
}
}
</pre>
In spite of that, puppet does not use my repo to fetch the list of available
gems (which is confusing - if I explicitly specify my custom repository, I
expect this package to be pulled from this particular repository).
This can be seen in the output puppet with --debug option:
`debug: Puppet::Type::Package::ProviderGem: Executing '/usr/bin/gem list
--remote moneta$'`
As you can see --source option is missing here
--
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://projects.puppetlabs.com/my/account
--
You received this message because you are subscribed to the Google Groups
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-bugs?hl=en.