docker: add logging(source & groups)
[apex-tripleo-heat-templates.git] / docker / services / aodh-notifier.yaml
index c16c016..ffed5af 100644 (file)
@@ -42,6 +42,9 @@ resources:
   ContainersCommon:
     type: ./containers-common.yaml
 
+  MySQLClient:
+    type: ../../puppet/services/database/mysql-client.yaml
+
   AodhNotifierBase:
     type: ../../puppet/services/aodh-notifier.yaml
     properties:
@@ -60,8 +63,13 @@ outputs:
       config_settings:
         map_merge:
           - get_attr: [AodhNotifierBase, role_data, config_settings]
+      logging_source: {get_attr: [AodhNotifierBase, role_data, logging_source]}
+      logging_groups: {get_attr: [AodhNotifierBase, role_data, logging_groups]}
       step_config: &step_config
-        get_attr: [AodhNotifierBase, role_data, step_config]
+        list_join:
+          - "\n"
+          - - {get_attr: [AodhNotifierBase, role_data, step_config]}
+            - {get_attr: [MySQLClient, role_data, step_config]}
       service_config_settings: {get_attr: [AodhNotifierBase, role_data, service_config_settings]}
       # BEGIN DOCKER SETTINGS
       puppet_config: