updated sensu state

This commit is contained in:
Paul 2020-07-30 14:07:27 +02:00
parent efacdce925
commit d0eb00f5c3
2 changed files with 5 additions and 3 deletions

View File

@ -26,9 +26,10 @@ sensu-agent-bin:
sensu-agent-service-file:
file.managed:
- name: /etc/systemd/system/sensu-agent.service
- source: salt://sensu/sensu-agent.service
- source: salt://sensu/sensu-agent.service.j2
- user: root
- group: root
- template: jinja
- mode: 0644
sensu-agent-cache-dir:
@ -73,4 +74,4 @@ sensu-agent-service:
- name: sensu-agent
- enable: True
- require:
- file: sensu-agent-config-file
- file: sensu-agent-config-file

View File

@ -1,3 +1,4 @@
## {{ salt['pillar.get']('salt_managed', default='Salt Managed') }}
[Unit]
Description=The Sensu Agent process.
After=network-online.target
@ -14,4 +15,4 @@ ExecStart=/usr/sbin/sensu-agent start
WorkingDirectory=/
[Install]
WantedBy=multi-user.target
WantedBy=multi-user.target