include postfix
}
- if $::lsbdistcodename != 'lenny' {
- include unbound
- }
+ include unbound
if $::apache2 {
include apache2
include named::authoritative
} elsif $::hostname in [geo1,geo2,geo3] {
include named::geodns
- } elsif $::hostname == 'liszt' {
- include named::recursor
}
if $::hostname in [diabelli,nono,spohr] {
require => Package['acpid'],
}
- if $::lsbdistcodename != 'lenny' {
- package { 'acpi-support-base':
- ensure => installed
- }
+ package { 'acpi-support-base':
+ ensure => installed
}
}
}
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']
##
<%
- builddsuites = %w{lenny squeeze wheezy}
+ builddsuites = %w{squeeze wheezy}
testingunstable = 'wheezy'
if builddsuites.include?(lsbdistcodename)
suite = lsbdistcodename
ensure => installed,
}
- if $::lsbdistcodename == 'lenny' {
- package { 'cpqarrayd':
- ensure => installed,
- }
- }
-
if $::debarchitecture == 'amd64' {
package { 'lib32gcc1':
ensure => installed,
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)
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)
## 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 %>
## 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 %>
## 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 %>
## 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
# 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 %>
## 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
#
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 %>
# 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 %>
## 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
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
# 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
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}
options = []
resolvconf = ''
-if %w{draghi liszt}.include?(hostname)
+if %w{draghi}.include?(hostname)
nameservers << "127.0.0.1"
end
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'] %>
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]
##
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'" ) }
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 %>
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
%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
# 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