From 8294f4fd30d696e0ed52954608cea2a3938603e6 Mon Sep 17 00:00:00 2001 From: Michael Schmitt Date: Wed, 6 Jul 2022 11:57:32 +0900 Subject: [PATCH] fix(storage/install): correct "owner" param to "user" --- prometheus/config/storage.sls | 4 ++-- prometheus/service/args/install.sls | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/prometheus/config/storage.sls b/prometheus/config/storage.sls index b3d09a9..2674106 100644 --- a/prometheus/config/storage.sls +++ b/prometheus/config/storage.sls @@ -19,7 +19,7 @@ include: prometheus-service-args-{{ name }}-data-dir: file.directory: - name: {{ args['storage.tsdb.path'] }} - - owner: {{ name }} + - user: {{ name }} - group: {{ name }} - makedirs: True - watch_in: @@ -30,4 +30,4 @@ prometheus-service-args-{{ name }}-data-dir: {%- endif %} {% endif %} - {% endfor %} \ No newline at end of file + {% endfor %} diff --git a/prometheus/service/args/install.sls b/prometheus/service/args/install.sls index bec3bde..71e364e 100644 --- a/prometheus/service/args/install.sls +++ b/prometheus/service/args/install.sls @@ -25,7 +25,7 @@ include: prometheus-service-args-{{ name }}-data-dir: file.directory: - name: {{ args['storage.tsdb.path'] }} - - owner: {{ name }} + - user: {{ name }} - group: {{ name }} - makedirs: True - watch_in: