From d066cf2809754b112e0412ad9b2a214c2069ecc0 Mon Sep 17 00:00:00 2001 From: Jacob Coffee Date: Wed, 14 Aug 2024 14:39:26 -0500 Subject: [PATCH] fix: define swap vars in datadog state (#466) * fix: define swap vars in datadog state * Update salt/datadog/init.sls Co-authored-by: Ee Durbin --------- Co-authored-by: Ee Durbin --- salt/datadog/init.sls | 2 ++ 1 file changed, 2 insertions(+) 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: