Add ansible and fedmsg endpoints for mm

This commit is contained in:
Patrick Uiterwijk 2015-07-28 18:19:33 +00:00
parent ecbdc9071c
commit d2052d3f9e
4 changed files with 15 additions and 2 deletions

View file

@ -32,7 +32,7 @@
- fas_client
- sudo
- collectd/base
- { role: openvpn/client, when: env != "staging" and inventory_hostname.startswith('mm-frontend01') }
- { role: openvpn/client, when: env != "staging" and inventory_hostname.startswith('mm-frontend') }
- { role: nfs/client, when: inventory_hostname.startswith('mm-backend01'), mnt_dir: '/srv/pub', nfs_src_dir: 'fedora_ftp/fedora.redhat.com/pub' }
tasks:

View file

@ -61,6 +61,12 @@ config = dict(
"tcp://mm-frontend01.%s:30%02i" % (suffix, i)
for i in range(2)
],
{% if env != 'staging' %}
"mirrormanager2.mm-frontend02": [
"tcp://mm-frontend02.%s:30%02i" % (suffix, i)
for i in range(2)
],
{% endif %}
# mizdebsk says he thinks we'll need four sockets. Two services
# (koschei-resolver and koschei-polling) are only sending messages, one

View file

@ -0,0 +1,7 @@
define host {
host_name mm-frontend02
alias mm-frontend02.phx2.fedoraproject.org
use defaulttemplate
address mm-frontend02.phx2.fedoraproject.org
parents virthost02
}

View file

@ -44,7 +44,7 @@ define service {
}
define service {
host_name mm-frontend01,mm-frontend01.stg
host_name mm-frontend01,mm-frontend02,mm-frontend01.stg
service_description mm-publiclist-internal
check_command check_website!localhost!/mirrormanager/api/mirroradmins/?name=dl.fedoraproject.org
use internalwebsitetemplate