Browse Source

group: add support for members

members, addusers, delusers, and in pillar examples
tags/v0.45.0
Adrien "ze" Urban 5 years ago
parent
commit
def8f53932
2 changed files with 10 additions and 0 deletions
  1. +7
    -0
      pillar.example
  2. +3
    -0
      users/init.sls

+ 7
- 0
pillar.example View File

niceguys: niceguys:
gid: 4242 gid: 4242
system: False system: False
addusers: root
delusers: toor
ssl-cert:
system: True
members:
- www-data
- openldap

+ 3
- 0
users/init.sls View File

- name: {{ group }} - name: {{ group }}
- gid: {{ setting.get('gid') }} - gid: {{ setting.get('gid') }}
- system: {{ setting.get('system',"False") }} - system: {{ setting.get('system',"False") }}
- members: {{ setting.get('members')|json }}
- addusers: {{ setting.get('addusers')|json }}
- delusers: {{ setting.get('delusers')|json }}
{% endif %} {% endif %}
{% endfor %} {% endfor %}



Loading…
Cancel
Save