[kgb] Ajout de kgb-ca, modification du format du secret kgb_password
This commit is contained in:
parent
99ac85a8ea
commit
4515bc6fa0
3 changed files with 17 additions and 1 deletions
|
@ -1,3 +1,4 @@
|
||||||
<Bundle name="kgb-client">
|
<Bundle name="kgb-client">
|
||||||
<Python name="/etc/kgb-client.conf"/>
|
<Python name="/etc/kgb-client.conf"/>
|
||||||
|
<Python name="/etc/kgb-ca.conf"/>
|
||||||
</Bundle>
|
</Bundle>
|
||||||
|
|
15
Python/etc/kgb-ca.conf
Normal file
15
Python/etc/kgb-ca.conf
Normal 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'])
|
|
@ -12,4 +12,4 @@ print "---"
|
||||||
print "repo-id: crans"
|
print "repo-id: crans"
|
||||||
print "servers:"
|
print "servers:"
|
||||||
print " - uri: http://irc.crans.org:5391/"
|
print " - uri: http://irc.crans.org:5391/"
|
||||||
print " password: %s" % (secrets.kgb_password)
|
print " password: %s" % (secrets.kgb_passwords['crans'])
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue