From add153e06010922bc8400c26b155567c5d275b32 Mon Sep 17 00:00:00 2001 From: Tim Jones Date: Wed, 17 Dec 2014 22:57:54 +0100 Subject: [PATCH] Allow '!' prefix in password for locked\disabled accounts. Signed-off-by: Tim Jones --- users/init.sls | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/users/init.sls b/users/init.sls index abf84bf..c599b9e 100644 --- a/users/init.sls +++ b/users/init.sls @@ -45,7 +45,7 @@ - uid: {{ user['uid'] }} {% endif -%} {% if 'password' in user -%} - - password: {{ user['password'] }} + - password: '{{ user['password'] }}' {% endif -%} {% if 'prime_group' in user and 'gid' in user['prime_group'] -%} - gid: {{ user['prime_group']['gid'] }}