File: fix-api_config-and-metricd_config-scheduling.patch

package info (click to toggle)
puppet-module-gnocchi 25.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,096 kB
  • sloc: ruby: 2,339; python: 38; makefile: 10; sh: 10
file content (24 lines) | stat: -rw-r--r-- 883 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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']