Minor fixes
This commit is contained in:
parent
8bd0a61367
commit
032a3ab3d4
@ -26,8 +26,8 @@ define l23network::l2::bridge (
|
||||
ensure => $ensure,
|
||||
external_ids => $external_ids,
|
||||
skip_existing=> $skip_existing,
|
||||
require => Service<| title == 'openvswitch-service' |>,
|
||||
}
|
||||
Service<| title == 'openvswitch-service' |> -> L2_ovs_bridge[$name]
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -34,7 +34,7 @@ define l23network::l2::port (
|
||||
bridge => $bridge,
|
||||
type => $type,
|
||||
skip_existing => $skip_existing,
|
||||
require => Service<| title == 'openvswitch-service' |>,
|
||||
}
|
||||
Service<| title == 'openvswitch-service' |> -> L2_ovs_port[$name]
|
||||
}
|
||||
}
|
||||
|
@ -41,8 +41,8 @@ define nova::generic_service(
|
||||
name => $package_name,
|
||||
ensure => $ensure_package,
|
||||
}
|
||||
Stdlib::Safe_package[$nova_title] -> Service[$nova_title]
|
||||
Stdlib::Safe_package[$nova_title] ~> Service[$nova_title]
|
||||
Package[$nova_title] -> Service[$nova_title]
|
||||
Package[$nova_title] ~> Service[$nova_title]
|
||||
}
|
||||
|
||||
if ($service_name) {
|
||||
|
@ -30,12 +30,13 @@ class nova::metadata_api (
|
||||
Package['nova-metadata-api'] -> Nova_config<||>
|
||||
Nova_config<||> ~> Service['nova-metadata-api']
|
||||
|
||||
stdlib::safe_package {'nova-metadata-api':
|
||||
name => $::nova::params::meta_api_package_name,
|
||||
ensure => present,
|
||||
if ! defined(Package['nova-metadata-api']) {
|
||||
package {'nova-metadata-api':
|
||||
name => $::nova::params::meta_api_package_name,
|
||||
ensure => present,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
service { 'nova-metadata-api':
|
||||
name => $::nova::params::meta_api_service_name,
|
||||
ensure => 'running',
|
||||
|
@ -2,7 +2,7 @@ define quantum::plugins::ovs::bridge {
|
||||
$mapping = split($name, ":")
|
||||
$bridge = $mapping[1]
|
||||
|
||||
if !defined(l23network::l2::bridge[$bridge]) {
|
||||
if !defined(L23network::L2::Bridge[$bridge]) {
|
||||
l23network::l2::bridge {$bridge:
|
||||
ensure => present,
|
||||
external_ids => "bridge-id=${bridge}",
|
||||
|
@ -3,7 +3,7 @@ define quantum::plugins::ovs::port {
|
||||
$bridge = $mapping[0]
|
||||
$port = $mapping[1]
|
||||
|
||||
if !defined(l23network::l2::port[$port]) {
|
||||
if !defined(L23network::L2::Port[$port]) {
|
||||
l23network::l2::port {$port:
|
||||
ensure => present,
|
||||
bridge => $bridge,
|
||||
|
Loading…
Reference in New Issue
Block a user