Cert and endpoint setup for fmn backend.

This commit is contained in:
Ralph Bean 2014-07-07 14:20:27 +00:00
parent 7a940b5b04
commit 558c50965e
5 changed files with 39 additions and 0 deletions

View file

@ -7,4 +7,15 @@ num_cpus: 2
# for systems that do not match the above - specify the same parameter in
# the host_vars/$hostname file
tcp_ports: [ 3000, 3001, 3002, 3003 ]
fas_client_groups: sysadmin-noc,sysadmin-datanommer
# These are consumed by a task in roles/fedmsg/base/main.yml
fedmsg_certs:
- service: shell
owner: root
group: sysadmin
- service: fmn
owner: root
group: fedmsg

View file

@ -7,4 +7,15 @@ num_cpus: 2
# for systems that do not match the above - specify the same parameter in
# the host_vars/$hostname file
tcp_ports: [ 3000, 3001, 3002, 3003 ]
fas_client_groups: sysadmin-noc,sysadmin-datanommer
# These are consumed by a task in roles/fedmsg/base/main.yml
fedmsg_certs:
- service: shell
owner: root
group: sysadmin
- service: fmn
owner: root
group: fedmsg

View file

@ -37,6 +37,7 @@
- endpoints-elections.py
- endpoints-fedbadges.py
- endpoints-fmn-web.py
- endpoints-fmn-backend.py
- endpoints-nuancier.py
- endpoints-mailman.py
- endpoints-summershum.py

View file

@ -0,0 +1,14 @@
{% if env == 'staging' %}
suffix = 'stg.phx2.fedoraproject.org'
{% else %}
suffix = 'phx2.fedoraproject.org'
{% endif %}
config = dict(
endpoints={
"fmn.notifs-backend01": [
"tcp://notifs-backend01.%s:30%0.2i" % (suffix, i)
for i in range(4)
],
},
)

View file

@ -46,6 +46,8 @@ config = dict(
] + [
("fmn.notifs-web0%i" % i, "fmn-notifs-web0%i.%s" % (i, suffix))
for i in range(1, 3)
] + [
("fmn.notifs-backend01", "fmn-notifs-backend01.%s" % suffix),
] + [
("shell.pkgdb0%i" % i, "shell-pkgdb0%i.%s" % (i, suffix))
for i in range(1, 3)