Service depends on nova-db-sync

According to the multi-node install insturctions,
the services should be started/restarted after the
management objects are created and database is 
restarted.
This commit is contained in:
Dan Bode 2011-06-24 09:06:55 -07:00
parent 39ee6ca780
commit b97237db88
5 changed files with 5 additions and 0 deletions

View File

@ -1,6 +1,7 @@
class nova::api($enabled=false) {
Exec['post-nova_config'] ~> Service['nova-api']
Exec['nova-db-sync'] ~> Service['nova-api']
if $enabled {
$service_ensure = 'running'

View File

@ -9,6 +9,7 @@ class nova::compute(
) {
Exec['post-nova_config'] ~> Service['nova-compute']
Exec['nova-db-sync'] ~> Service['nova-compute']
nova_config { 'libvirt_type': value => $libvirt_type }

View File

@ -1,6 +1,7 @@
class nova::network( $enabled=false ) {
Exec['post-nova_config'] ~> Service['nova-network']
Exec['nova-db-sync'] ~> Service['nova-network']
if $enabled {
$service_ensure = 'running'

View File

@ -1,6 +1,7 @@
class nova::objectstore( $enabled=false ) {
Exec['post-nova_config'] ~> Service['nova-objectstore']
Exec['nova-db-sync'] ~> Service['nova-objectstore']
if $enabled {
$service_ensure = 'running'

View File

@ -1,6 +1,7 @@
class nova::scheduler( $enabled ) {
Exec['post-nova_config'] ~> Service['nova-scheduler']
Exec['nova-db-sync'] -> Service['nova-scheduler']
if $enabled {
$service_ensure = 'running'