diff --git a/pillar.example b/pillar.example index 424f602..467e8dd 100644 --- a/pillar.example +++ b/pillar.example @@ -176,3 +176,10 @@ groups: niceguys: gid: 4242 system: False + addusers: root + delusers: toor + ssl-cert: + system: True + members: + - www-data + - openldap diff --git a/users/init.sls b/users/init.sls index 8804b6c..8af84d5 100644 --- a/users/init.sls +++ b/users/init.sls @@ -15,6 +15,9 @@ users_group_present_{{ group }}: - name: {{ group }} - gid: {{ setting.get('gid') }} - system: {{ setting.get('system',"False") }} + - members: {{ setting.get('members')|json }} + - addusers: {{ setting.get('addusers')|json }} + - delusers: {{ setting.get('delusers')|json }} {% endif %} {% endfor %}