Add fedmsg declarations for new fmn.web messages.

This commit is contained in:
Ralph Bean 2014-06-11 19:01:59 +00:00
parent b165d0f907
commit ba96640054
5 changed files with 43 additions and 0 deletions

View file

@ -10,3 +10,12 @@ num_cpus: 2
tcp_ports: [ 80, 443 ] tcp_ports: [ 80, 443 ]
fas_client_groups: sysadmin-noc,sysadmin-datanommer 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: apache

View file

@ -10,3 +10,12 @@ num_cpus: 2
tcp_ports: [ 80, 443 ] tcp_ports: [ 80, 443 ]
fas_client_groups: sysadmin-noc,sysadmin-datanommer 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: apache

View file

@ -35,6 +35,7 @@
- endpoints.py - endpoints.py
- endpoints-fedocal.py - endpoints-fedocal.py
- endpoints-fedbadges.py - endpoints-fedbadges.py
- endpoints-fmn-web.py
- endpoints-nuancier.py - endpoints-nuancier.py
- endpoints-mailman.py - endpoints-mailman.py
- endpoints-summershum.py - endpoints-summershum.py

View file

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

View file

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