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:
Imran Iqbal 2019-08-06 11:04:56 +01:00
parent a60ee2ee9a
commit c269673295
No known key found for this signature in database
GPG key ID: 6D8629439D2B7819
2 changed files with 2 additions and 3 deletions

View file

@ -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

View file

@ -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