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.
pull/40/head^2
waynegemmell 4 years ago committed by GitHub
parent cc2bdaed82
commit 03fde1b616
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      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 }}

Loading…
Cancel
Save