Commit graph

9 commits

Author SHA1 Message Date
intrigeri
c38be6cb7c Wheezy was released! 2013-05-03 17:09:34 +02:00
intrigeri
f11e821f0a debian_nextcodename: take into account Squeeze was released. 2011-02-07 11:28:29 +01:00
intrigeri
e32f4275a6 debian_release_version: add Squeeze's version number. 2011-02-07 11:27:54 +01:00
intrigeri
f362f05995 Update debian_release function since Squeeze has been released. 2011-02-06 08:56:54 +01:00
intrigeri
4103a27054 Additionally use version number in Lenny default pinning.
Lenny's APT does not support pinning like this:

  Pin: release o=Debian,n=<%= codename %>

We therefore switched (in commit ef2ebdffd) to:

  Pin: release o=Debian,a=<%= release %>

With such a pinning setup, when Squeeze is released, systems using this module
with $apt_use_next_release set to true would immediately switch to prefer
packages from Squeeze. If an automated upgrade process is setup, they would be
automatically upgraded to Squeeze.

This does not sound safe to me, so let's use the release version number as an
additional selection criterion to prevent upgrades to Squeeze to happen behind
our back:

  Pin: release o=Debian,a=<%= release %>,v=<%= release_version %>*

Note that the trailing '*' is intentional and necessary to match stable
point-releases.
2010-12-12 09:57:42 +01:00
intrigeri
b4e24ecc06 Fix functions return values. 2010-10-10 12:05:26 +02:00
intrigeri
d50104ce10 Fix functions declaration and filenames. 2010-10-10 11:00:18 +02:00
intrigeri
5326c54b81 Rename function file so that puppet hopefully finds it. 2010-10-09 21:18:10 +02:00
intrigeri
d65e1573a9 Add a few useful functions. 2010-10-06 11:16:44 +02:00