On stabilise le plugin Python en virant toute occurrence de print.

* Désolé. \o/
This commit is contained in:
Pierre-Elliott Bécue 2015-05-14 07:19:56 +02:00
parent 2c27a030ee
commit 4b36a51d99
102 changed files with 513 additions and 703 deletions

View file

@ -7,11 +7,9 @@ info["mode"] = 0644
header('Demarrage de monit')
print """
# On lance monit automatiquement
START="yes"
MONIT_OPTS="-d 60"
"""
@
@# On lance monit automatiquement
@START="yes"
@
@MONIT_OPTS="-d 60"
@

View file

@ -36,10 +36,10 @@ for i in range(0,dernierecarte):
adapters=adapters[:-1]
print 'ADAPTERS="%s"' % adapters
out('ADAPTERS="%s"' % (adapters,))
@
@#Location of the config files
@#Ex : MUMUDVB_CONF_1="/etc/mumudvb/card1.conf"
for i in range(0,dernierecarte):
print 'MUMUDVB_CONF_%d="/etc/sat/carte%d.conf"' % (i,i)
out('MUMUDVB_CONF_%d="/etc/sat/carte%d.conf"' % (i, i))

View file

@ -40,7 +40,7 @@ slapd_services += ["ldap://%s/" % admip()]
if has("sable"):
slapd_services += ["ldaps://%s/" % pubip()]
print 'SLAPD_SERVICES="%s"' % ' '.join(slapd_services)
out('SLAPD_SERVICES="%s"' % (' '.join(slapd_services),))
@
@# Additional options to pass to slapd and slurpd
@SLAPD_OPTIONS=""