paulbsd-salt/states/old/sensu/init.sls

12 lines
215 B
Plaintext
Raw Permalink Normal View History

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