瀏覽代碼

Merge pull request #146 from M2Mobi/bashrc

Add support for jinja code in bashrc files.
tags/v0.45.0
Niels Abspoel 7 年之前
父節點
當前提交
c76173753c
共有 1 個檔案被更改,包括 2 行新增1 行删除
  1. +2
    -1
      users/bashrc.sls

+ 2
- 1
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 %}

Loading…
取消
儲存