updated vector state

This commit is contained in:
Paul 2023-10-10 09:08:03 +02:00
parent b224c6843e
commit 2b44c81dc6
2 changed files with 8 additions and 6 deletions

View File

@ -4,16 +4,16 @@ vector-default:
file.managed:
- name: /etc/default/vector
- source: salt://vector/templates/vector.default.j2
- user: root
- group: root
- user: {{ vector.user }}
- group: {{ vector.group }}
- mode: 600
- template: jinja
vector-config-dir:
file.directory:
- name: /etc/vector
- user: root
- group: root
- user: {{ vector.user }}
- group: {{ vector.group }}
- mode: 700
# - watch_in:
# - service: vector-service
@ -22,8 +22,8 @@ vector-config-file:
file.managed:
- name: /etc/vector/vector.conf
- source: salt://vector/templates/vector.toml.j2
- user: root
- group: root
- user: {{ vector.user }}
- group: {{ vector.group }}
- mode: 600
- template: jinja
# - watch_in:

View File

@ -8,6 +8,8 @@ vector:
os: linux
arch: amd64
variant: gnu
user: vector
group: vector
config:
sources: {}
transforms: {}