Skip to content

Commit

Permalink
fix: check for swap path existance first
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobCoffee committed Aug 14, 2024
1 parent 20c41ee commit d2c1fd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion salt/datadog/init.sls
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d2c1fd9

Please sign in to comment.