0
0
mirror of https://github.com/saltstack-formulas/users-formula.git synced 2024-12-18 06:12:57 +01:00

Update user_files.sls

Fix for:
Rendering SLS 'base:users.user_files' failed: Jinja variable 'dict object' has no attribute 'home'
This commit is contained in:
Roman 2015-11-09 02:31:45 +03:00
parent bcd6b44c70
commit 2763338abe

View File

@ -28,7 +28,7 @@ include:
{%- if not skip_user %}
users_userfiles_{{ username }}_recursive:
file.recurse:
- name: {{ user.home }}
- name: {{ salt['pillar.get']( username ~ 'user:home', '/home/' ~ username )}}
- source: {{ file_source }}
- user: {{ username }}
- group: {{ user_group }}