Refactor resource dependencies
... to avoid unnecessary cross-service dependencies. Change-Id: I428d52219c72cf48fdc3eb034d44092137608245
This commit is contained in:
parent
6aad879c33
commit
100c40e24e
@ -243,4 +243,8 @@ class ceilometer::cache (
|
|||||||
hashclient_retry_delay => $hashclient_retry_delay,
|
hashclient_retry_delay => $hashclient_retry_delay,
|
||||||
dead_timeout => $dead_timeout,
|
dead_timeout => $dead_timeout,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# all cache settings should be applied and all packages should be installed
|
||||||
|
# before service startup
|
||||||
|
Oslo::Cache['ceilometer_config'] -> Anchor['ceilometer::service::begin']
|
||||||
}
|
}
|
||||||
|
@ -17,4 +17,8 @@ class ceilometer::coordination (
|
|||||||
oslo::coordination{ 'ceilometer_config':
|
oslo::coordination{ 'ceilometer_config':
|
||||||
backend_url => $backend_url
|
backend_url => $backend_url
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# all coordination settings should be applied and all packages should be
|
||||||
|
# installed before service startup
|
||||||
|
Oslo::Coordination['ceilometer_config'] -> Anchor['ceilometer::service::begin']
|
||||||
}
|
}
|
||||||
|
@ -27,14 +27,6 @@ class ceilometer::deps {
|
|||||||
~> Service<| tag == 'ceilometer-service' |>
|
~> Service<| tag == 'ceilometer-service' |>
|
||||||
~> anchor { 'ceilometer::service::end': }
|
~> anchor { 'ceilometer::service::end': }
|
||||||
|
|
||||||
# all cache settings should be applied and all packages should be installed
|
|
||||||
# before service startup
|
|
||||||
Oslo::Cache<||> -> Anchor['ceilometer::service::begin']
|
|
||||||
|
|
||||||
# all coordination settings should be applied and all packages should be
|
|
||||||
# installed before service startup
|
|
||||||
Oslo::Coordination<||> -> Anchor['ceilometer::service::begin']
|
|
||||||
|
|
||||||
# rootwrap config should occur in the config block also.
|
# rootwrap config should occur in the config block also.
|
||||||
Anchor['ceilometer::config::begin']
|
Anchor['ceilometer::config::begin']
|
||||||
-> Ceilometer_rootwrap_config<||>
|
-> Ceilometer_rootwrap_config<||>
|
||||||
|
Loading…
Reference in New Issue
Block a user