From 340496976854766539e5a01c36b452e40ca8471e Mon Sep 17 00:00:00 2001
From: Takashi Kajinami <tkajinam@redhat.com>
Date: Wed, 24 Nov 2021 09:32:41 +0900
Subject: [PATCH] Add missing dependency of heat_api_paste_ini

Closes-Bug: #1952009
Change-Id: I2f9ea5b6c18c921e7c1e2f19740208700501e34b
---
 manifests/deps.pp | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/manifests/deps.pp b/manifests/deps.pp
index df5a39f2..244d76f6 100644
--- a/manifests/deps.pp
+++ b/manifests/deps.pp
@@ -24,6 +24,11 @@ class heat::deps {
   ~> Service<| tag == 'heat-service' |>
   ~> anchor { 'heat::service::end': }
 
+  # paste-api.ini config should occur in the config block also.
+  Anchor['heat::config::begin']
+  -> Heat_api_paste_ini<||>
+  ~> Anchor['heat::config::end']
+
   # all cache settings should be applied and all packages should be installed
   # before service startup
   Oslo::Cache<||> -> Anchor['heat::service::begin']