Browse Source

Merge pull request #146 from M2Mobi/bashrc

Add support for jinja code in bashrc files.
tags/v0.45.0
Niels Abspoel 7 years ago
parent
commit
c76173753c
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