From e51d3ff5f6e2b548a7014dc3ed6c60d359ed5cfc Mon Sep 17 00:00:00 2001 From: lrossett Date: Mon, 8 Mar 2021 10:49:20 -0300 Subject: [PATCH] krb koji vars --- templates/mbs/koji.conf.j2 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/templates/mbs/koji.conf.j2 b/templates/mbs/koji.conf.j2 index 73e2ca3..b5c8a47 100644 --- a/templates/mbs/koji.conf.j2 +++ b/templates/mbs/koji.conf.j2 @@ -1,4 +1,4 @@ -[{{ mbs_config_type }}] +[koji] server = {{ kojihub_top_url }}/kojihub weburl = {{ kojihub_top_url }}/koji topurl = {{ kojihub_top_url }} @@ -6,6 +6,10 @@ topurl = {{ kojihub_top_url }} authtype = {{ kojihub_auth_type }} {% if kojihub_auth_type == 'kerberos' %} krb_rdns = {{ kojihub_kerberos_rdns | bool }} +;the principal to auth as for automated clients +principal = {{ mbs_config_krb_principal }} +;the keytab to auth as for automated clients +keytab = {{ mbs_config_krb_keytab }} {% endif %} {% if kojihub_auth_type == 'ssl' %} cert = {{ kojihub_ssl_cert }}