@@ -417,7 +417,7 @@ Configure NTP:
417
417
- template: jinja
418
418
- source: {{ files_switch(
419
419
salt['config.get'](
420
- tplroot ~ ':tofs:files :Configure NTP',
420
+ tplroot ~ ':tofs:source_files :Configure NTP',
421
421
['/etc/ntp.conf.jinja']
422
422
)
423
423
) }}
@@ -427,7 +427,7 @@ Configure NTP:
427
427
- pkg: Install NTP package
428
428
----
429
429
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`
431
431
to determine the list of template files to use.
432
432
* If this does not yield any results, the default of
433
433
`['/etc/ntp.conf.jinja']` will be used.
@@ -537,24 +537,24 @@ Resulting in:
537
537
- salt://ntp/files/default_alt/etc/ntp.conf.jinja
538
538
----
539
539
540
- ==== Customise the list of template `files `
540
+ ==== Customise the list of `source_files `
541
541
542
- The list of template `files ` can be given:
542
+ The list of `source_files ` can be given:
543
543
544
- .Customise template `files `
544
+ .Customise `source_files `
545
545
[source%nowrap, yaml]
546
546
----
547
547
ntp:
548
548
tofs:
549
- files :
549
+ source_files :
550
550
Configure NTP:
551
551
- '/etc/ntp.conf.jinja'
552
552
- '/etc/ntp.conf_alt.jinja'
553
553
----
554
554
555
555
Resulting in:
556
556
557
- .`source` with template `files ` customised
557
+ .`source` with `source_files ` customised
558
558
[source%nowrap, yaml]
559
559
----
560
560
- source:
0 commit comments