diff --git a/manifests/api.pp b/manifests/api.pp index 07ae2897d..164b0cf44 100644 --- a/manifests/api.pp +++ b/manifests/api.pp @@ -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' diff --git a/manifests/compute.pp b/manifests/compute.pp index 9c3667606..acc668895 100644 --- a/manifests/compute.pp +++ b/manifests/compute.pp @@ -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 } diff --git a/manifests/network.pp b/manifests/network.pp index 9dd9343bf..db3bc8848 100644 --- a/manifests/network.pp +++ b/manifests/network.pp @@ -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' diff --git a/manifests/objectstore.pp b/manifests/objectstore.pp index 67601806e..fc580abfb 100644 --- a/manifests/objectstore.pp +++ b/manifests/objectstore.pp @@ -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' diff --git a/manifests/scheduler.pp b/manifests/scheduler.pp index afb4d2313..db288db40 100644 --- a/manifests/scheduler.pp +++ b/manifests/scheduler.pp @@ -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'