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:
@@ -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',
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user