]> git.friedersdorff.com Git - max/saltfiles.git/commitdiff
Add user to groups explicitly
authorMaximilian Friedersdorff <maximilian.friedersdorff@envsys.co.uk>
Wed, 1 Nov 2023 19:03:29 +0000 (19:03 +0000)
committerMaximilian Friedersdorff <maximilian.friedersdorff@envsys.co.uk>
Wed, 1 Nov 2023 19:03:29 +0000 (19:03 +0000)
states/user/max.sls

index 9a3088d68225dce1a93d1fa4da15b9931d2c51d2..435ca1c60dbe0106ed0c38efc82a57791c8bab9d 100644 (file)
@@ -4,6 +4,11 @@ ensure user max:
     - home: /home/max
     - shell: /bin/zsh
     - fullname: Maximilian Friedersdorff
+    - groups:
+      - wheel
+      - video
+      - users
+      - wireshark
 
 ensure max allows public key:
   ssh_auth.present: