12 lines
215 B
Plaintext
12 lines
215 B
Plaintext
---
|
|
{%- from "sensu/map.jinja" import sensu with context %}
|
|
include:
|
|
{%- if sensu.agent.enabled %}
|
|
- .agent
|
|
{%- else %}
|
|
sensu-agent-service:
|
|
service.dead:
|
|
- name: sensu-agent
|
|
- enable: false
|
|
{% endif %}
|