From 9e145be0ed52fc5e4d8ff01905012f3aee5839dc Mon Sep 17 00:00:00 2001 From: noelmcloughlin Date: Sun, 6 Jun 2021 21:12:30 +0100 Subject: [PATCH] chore(clean): remove directory after pkg remove --- postgres/server/remove.sls | 3 +++ 1 file changed, 3 insertions(+) diff --git a/postgres/server/remove.sls b/postgres/server/remove.sls index cc283222..45336f49 100644 --- a/postgres/server/remove.sls +++ b/postgres/server/remove.sls @@ -24,6 +24,9 @@ postgresql-server-removed: - {{ pkg }} {% endfor %} {% endif %} + file.absent: + - names: + - /var/run/postgresql {%- if postgres.remove.multiple_releases %} #search for and cleandown multiple releases