diff --git a/salt/datadog/init.sls b/salt/datadog/init.sls index 82ccc567..3acb43b6 100644 --- a/salt/datadog/init.sls +++ b/salt/datadog/init.sls @@ -1,3 +1,5 @@ +{% set swap_path = salt['pillar.get'](salt['pillar.get']('swap_file:swap_path')) %} + {% if grains["oscodename"] == ["jammy", "noble"] %} datadogkey: file.managed: