updated sensu state
This commit is contained in:
parent
efacdce925
commit
d0eb00f5c3
@ -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
|
||||
|
@ -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
|
Loading…
Reference in New Issue
Block a user