Merge pull request #131 from heap/templates
Add ability to use templated user files
This commit is contained in:
commit
00fc0c2d33
|
@ -21,6 +21,7 @@ users_{{ name }}_user_profile:
|
|||
- user: {{ name }}
|
||||
- group: {{ user_group }}
|
||||
- mode: 644
|
||||
- template: jinja
|
||||
- source:
|
||||
- salt://users/files/profile/{{ name }}/profile
|
||||
- salt://users/files/profile/profile
|
||||
|
|
|
@ -22,6 +22,7 @@ users_{{ name }}_user_vimrc:
|
|||
- user: {{ name }}
|
||||
- group: {{ user_group }}
|
||||
- mode: 644
|
||||
- template: jinja
|
||||
- source:
|
||||
- salt://users/files/vimrc/{{ name }}/vimrc
|
||||
- salt://users/files/vimrc/vimrc
|
||||
|
|
Loading…
Reference in New Issue