14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# File 'manifests/compute/pci.pp', line 14
class nova::compute::pci(
$passthrough = $::os_service_default
) {
include nova::deps
$picked_passthrough = pick_default($::nova::compute::pci_passthrough,$passthrough)
if $picked_passthrough and
!is_service_default($picked_passthrough) and
!empty($picked_passthrough) {
$passthrough_real = to_array_of_json_strings($picked_passthrough)
} else {
$passthrough_real = $::os_service_default
}
nova_config {
'pci/passthrough_whitelist': value => $passthrough_real;
}
}
|