From 4042641c0957408f686f0255f227dd598277b49c Mon Sep 17 00:00:00 2001 From: Damien Tardy-Panis Date: Tue, 26 Apr 2016 14:26:09 +0200 Subject: [PATCH] Add support for jinja code in bashrc files. --- users/bashrc.sls | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/users/bashrc.sls b/users/bashrc.sls index 4d4ca4d..a4fa3f9 100644 --- a/users/bashrc.sls +++ b/users/bashrc.sls @@ -21,7 +21,8 @@ users_{{ name }}_user_bashrc: - user: {{ name }} - group: {{ user_group }} - mode: 644 - - source: + - template: jinja + - source: - salt://users/files/bashrc/{{ name }}/bashrc - salt://users/files/bashrc/bashrc {% endif %}