Browse Source

Add support for jinja code in bashrc files.

tags/v0.45.0
Damien Tardy-Panis 8 years ago
parent
commit
4042641c09
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      users/bashrc.sls

+ 2
- 1
users/bashrc.sls View File

@@ -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 %}

Loading…
Cancel
Save