mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Suggest a separate repo for top.sls
.
This replaces the suggestion to keep `top.sls` out of other branches which is rather unpractical, as it would require to manually delete it from each new created branch and prevent deleting it when merging the branch back into `master`.
This commit is contained in:
parent
0aa1029f24
commit
583239b893
@ -444,8 +444,8 @@ be used:
|
||||
|
||||
``top.sls`` files from different branches will be merged into one at runtime.
|
||||
Since this can lead to overly complex configurations, the recommended setup is
|
||||
to have the ``top.sls`` file only in the master branch and use
|
||||
environment-specific branches for state definitions.
|
||||
to have a separate repository, containing only the ``top.sls`` file with just
|
||||
one single ``master`` branch.
|
||||
|
||||
To map a branch other than ``master`` as the ``base`` environment, use the
|
||||
:conf_master:`gitfs_base` parameter.
|
||||
|
Loading…
Reference in New Issue
Block a user