[kgb] Ajout de kgb-ca, modification du format du secret kgb_password

This commit is contained in:
Vincent Le Gallic 2013-11-22 10:48:46 +01:00
parent 99ac85a8ea
commit 4515bc6fa0
3 changed files with 17 additions and 1 deletions

View file

@ -1,3 +1,4 @@
<Bundle name="kgb-client">
<Python name="/etc/kgb-client.conf"/>
<Python name="/etc/kgb-ca.conf"/>
</Bundle>

15
Python/etc/kgb-ca.conf Normal file
View file

@ -0,0 +1,15 @@
# -*- coding: utf-8; mode: python -*-
include("secrets")
info["owner"] = "root"
info["group"] = "bureau"
info["perms"] = 0660
header("Pour parler à KGB dans un hook git\nUn membre du CA n'est pas forcément apprenti.")
print "---"
print "repo-id: ca"
print "servers:"
print " - uri: http://irc.crans.org:5391/"
print " password: %s" % (secrets.kgb_passwords['ca'])

View file

@ -12,4 +12,4 @@ print "---"
print "repo-id: crans"
print "servers:"
print " - uri: http://irc.crans.org:5391/"
print " password: %s" % (secrets.kgb_password)
print " password: %s" % (secrets.kgb_passwords['crans'])