Fix a filename and pillar key issue
* Ensure `common.sls` references correct template filename * Use `pillar.get(...)` for message_do_not_modify with default
This commit is contained in:
parent
ad5959ab63
commit
14310ff263
@ -24,7 +24,7 @@ nginx-logger-{{ log_type }}:
|
|||||||
- 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,4 +1,4 @@
|
|||||||
# {{ 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…
Reference in New Issue
Block a user