updated sensu state

This commit is contained in:
Paul 2020-08-16 23:42:57 +02:00
parent 02099bd3a3
commit 36dc0049f5
3 changed files with 3 additions and 3 deletions

View File

@ -26,7 +26,7 @@ sensu-agent-bin:
sensu-agent-service-file:
file.managed:
- name: /etc/systemd/system/sensu-agent.service
- source: salt://sensu/sensu-agent.service.j2
- source: salt://sensu/agent/sensu-agent.service.j2
- user: root
- group: root
- template: jinja
@ -58,7 +58,7 @@ sensu-agent-config-dir:
sensu-agent-config-file:
file.managed:
- name: /etc/sensu/agent.yml
- source: salt://sensu/agent.yml.j2
- source: salt://sensu/agent/agent.yml.j2
- user: sensu
- group: sensu
- mode: 0640

View File

@ -15,4 +15,4 @@ ExecStart=/usr/sbin/sensu-agent start
WorkingDirectory=/
[Install]
WantedBy=multi-user.target
WantedBy=multi-user.target