Quellcode durchsuchen

change gid_from_name to false to user present

saltstack 2017.7 is failing to create user when default group for user is not present, commit which changes this behavior from 2016.3 is a18dbe0c11

Change-Id: I478d632e8aa7303ab2ee32b033478148c18c473d
pull/148/merge
Ondrej Smola vor 6 Jahren
Ursprung
Commit
15e10dd7cf
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. +1
    -1
      linux/system/user.sls

+ 1
- 1
linux/system/user.sls Datei anzeigen

@@ -29,7 +29,7 @@ system_user_{{ name }}:
- password: {{ user.password }}
- hash_password: {{ user.get('hash_password', False) }}
{% endif %}
- gid_from_name: true
- gid_from_name: false
{%- if user.groups is defined %}
- groups: {{ user.groups }}
{%- endif %}

Laden…
Abbrechen
Speichern