Enable auto-update for Debian squeeze-lts

Quoting https://wiki.debian.org/LTS

Official security support for Debian GNU/Linux 6.0
(code name "Squeeze") has ended on 31 May 2014.
However long term support for the distribution
is going to be extended until February 2016,
i.e. five years after the initial release.

See https://wiki.debian.org/LTS for more details.
This commit is contained in:
Raoul Bhatia 2014-06-26 20:03:04 +02:00
parent bcd1a8d53c
commit 5ed7396a31
2 changed files with 4 additions and 1 deletions

View file

@ -12,7 +12,8 @@ class apt::params {
$backports_location = 'http://backports.debian.org/debian-backports'
$legacy_origin = true
$origins = ['${distro_id} oldstable',
'${distro_id} ${distro_codename}-security']
'${distro_id} ${distro_codename}-security',
'${distro_id} ${distro_codename}-lts']
}
'wheezy': {
$backports_location = 'http://ftp.debian.org/debian/'

View file

@ -60,6 +60,8 @@ describe 'apt::unattended_upgrades', :type => :class do
it {
should contain_file(file_unattended).with_content(
/^Unattended-Upgrade::Allowed-Origins/
).with_content(
/"\${distro_id} \${distro_codename}-lts";/
).with_content(
/"\${distro_id} \${distro_codename}-security";/
).with_content(