From c1b383d78b502a70477d8f7601c2555243094024 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Jochum?= Date: Thu, 12 Mar 2015 23:27:31 +0100 Subject: [PATCH] Add ability to create system users. --- users/init.sls | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/users/init.sls b/users/init.sls index 60cf5e1..261dd7f 100644 --- a/users/init.sls +++ b/users/init.sls @@ -72,6 +72,9 @@ include: {% if 'password' in user -%} - password: '{{ user['password'] }}' {% endif -%} + {% if user.get('system', False) -%} + - system: True + {% endif -%} {% if 'prime_group' in user and 'gid' in user['prime_group'] -%} - gid: {{ user['prime_group']['gid'] }} {% else -%} @@ -252,4 +255,3 @@ googleauth-{{ svc }}-{{ name }}: {{ group }}: group.absent {% endfor %} -