From 043420c43649cd7aaf6ed5a7f1f197b6d758fa0e Mon Sep 17 00:00:00 2001 From: Randy Barlow Date: Thu, 10 Aug 2017 13:44:40 +0000 Subject: [PATCH] Configure production Bodhi to use Pagure for ACLs. Signed-off-by: Randy Barlow --- roles/bodhi2/base/templates/production.ini.j2 | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/roles/bodhi2/base/templates/production.ini.j2 b/roles/bodhi2/base/templates/production.ini.j2 index 4998ae6e1b..5cc06e4416 100644 --- a/roles/bodhi2/base/templates/production.ini.j2 +++ b/roles/bodhi2/base/templates/production.ini.j2 @@ -305,16 +305,21 @@ krb_keytab = /etc/krb5.bodhi_bodhi{{ env_suffix }}.fedoraproject.org.keytab ## ## ACL system ## Choices are 'pkgdb', which will send a JSON query to the pkgdb_url below, -## or 'dummy', which will always return guest credentials (used for local -## development). +## 'pagure', which will query the pagure_url below, or 'dummy', which will +## always return guest credentials (used for local development). ## -acl_system = pkgdb +acl_system = pagure ## ## Package DB ## pkgdb_url = https://admin.fedoraproject.org/pkgdb +## +## Pagure +## +pagure_url = https://src.fedoraproject.org/ + # We used to get our package tags from pkgdb, but they come from tagger now. # https://github.com/fedora-infra/fedora-tagger/pull/74 #pkgtags_url = https://apps.fedoraproject.org/tagger/api/v1/tag/sqlitebuildtags/