1
0
Fork 0
mirror of synced 2024-12-22 06:01:08 -05:00

Define pillar default for logrotate:jobs

This allows users to target this states to minions for which no pillar
has been defined (yet).
This commit is contained in:
Wolodja Wentland 2015-10-12 17:21:04 +02:00
parent 1df3e34b1f
commit 6b15f6490c

View file

@ -1,6 +1,6 @@
# vim: sts=2 ts=2 sw=2 et ai # vim: sts=2 ts=2 sw=2 et ai
{% from "logrotate/map.jinja" import logrotate with context %} {% from "logrotate/map.jinja" import logrotate with context %}
{% set jobs = salt['pillar.get']('logrotate:jobs') %} {% set jobs = salt['pillar.get']('logrotate:jobs', {}) %}
include: include:
- logrotate - logrotate