Allow a fedmsg cert alias for mm-backend.

This commit is contained in:
Ralph Bean 2015-07-06 14:53:44 +00:00
parent bdbc8dd600
commit 99c6e4f840
2 changed files with 3 additions and 2 deletions

View file

@ -3,6 +3,7 @@ mem_size: 6144
fedmsg_certs:
- service: shell
alias: mirrormanager
owner: mirrormanager
group: sysadmin
can_send:

View file

@ -15,9 +15,9 @@ config = dict(
# This is the set of certs for this host, dynamically generated from the
# ``fedmsg_certs`` host vars
{% for cert in fedmsg_certs %}
("{{cert['service']}}.{{inventory_hostname_short}}", "{{cert['service']}}-{{fedmsg_fqdn | default(ansible_fqdn)}}"),
("{{cert.get('alias', cert['service'])}}.{{inventory_hostname_short}}", "{{cert['service']}}-{{fedmsg_fqdn | default(ansible_fqdn)}}"),
{% endfor %}
] + [
] + [
# This is the beginning of the static list. We should eventually remove
# this.
("git.hosted03", "git-hosted03.vpn.fedoraproject.org"),