puppet-nova/manifests/manage/project.pp
Dan Bode ccce22d87a Split requirements for multi-node
Many dependencies are only valid when conbinations
of services are installed on the same node.

They have been marked as optional requirements
using collection.
2011-06-22 16:52:19 -07:00

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],
}
}