diff --git a/users/init.sls b/users/init.sls index 03c9cf3..444053f 100644 --- a/users/init.sls +++ b/users/init.sls @@ -73,6 +73,9 @@ users_{{ name }}_user: {%- elif 'uid' in user %} - gid: {{ user['uid'] }} {%- endif %} + {% if 'system' in user and user['system'] %} + - system: True + {% endif %} user.present: - name: {{ name }} - home: {{ home }}