aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2010-10-06 12:32:29 +0200
committerintrigeri <intrigeri@boum.org>2010-10-06 12:32:29 +0200
commit1183a04b4867dbd7480cd4898553c8f7f1c7688d (patch)
treed19c1c64b8db5cd6ef29478eefd29e6e246786d6 /templates
parentff73987f30e6566b9a89208e6b1ad96724571e0c (diff)
downloadpuppet-apt-1183a04b4867dbd7480cd4898553c8f7f1c7688d.tar.gz
puppet-apt-1183a04b4867dbd7480cd4898553c8f7f1c7688d.tar.bz2
Track installed backports upgrades on Lenny and Squeeze.
Diffstat (limited to 'templates')
-rw-r--r--templates/preferences_lenny.erb5
-rw-r--r--templates/preferences_squeeze.erb5
2 files changed, 10 insertions, 0 deletions
diff --git a/templates/preferences_lenny.erb b/templates/preferences_lenny.erb
index 0d7b46f..3de7959 100644
--- a/templates/preferences_lenny.erb
+++ b/templates/preferences_lenny.erb
@@ -3,6 +3,11 @@ Package: *
Pin: release o=Debian,n=<%= codename %>
Pin-Priority: 990
+Explanation: Debian backports
+Package: *
+Pin: origin backports.debian.org
+Pin-Priority: 200
+
Explanation: Debian <%= next_codename %>
Package: *
Pin: release o=Debian,n=<%= next_codename %>
diff --git a/templates/preferences_squeeze.erb b/templates/preferences_squeeze.erb
index 9aef25a..f21562d 100644
--- a/templates/preferences_squeeze.erb
+++ b/templates/preferences_squeeze.erb
@@ -3,6 +3,11 @@ Package: *
Pin: release o=Debian,n=<%= codename %>
Pin-Priority: 990
+Explanation: Debian backports
+Package: *
+Pin: origin backports.debian.org
+Pin-Priority: 200
+
Explanation: Debian wheezy
Package: *
Pin: release o=Debian,n=wheezy