Browse Source

Update user_files.sls

Fix for:
Rendering SLS 'base:users.user_files' failed: Jinja variable 'dict object' has no attribute 'home'
tags/v0.45.0
Roman 9 years ago
parent
commit
2763338abe
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      users/user_files.sls

+ 1
- 1
users/user_files.sls 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 }}

Loading…
Cancel
Save