From a34182134fd1514e51ef1f35aea7c6d3947d0e0e Mon Sep 17 00:00:00 2001 From: Paul Lecuq Date: Sat, 25 Sep 2021 16:12:02 +0200 Subject: [PATCH] updated grafana state --- states/grafana/archive/install.sls | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/states/grafana/archive/install.sls b/states/grafana/archive/install.sls index 3893244..94b21c3 100644 --- a/states/grafana/archive/install.sls +++ b/states/grafana/archive/install.sls @@ -23,8 +23,8 @@ grafana-user: grafana-package-archive-install-file-directory: file.directory: - name: {{ grafana.pkg.archive.name }} - - user: root - - group: root + - user: {{ grafana.service.user }} + - group: {{ grafana.service.group }} - mode: 755 - makedirs: True - require_in: @@ -42,8 +42,8 @@ grafana-package-archive-install-archive-extracted: until: True interval: 60 splay: 10 - - user: root - - group: root + - user: {{ grafana.service.user }} + - group: {{ grafana.service.group }} - recurse: - user - group