From 757e79c9d2ee40c3f5d4521c4c4983c375cbfdf3 Mon Sep 17 00:00:00 2001 From: Eric Edgar Date: Thu, 24 Apr 2014 21:45:04 -0500 Subject: [PATCH 1/2] Add Password capabilities --- users/init.sls | 3 +++ 1 file changed, 3 insertions(+) diff --git a/users/init.sls b/users/init.sls index c873c71..d5c1152 100644 --- a/users/init.sls +++ b/users/init.sls @@ -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 -%} From bec130503e36cbb413e87be14ed2e42a51293e30 Mon Sep 17 00:00:00 2001 From: Eric Edgar Date: Thu, 24 Apr 2014 21:51:11 -0500 Subject: [PATCH 2/2] Update pillar.example --- pillar.example | 1 + 1 file changed, 1 insertion(+) diff --git a/pillar.example b/pillar.example index a936a40..bc045fb 100644 --- a/pillar.example +++ b/pillar.example @@ -6,6 +6,7 @@ users: ## Full list of pillar values buser: fullname: B User + password: $6$w............. home: /custom/buser sudouser: True sudo_rules: