Cleaning up deps

even though the pythin being managed by apt, the
graph is more accurate with this dep.

placing the dep on the Nova::Manage::Admin define 
was creating an extra edge/vertice in the graph.
This commit is contained in:
Dan Bode 2011-06-23 16:19:17 -07:00
parent 7c8f3972ea
commit 6c7f13b047
2 changed files with 7 additions and 3 deletions
manifests

@ -31,8 +31,12 @@ class nova(
notify +> Exec['post-nova_config'] notify +> Exec['post-nova_config']
} }
# TODO - why is this required? # TODO - why is this required?
package { ['python', 'python-greenlet']: package { 'python':
ensure => present ensure => present,
}
package { 'python-greenlet':
ensure => present,
require => Package['python'],
} }
class { 'nova::utilities': } class { 'nova::utilities': }

@ -1,6 +1,6 @@
define nova::manage::admin { define nova::manage::admin {
File['/etc/nova/nova.conf'] -> Nova::Manage::Admin[$name] File['/etc/nova/nova.conf'] -> Nova_admin[$name]
Exec<| title == 'initial-db-sync' |> -> Nova_admin[$name] Exec<| title == 'initial-db-sync' |> -> Nova_admin[$name]
nova_admin{ $name: nova_admin{ $name: