]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
no more lenny
authorStephen Gran <steve@lobefin.net>
Mon, 30 Apr 2012 21:20:51 +0000 (22:20 +0100)
committerStephen Gran <steve@lobefin.net>
Mon, 30 Apr 2012 21:21:08 +0000 (22:21 +0100)
Signed-off-by: Stephen Gran <steve@lobefin.net>
22 files changed:
manifests/site.pp
modules/acpi/manifests/init.pp
modules/buildd/manifests/init.pp
modules/buildd/templates/etc/apt/sources.list.d/buildd.list.erb
modules/debian-org/manifests/proliant.pp
modules/debian-org/misc/local.yaml
modules/debian-org/templates/etc/apt/sources.list.d/backports.debian.org.list.erb
modules/debian-org/templates/etc/apt/sources.list.d/security.list.erb
modules/debian-org/templates/etc/apt/sources.list.d/volatile.list.erb
modules/debian-org/templates/pam.common-session-noninteractive.erb
modules/debian-org/templates/pam.common-session.erb
modules/monit/templates/default.erb
modules/monit/templates/monitrc.erb
modules/nagios/templates/inc-debian.org.erb
modules/nagios/templates/nrpe.cfg.erb
modules/nagios/templates/obsolete-packages-ignore.d-hostspecific.erb
modules/resolv/templates/resolv.conf.erb
modules/samhain/templates/samhainrc.erb
modules/site/manifests/alternative.pp
modules/ssh/templates/sshd_config.erb
modules/sudo/files/sudoers
modules/sudo/files/sudoers.lenny

index 3cb7b30ba6951ce9e02669782c64bec049d69be8..593be680be55db2c9dfe30b20012faf539f6ee2f 100644 (file)
@@ -59,9 +59,7 @@ node default {
                include postfix
        }
 
-       if $::lsbdistcodename != 'lenny' {
-               include unbound
-       }
+       include unbound
 
        if $::apache2 {
                include apache2
@@ -75,8 +73,6 @@ node default {
                include named::authoritative
        } elsif $::hostname in [geo1,geo2,geo3] {
                include named::geodns
-       } elsif $::hostname == 'liszt' {
-               include named::recursor
        }
 
        if $::hostname in [diabelli,nono,spohr] {
index ef4dcdedc7dcdc623fbb7d9eb5e618b414894ce9..e6cce8de99c15e4dbf268d4ccd9650e9cd08cb8f 100644 (file)
@@ -9,10 +9,8 @@ class acpi {
                        require => Package['acpid'],
                }
 
-               if $::lsbdistcodename != 'lenny' {
-                       package { 'acpi-support-base':
-                               ensure => installed
-                       }
+               package { 'acpi-support-base':
+                       ensure => installed
                }
        }
 }
index 76de9f15c814642735837c75043be0ef6db0db9b..63c5cf8acc24b49e2e750286f1f3a5b9bca0a62a 100644 (file)
@@ -41,10 +41,6 @@ class buildd {
        file { '/etc/apt/preferences.d/buildd.debian.org':
                ensure => absent,
        }
-       file { '/etc/apt/preferences.d':
-               ensure => directory,
-               mode   => '0755'
-       }
        file { '/etc/apt/preferences.d/buildd':
                content => template('buildd/etc/apt/preferences.d/buildd'),
                before  => File['/etc/apt/sources.list.d/buildd.debian.org.list']
index 9052798769ac85bb17bca9ba5feb6bdac9675051..8ffb4c6f379bdefae4ec01515e5d69052b61bd5c 100644 (file)
@@ -4,7 +4,7 @@
 ##
 
 <%
-  builddsuites = %w{lenny squeeze wheezy}
+  builddsuites = %w{squeeze wheezy}
   testingunstable = 'wheezy'
   if builddsuites.include?(lsbdistcodename)
     suite = lsbdistcodename
index 7b998cba5d8a23d816dfa792e0fc43da85bdb959..ea70b92c23b0d5a135d7edae8feb0c349c4d80d1 100644 (file)
@@ -22,12 +22,6 @@ class debian-org::proliant {
                ensure => installed,
        }
 
-       if $::lsbdistcodename == 'lenny' {
-               package { 'cpqarrayd':
-                       ensure => installed,
-               }
-       }
-
        if $::debarchitecture == 'amd64' {
                package { 'lib32gcc1':
                        ensure => installed,
index cae7aff59f340b228634eb01f7e82bf4f2b0d45d..649400df4e2fb3c0ee4e767e4490b844443d5556 100644 (file)
@@ -66,7 +66,6 @@ nameinfo:
   lebrun.debian.org: Francesca Lebrun (March 24th, 1756 - May 14th, 1791)
   lilburn.debian.org: Douglas Gordon Lilburn (November 2nd, 1915 - June 6th, 2001)
   lindberg.debian.org: Magnus Lindberg (June 27th, 1958)
-  liszt.debian.org: Franz Liszt (October 22nd, 1811 - July 31st, 1886)
   locke.debian.org: Matthew Locke (ca. 1621 - 1677)
   lotti.debian.org: Antonio Lotti (ca. 1667 - January 5th, 1740)
   luchesi.debian.org: Andrea Luca Luchesi (May 23rd, 1741 - March 21st, 1801)
@@ -84,7 +83,6 @@ nameinfo:
   parry.debian.org: Sir Charles Hubert Hastings Parry, 1st Baronet (February 27th, 1848 – October 7th, 1918)
   partch.debian.org: Harry Partch (June 24th, 1901 - September 3rd, 1974)
   pasquini.debian.org: Bernardo Pasquini (December 7th, 1637 - November 22nd, 1710)
-  penalosa.debian.org: Francisco de Peñalosa (c. 1470 - April 1st, 1528)
   pergolesi.debian.org: Giovanni Battista Pergolesi (January 4th, 1710 - March 16th or 17th, 1736)
   peri.debian.org: Jacopo Peri (August 20th, 1561 - August 12th, 1633)
   pettersson.debian.org: Gustav Allan Pettersson (September 19th, 1911 - June 20th, 1980)
index 53485d11e8bc8214f5fed54e312c0103df882ec4..a4238a1e575fd2365f82f2d8fec222e10d727999 100644 (file)
@@ -3,8 +3,4 @@
 ## USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git
 ##
 
-<% if lsbdistcodename == 'lenny' %>
-deb     http://archive.debian.org/debian-backports/     lenny-backports main contrib non-free
-<% elsif lsbdistcodename != 'n/a' %>
 deb    http://backports.debian.org/debian-backports/   <%= lsbdistcodename %>-backports main contrib non-free
-<% end %>
index 408e84e1bed27d33b075381d046d4ac7df3b160b..16b45b0a6e8cdd2100ab1325b4a0bd6b8ae4208a 100644 (file)
@@ -3,8 +3,4 @@
 ## USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git
 ##
 
-<% if lsbdistcodename == 'lenny' %>
-deb    http://archive.debian.org/debian-security/      lenny/updates     main contrib non-free
-<% elsif lsbdistcodename != 'n/a' %>
 deb     http://security.debian.org/     <%= lsbdistcodename %>/updates    main contrib non-free
-<% end %>
index af8fcb9c166d273c93fbfdcaa8197a0504b9f650..e55d490c4f16a3414cb4347d8aad260f53fd327b 100644 (file)
@@ -3,6 +3,4 @@
 ## USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git
 ##
 
-<% unless %w{lenny n/a}.include?(scope.lookupvar('::lsbdistcodename')) %>
 deb    http://ftp.debian.org/debian    <%= lsbdistcodename %>-updates          main contrib non-free
-<% end %>
index e13f9890b07350f62bcbccfc045b1831910eb14d..3b078a335178f5b8d2595a87dcf9113a999b35eb 100644 (file)
@@ -3,7 +3,6 @@
 ## USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git
 ##
 
-<% unless lsbdistcodename == 'lenny' %>
 #
 # /etc/pam.d/common-session-noninteractive - session-related modules
 # common to all non-interactive services
@@ -29,14 +28,3 @@ session required                        pam_permit.so
 # and here are more per-package modules (the "Additional" block)
 session required        pam_unix.so     
 # end of pam-auth-update config
-<% else %>
-#
-# /etc/pam.d/common-session - session-related modules common to all services
-#
-# This file is included from other service-specific PAM config files,
-# and should contain a list of modules that define tasks to be performed
-# at the start and end of sessions of *any* kind (both interactive and
-# non-interactive).  The default is pam_unix.
-#
-session        required        pam_unix.so
-<% end %>
index b79cffaa1f73ba3994ef4e2995af1be70966b554..af94f822e65a79850fd9cb14d476ff8bc7b1b4fe 100644 (file)
@@ -3,7 +3,6 @@
 ## USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git
 ##
 
-<% unless lsbdistcodename == 'lenny' %>
 #
 # /etc/pam.d/common-session - session-related modules common to all services
 #
@@ -32,15 +31,3 @@ session      required        pam_unix.so
 session        [success=1 default=ignore]      pam_succeed_if.so quiet_fail quiet_success home = /nonexistent
 session        optional                        pam_mkhomedir.so skel=/etc/skel umask=0022
 session        optional                        pam_permit.so
-<% else %>
-#
-# /etc/pam.d/common-session - session-related modules common to all services
-#
-# This file is included from other service-specific PAM config files,
-# and should contain a list of modules that define tasks to be performed
-# at the start and end of sessions of *any* kind (both interactive and
-# non-interactive).  The default is pam_unix.
-#
-session        required        pam_unix.so
-session        optional        pam_mkhomedir.so skel=/etc/skel umask=0022
-<% end %>
index c2c53ecbef7b634f23759b55fc2d87cc920364e6..c13d24e56d9fab7cd65956623d5f69680adf7aaa 100644 (file)
@@ -11,9 +11,3 @@
 # You must set this variable to for monit to start
 startup=0
 
-<% if lsbdistcodename == 'lenny' %>
-
-# To change the intervals which monit should run uncomment
-# and change this variable.
-CHECK_INTERVALS=300
-<% end %>
index 41cff1650b26ec895d150fb810f10522d614c0c1..10ba1930c50e914802fc57b3b741036a5f236c50 100644 (file)
@@ -21,9 +21,7 @@
 ## Start monit in the background (run as a daemon) and check services at 
 ## 2-minute intervals.
 #
-<% unless lsbdistcodename == 'lenny' %>
 set daemon 300
-<% end %>
 #
 #
 ## Set syslog logging with the 'daemon' facility. If the FACILITY option is
index b06c3284d48a119304caf1bbef42ea3e86a4255f..3c5819f789fbece5212ee71358e1b7b4889ee558 100644 (file)
@@ -12,7 +12,7 @@ scope.lookupvar('site::localinfo').keys.sort.each do |node|
 end
 
 case fqdn when
-  'mundy.debian.org', 'penalosa.debian.org', 'caballero.debian.org', 'peri.debian.org' then
+  'mundy.debian.org', 'caballero.debian.org' then
     nagii << '192.34.35.49'
 end
 
index 97a1d9b8af73875cccd4b38e755408c89a5288ce..f740aa6becdd3a6829be02deef97f266a23d3d26 100644 (file)
@@ -27,11 +27,7 @@ log_facility=daemon
 # number.  The file is only written if the NRPE daemon is started by the root
 # user and is running in standalone mode.
 
-<% unless lsbdistcodename == 'lenny' %>
 pid_file=/var/run/nagios/nrpe.pid
-<% else %>
-pid_file=/var/run/nrpe.pid
-<% end %>
 
 
 # PORT NUMBER
index 189e57fe8e68c91d01f517389cb81c3c47beebe4..05a055ea0f9b5596ac68386f21e16abc4a50ec56 100644 (file)
@@ -10,10 +10,9 @@ when "bellini.debian.org":              ignore << "mcelog"
 when "cilea.debian.org":                ignore << "/freeswitch.*/"
 when /draghi.debian.org/:               ignore << %w{userdir-ldap libheimdal-kadm5-perl}
 when /orff.debian.org/:                 ignore << %w{libnet-dns-sec-perl libnet-dns-zone-parser-perl}
-when /liszt.debian.org/:                ignore << "amavisd-new"
 when /(zandonai|zelenka).debian.org/:   ignore << %w{samhain zabbix-agent rrdcollect}
 when /(zappa|zemlinsky).debian.org/:    ignore << %w{samhain}
-when /(mayer|paer|peri|penalosa|corelli).debian.org/: ignore << "linux-base"
+when /(mayer|paer|corelli).debian.org/: ignore << "linux-base"
 when /(alkman|caballero|merulo|mundy).debian.org/: ignore << "samhain"
 when "powell.debian.org":               ignore << %w{e2fslibs e2fsprogs libblkid1 libcomerr2 libss2 libuuid1 uuid-runtime}
 when "rossini.debian.org":              ignore << %w{ganeti2}
index a5291bfad5d09d6da453940c4701491a10040625..2e1968b639785d625a38b1cd0e45ffbf58e5ad7d 100644 (file)
@@ -9,7 +9,7 @@ searchpaths = []
 options     = []
 resolvconf  = ''
 
-if %w{draghi liszt}.include?(hostname)
+if %w{draghi}.include?(hostname)
   nameservers << "127.0.0.1"
 end
 
index 1bdaeee4b1392d49cfb2301f22fcc8a5b68ca660..9ed15dfbd959d7e6dc324b68d49b4d81cc6701e6 100644 (file)
@@ -151,9 +151,7 @@ file=/etc/ferm/
 file=/etc/ferm/conf.d
 file=/etc/ferm/dsa.d
 file=/etc/rc.local
-<% unless scope.lookupvar('::lsbdistcodename') == 'lenny' %>
 file=/etc/unbound
-<% end -%>
 file=/etc/dsa
 <% if scope.lookupvar('site::nodeinfo')['puppetmaster'] %>
 
@@ -422,9 +420,7 @@ file=/etc/ferm/conf.d/me.conf
 file=/etc/ferm/conf.d/defs.conf
 file=/etc/ferm/ferm.conf
 dir=2/etc/ssl/debian
-<% unless scope.lookupvar('::lsbdistcodename') == 'lenny' %>
 file=/etc/unbound/unbound.conf
-<% end -%>
 
 [IgnoreNone]
 ##
index 1a40c1575ffe8e3993d2527747e904ab56e3522a..6abc909be0f47762f79728b553f4de28203de2fa 100644 (file)
@@ -1,25 +1,13 @@
 define site::alternative ($linkto, $ensure = present) {
        case $ensure {
                present: {
-                       if $::lsbdistcodename == 'lenny' {
-                               exec { "/usr/sbin/update-alternatives --set ${name} ${linkto}":
-                                       unless => "[ $(readlink -f /etc/alternatives/${name}) = ${linkto} ]",
-                               }
-                       } else {
-                               exec { "/usr/sbin/update-alternatives --set ${name} ${linkto}":
-                                       unless => "[ $(update-alternatives --query ${name} | grep ^Value | awk '{print \$2}') = ${linkto} ]",
-                               }
+                       exec { "/usr/sbin/update-alternatives --set ${name} ${linkto}":
+                               unless => "[ $(update-alternatives --query ${name} | grep ^Value | awk '{print \$2}') = ${linkto} ]",
                        }
                }
                absent: {
-                       if $::lsbdistcodename == 'lenny' {
-                               exec { "/usr/sbin/update-alternatives --remove ${name} ${linkto}":
-                                       unless => "[ $(readlink -f /etc/alternatives/${name}) != ${linkto} ]",
-                               }
-                       } else {
-                               exec { "/usr/sbin/update-alternatives --remove ${name} ${linkto}":
-                                       unless => "[ $(update-alternatives --query ${name} | grep ^Value | awk '{print \$2}') != ${linkto} ]",
-                               }
+                       exec { "/usr/sbin/update-alternatives --remove ${name} ${linkto}":
+                               unless => "[ $(update-alternatives --query ${name} | grep ^Value | awk '{print \$2}') != ${linkto} ]",
                        }
                }
                default: { fail ( "Unknown ensure value: '$ensure'" ) }
index 0f8657ae7ba7fffba0ba92f12fc319b2e40279c7..2d179de877109b8b9f2b510b827876bb418eb6fe 100644 (file)
@@ -75,7 +75,7 @@ AcceptEnv LANG LC_*
 Subsystem sftp /usr/lib/openssh/sftp-server
 
 UsePAM yes
-<% if %w{lenny squeeze}.include?(lsbdistcodename) %>
+<% if %w{squeeze}.include?(scope.lookupvar('::lsbdistcodename')) %>
 AuthorizedKeysFile /etc/ssh/userkeys/%u
 AuthorizedKeysFile2 /var/lib/misc/userkeys/%u
 <% else %>
index 8f37e5001e27c250fa0f1b2719f540deef689423..0efe5cbc56bc79a2c7764fa6b616fe024d41e873 100644 (file)
@@ -31,7 +31,7 @@ Host_Alias    AACRAIDHOSTS    = bellini, morricone, paganini, respighi, vivaldi, beeth
 Host_Alias     MEGARAIDHOSTS   = grieg, rautavaara, sibelius
 Host_Alias     MPTRAIDHOSTS    = master, fasch, holter, barber, biber, cilea, vitry, krenek, scelsi, orff, field
 Host_Alias     MEGACTLHOSTS    = lindberg, englund, heininen, nielsen
-Host_Alias  LISTHOSTS   = liszt, bendel
+Host_Alias  LISTHOSTS   = bendel
 
 # Cmnd alias specification
 
index 60859d1a2bf7c25714143b0e0bc0be35d036e278..bb6d767b907c425fda10ba81c98f15a1296be03e 100644 (file)
@@ -90,7 +90,6 @@ nagios                beethoven=(debbackup)   NOPASSWD: /usr/lib/nagios/plugins/dsa-check-backup
 %keyring       ALL=(keyring)   ALL
 %lintian       ALL=(lintian)   ALL
 %listweb       ALL=(listweb)   ALL
-%list          liszt=(list)    ALL
 %mirroradm     ALL=(archvsync) ALL
 %nm            ALL=(nm)        ALL
 %patch-tracker ALL=(patch-tracker)     ALL
@@ -155,12 +154,6 @@ dak                SECHOSTS=(archvsync)    NOPASSWD: /home/archvsync/signal_security
 # web stuff
 debwww         WEBHOSTS=(archvsync)    NOPASSWD: /home/archvsync/webmirrors/runmirrors
 %press         WEBHOSTS=(debwww)       /org/www.debian.org/update-part News
-# more list stuff
-%list          liszt=(root)            /usr/sbin/postfix reload
-%list          liszt=(root)            /usr/sbin/qshape, /usr/sbin/postsuper
-%list          liszt=(root)            /etc/init.d/spamassassin, /etc/init.d/amavis
-%list          liszt=(amavis)          NOPASSWD: /usr/bin/sa-learn
-%list          liszt=(amavis)          ALL
 # geodns may reload bind
 geodnssync     geo1,geo2,geo3=(root)   NOPASSWD: /etc/init.d/bind9 reload
 geodnssync     geo1,geo2,geo3=(root)   NOPASSWD: /usr/sbin/rndc reconfig