]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - modules/debian-org/manifests/init.pp
Make it work with jessie, II
[dsa-puppet.git] / modules / debian-org / manifests / init.pp
index a64fb541987ce008b0df402a4658c475f9bf064a..f441ac51f6f00faf2e234bba5872afa107288252 100644 (file)
@@ -8,7 +8,7 @@ class debian-org {
        } else {
                $mirror = 'http://http.debian.net/debian/'
        }
-       if $::lsbmajdistrelease < 7 {
+       if $::lsbmajdistrelease != "testing" and $::lsbmajdistrelease < 7 {
                $mirror_backports = 'http://backports.debian.org/debian-backports/'
        } else {
                $mirror_backports = $mirror
@@ -28,6 +28,7 @@ class debian-org {
                        'sysklogd',
                        'rsyslog',
                        'os-prober',
+                       'apt-listchanges',
                ]:
                ensure => purged,
        }
@@ -59,7 +60,7 @@ class debian-org {
                ensure => installed,
        }
 
-       if $::lsbmajdistrelease >= 7 {
+       if $::lsbmajdistrelease == "testing" or $::lsbmajdistrelease >= 7 {
                package { 'libfilesystem-ruby1.9.1':
                        ensure => installed,
                }
@@ -121,7 +122,7 @@ class debian-org {
                suite      => "${::lsbdistcodename}/updates",
                components => ['main','contrib','non-free']
        }
-       if $::lsbmajdistrelease < 7 {
+       if $::lsbmajdistrelease != "testing" and $::lsbmajdistrelease < 7 {
                site::aptrepo { 'debian-lts':
                        url        => $mirror,
                        suite      => "${::lsbdistcodename}-lts",
@@ -145,7 +146,7 @@ class debian-org {
                components => ['main','contrib','non-free']
        }
 
-       #if ($::hostname in [ball, corelli, eysler, lucatelli, mayer, mayr, rem, pettersson]) or
+       #if ($::hostname in [ball, corelli, eysler, lucatelli, mayer, mayr, pettersson]) or
        #   ($::hoster and ($::hoster in [bytemark, man-da, brown])) {
        #       site::aptrepo { 'proposed-updates':
        #               url        => $mirror,