Wheezy commence à arriver, et lenny dégage.
Ignore-this: 48bb60befbcca9f66a7b2f5ebb9d8201 darcs-hash:20121205211802-b6762-28880c06f512803baa322a695e8154a7b6192be3.gz
This commit is contained in:
parent
637a77eb95
commit
e00c869c2f
5 changed files with 25 additions and 22 deletions
|
@ -7,6 +7,9 @@
|
||||||
<Group name="squeeze">
|
<Group name="squeeze">
|
||||||
<Package name="emacs23-nox"/>
|
<Package name="emacs23-nox"/>
|
||||||
</Group>
|
</Group>
|
||||||
|
<Group name="wheezy">
|
||||||
|
<Package name="emacs23-nox"/>
|
||||||
|
</Group>
|
||||||
<Package name="darcs"/>
|
<Package name="darcs"/>
|
||||||
<Package name="di"/>
|
<Package name="di"/>
|
||||||
<Package name="emacs-goodies-el"/>
|
<Package name="emacs-goodies-el"/>
|
||||||
|
|
|
@ -193,7 +193,7 @@
|
||||||
|
|
||||||
<Group name="thot"
|
<Group name="thot"
|
||||||
profile="true">
|
profile="true">
|
||||||
<Group name="crans-squeeze"/>
|
<Group name="crans-wheezy"/>
|
||||||
<Group name="rsyslog-server"/>
|
<Group name="rsyslog-server"/>
|
||||||
<Group name="pgsql-server"/>
|
<Group name="pgsql-server"/>
|
||||||
<Group name="sqlgrey-localdb"/>
|
<Group name="sqlgrey-localdb"/>
|
||||||
|
@ -432,6 +432,7 @@
|
||||||
<Group name="sid" category="debian-version"/>
|
<Group name="sid" category="debian-version"/>
|
||||||
<Group name="etch" category="debian-version"/>
|
<Group name="etch" category="debian-version"/>
|
||||||
<Group name="squeeze" category="debian-version"/>
|
<Group name="squeeze" category="debian-version"/>
|
||||||
|
<Group name="wheezy" category="debian-version"/>
|
||||||
|
|
||||||
<Group name="non-free" />
|
<Group name="non-free" />
|
||||||
|
|
||||||
|
@ -497,6 +498,14 @@
|
||||||
<Group name="ntp"/>
|
<Group name="ntp"/>
|
||||||
</Group>
|
</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"
|
<Group name="crans-dom0-squeeze" public="true"
|
||||||
comment="groupe crans pour un dom0 sous squeeze">
|
comment="groupe crans pour un dom0 sous squeeze">
|
||||||
<Group name="crans"/>
|
<Group name="crans"/>
|
||||||
|
|
|
@ -62,14 +62,9 @@ service("backuppc-server",
|
||||||
pidf="backuppc/BackupPC")
|
pidf="backuppc/BackupPC")
|
||||||
|
|
||||||
# bind's pidfile has changed on squeeze
|
# bind's pidfile has changed on squeeze
|
||||||
if has("squeeze"):
|
|
||||||
service("bind",
|
service("bind",
|
||||||
init="bind9",
|
init="bind9",
|
||||||
pidf="named/named")
|
pidf="named/named")
|
||||||
else:
|
|
||||||
service("bind",
|
|
||||||
init="bind9",
|
|
||||||
pidf="bind/run/named")
|
|
||||||
|
|
||||||
service("cups",
|
service("cups",
|
||||||
pidf="cups/cupsd")
|
pidf="cups/cupsd")
|
||||||
|
@ -216,6 +211,12 @@ if hostname in ['routeur']:
|
||||||
@ stop program = "/etc/init.d/gunicorn stop"
|
@ stop program = "/etc/init.d/gunicorn stop"
|
||||||
@ if 5 restarts within 5 cycles then timeout
|
@ 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']:
|
if hostname in ['routeur', 'komaz']:
|
||||||
@# nginx
|
@# nginx
|
||||||
@check process nginx with pidfile /var/run/nginx.pid
|
@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)
|
comment("partition %s" % mntpoint)
|
||||||
|
|
||||||
# on vérifie le filesystem directement pour les volumes lvm
|
# 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)
|
print 'check filesystem fs%s with path %s' % (mntpoint, mntpoint)
|
||||||
else:
|
else:
|
||||||
print 'check device fs%s with path %s' % (mntpoint, fs)
|
print 'check device fs%s with path %s' % (mntpoint, fs)
|
||||||
|
|
|
@ -166,8 +166,6 @@ def pub6(interface, mode = 'serveur'):
|
||||||
print """iface %(interface)s inet6 static
|
print """iface %(interface)s inet6 static
|
||||||
address %(ip6)s
|
address %(ip6)s
|
||||||
netmask 64""" % { 'interface': interface, 'ip6': pubip6(interface) }
|
netmask 64""" % { 'interface': interface, 'ip6': pubip6(interface) }
|
||||||
if not has("squeeze"):
|
|
||||||
print ' pre-up /sbin/modprobe ipv6'
|
|
||||||
if mode == 'serveur':
|
if mode == 'serveur':
|
||||||
print ' gateway fe80::219:bbff:fe31:3b80'
|
print ' gateway fe80::219:bbff:fe31:3b80'
|
||||||
elif mode == 'routeur':
|
elif mode == 'routeur':
|
||||||
|
@ -178,8 +176,6 @@ def adm6(interface):
|
||||||
print """iface %(interface)s inet6 static
|
print """iface %(interface)s inet6 static
|
||||||
address %(ip6)s
|
address %(ip6)s
|
||||||
netmask 64""" % { 'interface': interface, 'ip6': admip6(interface) }
|
netmask 64""" % { 'interface': interface, 'ip6': admip6(interface) }
|
||||||
if not has("squeeze"):
|
|
||||||
print ' pre-up /sbin/modprobe ipv6'
|
|
||||||
print
|
print
|
||||||
|
|
||||||
Probe_Mac = metadata.Probes["mac"].split('\n')
|
Probe_Mac = metadata.Probes["mac"].split('\n')
|
||||||
|
|
|
@ -192,9 +192,6 @@ if not mx:
|
||||||
@# TLS pour la reception
|
@# TLS pour la reception
|
||||||
smtpd_tls_cert_file = "/etc/ssl/certs/smtp.pem"
|
smtpd_tls_cert_file = "/etc/ssl/certs/smtp.pem"
|
||||||
smtpd_tls_key_file = "/etc/ssl/private/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_CAfile = "/etc/ssl/certs/cacert.org.pem"
|
||||||
smtpd_tls_loglevel = 0
|
smtpd_tls_loglevel = 0
|
||||||
smtpd_use_tls = True
|
smtpd_use_tls = True
|
||||||
|
@ -203,9 +200,6 @@ smtpd_tls_received_header = True
|
||||||
@# On utilise aussi TLS pour envoyer les mails
|
@# On utilise aussi TLS pour envoyer les mails
|
||||||
smtp_tls_cert_file = ""
|
smtp_tls_cert_file = ""
|
||||||
smtp_tls_key_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_CAfile = "/etc/ssl/certs/cacert.org.pem"
|
||||||
smtp_tls_loglevel = 1
|
smtp_tls_loglevel = 1
|
||||||
smtp_use_tls = True
|
smtp_use_tls = True
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue