Merge "Allow setting more master and minion options"
diff --git a/salt/files/master.conf b/salt/files/master.conf
index 40a38f5..329ae0d 100644
--- a/salt/files/master.conf
+++ b/salt/files/master.conf
@@ -4,6 +4,10 @@
 worker_threads: {{ master.worker_threads }}
 timeout: {{ master.command_timeout }}
 
+{%- if master.get('max_open_files') %}
+max_open_files: {{ master.max_open_files }}
+{%- endif %}
+
 state_output: {{ master.get('state_output', 'changes') }}
 
 {%- if master.system is defined %}
@@ -90,3 +94,7 @@
 {%- if master.get('order_masters', False) %}
 order_masters: True
 {%- endif %}
+
+{#-
+vim: syntax=jinja
+-#}
diff --git a/salt/files/minion.conf b/salt/files/minion.conf
index cda7554..415dcc2 100644
--- a/salt/files/minion.conf
+++ b/salt/files/minion.conf
@@ -23,9 +23,13 @@
 
 id: {{ system.name }}.{{ system.domain }}
 
-{% if minion.get('max_event_size') %}
-max_event_size: {{ minion.max_event_size }}
+{%- for opt in ['max_event_size', 'acceptance_wait_time_max',
+  'acceptance_wait_time', 'random_reauth_delay', 'recon_default', 'recon_max',
+  'recon_randomize', 'auth_timeout'] %}
+{% if minion.get(opt) %}
+{{ opt }}: {{ minion.get(opt) }}
 {%- endif %}
+{%- endfor %}
 
 {%- set excluded_keys = ('master', 'system', 'public_keys', 'private_keys', 'known_hosts', '__reclass__', '_secret', '_param') %}
 
@@ -163,3 +167,7 @@
 {%- endif %}
 
 {%- endfor %}
+
+{#-
+vim: syntax=jinja
+-#}