]> review.fuel-infra Code Review - puppet-modules/puppetlabs-apt.git/commitdiff
Enable auto-update for Debian squeeze-lts
authorRaoul Bhatia <raoul@bhatia.at>
Thu, 26 Jun 2014 18:03:04 +0000 (20:03 +0200)
committerRaoul Bhatia <raoul@bhatia.at>
Thu, 26 Jun 2014 18:03:04 +0000 (20:03 +0200)
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.

manifests/params.pp
spec/classes/unattended_upgrades_spec.rb

index 4e974ba48b894efea81590aa94b1b2432f1600c9..f635b5801cd98889582d19c088f6923a2708ace0 100644 (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/'
index a2fb48b12600e5bc0e3fbc6a43a5e22fa1c8c8d1..8494f0410d9b6f7631721673e7314e69857aea72 100644 (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(