diff options
author | intrigeri <intrigeri@boum.org> | 2012-06-08 18:18:50 +0200 |
---|---|---|
committer | intrigeri <intrigeri@boum.org> | 2012-06-08 18:18:50 +0200 |
commit | 13a0b4484fc85be0821f0b72c11c9487c890b546 (patch) | |
tree | 6c3cf16d8b7318198235927c4ffcb03f4cfc6a04 /manifests/preferences_snippet.pp | |
parent | 0cb3cd816e37a81ffc89e68b774d34930c5acc36 (diff) |
Support multiple APT preferences snippets for the same package name pattern.
This is implemented by adding a "package" parameter to apt::preferences_snippet,
so that define names can be kept unique while the package names are
not necessarily.
Closes: Redmine#3468.
Diffstat (limited to 'manifests/preferences_snippet.pp')
-rw-r--r-- | manifests/preferences_snippet.pp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/manifests/preferences_snippet.pp b/manifests/preferences_snippet.pp index 91b3dde..908ca73 100644 --- a/manifests/preferences_snippet.pp +++ b/manifests/preferences_snippet.pp @@ -1,4 +1,5 @@ define apt::preferences_snippet( + $package = $name, $ensure = 'present', $source = '', $release, |