aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2012-06-08 18:18:50 +0200
committerintrigeri <intrigeri@boum.org>2012-06-08 18:18:50 +0200
commit13a0b4484fc85be0821f0b72c11c9487c890b546 (patch)
tree6c3cf16d8b7318198235927c4ffcb03f4cfc6a04 /templates
parent0cb3cd816e37a81ffc89e68b774d34930c5acc36 (diff)
downloadpuppet-apt-13a0b4484fc85be0821f0b72c11c9487c890b546.tar.gz
puppet-apt-13a0b4484fc85be0821f0b72c11c9487c890b546.tar.bz2
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 'templates')
-rw-r--r--templates/preferences_snippet.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/preferences_snippet.erb b/templates/preferences_snippet.erb
index 4dfb701..0c4e136 100644
--- a/templates/preferences_snippet.erb
+++ b/templates/preferences_snippet.erb
@@ -1,4 +1,4 @@
-Package: <%= name %>
+Package: <%= package %>
Pin: release a=<%= release %>
Pin-Priority: <%= priority %>