Issue #4800 has been updated by Nigel Kersten.

Status changed from Needs design decision to Duplicate


----------------------------------------
Feature #4800: Enable ability to give package manager command line options
https://projects.puppetlabs.com/issues/4800

Author: Lance Albertson
Status: Duplicate
Priority: Normal
Assignee: 
Category: package
Target version: 
Affected Puppet version: 
Keywords: 
Branch: 


In some package managers (such as portage), some runtime options are only 
available via the command line interface and not configurable via a config 
file. The more acceptable solution is to probably add new parameters for 
commonly used options but that could get ugly and would be hard to determine 
which is commonly used. As another solution, it would be nice to send those 
options directly to the package manager as an "options" parameter.

This opens a can of worms of course since you probably only want these options 
in certain phases (install, uninstall, etc). So it may make more sense to have 
options_$feature (i.e. options_install, options_uninstall, etc).

The specific use case I have is with the portage package provider. We use 
binary hosts for most of our packages but with useflags some machines may need 
to build packages locally if they require different features. Emerge has an 
option "--binpkg-respect-use y" which tells portage to respect any use flags it 
has set over what the binary package may provide. There is no way to enable 
this feature via a config file unfortunately.

Thoughts, suggestions on this feature? I was going to attempt writing a patch 
to see how it works but wanted feedback first.


-- 
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.

Reply via email to