From d191a80c22e1f14523db1c686b65f12186699b9e Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Thu, 2 Oct 2014 09:11:17 +0200 Subject: [PATCH] Add the anitya endpoint for fedmsg --- roles/fedmsg/base/templates/endpoints-anitya.py.j2 | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 roles/fedmsg/base/templates/endpoints-anitya.py.j2 diff --git a/roles/fedmsg/base/templates/endpoints-anitya.py.j2 b/roles/fedmsg/base/templates/endpoints-anitya.py.j2 new file mode 100644 index 0000000000..e0205e04f8 --- /dev/null +++ b/roles/fedmsg/base/templates/endpoints-anitya.py.j2 @@ -0,0 +1,10 @@ +suffix = 'fedoraproject.org' + +config = dict( + endpoints={ + "anitya.anitya-backend01": [ + "tcp://anitya-backend01.%s:30%02i" % (suffix, i) + for i in range(2) + ], + }, +)