From 4515bc6fa0c8b960e8feff594079abc2139b7f7a Mon Sep 17 00:00:00 2001 From: Vincent Le Gallic Date: Fri, 22 Nov 2013 10:48:46 +0100 Subject: [PATCH] [kgb] Ajout de kgb-ca, modification du format du secret kgb_password --- Bundler/kgb-client.xml | 1 + Python/etc/kgb-ca.conf | 15 +++++++++++++++ Python/etc/kgb-client.conf | 2 +- 3 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 Python/etc/kgb-ca.conf diff --git a/Bundler/kgb-client.xml b/Bundler/kgb-client.xml index 7a77fec..783296f 100644 --- a/Bundler/kgb-client.xml +++ b/Bundler/kgb-client.xml @@ -1,3 +1,4 @@ + diff --git a/Python/etc/kgb-ca.conf b/Python/etc/kgb-ca.conf new file mode 100644 index 0000000..59d72f5 --- /dev/null +++ b/Python/etc/kgb-ca.conf @@ -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']) diff --git a/Python/etc/kgb-client.conf b/Python/etc/kgb-client.conf index ed3bb2b..3e99ac3 100644 --- a/Python/etc/kgb-client.conf +++ b/Python/etc/kgb-client.conf @@ -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'])