1
0
Fork 0

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
1 changed files with 1 additions and 1 deletions

View File

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