diff --git a/template/libtofs.jinja b/template/libtofs.jinja index 2ab2f9c1..ab0d0f6c 100644 --- a/template/libtofs.jinja +++ b/template/libtofs.jinja @@ -55,10 +55,13 @@ tplroot ~ ':tofs:files_switch', default_files_switch ) %} - {#- Lookup files or fallback to source_files parameter #} + {#- Lookup source_files (v2), files (v1), or fallback to source_files parameter #} {%- set src_files = salt['config.get']( tplroot ~ ':tofs:source_files:' ~ lookup, - source_files + salt['config.get']( + tplroot ~ ':tofs:files:' ~ lookup, + source_files + ) ) %} {#- Only add to [''] when supporting older TOFS implementations #} {%- set path_prefix_exts = [''] %}