I have problem where managing multiple domains in one top.sls
file is getting difficult. How could I write top.sls
so that it only takes those pillars that match my minion name/hostname.
For example:
- There is
deplo1.domain1.app
minion - It loads
domain1_app
frompillar/domain1_app/init.sls
Current pillar/top.sls
base:
'*':
- global
'system.*':
- system
'deploy*.*':
- deploy
'*.domain1.app':
- domain1_app
deploy0.domain1.app:
- domain1_app.deploy0