summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRandy Barlow <randy@electronsweatshop.com>2017-08-08 14:46:35 +0000
committerRandy Barlow <randy@electronsweatshop.com>2017-08-08 14:46:35 +0000
commit28e6aa6512cb7fc779c6571355f103543834fec9 (patch)
treec11511df4613517bcb66712dcd25f472f6fb5188
parent073a7cc91fd629b7fae24343fbe3d0c630385294 (diff)
downloadansible-28e6aa6512cb7fc779c6571355f103543834fec9.tar.gz
ansible-28e6aa6512cb7fc779c6571355f103543834fec9.tar.xz
ansible-28e6aa6512cb7fc779c6571355f103543834fec9.zip
Configure staging Bodhi to use Pagure for ACLs.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
-rw-r--r--roles/bodhi2/base/templates/staging.ini.j211
1 files changed, 8 insertions, 3 deletions
diff --git a/roles/bodhi2/base/templates/staging.ini.j2 b/roles/bodhi2/base/templates/staging.ini.j2
index 0b3062c94..be0fe07c8 100644
--- a/roles/bodhi2/base/templates/staging.ini.j2
+++ b/roles/bodhi2/base/templates/staging.ini.j2
@@ -268,16 +268,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 = dummy
+acl_system = pagure
##
## Package DB
##
pkgdb_url = https://admin.stg.fedoraproject.org/pkgdb
+##
+## Pagure
+##
+pagure_url = https://src.stg.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/