Skip to content

Commit

Permalink
fix: define swap vars in datadog state (#466)
Browse files Browse the repository at this point in the history
* fix: define swap vars in datadog state

* Update salt/datadog/init.sls

Co-authored-by: Ee Durbin <[email protected]>

---------

Co-authored-by: Ee Durbin <[email protected]>
  • Loading branch information
JacobCoffee and ewdurbin authored Aug 14, 2024
1 parent 9c6eb1a commit d066cf2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions salt/datadog/init.sls
Original file line number Diff line number Diff line change
@@ -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:
Expand Down

0 comments on commit d066cf2

Please sign in to comment.