Formula Management¶
Forumlas are pre-defined salt modules that are defined by users to manage a service or setup as a unit (e.g. templates). A curated list from Saltstack is here.
These are stored in /srv/salt/template/{ENVIRONMENT}/{FORMULA}
(see
File Section) and are directly accessing from the same base scope,
based on configuration:
ls -1 /srv/salt/template/dev/some_formula
init.sls
pillar_config.sls
service.sls
dev:
'my_host':
- some_formula
'other_host':
- some_formula
- some_formula.pillar_config
- some_formual.service