Wheezy commence à arriver, et lenny dégage.

Ignore-this: 48bb60befbcca9f66a7b2f5ebb9d8201

darcs-hash:20121205211802-b6762-28880c06f512803baa322a695e8154a7b6192be3.gz
This commit is contained in:
Pierre-Elliott Bécue 2012-12-05 22:18:02 +01:00
parent 637a77eb95
commit e00c869c2f
5 changed files with 25 additions and 22 deletions

View file

@ -7,6 +7,9 @@
<Group name="squeeze">
<Package name="emacs23-nox"/>
</Group>
<Group name="wheezy">
<Package name="emacs23-nox"/>
</Group>
<Package name="darcs"/>
<Package name="di"/>
<Package name="emacs-goodies-el"/>

View file

@ -193,7 +193,7 @@
<Group name="thot"
profile="true">
<Group name="crans-squeeze"/>
<Group name="crans-wheezy"/>
<Group name="rsyslog-server"/>
<Group name="pgsql-server"/>
<Group name="sqlgrey-localdb"/>
@ -432,6 +432,7 @@
<Group name="sid" category="debian-version"/>
<Group name="etch" category="debian-version"/>
<Group name="squeeze" category="debian-version"/>
<Group name="wheezy" category="debian-version"/>
<Group name="non-free" />
@ -497,6 +498,14 @@
<Group name="ntp"/>
</Group>
<Group name="crans-wheezy" profile="true" public="true"
comment="profile minimal pour wheezy">
<Group name="crans-common"/>
<Group name="wheezy"/>
<Group name="nss-ldapd"/>
<Group name="ntp"/>
</Group>
<Group name="crans-dom0-squeeze" public="true"
comment="groupe crans pour un dom0 sous squeeze">
<Group name="crans"/>

View file

@ -62,14 +62,9 @@ service("backuppc-server",
pidf="backuppc/BackupPC")
# bind's pidfile has changed on squeeze
if has("squeeze"):
service("bind",
init="bind9",
pidf="named/named")
else:
service("bind",
init="bind9",
pidf="bind/run/named")
service("cups",
pidf="cups/cupsd")
@ -216,6 +211,12 @@ if hostname in ['routeur']:
@ stop program = "/etc/init.d/gunicorn stop"
@ if 5 restarts within 5 cycles then timeout
@
@# igmpproxy
@check process igmpproxy with pidfile /var/run/igmpproxy.pid
@ start program = "/etc/init.d/igmpproxy start"
@ stop program = "/etc/init.d/igmpproxy stop"
@ if 5 restarts within 5 cycles then timeout
@
if hostname in ['routeur', 'komaz']:
@# nginx
@check process nginx with pidfile /var/run/nginx.pid
@ -265,7 +266,7 @@ for line in metadata.Probes["fstab_local"].splitlines():
comment("partition %s" % mntpoint)
# on vérifie le filesystem directement pour les volumes lvm
if fs.startswith('/dev/mapper') and has("squeeze"):
if fs.startswith('/dev/mapper'):
print 'check filesystem fs%s with path %s' % (mntpoint, mntpoint)
else:
print 'check device fs%s with path %s' % (mntpoint, fs)

View file

@ -166,8 +166,6 @@ def pub6(interface, mode = 'serveur'):
print """iface %(interface)s inet6 static
address %(ip6)s
netmask 64""" % { 'interface': interface, 'ip6': pubip6(interface) }
if not has("squeeze"):
print ' pre-up /sbin/modprobe ipv6'
if mode == 'serveur':
print ' gateway fe80::219:bbff:fe31:3b80'
elif mode == 'routeur':
@ -178,8 +176,6 @@ def adm6(interface):
print """iface %(interface)s inet6 static
address %(ip6)s
netmask 64""" % { 'interface': interface, 'ip6': admip6(interface) }
if not has("squeeze"):
print ' pre-up /sbin/modprobe ipv6'
print
Probe_Mac = metadata.Probes["mac"].split('\n')

View file

@ -192,9 +192,6 @@ if not mx:
@# TLS pour la reception
smtpd_tls_cert_file = "/etc/ssl/certs/smtp.pem"
smtpd_tls_key_file = "/etc/ssl/private/smtp.pem"
if not has("squeeze"):
smtpd_tls_CAfile = "/etc/ssl/certs/root.pem"
else:
smtpd_tls_CAfile = "/etc/ssl/certs/cacert.org.pem"
smtpd_tls_loglevel = 0
smtpd_use_tls = True
@ -203,9 +200,6 @@ smtpd_tls_received_header = True
@# On utilise aussi TLS pour envoyer les mails
smtp_tls_cert_file = ""
smtp_tls_key_file = ""
if not has("squeeze"):
smtp_tls_CAfile = "/etc/ssl/certs/root.pem"
else:
smtp_tls_CAfile = "/etc/ssl/certs/cacert.org.pem"
smtp_tls_loglevel = 1
smtp_use_tls = True