Sfoglia il codice sorgente

set user and group of user dir in pillar

lookup-fix-3
Karsten Kosmala 8 anni fa
parent
commit
fa02b954a5
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. +2
    -2
      users/init.sls

+ 2
- 2
users/init.sls Vedi File

@@ -59,8 +59,8 @@ users_{{ name }}_user:
{% if user.get('createhome', True) %}
file.directory:
- name: {{ home }}
- user: {{ name }}
- group: {{ user_group }}
- user: {{ user.get('user_dir_user', name) }}
- group: {{ user.get('user_dir_group', user_group) }}
- mode: {{ user.get('user_dir_mode', '0750') }}
- require:
- user: users_{{ name }}_user

Loading…
Annulla
Salva