diff --git a/users/user_files.sls b/users/user_files.sls index 5fd3fb2..c66ca40 100644 --- a/users/user_files.sls +++ b/users/user_files.sls @@ -49,7 +49,7 @@ users_userfiles_{{ username }}_recursive: - sym_mode: {{ user_files_sym_mode }} {% endif -%} {% if user_files_exclude_pat -%} - - exclude_pat: {{ user_files_exclude_pat }} + - exclude_pat: "{{ user_files_exclude_pat }}" {% endif -%} - include_empty: True - keep_symlinks: True