Pārlūkot izejas kodu

Merge pull request #28 from eedgar/master

Add Password if the state supports it.
lookup-fix-3
Seth House pirms 10 gadiem
vecāks
revīzija
3746de7896
2 mainītis faili ar 4 papildinājumiem un 0 dzēšanām
  1. +1
    -0
      pillar.example
  2. +3
    -0
      users/init.sls

+ 1
- 0
pillar.example Parādīt failu

@@ -6,6 +6,7 @@ users:
## Full list of pillar values
buser:
fullname: B User
password: $6$w.............
home: /custom/buser
sudouser: True
sudo_rules:

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

@@ -43,6 +43,9 @@ include:
{% if 'uid' in user -%}
- uid: {{ user['uid'] }}
{% endif -%}
{% if 'password' in user -%}
- password: {{ user['password'] }}
{% endif -%}
{% if 'prime_group' in user and 'gid' in user['prime_group'] -%}
- gid: {{ user['prime_group']['gid'] }}
{% else -%}

Notiek ielāde…
Atcelt
Saglabāt