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

View File

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

View File

@ -1,6 +1,6 @@
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]
nova_admin{ $name: