Add koji kerb stuff

Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
Patrick Uiterwijk 2016-08-10 18:20:47 +00:00
parent 6c1407b71e
commit f5b1d6dc09
2 changed files with 21 additions and 0 deletions

View file

@ -77,6 +77,20 @@
- config
- koji_hub
#
# install keytabs
#
- name: install koji-hub keytab
when: env == "staging"
copy: src={{ private }}/files/keytabs/{{ env }}/koji-hub dest=/etc/koji-hub/koji-hub.keytab
owner=apache group=apache mode=0600
notify:
- reload httpd
tags:
- config
-koji_hub
#
# install production certs and keys
#

View file

@ -20,6 +20,13 @@ KojiDir = /mnt/koji
MemoryWarnThreshold = 10000
MaxRequestLength = 83886080
{% if env == "staging" %}
# Kerb auth
AuthPrincipal = host/koji.stg.fedoraproject.org
AuthKeytab = /etc/koji-hub/koji-hub.keytab
{% endif %}
## SSL client certificate auth configuration ##
#note: ssl auth may also require editing the httpd config (conf.d/kojihub.conf)