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

Merge pull request #17 from babilen/fix-job-defaults

Fix job defaults
This commit is contained in:
puneet kandhari 2015-10-13 09:10:58 -07:00
commit 6692c23a8b

View file

@ -1,11 +1,11 @@
# 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
{% for key,value in jobs.iteritems() %} {% for key,value in jobs.items() %}
logrotate_{{key}}: logrotate_{{key}}:
file.managed: file.managed:
- name: {{ logrotate.include_dir }}/{{ key.split("/")[-1] }} - name: {{ logrotate.include_dir }}/{{ key.split("/")[-1] }}