From 7456303dd7da5564c8a7874a5babd0686840b46f Mon Sep 17 00:00:00 2001
From: Juan Badia Payno <jbadiapa@redhat.com>
Date: Tue, 28 Aug 2018 10:40:44 +0200
Subject: [PATCH] heat-api-cfn fix log path

As it can be check on the gate[1], the log path for the service
is not set properly. "/var/log/containers/heat/heat-api-cfn.log"

This patch set the path properly to:
  "/var/log/containers/heat/heat_api_cfn.log.txt"

[1]  http://logs.openstack.org/36/594836/1/check/tripleo-ci-centos-7-scenario002-multinode-oooq-container/427de6c/logs/subnode-2/var/log/config-data/fluentd/etc/fluentd/config.d/100-openstack-heat_api_cfn.conf.txt.gz

Depends-On: If253da4f0f89221dc6ddacc280c984079c6a3c7f
Change-Id: I03fb46b06f0201f9fcea2ea7606219cea9fba742
---
 docker/services/heat-api-cfn.yaml | 2 +-
 puppet/services/heat-api-cfn.yaml | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/docker/services/heat-api-cfn.yaml b/docker/services/heat-api-cfn.yaml
index b45679202f..462cc4cf4e 100644
--- a/docker/services/heat-api-cfn.yaml
+++ b/docker/services/heat-api-cfn.yaml
@@ -15,7 +15,7 @@ parameters:
     type: json
     default:
       tag: openstack.heat.api.cfn
-      path: /var/log/containers/heat/heat-api-cfn.log
+      path: /var/log/containers/heat/heat_api_cfn.log
   EndpointMap:
     default: {}
     description: Mapping of service endpoint -> protocol. Typically set
diff --git a/puppet/services/heat-api-cfn.yaml b/puppet/services/heat-api-cfn.yaml
index 19b4c3d1f2..08d209910e 100644
--- a/puppet/services/heat-api-cfn.yaml
+++ b/puppet/services/heat-api-cfn.yaml
@@ -49,7 +49,7 @@ parameters:
     type: json
     default:
       tag: openstack.heat.api.cfn
-      path: /var/log/heat/heat-api-cfn.log
+      path: /var/log/heat/heat_api_cfn.log
   EnableInternalTLS:
     type: boolean
     default: false