Merge pull request #28 from eedgar/master

Add Password if the state supports it.
This commit is contained in:
Seth House
2014-04-25 09:57:37 -07:00
2 changed files with 4 additions and 0 deletions
+1
View File
@@ -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
View File
@@ -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 -%}