Details
-
Improvement
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
None
-
None
-
Platform Core
-
0
-
Platform Core 2017-08-08
-
Bug Fix
-
Fix a bug wherein arguments were passed to `gem` in the wrong order
-
No Action
-
Covered by spec tests
Description
The documentation suggests that I can add a custom source to use for where rubygems should be installed from when I specify the source paramater as part of my package resource declaration.
This however does not work because the source parameter is positionally depended.
The most reliable way I could get it to work was to manually specify all the parameters as follows:
package { 'random-client': |
ensure => installed, |
provider => 'gem', |
install_options => ['--clear-sources' ,{'--source' => 'http://example.net:2000'}], |
}
|
Attachments
Issue Links
- relates to
-
ENTERPRISE-833 Gem provider does not honour system wide gem sources settings
-
- Open
-
-
MODULES-4815 Puppetserver_gem : source option does not work as expected
-
- Resolved
-
- links to