Browse Source

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 years ago
parent
commit
14310ff263
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      nginx/common.sls
  2. +1
    -1
      templates/upstart-logger.jinja

+ 1
- 1
nginx/common.sls View File

@@ -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 View File

@@ -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…
Cancel
Save