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
This commit is contained in:
Alfredo Moralejo
2017-08-18 09:42:20 +02:00
parent c2f8d6b19c
commit e6f5e001cf

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')
}