updated vector state

This commit is contained in:
Paul 2023-12-04 22:37:29 +01:00
parent 4cb58bacbd
commit 4f48b3d12a
2 changed files with 7 additions and 7 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: {{ vector.user }} - user: root
- group: {{ vector.group }} - group: root
- 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: {{ vector.user }} - user: root
- group: {{ vector.group }} - group: root
- 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: {{ vector.user }} - user: root
- group: {{ vector.group }} - group: root
- mode: 600 - mode: 600
- template: jinja - template: jinja
# - watch_in: # - watch_in:

View File

@ -9,7 +9,7 @@ arm64:
arch: "aarch64" arch: "aarch64"
aarch64: aarch64:
arch: "arm64" arch: "aarch64"
armv6l: armv6l:
arch: "armv7" arch: "armv7"