Conditionalize the containerbuild stuff

This commit is contained in:
Kevin Fenzi 2016-03-02 18:28:49 +00:00
parent 3382864cee
commit a385778b23

View file

@ -72,7 +72,11 @@ serverca = /etc/kojid/cacert.pem
{% if 'runroot' in group_names %}
; Config for it lives in /etc/kojid/runroot.conf
{% if env == 'staging' %}
plugins = runroot builder_container
{% else %}
plugins = runroot
{% endif %}
; We use the hub's plugin path since that's where
; the package installs the builder plugin.
@ -80,6 +84,10 @@ pluginpath = /usr/lib/koji-hub-plugins
{% else %}
{% if env == 'staging' %}
plugins = builder_container
{% else %}
plugins =
{% endif %}
{% endif %}