mirror of
https://github.com/saltstack-formulas/template-formula.git
synced 2025-04-17 10:10:28 +00:00
refactor(tofs): move subcomponent definition to defaults.yaml
* Tests fail locally without modifying pillar otherwise - `Jinja variable 'dict object' has no attribute 'subcomponent'`
This commit is contained in:
parent
a60ee2ee9a
commit
c269673295
2 changed files with 2 additions and 3 deletions
|
@ -24,9 +24,6 @@ template:
|
|||
{%- endif %}
|
||||
config: /etc/template-formula.conf
|
||||
|
||||
subcomponent:
|
||||
config: /etc/template-subcomponent-formula.conf
|
||||
|
||||
tofs:
|
||||
# The files_switch key serves as a selector for alternative
|
||||
# directories under the formula files directory. See TOFS pattern
|
||||
|
|
|
@ -8,6 +8,8 @@ template:
|
|||
config: '/etc/template'
|
||||
service:
|
||||
name: template
|
||||
subcomponent:
|
||||
config: '/etc/template-subcomponent-formula.conf'
|
||||
# Just here for testing
|
||||
added_in_defaults: defaults_value
|
||||
winner: defaults
|
||||
|
|
Loading…
Add table
Reference in a new issue