Change value for pci_alias parameter when empty

https://review.openstack.org/#/c/492172/ has changed how
pci_alias is managed in puppet-nova module and false is
not longer a valid value.

This patch changes the value for pci_alias when it's not
set in packstack to the default value, $::os_service_default

Change-Id: I663511ec2cf8d16461c75484bfc5481c45558f6a
(cherry picked from commit e6f5e001cf)
This commit is contained in:
Alfredo Moralejo 2017-08-18 09:42:20 +02:00 committed by yatin
parent bde12366f0
commit 5f86eacf0d
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ class packstack::nova::api ()
}
if hiera('CONFIG_NOVA_PCI_ALIAS') == '' {
$pci_alias = false
$pci_alias = $::os_service_default
} else {
$pci_alias = hiera('CONFIG_NOVA_PCI_ALIAS')
}