Files
fedora-infra_ansible/roles/mote/templates/config.py
2015-06-12 13:58:17 +00:00

52 lines
1.3 KiB
Python

'''
Crawler Configuration
'''
log_endpoint = "/srv/web/meetbot"
#log_endpoint = "/home/user/mote/test_data/meetbot"
# Fedora has a "teams" folder which contains
# logs from meetings started with a certain team name
# for instance, `#startmeeting famna` will save in "/teams/famna"
# Folders not in "teams" reflect the channel name of the meeting
log_team_folder = "teams"
# Directories to ignore in crawling the logs.
# These folders are ignored. The "meetbot" folder is
# an infinite loop on Fedora's meetbot instance.
ignore_dir = "meetbot"
# Location where raw logs/minutes are stored (remote location)
{% if env == 'staging' %}
meetbot_prefix = "http://meetbot.stg.fedoraproject.org"
{% else %}
meetbot_prefix = "http://meetbot.fedoraproject.org"
{% endif %}
# Time (in seconds) after which the log/meeting cache expires
cache_expire_time = 60 * 60 * 1
'''
Development Configuration
'''
## Don't turn this on in Fedora Infrastructure as it might allow remote execution
## of arbitrary code.
##enable_debug = True
#app_port = 5000
#app_host = "127.0.0.1"
'''
General Configuration
'''
admin_groups = ["sysadmin-mote"]
# memcached must be installed for this feature
memcached_ip = "memcached01:11211"
use_memcached = False # Use a memcached store for greater performance
# JSON cache store location
json_cache_location = "/var/tmp/mote/cache.json"