瀏覽代碼

Merge pull request #24 from asenci/master

No need to reload the service on configuration change
master
Niels Abspoel 8 年之前
父節點
當前提交
ac00650755
共有 3 個檔案被更改,包括 0 行新增6 行删除
  1. +0
    -3
      logrotate/config.sls
  2. +0
    -1
      logrotate/init.sls
  3. +0
    -2
      logrotate/jobs.sls

+ 0
- 3
logrotate/config.sls 查看文件

@@ -13,7 +13,4 @@ logrotate_config:
- mode: {{ salt['pillar.get']('logrotate:config:mode', '644') }}
- require:
- pkg: logrotate
- watch_in:
- service: {{ logrotate.service }}



+ 0
- 1
logrotate/init.sls 查看文件

@@ -6,7 +6,6 @@ logrotate:
service.running:
- name: {{ logrotate.service }}
- enable: True
- reload: True

logrotate_directory:
file.directory:

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

@@ -16,8 +16,6 @@ logrotate_{{key}}:
- mode: {{ salt['pillar.get']('logrotate:config:mode', '644') }}
- require:
- pkg: logrotate
- watch_in:
- service: {{ logrotate.service }}
- context:
{% if value is mapping %}
path: {{ value.get('path', []) }}

Loading…
取消
儲存