[copr] frontend: add statistic related stuff

This commit is contained in:
Valentin Gologuzov 2015-03-13 13:36:03 +01:00
parent 7084e6668f
commit 73165d103e
2 changed files with 6 additions and 0 deletions

View file

@ -18,6 +18,9 @@
tags:
- config
- name: enable and start redis # TODO: .service in copr-backend should depend on redis
service: name=redis enabled=yes state=started
- name: copy apache files to conf.d
copy: src="httpd/{{ item }}" dest="/etc/httpd/conf.d/{{ item }}"
with_items:

View file

@ -36,3 +36,6 @@ SEND_EMAILS = True
PUBLIC_COPR_HOSTNAME = "{{ copr_frontend_public_hostname }}"
LOG_FILENAME = "/var/log/copr/frontend.log"
# to accept stat events from logstash
INTRANET_IPS = ["127.0.0.1", "172.16.5.0/24"]