fmn frontend needs some rule configuration.

This commit is contained in:
Ralph Bean 2015-01-08 16:22:44 +00:00
parent 2d24d3a926
commit 8f13b977db

View file

@ -11,4 +11,19 @@ config = {
{% endif %}
"fmn.web.default_login": "fedora_login",
# Some configuration for the rule processors
"fmn.rules.utils.use_pkgdb2": True,
{% if env == 'staging' %}
"fmn.rules.utils.pkgdb_url": "https://admin.stg.fedoraproject.org/pkgdb/api",
{% else %}
"fmn.rules.utils.pkgdb_url": "https://admin.fedoraproject.org/pkgdb/api",
{% endif %}
"fmn.rules.cache": {
"backend": "dogpile.cache.dbm",
"expiration_time": 3600, # 3600 is 1 hour
"arguments": {
"filename": "/var/tmp/fmn-cache.dbm",
},
},
}