Files
states/Users/henri.sls
Iwan Clément 6a031076ca Label Change
2019-02-26 21:20:00 +01:00

29 lines
608 B
Plaintext

include:
- softwares.sudo
HenriUser:
user.present:
- name: henri
- fullname: Henri Clément
- allow_uid_change: True
- allow_gid_change: True
- uid: 3719
# - gid: 3645
- shell: /bin/bash
- hash_password: False
- password: IwanThibaud
- empty_password: False
- optional_groups:
- vboxusers
{% if grains['os_family'] == 'Debian' %}
{% if grains['os']== "Ubuntu" %}
- cdrom
- dip
- plugdev
- sambashare
- lpadmin
{% endif %}
{% elif grains['os_family'] == 'RedHat' %}
# - wheel
- printadmin
{% endif %}