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

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

Loading…
Cancel
Save