From e3b56ceab2210ea9ca5229e77a7dda171e32df6e Mon Sep 17 00:00:00 2001 From: Paul Lecuq Date: Sun, 25 Oct 2020 16:36:24 +0100 Subject: [PATCH] updated sensu state --- states/sensu/init.sls | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/states/sensu/init.sls b/states/sensu/init.sls index b4585cc..ac8190e 100644 --- a/states/sensu/init.sls +++ b/states/sensu/init.sls @@ -3,4 +3,9 @@ include: {%- if sensu.agent.enabled %} - .agent -{%- endif %} \ No newline at end of file +{%- else %} +sensu-agent-service: + service.dead: + - name: sensu-agent + - enable: false +{% endif %}