Explorar el Código

Update user_files.sls

Fix for:
Rendering SLS 'base:users.user_files' failed: Jinja variable 'dict object' has no attribute 'home'
lookup-fix-3
Roman hace 9 años
padre
commit
2763338abe
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      users/user_files.sls

+ 1
- 1
users/user_files.sls Ver fichero

@@ -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 }}

Cargando…
Cancelar
Guardar