Description: Fix api_config and metricd_config scheduling
Author: Thomas Goirand <zigo@debian.org>
Forwarded: no
Last-Update: 2025-04-11

Index: puppet-module-gnocchi/manifests/deps.pp
===================================================================
--- puppet-module-gnocchi.orig/manifests/deps.pp
+++ puppet-module-gnocchi/manifests/deps.pp
@@ -32,6 +32,14 @@ class gnocchi::deps {
   -> Gnocchi_api_uwsgi_config<||>
   -> Anchor['gnocchi::config::end']
 
+  Anchor['gnocchi::config::begin']
+  -> Gnocchi_api_config<||>
+  ~> Anchor['gnocchi::config::end']
+
+  Anchor['gnocchi::config::begin']
+  -> Gnocchi_metricd_config<||>
+  ~> Anchor['gnocchi::config::end']
+
   # Installation or config changes will always restart services.
   Anchor['gnocchi::install::end'] ~> Anchor['gnocchi::service::begin']
   Anchor['gnocchi::config::end']  ~> Anchor['gnocchi::service::begin']
