瀏覽代碼

Fix a filename and pillar key issue

* Ensure `common.sls` references correct template filename
* Use `pillar.get(...)` for message_do_not_modify with default
susefix
David Czarnecki 11 年之前
父節點
當前提交
14310ff263
共有 2 個檔案被更改,包括 2 行新增2 行删除
  1. +1
    -1
      nginx/common.sls
  2. +1
    -1
      templates/upstart-logger.jinja

+ 1
- 1
nginx/common.sls 查看文件

@@ -24,7 +24,7 @@ nginx-logger-{{ log_type }}:
- user: root
- group: root
- mode: 440
- source: salt://nginx/templates/upstart_logger.jinja
- source: salt://nginx/templates/upstart-logger.jinja
- context:
type: {{ log_type }}
service:

+ 1
- 1
templates/upstart-logger.jinja 查看文件

@@ -1,4 +1,4 @@
# {{ pillar['message_do_not_modify'] }}
# {{ pillar.get('message_do_not_modify', '') }}
# startup script for Nginx loggers

start on starting nginx

Loading…
取消
儲存