Fix for: Rendering SLS 'base:users.user_files' failed: Jinja variable 'dict object' has no attribute 'home'tags/v0.45.0
{%- if not skip_user %} | {%- if not skip_user %} | ||||
users_userfiles_{{ username }}_recursive: | users_userfiles_{{ username }}_recursive: | ||||
file.recurse: | file.recurse: | ||||
- name: {{ user.home }} | |||||
- name: {{ salt['pillar.get']( username ~ 'user:home', '/home/' ~ username )}} | |||||
- source: {{ file_source }} | - source: {{ file_source }} | ||||
- user: {{ username }} | - user: {{ username }} | ||||
- group: {{ user_group }} | - group: {{ user_group }} |