6dc78a00e3
This refactors resource dependencies to improve the following points. - Avoid unnecessary dependencies across services. For example aodh service does not require cinder db. - Restart only api service when config files like paste.ini, which are used only be api service is changed. Change-Id: I33f0123caa057169be0e7eee6c17d1d4d387f87f
25 lines
583 B
Puppet
25 lines
583 B
Puppet
# == Class: manila::coordination
|
|
#
|
|
# Setup and configure Manila coordination settings.
|
|
#
|
|
# === Parameters
|
|
#
|
|
# [*backend_url*]
|
|
# (Optional) Coordination backend URL.
|
|
# Defaults to $facts['os_service_default']
|
|
#
|
|
class manila::coordination (
|
|
$backend_url = $facts['os_service_default'],
|
|
) {
|
|
|
|
include manila::deps
|
|
|
|
oslo::coordination{ 'manila_config':
|
|
backend_url => $backend_url
|
|
}
|
|
|
|
# all coordination settings should be applied and all packages should be
|
|
# installed before service startup
|
|
Oslo::Coordination['manila_config'] -> Anchor['manila::service::begin']
|
|
}
|