Merge "Establish order between redis and aodh and ceilometer"

This commit is contained in:
Zuul 2022-10-19 16:45:07 +00:00 committed by Gerrit Code Review
commit 535aaf736d
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_host = lookup('CONFIG_REDIS_HOST_URL')
$redis_port = lookup('CONFIG_REDIS_PORT') $redis_port = lookup('CONFIG_REDIS_PORT')
$coordination_url = "redis://${redis_host}:${redis_port}" $coordination_url = "redis://${redis_host}:${redis_port}"
Service<| title == 'redis' |> -> Anchor['aodh::service::begin']
} else { } else {
$coordination_url = '' $coordination_url = ''
} }

View File

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