瀏覽代碼

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 年之前
父節點
當前提交
2763338abe
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      users/user_files.sls

+ 1
- 1
users/user_files.sls 查看文件

@@ -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…
取消
儲存