diff --git a/roles/koji_builder/templates/kojid.conf b/roles/koji_builder/templates/kojid.conf index 69e7f01f46..9270cf774f 100644 --- a/roles/koji_builder/templates/kojid.conf +++ b/roles/koji_builder/templates/kojid.conf @@ -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 %}