Merge "Fix dependency between redis and gnocchi services"
This commit is contained in:
commit
5f489446eb
|
@ -8,7 +8,7 @@ class packstack::gnocchi ()
|
||||||
$redis_host = hiera('CONFIG_REDIS_HOST_URL')
|
$redis_host = hiera('CONFIG_REDIS_HOST_URL')
|
||||||
$redis_port = hiera('CONFIG_REDIS_PORT')
|
$redis_port = hiera('CONFIG_REDIS_PORT')
|
||||||
$coordination_url = "redis://${redis_host}:${redis_port}"
|
$coordination_url = "redis://${redis_host}:${redis_port}"
|
||||||
Service<| name == 'redis' |> -> Service<| name == 'gnocchi-metricd' |>
|
Service<| title == 'redis' |> -> Anchor['gnocchi::service::begin']
|
||||||
} else {
|
} else {
|
||||||
$coordination_url = ''
|
$coordination_url = ''
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue