fix custom hostname
The l2.pp makes mistakes when finds neutron node if node has custom nodename. Fix it. Change-Id: I4cb984b760b056a5ab2583bcf6d44d4a8c385e8a Closes-bug: #1590403
This commit is contained in:
parent
2c2aaa76e5
commit
aa23019b33
|
@ -119,7 +119,7 @@ class vmware_dvs::l2 {
|
||||||
enabled => true,
|
enabled => true,
|
||||||
}
|
}
|
||||||
|
|
||||||
if $node_name in keys($neutron_nodes) {
|
if str2bool(inline_template('<%= @neutron_nodes.values.keep_if {|h| h["name"] == @node_name}.length > 0%>')) {
|
||||||
if $neutron_server_enable {
|
if $neutron_server_enable {
|
||||||
$service_ensure = 'running'
|
$service_ensure = 'running'
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue