1
0
Fork 0
mirror of synced 2024-12-21 05:31:09 -05:00

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.
This commit is contained in:
waynegemmell 2019-03-06 09:46:26 +02:00 committed by GitHub
parent cc2bdaed82
commit 03fde1b616
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,4 +6,4 @@
{% set pkgs = [logrotate.pkg] if logrotate.pkg is string else logrotate.pkg %} {% set pkgs = [logrotate.pkg] if logrotate.pkg is string else logrotate.pkg %}
logrotate-pkg: logrotate-pkg:
pkg.installed: pkg.installed:
- pkgs: {{ pkgs }} - pkgs: {{ pkgs | json }}