From a80d43a4454e6cdb79a3440254469d914d1159af Mon Sep 17 00:00:00 2001 From: Patrick Uiterwijk Date: Tue, 24 Oct 2017 20:58:32 +0000 Subject: [PATCH] Set up koji profile for bodhi Signed-off-by: Patrick Uiterwijk --- roles/bodhi2/backend/tasks/main.yml | 5 +++++ roles/bodhi2/backend/templates/kojiprofile.conf | 9 +++++++++ 2 files changed, 14 insertions(+) create mode 100644 roles/bodhi2/backend/templates/kojiprofile.conf diff --git a/roles/bodhi2/backend/tasks/main.yml b/roles/bodhi2/backend/tasks/main.yml index bc5a6b2394..32f51598c7 100644 --- a/roles/bodhi2/backend/tasks/main.yml +++ b/roles/bodhi2/backend/tasks/main.yml @@ -483,6 +483,11 @@ tags: - bodhi +- name: Set up koji profile + template: src=kojiprofile.conf dest=/etc/koji.conf.d/bodhi.conf + tags: + - bodhi + - name: Put in tag2distrepo config template: > src=tag2distrepo.py.j2 diff --git a/roles/bodhi2/backend/templates/kojiprofile.conf b/roles/bodhi2/backend/templates/kojiprofile.conf new file mode 100644 index 0000000000..3256574cb2 --- /dev/null +++ b/roles/bodhi2/backend/templates/kojiprofile.conf @@ -0,0 +1,9 @@ +[bodhi_koji] +server = https://koji{{ env_suffix }}.fedoraproject.org/kojihub +weburl = https://koji{{ env_suffix }}.fedoraproject.org/koji +topurl = https://kojipkgs{{ env_suffix }}.fedoraproject.org/ +anon_retry = true +krb_rdns = false +authtype = kerberos +principal = bodhi/bodhi{{ env_suffix }}.fedoraproject.org +keytab = /etc/krb5.bodhi_bodhi{{ env_suffix }}.fedoraproject.org.keytab