configure state_output
This option can configure default output of state calls. Terse (default
option) will make each call to be on single line and make salt output
better.
Change-Id: Id0987561e34a84fb26a796729d6ab3de3b9ae8e5
diff --git a/README.rst b/README.rst
index 546129b..73cdfc7 100644
--- a/README.rst
+++ b/README.rst
@@ -171,6 +171,14 @@
".*":
- x509.sign_remote_certificate
+Configure verbosity of state output (used for `salt` command)
+
+.. code-block:: yaml
+
+ salt:
+ master:
+ state_output: terse
+
Salt proxy
----------
diff --git a/salt/files/master.conf b/salt/files/master.conf
index 0b1333f..f08763c 100644
--- a/salt/files/master.conf
+++ b/salt/files/master.conf
@@ -4,6 +4,8 @@
worker_threads: {{ master.worker_threads }}
timeout: {{ master.command_timeout }}
+state_output: {{ master.get('state_output', 'terse') }}
+
{%- if master.system is defined %}
file_roots: