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