Cert and endpoint setup for fmn backend.
This commit is contained in:
parent
7a940b5b04
commit
558c50965e
5 changed files with 39 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
14
roles/fedmsg/base/templates/endpoints-fmn-backend.py.j2
Normal file
14
roles/fedmsg/base/templates/endpoints-fmn-backend.py.j2
Normal 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)
|
||||
],
|
||||
},
|
||||
)
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue