[groups.xml, cron.d/check_cert] Plus de webmails sur owl

This commit is contained in:
Valentin Samir 2013-07-13 21:20:49 +02:00
parent a702060df9
commit aa9bee8e14
2 changed files with 6 additions and 3 deletions

View file

@ -46,6 +46,7 @@
<Group name="crans-vm-wheezy"/>
<Group name="nginx" comment="Pour roundcube" />
<Group name="php" comment="Pour roundcube" />
<Group name="https_cert"/>
</Group>
<Group name="horde"
@ -53,6 +54,7 @@
<Group name="crans-vm-wheezy"/>
<Group name="nginx" comment="Pour horde" />
<Group name="php" comment="Pour horde" />
<Group name="https_cert"/>
</Group>
<Group name="zbee"
@ -282,11 +284,9 @@
<Group name="owl"
profile="true">
<Group name="crans-domu-squeeze"/>
<Group name="http-server"/>
<Group name="https-server"/>
<Group name="home-permanent"/>
<Group name="https_cert" />
<Group name="imap-server"/>
<Bundle name="check_cert" /> <!-- imaps et pop3s -->
</Group>
<Group name="asterisk"

View file

@ -24,6 +24,9 @@ def check_cert(host='localhost', port=443, user="www-data", filename=None):
if has('https-server') or has('https_cert'):
check_cert('localhost', 443, 'www-data')
if has('imap-server'):
check_cert('localhost', 993, 'www-data')
if has('bcfg2-server'):
check_cert(metadata.hostname, 6789)