Merge "Fix dependency between redis and gnocchi services"

This commit is contained in:
Zuul 2022-10-18 17:21:32 +00:00 committed by Gerrit Code Review
commit 5f489446eb
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ class packstack::gnocchi ()
$redis_host = hiera('CONFIG_REDIS_HOST_URL')
$redis_port = hiera('CONFIG_REDIS_PORT')
$coordination_url = "redis://${redis_host}:${redis_port}"
Service<| name == 'redis' |> -> Service<| name == 'gnocchi-metricd' |>
Service<| title == 'redis' |> -> Anchor['gnocchi::service::begin']
} else {
$coordination_url = ''
}