From 441d3cb6355992c6cd65e61491a9c97af9fe971c Mon Sep 17 00:00:00 2001 From: outime Date: Sun, 27 Sep 2015 17:41:51 +0200 Subject: [PATCH] Fixed typo and 'empty_password' key check --- users/init.sls | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/users/init.sls b/users/init.sls index 836a8c7..cc88135 100644 --- a/users/init.sls +++ b/users/init.sls @@ -78,10 +78,10 @@ users_{{ name }}_user: {% if 'uid' in user -%} - uid: {{ user['uid'] }} {% endif -%} - {% if 'password in user -%} + {% if 'password' in user -%} - password: '{{ user['password'] }}' {% endif -%} - {% if empty_password is defined -%} + {% if 'empty_password' in user -%} - empty_password: {{ user['empty_password'] }} {% endif -%} {% if 'enforce_password' in user -%}