From 5b5b092456cf2bb45777720779307f08d88427ff Mon Sep 17 00:00:00 2001 From: Jacob Coffee Date: Wed, 14 Aug 2024 14:00:48 -0500 Subject: [PATCH] fix(#449): fix check for path --- salt/base/swap.sls | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salt/base/swap.sls b/salt/base/swap.sls index 7ccf4e33..262c1393 100644 --- a/salt/base/swap.sls +++ b/salt/base/swap.sls @@ -2,7 +2,7 @@ {% set size = swapfile.get("size", "1024") %} {% set path = swapfile.get("path") %} -{% if path is not None %} +{% if path %} {{ path }}: cmd.run: - name: |