瀏覽代碼

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

Fix job defaults
tags/v0.9.0
puneet kandhari 9 年之前
父節點
當前提交
6692c23a8b
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. +2
    -2
      logrotate/jobs.sls

+ 2
- 2
logrotate/jobs.sls 查看文件

@@ -1,11 +1,11 @@
# 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

{% for key,value in jobs.iteritems() %}
{% for key,value in jobs.items() %}
logrotate_{{key}}:
file.managed:
- name: {{ logrotate.include_dir }}/{{ key.split("/")[-1] }}

Loading…
取消
儲存