Browse Source

Define pillar default for logrotate:jobs

This allows users to target this states to minions for which no pillar
has been defined (yet).
master
Wolodja Wentland 9 years ago
parent
commit
6b15f6490c
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      logrotate/jobs.sls

+ 1
- 1
logrotate/jobs.sls 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

Loading…
Cancel
Save