From 3fbd45778d0d16a3d4e6739e69048a2b768dbb41 Mon Sep 17 00:00:00 2001 From: Elouin Date: Sun, 16 Jun 2024 15:22:29 +0200 Subject: [PATCH] add check if basics is defined --- basics/init.sls | 2 ++ 1 file changed, 2 insertions(+) diff --git a/basics/init.sls b/basics/init.sls index f598761..25394c9 100644 --- a/basics/init.sls +++ b/basics/init.sls @@ -1,3 +1,4 @@ +{% if pillar.basics is defined %} include: {% if pillar.basics.firewall is defined %} - basics.firewall @@ -5,6 +6,7 @@ include: {% if pillar.basics.ssh is defined %} - basics.ssh {% endif %} +{% endif %} Make sure all packages are up to date: pkg.uptodate: