From 0cae7d9b3472f54af4ba391a77c44da8ed2765f7 Mon Sep 17 00:00:00 2001 From: Doug Szumski Date: Thu, 20 Sep 2018 11:20:28 +0000 Subject: [PATCH] Prevent Monasca Notification using YAML mode If the config option is not specified Monasca Notification defaults to YAML config parsing and fails to load. Partially-Implements: blueprint monasca-roles Change-Id: Id85d9765df525b34d43a77a9e4045e0de19aef99 --- .../templates/monasca-notification/monasca-notification.json.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/roles/monasca/templates/monasca-notification/monasca-notification.json.j2 b/ansible/roles/monasca/templates/monasca-notification/monasca-notification.json.j2 index 329f10375e..858f9f008a 100644 --- a/ansible/roles/monasca/templates/monasca-notification/monasca-notification.json.j2 +++ b/ansible/roles/monasca/templates/monasca-notification/monasca-notification.json.j2 @@ -1,5 +1,5 @@ { - "command": "monasca-notification /etc/monasca/notification.conf", + "command": "monasca-notification --config-file /etc/monasca/notification.conf", "config_files": [ { "source": "{{ container_config_directory }}/notification.conf",