Skip to content

Commit 5fce1fa

Browse files
committed
fix(tofs): use source_files instead of files
* saltstack-formulas#76
1 parent dc0e7a5 commit 5fce1fa

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

adoc/modules/ROOT/pages/TOFS_pattern.adoc

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ Configure NTP:
417417
- template: jinja
418418
- source: {{ files_switch(
419419
salt['config.get'](
420-
tplroot ~ ':tofs:files:Configure NTP',
420+
tplroot ~ ':tofs:source_files:Configure NTP',
421421
['/etc/ntp.conf.jinja']
422422
)
423423
) }}
@@ -427,7 +427,7 @@ Configure NTP:
427427
- pkg: Install NTP package
428428
----
429429

430-
* This uses `config.get`, searching for `nfs:tofs:files:Configure NTP`
430+
* This uses `config.get`, searching for `nfs:tofs:source_files:Configure NTP`
431431
to determine the list of template files to use.
432432
* If this does not yield any results, the default of
433433
`['/etc/ntp.conf.jinja']` will be used.
@@ -537,24 +537,24 @@ Resulting in:
537537
- salt://ntp/files/default_alt/etc/ntp.conf.jinja
538538
----
539539

540-
==== Customise the list of template `files`
540+
==== Customise the list of `source_files`
541541

542-
The list of template `files` can be given:
542+
The list of `source_files` can be given:
543543

544-
.Customise template `files`
544+
.Customise `source_files`
545545
[source%nowrap, yaml]
546546
----
547547
ntp:
548548
tofs:
549-
files:
549+
source_files:
550550
Configure NTP:
551551
- '/etc/ntp.conf.jinja'
552552
- '/etc/ntp.conf_alt.jinja'
553553
----
554554

555555
Resulting in:
556556

557-
.`source` with template `files` customised
557+
.`source` with `source_files` customised
558558
[source%nowrap, yaml]
559559
----
560560
- source:

0 commit comments

Comments
 (0)