You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(sub-component): manage a dedicated configuration file
* pillar.example (template.subcomponent): configurable sub-component
destination.
(template.tofs.source_files): override sub-component template
* template/init.sls (include): setup sub-component last.
* template/clean.sls (include): clean sub-component first.
* template/subcomponent/init.sls: include the only setup state
“config”.
* template/subcomponent/config/init.sls: include the only config state
“file”.
* template/subcomponent/config/file.sls: manage the sub-component
configuration file. It requires the main component configuration.
* template/subcomponent/files/default/subcomponent-example.tmpl.jinja:
jinja template for the sub-component.
* template/subcomponent/files/default/subcomponent-example.tmpl:
static configuration for the sub-component.
* template/subcomponent/clean.sls: include the only cleanup state “config”.
* template/subcomponent/config/clean.sls: remove the sub-component
configuration file.
0 commit comments