Set a koji-hub ProxyPrincipal for modularity in staging.

This commit is contained in:
Ralph Bean 2016-11-02 16:40:14 +00:00
parent 2a2019ff3a
commit a28a93dad7

View file

@ -31,6 +31,12 @@ HostPrincipalFormat = compile/%s@FEDORAPROJECT.ORG
{% endif %} {% endif %}
AuthKeytab = /etc/koji-hub/koji-hub.keytab AuthKeytab = /etc/koji-hub/koji-hub.keytab
{% if env == "staging" %}
{% if inventory_hostname.startswith('koji') %}
ProxyPrincipals = modularity@STG.FEDORAPROJECT.ORG
{% endif %}
{% endif %}
## SSL client certificate auth configuration ## ## SSL client certificate auth configuration ##
#note: ssl auth may also require editing the httpd config (conf.d/kojihub.conf) #note: ssl auth may also require editing the httpd config (conf.d/kojihub.conf)