diff --git a/conf/master b/conf/master index 457f68dc135..59133fd3c80 100644 --- a/conf/master +++ b/conf/master @@ -677,7 +677,9 @@ # The master_roots setting configures a master-only copy of the file_roots dictionary, # used by the state compiler. -#master_roots: /srv/salt-master +#master_roots: +# base: +# - /srv/salt-master # When using multiple environments, each with their own top file, the # default behaviour is an unordered merge. To prevent top files from diff --git a/doc/ref/configuration/master.rst b/doc/ref/configuration/master.rst index ea21b4e85cf..8bdef978815 100644 --- a/doc/ref/configuration/master.rst +++ b/doc/ref/configuration/master.rst @@ -2654,14 +2654,18 @@ nothing is ignored. ``master_roots`` ---------------- -Default: ``/srv/salt-master`` +Default: ``''`` A master-only copy of the :conf_master:`file_roots` dictionary, used by the state compiler. +Example: + .. code-block:: yaml - master_roots: /srv/salt-master + master_roots: + base: + - /srv/salt-master roots: Master's Local File Server ---------------------------------