Make a way to configure the fedmsg "active" flag.
This commit is contained in:
parent
362f33c687
commit
a0731e2238
3 changed files with 15 additions and 0 deletions
|
@ -55,6 +55,10 @@ fedmsg_certs: []
|
|||
# By default, fedmsg should not log debug info. Groups can override this.
|
||||
fedmsg_loglevel: INFO
|
||||
|
||||
# By default, fedmsg hosts are in passive mode. External hosts are typically
|
||||
# active.
|
||||
fedmsg_active: False
|
||||
|
||||
# By default, nodes don't backup any dbs on them unless they declare it.
|
||||
dbs_to_backup: []
|
||||
|
||||
|
|
|
@ -12,6 +12,10 @@ custom_rules: [ '-A INPUT -p tcp -m tcp -s 10.5.78.11 --dport 2049 -j ACCEPT',
|
|||
nrpe_procs_warn: 900
|
||||
nrpe_procs_crit: 1000
|
||||
|
||||
# Since retrace is on the qa network, it needs to actively connect to our
|
||||
# inbound relay.
|
||||
fedmsg_active: True
|
||||
|
||||
# Declare fedmsg certs that should be put in /etc/pki/fedmsg/
|
||||
# These are consumed by a task in roles/fedmsg/base/main.yml
|
||||
fedmsg_certs:
|
||||
|
|
|
@ -7,6 +7,13 @@ config = dict(
|
|||
environment="prod",
|
||||
{% endif %}
|
||||
|
||||
# Most hosts will be "false" here indicating that if they publish messages,
|
||||
# they will passively bind to ports and have other consuming services
|
||||
# actively connect to them. If this flag is set to True, then the service
|
||||
# will actively connect out to a fedmsg-relay to have its messages forwarded
|
||||
# on.
|
||||
active={{fedmsg_active}},
|
||||
|
||||
{% if not ansible_hostname.startswith('busgateway') %}
|
||||
# These options provide a place for hub processes to write out their last
|
||||
# processed message. This let's them read it in at startup and figure out
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue