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

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

+ 1
- 1
templates/upstart-logger.jinja View File

# {{ pillar['message_do_not_modify'] }}
# {{ pillar.get('message_do_not_modify', '') }}
# startup script for Nginx loggers # startup script for Nginx loggers


start on starting nginx start on starting nginx

Loading…
Cancel
Save