aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2012-06-08 18:30:23 +0200
committerintrigeri <intrigeri@boum.org>2012-06-08 18:30:23 +0200
commit2e4d22ddd948b6d6f1532654e3dea53fa4b9f7d1 (patch)
tree273d8f82a71af7fbcac5f17f7ac21c2c403ad638 /templates
parent13a0b4484fc85be0821f0b72c11c9487c890b546 (diff)
downloadpuppet-apt-2e4d22ddd948b6d6f1532654e3dea53fa4b9f7d1.tar.gz
puppet-apt-2e4d22ddd948b6d6f1532654e3dea53fa4b9f7d1.tar.bz2
Allow passing arbitrary Pin value to apt::preferences_snippet.
Closes: Redmine#3467.
Diffstat (limited to 'templates')
-rw-r--r--templates/preferences_snippet.erb2
-rw-r--r--templates/preferences_snippet_release.erb4
2 files changed, 5 insertions, 1 deletions
diff --git a/templates/preferences_snippet.erb b/templates/preferences_snippet.erb
index 0c4e136..fd15ce6 100644
--- a/templates/preferences_snippet.erb
+++ b/templates/preferences_snippet.erb
@@ -1,4 +1,4 @@
Package: <%= package %>
-Pin: release a=<%= release %>
+Pin: <%= pin %>
Pin-Priority: <%= priority %>
diff --git a/templates/preferences_snippet_release.erb b/templates/preferences_snippet_release.erb
new file mode 100644
index 0000000..0c4e136
--- /dev/null
+++ b/templates/preferences_snippet_release.erb
@@ -0,0 +1,4 @@
+Package: <%= package %>
+Pin: release a=<%= release %>
+Pin-Priority: <%= priority %>
+