fix(storage/install): correct "owner" param to "user"

This commit is contained in:
Michael Schmitt 2022-07-06 11:57:32 +09:00
parent 9c0812c5ae
commit 8294f4fd30
No known key found for this signature in database
GPG Key ID: 5145CC5841E00C15
2 changed files with 3 additions and 3 deletions

View File

@ -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 %}
{% endfor %}

View File

@ -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: