On Wed, Sep 27, 2017 at 5:00 PM, Stephen John Smoogen <smooge@xxxxxxxxx> wrote: > Discussion on IRC has patch corrected to change http back to https so +1 > +1 with that change. > On 27 September 2017 at 05:28, Pierre-Yves Chibon <pingou@xxxxxxxxxxxx> wrote: >> Good Morning Everyone, >> >> While trying to debug an issue with FMN this morning, I realized that the >> configuration for the web front-end differs from the one of the backend and I >> would like to harmonize them. >> >> This is the diff to apply: >> >> --- a/roles/notifs/frontend/templates/fmn.web.py >> +++ b/roles/notifs/frontend/templates/fmn.web.py >> @@ -29,12 +29,16 @@ config = { >> "fmn.email.mailserver": "bastion01.phx2.fedoraproject.org:25", >> >> # Some configuration for the rule processors >> - "fmn.rules.utils.use_pkgdb2": True, >> - {% if env == 'staging' %} >> + "fmn.rules.utils.use_pkgdb2": False, >> + 'fmn.rules.utils.use_pagure_for_ownership': True, >> + {% if env == 'staging' %} >> + 'fmn.rules.utils.pagure_api_url': 'https://src.stg.fedoraproject.org/api/', >> "fmn.rules.utils.pkgdb_url": "https://admin.stg.fedoraproject.org/pkgdb/api", >> {% else %} >> - "fmn.rules.utils.pkgdb_url": "https://admin.fedoraproject.org/pkgdb/api", >> + 'fmn.rules.utils.pagure_api_url': 'https://src.fedoraproject.org/api/', >> + "fmn.rules.utils.pkgdb_url": "http://pkgdb01.phx2.fedoraproject.org/pkgdb/api", >> {% endif %} >> + >> "fmn.rules.cache": { >> "backend": "dogpile.cache.memcached", >> "expiration_time": 3600, # 3600 is 1 hour >> >> Then apache needs to be reloaded/restarted. >> >> It's not quite mission critical but it would help making sure we do not miss it >> later (though I guess we could always put it in a ticket to not forget it if we >> prefer to wait). >> >> >> Pierre >> >> _______________________________________________ >> infrastructure mailing list -- infrastructure@xxxxxxxxxxxxxxxxxxxxxxx >> To unsubscribe send an email to infrastructure-leave@xxxxxxxxxxxxxxxxxxxxxxx >> > > > > -- > Stephen J Smoogen. > _______________________________________________ > infrastructure mailing list -- infrastructure@xxxxxxxxxxxxxxxxxxxxxxx > To unsubscribe send an email to infrastructure-leave@xxxxxxxxxxxxxxxxxxxxxxx _______________________________________________ infrastructure mailing list -- infrastructure@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to infrastructure-leave@xxxxxxxxxxxxxxxxxxxxxxx