Issue #4113 has been updated by Trevor Vaughan.
I'd also like this, but I think that the 'options' parameter should only come
into effect if you have specified a provider.
<pre>
package { 'foo':
ensure => 'latest',
options => '--bar'
}
</pre>
Should throw an error since __--bar__ might be valid for 'gem' and 'yum'
(somehow), and 'foo' might be present in both systems as well.
However:
<pre>
package { 'foo':
ensure => 'latest',
provider => 'yum',
options => '--bar'
}
</pre>
Should work correctly and avoids ambiguity. If you want to know what __--bar__
does, you just run 'man yum' and call it a day.
----------------------------------------
Feature #4113: Provide a generic "options"-style parameter for packages.
https://projects.puppetlabs.com/issues/4113#change-60913
Author: Oliver Hookins
Status: Accepted
Priority: Normal
Assignee: Daniel Pittman
Category:
Target version: Telly
Affected Puppet version: 0.25.5
Keywords:
Branch:
http://groups.google.com/group/puppet-users/browse_thread/thread/2ef615fc42225d99?pli=1
Our requirement is more or less the same as in the linked thread, we need to
use a proxy to install gems but for a variety of reasons can't set a global
proxy on the machines. Thus some way of passing options to gem is necessary.
(Nigel) - We should do this consistently across providers, perhaps combining
with the "preseed" functionality of apt/dpkg.
--
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.