1
0
Fork 0
mirror of synced 2024-07-21 03:50:34 -04:00
formula-logrotate/logrotate/install.sls
waynegemmell 03fde1b616
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.
2019-03-06 09:46:26 +02:00

10 lines
244 B
Plaintext

# -*- coding: utf-8 -*-
# vim: ft=sls
{% from "logrotate/map.jinja" import logrotate with context %}
{% set pkgs = [logrotate.pkg] if logrotate.pkg is string else logrotate.pkg %}
logrotate-pkg:
pkg.installed:
- pkgs: {{ pkgs | json }}