diff options
author | varac <varacanero@zeromail.org> | 2011-01-23 23:33:06 +0100 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2011-01-23 23:33:06 +0100 |
commit | 75f988242ad96c2bb90ac0956e63d124bea48003 (patch) | |
tree | a7b2eec23723a19fbad68fc42a1c7c7b83dd70a2 | |
parent | 3c0499b78d1f671fcce13127ef14b1b662a48c5a (diff) |
preferences.pp for ubuntu maverick
-rw-r--r-- | manifests/preferences.pp | 2 | ||||
-rw-r--r-- | templates/Ubuntu/preferences_maverick.erb | 19 |
2 files changed, 20 insertions, 1 deletions
diff --git a/manifests/preferences.pp b/manifests/preferences.pp index 4c93542..71ef0a6 100644 --- a/manifests/preferences.pp +++ b/manifests/preferences.pp @@ -7,7 +7,7 @@ class apt::preferences { content => $custom_preferences ? { '' => $operatingsystem ? { 'debian' => template("apt/${operatingsystem}/preferences_${codename}.erb"), - 'ubuntu' => '', + 'ubuntu' => template("apt/${operatingsystem}/preferences_${codename}.erb"), }, default => $custom_preferences }, diff --git a/templates/Ubuntu/preferences_maverick.erb b/templates/Ubuntu/preferences_maverick.erb new file mode 100644 index 0000000..977a7e2 --- /dev/null +++ b/templates/Ubuntu/preferences_maverick.erb @@ -0,0 +1,19 @@ +Explanation: Ubuntu <%= codename %> +Package: * +Pin: release o=Ubuntu,a=<%= release %>,v=<%= release_version %>* +Pin-Priority: 990 + +Explanation: Ubuntu backports +Package: * +Pin: release a=<%= codename %>-backports +Pin-Priority: 200 + +Explanation: Ubuntu <%= next_release %> +Package: * +Pin: release o=Ubuntu,a=<%= next_release %> +Pin-Priority: 2 + +Explanation: Ubuntu fallback +Package: * +Pin: release o=Ubuntu +Pin-Priority: -10 |