From 6993e2398fd1d9a92cc9618428e6a1a203c4d68d Mon Sep 17 00:00:00 2001 From: Jerry van Leeuwen Date: Fri, 22 Sep 2017 15:01:25 -0700 Subject: [PATCH] Broken conditional and lack of line spacing --- users/user_files.sls | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/users/user_files.sls b/users/user_files.sls index 874f0c2..af81e96 100644 --- a/users/user_files.sls +++ b/users/user_files.sls @@ -37,9 +37,9 @@ users_userfiles_{{ username }}_recursive: - source: {{ file_source }} - user: {{ username }} - group: {{ user_group }} - {%- if user_files_template is not None -%} + {% if user_files_template -%} - template: {{ user_files_template }} - {%- endif -%} + {% endif -%} - clean: False {% if user_files_file_mode -%} - file_mode: {{ user_files_file_mode }}