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

View File

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