From 6478350a5e1890628119721d40eed08fd6347802 Mon Sep 17 00:00:00 2001 From: Paul Date: Sat, 30 Nov 2024 13:13:22 +0100 Subject: [PATCH] updated dkron state --- states/dkron/defaults.yaml | 3 +++ states/dkron/install.sls | 7 +++++++ 2 files changed, 10 insertions(+) diff --git a/states/dkron/defaults.yaml b/states/dkron/defaults.yaml index d758c00..c8b2d7b 100644 --- a/states/dkron/defaults.yaml +++ b/states/dkron/defaults.yaml @@ -7,7 +7,10 @@ dkron: version: 3.0.5 os: linux arch: amd64 + uid: 904 + gid: 904 runuser: dkron + rungroup: dkron user: user password: password url: http://localhost:8898 diff --git a/states/dkron/install.sls b/states/dkron/install.sls index a7a0081..38207fa 100644 --- a/states/dkron/install.sls +++ b/states/dkron/install.sls @@ -1,8 +1,15 @@ --- {%- from "dkron/map.jinja" import dkron with context %} +dkron-group: + group.present: + - name: {{ dkron.rungroup }} + - gid: {{ dkron.gid }} + dkron-user: user.present: - name: {{ dkron.runuser }} + - uid: {{ dkron.uid }} + - gid: {{ dkron.gid }} - shell: /bin/nologin dkron-archive-extract: