fedmsg for mailman01.stg.
This commit is contained in:
parent
3e466a7cf3
commit
ba9027ef15
6 changed files with 33 additions and 0 deletions
|
@ -9,6 +9,15 @@ num_cpus: 2
|
||||||
tcp_ports: [ 25, 80, 443 ]
|
tcp_ports: [ 25, 80, 443 ]
|
||||||
fas_client_groups: sysadmin-tools,sysadmin-main
|
fas_client_groups: sysadmin-tools,sysadmin-main
|
||||||
|
|
||||||
|
# These are consumed by a task in roles/fedmsg_base/main.yml
|
||||||
|
fedmsg_certs:
|
||||||
|
- service: shell
|
||||||
|
owner: root
|
||||||
|
group: sysadmin
|
||||||
|
- service: mailman
|
||||||
|
owner: mailman
|
||||||
|
group: mailman
|
||||||
|
|
||||||
# default virt install command is for a single nic-device
|
# default virt install command is for a single nic-device
|
||||||
# define in another group file for more nics (see buildvm)
|
# define in another group file for more nics (see buildvm)
|
||||||
virt_install_command: /usr/sbin/virt-install -n ${inventory_hostname} -r ${mem_size}
|
virt_install_command: /usr/sbin/virt-install -n ${inventory_hostname} -r ${mem_size}
|
||||||
|
|
|
@ -21,6 +21,7 @@
|
||||||
- endpoints.py
|
- endpoints.py
|
||||||
- endpoints-fedbadges.py
|
- endpoints-fedbadges.py
|
||||||
- endpoints-nuancier.py
|
- endpoints-nuancier.py
|
||||||
|
- endpoints-mailman.py
|
||||||
- relay.py
|
- relay.py
|
||||||
- pkgdb.py
|
- pkgdb.py
|
||||||
- logging.py
|
- logging.py
|
||||||
|
|
15
roles/fedmsg_base/templates/endpoints-mailman.py.j2
Normal file
15
roles/fedmsg_base/templates/endpoints-mailman.py.j2
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
{% if env == 'staging' %}
|
||||||
|
suffix = 'stg.phx2.fedoraproject.org'
|
||||||
|
{% else %}
|
||||||
|
suffix = 'phx2.fedoraproject.org'
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
config = dict(
|
||||||
|
endpoints={
|
||||||
|
# We are running only a single mailman archive runner, so we only
|
||||||
|
# need a single endpoint.
|
||||||
|
"mailman.mailman01": [
|
||||||
|
"tcp://mailman01.%s:3000" % (suffix, i)
|
||||||
|
],
|
||||||
|
},
|
||||||
|
)
|
|
@ -129,6 +129,9 @@ config = dict(
|
||||||
("shell.nuancier02", "shell-nuancier02.%s" % suffix),
|
("shell.nuancier02", "shell-nuancier02.%s" % suffix),
|
||||||
("nuancier.nuancier01", "nuancier-nuancier01.%s" % suffix),
|
("nuancier.nuancier01", "nuancier-nuancier01.%s" % suffix),
|
||||||
("nuancier.nuancier02", "nuancier-nuancier02.%s" % suffix),
|
("nuancier.nuancier02", "nuancier-nuancier02.%s" % suffix),
|
||||||
|
|
||||||
|
("shell.mailman01", "shell-mailman01.%s" % suffix),
|
||||||
|
("mailman.mailman01", "mailman-mailman01.%s" % suffix),
|
||||||
]),
|
]),
|
||||||
routing_policy={
|
routing_policy={
|
||||||
# The gist here is that only messages signed by the
|
# The gist here is that only messages signed by the
|
||||||
|
|
|
@ -12,6 +12,7 @@
|
||||||
- hyperkitty
|
- hyperkitty
|
||||||
- postorius
|
- postorius
|
||||||
- yum-plugin-post-transaction-actions
|
- yum-plugin-post-transaction-actions
|
||||||
|
- mailman3-fedmsg-plugin
|
||||||
tags:
|
tags:
|
||||||
- packages
|
- packages
|
||||||
|
|
||||||
|
|
|
@ -28,6 +28,10 @@ class: hyperkitty.archiver.Archiver
|
||||||
enable: yes
|
enable: yes
|
||||||
configuration: /etc/mailman3.d/hyperkitty.cfg
|
configuration: /etc/mailman3.d/hyperkitty.cfg
|
||||||
|
|
||||||
|
[archiver.fedmsg]
|
||||||
|
class: mailman3_fedmsg_plugin.Archiver
|
||||||
|
enable: yes
|
||||||
|
|
||||||
[archiver.prototype]
|
[archiver.prototype]
|
||||||
enable: yes
|
enable: yes
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue