Re: [FBR]: Updating fmn-web config

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Discussion on IRC has patch corrected to change http back to https so +1

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




[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux