Browse Source

gid_from_name is deprecated

Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
Maximilian Wilhelm 1 year ago
parent
commit
663627d700
2 changed files with 2 additions and 2 deletions
  1. 1 1
      build/init.sls
  2. 1 1
      firmware/init.sls

+ 1 - 1
build/init.sls

@@ -18,10 +18,10 @@ build:
       - zlib1g-dev
   user.present:
     - name: build
+    - gid: build
     - shell: /bin/bash
     - home: /home/build
     - createhome: True
-    - gid_from_name: True
     - require:
       - group: build
   group.present:

+ 1 - 1
firmware/init.sls

@@ -9,10 +9,10 @@ firmware-pkgs:
       - pandoc
   user.present:
     - name: firmware
+    - gid: firmware
     - shell: /bin/bash
     - home: /home/firmware
     - createhome: True
-    - gid_from_name: True
 
 firmware-git:
   file.directory: