Try to convince fedmsg to find the certs

Make use of some crazy undocumented settings to see if fedmsg will do
something remotely normal.

Signed-off-by: Jeremy Cline <jeremy@jcline.org>
This commit is contained in:
Jeremy Cline 2018-09-25 20:07:54 +00:00
parent a13c742641
commit 09d5e878e5

View file

@ -147,18 +147,19 @@ items:
"validate_signatures": True, "validate_signatures": True,
"crypto_backend": "x509", "crypto_backend": "x509",
"ssldir": "/etc/pki/fedmsg/", "ssldir": "/etc/pki/fedmsg/",
"certnames": {
"release-monitoring." + socket.gethostname(): "release-monitoring",
},
"topic_prefix": "org.release-monitoring", "topic_prefix": "org.release-monitoring",
{% if env == 'staging' %} {% if env == 'staging' %}
"environment": "stg", "environment": "stg",
"relay_inbound": ["tcp://busgateway01.stg.phx2.fedoraproject.org:9941"], "relay_inbound": ["tcp://busgateway01.stg.phx2.fedoraproject.org:9941"],
# Pointless because we don't listen for anything, but fedmsg explodes without it # Pointless because we don't listen for anything, but fedmsg explodes without it
"endpoints": {"staging_gateway": ['tcp://stg.fedoraproject.org:9940']}, "endpoints": {"staging_gateway": ['tcp://stg.fedoraproject.org:9940']},
"name": "stg-release-monitoring",
"certnames": {"stg-release-monitoring": "release-monitoring.stg.release-monitoring.org"},
{% else %} {% else %}
"environment": "prod", "environment": "prod",
"relay_inbound": ["tcp://busgateway01.phx2.fedoraproject.org:9941"], "relay_inbound": ["tcp://busgateway01.phx2.fedoraproject.org:9941"],
"endpoints": {"production_gateway": ['tcp://fedoraproject.org:9940']}, "endpoints": {"production_gateway": ['tcp://fedoraproject.org:9940']},
"name": "release-monitoring",
"certnames": {"release-monitoring": "release-monitoring.release-monitoring.org"},
{% endif %} {% endif %}
} }