You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
991 B
41 lines
991 B
[hub]
|
|
DBName = {{ koji_db_name }}
|
|
DBUser = {{ koji_db_user }}
|
|
DBPass = {{ koji_db_password }}
|
|
DBHost = {{ koji_db_server_ip }}
|
|
DBPort = 5432
|
|
|
|
AuthPrincipal = {{ koji_hub_principal }}
|
|
AuthKeytab = {{ koji_hub_keytab }}
|
|
ProxyPrincipals = {{ koji_web_principal }}
|
|
HostPrincipalFormat = compile/%s@{{ koji_kerberos_realm }}
|
|
|
|
KojiDir = /mnt/koji
|
|
|
|
LoginCreatesUser = On
|
|
KojiWebURL = https://{{ koji_domain_name }}/koji
|
|
|
|
# disable notifications
|
|
NotifyOnSuccess = False
|
|
DisableNotifications = True
|
|
|
|
#
|
|
# Plugins configuration
|
|
#
|
|
PluginPath = /usr/lib/koji-hub-plugins
|
|
Plugins = sidetag_hub
|
|
|
|
[policy]
|
|
sidetag =
|
|
{% for sidetag_parent in koji_hub_sidetags_parents %}
|
|
tag {{ sidetag_parent }} && compare number_of_tags <= {{ koji_hub_sidetags_max }} :: allow
|
|
{% endfor %}
|
|
all :: deny
|
|
|
|
package_list =
|
|
# allow admins modifying package lists
|
|
has_perm admin :: allow
|
|
# allow blocking for owners in their sidetags
|
|
match action block && is_sidetag_owner :: allow
|
|
all :: deny
|