0
0
mirror of https://github.com/saltstack-formulas/users-formula.git synced 2024-11-28 00:48:22 +01:00

Add support for jinja code in bashrc files.

This commit is contained in:
Damien Tardy-Panis 2016-04-26 14:26:09 +02:00 committed by Heinz Wiesinger
parent 8c6bbafd9b
commit 4042641c09

View File

@ -21,7 +21,8 @@ users_{{ name }}_user_bashrc:
- user: {{ name }} - user: {{ name }}
- group: {{ user_group }} - group: {{ user_group }}
- mode: 644 - mode: 644
- source: - template: jinja
- source:
- salt://users/files/bashrc/{{ name }}/bashrc - salt://users/files/bashrc/{{ name }}/bashrc
- salt://users/files/bashrc/bashrc - salt://users/files/bashrc/bashrc
{% endif %} {% endif %}