Feature #2325
Apt provider should allow passing of arbitrary configuration paramters.
| Status: | Duplicate | Start date: | 06/04/2009 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | - | % Done: | 0% |
|
| Category: | - | |||
| Target version: | - | |||
| Affected Puppet version: | 0.25.0 | Branch: | ||
| Keywords: | ||||
| Votes: | 0 |
Description
We’ve recently found a need to add some extra commands to all apt-get invocations that are run by Puppet, but that we don’t want to add to the central apt preferences config files for other invocations.
It would be useful (and quite trivial) for the apt provider to support a “extraoptions” parameter that allowed you do something like:
package { "foo":
...
extraoptions => "-o Dir::Etc /etc/apt.puppet",
}
This would be quite a trivial patch and I’m happy to do it if it’s accepted as a desirable feature.
Related issues
History
Updated by Luke Kanies over 2 years ago
- Status changed from Unreviewed to Duplicate