diff --git a/TEMPLATE/libtofs.jinja b/TEMPLATE/libtofs.jinja index 900e62b5..23c5c606 100644 --- a/TEMPLATE/libtofs.jinja +++ b/TEMPLATE/libtofs.jinja @@ -78,7 +78,7 @@ {#- Use the default, new method otherwise #} {%- set fsl = salt['config.get']( tplroot ~ path_prefix_ext|replace('/', ':') ~ ':files_switch', - files_switch_list + files_switch_list.copy() ) %} {#- Append an empty value to evaluate as `default` in the loop below #} {%- if '' not in fsl %}