Establish order between redis and aodh and ceilometer

Follow-up of [1]

[1] https://review.opendev.org/c/x/packstack/+/861757

Change-Id: I2438360b7ef1d051e46b69298b9ee6ca462a1afd
This commit is contained in:
Alfredo Moralejo 2022-10-18 15:11:25 +02:00
parent faf5329941
commit 83ca93d962
2 changed files with 2 additions and 0 deletions

View File

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

View File

@ -17,6 +17,7 @@ class packstack::ceilometer ()
$redis_host = lookup('CONFIG_REDIS_HOST_URL')
$redis_port = lookup('CONFIG_REDIS_PORT')
$coordination_url = "redis://${redis_host}:${redis_port}"
Service<| title == 'redis' |> -> Anchor['ceilometer::service::begin']
ensure_packages('python-redis', {
name => "python${pyvers}-redis",