From: Raoul Bhatia Date: Thu, 26 Jun 2014 18:03:04 +0000 (+0200) Subject: Enable auto-update for Debian squeeze-lts X-Git-Tag: 1.6.0~17^2 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=5ed7396a313474f79d516c6fb2c894ef14f85423;p=puppet-modules%2Fpuppetlabs-apt.git 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. --- diff --git a/manifests/params.pp b/manifests/params.pp index 4e974ba..f635b58 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -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/' diff --git a/spec/classes/unattended_upgrades_spec.rb b/spec/classes/unattended_upgrades_spec.rb index a2fb48b..8494f04 100644 --- a/spec/classes/unattended_upgrades_spec.rb +++ b/spec/classes/unattended_upgrades_spec.rb @@ -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(