Add koji kerb stuff
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
6c1407b71e
commit
f5b1d6dc09
2 changed files with 21 additions and 0 deletions
|
@ -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
|
||||
#
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue