Allow to pass any configs into master.conf
Change-Id: I130e885e1599391e983e28c1f67610b325ccfc72
Prod-related: PROD-27850 (PROD:27850)
diff --git a/salt/files/master.conf b/salt/files/master.conf
index 46f76d1..fcd1f11 100644
--- a/salt/files/master.conf
+++ b/salt/files/master.conf
@@ -1,9 +1,14 @@
{%- from "salt/map.jinja" import master with context %}
{%- from "linux/map.jinja" import system with context %}
+{%- if master.opts is defined %}
+ {%- for param, value in master.opts.items() %}
+{{ param }}: {{ value }}
+ {%- endfor %}
+{%- endif %}
+
worker_threads: {{ master.worker_threads }}
timeout: {{ master.command_timeout }}
-
{%- if master.interface is defined %}
interface: {{ master.interface }}
{%- endif %}