From 03fde1b616ac8c652db28b3658766870c228eeb8 Mon Sep 17 00:00:00 2001 From: waynegemmell Date: Wed, 6 Mar 2019 09:46:26 +0200 Subject: [PATCH] Updated package install with json filter This issue is causing logrotate install to fail. https://github.com/saltstack/salt/issues/51925 I've added | json to mitigate. --- logrotate/install.sls | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/logrotate/install.sls b/logrotate/install.sls index 350d48a..3441d93 100644 --- a/logrotate/install.sls +++ b/logrotate/install.sls @@ -6,4 +6,4 @@ {% set pkgs = [logrotate.pkg] if logrotate.pkg is string else logrotate.pkg %} logrotate-pkg: pkg.installed: - - pkgs: {{ pkgs }} + - pkgs: {{ pkgs | json }}