Pārlūkot izejas kodu

add ability to configure prime_group without gid (#141)

* add ability to configure prime_group without gid
tags/v0.45.0
Maximilian Zettler pirms 8 gadiem
vecāks
revīzija
8c6bbafd9b
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. +2
    -0
      users/init.sls

+ 2
- 0
users/init.sls Parādīt failu

@@ -101,6 +101,8 @@ users_{{ name }}_user:
{% endif -%}
{% if 'prime_group' in user and 'gid' in user['prime_group'] -%}
- gid: {{ user['prime_group']['gid'] }}
{% elif 'prime_group' in user and 'name' in user['prime_group'] %}
- gid: {{ user['prime_group']['name'] }}
{% else -%}
- gid_from_name: True
{% endif -%}

Notiek ielāde…
Atcelt
Saglabāt