aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2010-10-06 12:30:50 +0200
committerintrigeri <intrigeri@boum.org>2010-10-06 12:30:50 +0200
commitff73987f30e6566b9a89208e6b1ad96724571e0c (patch)
tree248b6800cbed4c62b17e078e346f50d86a36130b /manifests
parent81fe80d914a2036503cd38fd5d37ad73e558ebd2 (diff)
downloadpuppet-apt-ff73987f30e6566b9a89208e6b1ad96724571e0c.tar.gz
puppet-apt-ff73987f30e6566b9a89208e6b1ad96724571e0c.tar.bz2
Add per-release preferences files.
The previous default pinning preferences only supported tracking stable. Tracking squeeze or sid is now possible.
Diffstat (limited to 'manifests')
-rw-r--r--manifests/default_preferences.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/default_preferences.pp b/manifests/default_preferences.pp
index 3cdb355..521d2f2 100644
--- a/manifests/default_preferences.pp
+++ b/manifests/default_preferences.pp
@@ -2,7 +2,7 @@ class apt::default_preferences {
config_file {
# this just pins unstable and testing to very low values
"/etc/apt/preferences":
- content => template("apt/preferences.erb"),
+ content => template("apt/preferences_${codename}.erb"),
# use File[apt_config] to reference a completed configuration
# See "The Puppet Semaphor" 2007-06-25 on the puppet-users ML
alias => apt_config,