From 4dc46e3f212d5a2d8db4c221bd2c4a2db45c2a13 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Mon, 29 Nov 2021 10:29:05 +0900 Subject: [PATCH] Install cache backend packages before starting services Change-Id: I5a2d7bfa34c9003d071f08b24d2f0b6a8fd8bcd4 --- manifests/deps.pp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/manifests/deps.pp b/manifests/deps.pp index 518bc4e..e92622b 100644 --- a/manifests/deps.pp +++ b/manifests/deps.pp @@ -24,6 +24,10 @@ class zaqar::deps { ~> Service<| tag == 'zaqar-service' |> ~> anchor { 'zaqar::service::end': } + # all cache settings should be applied and all packages should be installed + # before service startup + Oslo::Cache<||> -> Anchor['zaqar::service::begin'] + # all db settings should be applied and all packages should be installed # before dbsync starts Oslo::Db<||> -> Anchor['zaqar::dbsync::begin']