Feature #2325

Apt provider should allow passing of arbitrary configuration paramters.

Added by Nigel Kersten over 2 years ago. Updated over 2 years ago.

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

duplicates Puppet - Feature #915: Add 'options' support to type/provider relationship Duplicate

History

Updated by Luke Kanies over 2 years ago

  • Status changed from Unreviewed to Duplicate

Also available in: Atom PDF