From 7fed6219d3903213d6828d7ea963fba60462366c Mon Sep 17 00:00:00 2001 From: Paul Lecuq Date: Tue, 6 Dec 2022 20:27:38 +0100 Subject: [PATCH] updated users state --- states/users/users.sls | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/states/users/users.sls b/states/users/users.sls index 001a3ae..59a42a9 100644 --- a/states/users/users.sls +++ b/states/users/users.sls @@ -26,6 +26,13 @@ user-{{ name }}: - {{ opt_group }} {%- endfor %} {%- endif %} + +user-{{ name }}-config-dir: + file.directory: + - name: {{ user.home }}/.config + - user: {{ name }} + - group: {{ user.gid }} + - mode: 0755 {%- endif %} {% endfor %}