diff --git a/salt/datadog/init.sls b/salt/datadog/init.sls index 58514be7..41d7d691 100644 --- a/salt/datadog/init.sls +++ b/salt/datadog/init.sls @@ -36,7 +36,7 @@ datadog-agent: - installed - require: - pkgrepo: datadog_repo - - mount: {{ swap_path }} + - mount: {% if swap_path %}{{ swap_path }}{% endif %} service: - running - enable: True