paulbsd-salt/states/sensu/init.sls

12 lines
215 B
Plaintext
Raw Normal View History

2020-07-10 00:58:55 +02:00
---
{%- from "sensu/map.jinja" import sensu with context %}
include:
{%- if sensu.agent.enabled %}
- .agent
2020-10-25 16:36:24 +01:00
{%- else %}
sensu-agent-service:
service.dead:
- name: sensu-agent
- enable: false
{% endif %}