fix bug in openstack-network-compute.pp

Limitation 'Nova_config<| |> -> Service['nova-network']' has a sense
only when multi_host == true. Moved this to corresponding branch of
the if $multi_host conditional.

Change-Id: Ie293b06c92e97bd101c616827fee25ff2e795791
Closes-bug: 1444122
This commit is contained in:
Igor Gajsin 2015-04-16 13:12:54 +03:00
parent ab6dbba825
commit 7884047e22

View File

@ -72,6 +72,8 @@ if $network_provider == 'nova' {
if $multi_host {
include keystone::python
Nova_config<| |> -> Service['nova-network']
case $::osfamily {
'RedHat': {
$pymemcache_package_name = 'python-memcached'
@ -170,7 +172,7 @@ if $network_provider == 'nova' {
ensure => 'installed',
}
Nova_config<| |> -> Service['nova-network']
} else {
# Neutron