koji hub: make kojihub.conf add add arm.koji bit needed for serving files as secondary doesn't have separate kojipkgs
This commit is contained in:
parent
8d5864f532
commit
5ab90880fe
2 changed files with 15 additions and 2 deletions
|
@ -222,7 +222,6 @@
|
||||||
- name: koji web common config files
|
- name: koji web common config files
|
||||||
copy: src={{ item }} dest=/etc/httpd/conf.d/{{ item }} owner=root group=root
|
copy: src={{ item }} dest=/etc/httpd/conf.d/{{ item }} owner=root group=root
|
||||||
with_items:
|
with_items:
|
||||||
- kojihub.conf
|
|
||||||
- mash.conf
|
- mash.conf
|
||||||
- rel-eng.conf
|
- rel-eng.conf
|
||||||
- repo.conf
|
- repo.conf
|
||||||
|
@ -232,7 +231,10 @@
|
||||||
notify: reload httpd
|
notify: reload httpd
|
||||||
|
|
||||||
- name: koji web hub specific config files
|
- name: koji web hub specific config files
|
||||||
template: src=kojiweb.conf.j2 dest=/etc/httpd/conf.d/kojiweb.conf owner=root group=root
|
template: src={{ item }}.j2 dest=/etc/httpd/conf.d/{{ item }} owner=root group=root
|
||||||
|
with_items:
|
||||||
|
- kojiweb.conf
|
||||||
|
- kojihub.conf
|
||||||
tags:
|
tags:
|
||||||
- config
|
- config
|
||||||
- koji_hub
|
- koji_hub
|
||||||
|
|
|
@ -12,6 +12,17 @@ Alias /kojihub /usr/share/koji-hub/kojixmlrpc.py
|
||||||
Require all granted
|
Require all granted
|
||||||
</Directory>
|
</Directory>
|
||||||
|
|
||||||
|
{% if inventory_hostname == 'arm-koji01.qa.fedoraproject.org' %}
|
||||||
|
# Also serve /mnt/koji
|
||||||
|
Alias /kojifiles "/mnt/koji/"
|
||||||
|
|
||||||
|
<Directory "/mnt/koji">
|
||||||
|
Options Indexes FollowSymLinks
|
||||||
|
AllowOverride None
|
||||||
|
Order allow,deny
|
||||||
|
Allow from all
|
||||||
|
</Directory>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
<Location /kojihub/ssllogin>
|
<Location /kojihub/ssllogin>
|
||||||
SSLVerifyClient require
|
SSLVerifyClient require
|
Loading…
Add table
Add a link
Reference in a new issue