diff --git a/Users/aristide.sls b/Users/aristide.sls index 051412e..1da8dd2 100644 --- a/Users/aristide.sls +++ b/Users/aristide.sls @@ -20,6 +20,6 @@ AristideUser: - sambashare {% endif %} {% elif grains['os_family'] == 'RedHat' %} - - wheel +# - wheel - printadmin {% endif %} \ No newline at end of file diff --git a/Users/nadine.sls b/Users/nadine.sls new file mode 100644 index 0000000..eabb4bf --- /dev/null +++ b/Users/nadine.sls @@ -0,0 +1,25 @@ +include: + - softwares.sudo + +NadineUser: + user.present: + - name: nadine + - fullname: Nadine Clement + - uid: 5829 + - shell: /bin/bash +# - hash_password: True +# - password: Monpremiermotdepasse + - empty_password: True + - optional_groups: + - vboxusers + {% if grains['os_family'] == 'Debian' %} + {% if grains['os']== "Ubuntu" %} + - cdrom + - dip + - plugdev + - sambashare + {% endif %} + {% elif grains['os_family'] == 'RedHat' %} +# - wheel + - printadmin + {% endif %} \ No newline at end of file