ccce22d87a
Many dependencies are only valid when conbinations of services are installed on the same node. They have been marked as optional requirements using collection.
14 lines
352 B
Puppet
14 lines
352 B
Puppet
define nova::manage::project ( $owner ) {
|
|
|
|
File['/etc/nova/nova.conf'] -> Nova_project[$name]
|
|
Exec<| title == 'initial-db-sync' |> -> Nova_project[$name]
|
|
|
|
nova_project { $name:
|
|
ensure => present,
|
|
provider => 'nova_manage',
|
|
owner => $owner,
|
|
notify => Exec["nova-db-sync"],
|
|
require => Nova::Manage::Admin[$owner],
|
|
}
|
|
}
|