Make monasca notification templates optional

backport: stein

If I deploy monasca by setting enable_monasca to true, the monasca_notification
restarts with the following error:

ERROR:__main__:MissingRequiredSource: /var/lib/kolla/config_files/notification_templates/* file is not found

These templates are optional, so we need to mark this directory as optional in
config.json.

Change-Id: Ia2dd835daa7ab1153617cc92f17c2d8d498c73e0
Closes-Bug: #1823726
This commit is contained in:
Mark Goddard 2019-04-08 13:31:58 +00:00
parent ce6222ae8b
commit a0e214115c
1 changed files with 2 additions and 1 deletions

View File

@ -11,7 +11,8 @@
"source": "{{ container_config_directory }}/notification_templates/*",
"dest": "/etc/monasca/",
"owner": "monasca",
"perm": "0600"
"perm": "0600",
"optional": true
}
],
"permissions": [