Manage defines depend on Nova_config

The management types (projects, networks, admins)
require that the nova_config is correctly configured first.

I have added this dependency.
This commit is contained in:
Dan Bode
2011-06-21 11:22:51 -07:00
parent e39683a5bb
commit 345e852d38
3 changed files with 3 additions and 0 deletions

View File

@@ -1,4 +1,5 @@
define nova::manage::admin {
File['/etc/nova/nova.conf'] -> Nova::Manage::Admin[$name]
nova_admin{ $name:
ensure => present,
provider => 'nova_manage',

View File

@@ -1,4 +1,5 @@
define nova::manage::network ( $network, $available_ips ) {
File['/etc/nova/nova.conf']->Nova_network[$name]
nova_network { $name:
ensure => present,
network => $network,

View File

@@ -1,4 +1,5 @@
define nova::manage::project ( $owner ) {
File['/etc/nova/nova.conf'] -> Nova_project[$name]
nova_project { $name:
ensure => present,
provider => 'nova_manage',