diff options
author | Jenkins <jenkins@review.openstack.org> | 2017-03-29 02:47:59 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2017-03-29 02:47:59 +0000 |
commit | 0ae9d9b346f1c5d7e29b8f281474577eca260670 (patch) | |
tree | b297a39f28ac648875c3d3ee7d6507b17980581c /puppet | |
parent | 06ec138699b0658b8d005ed900d24c9d72ac8ec7 (diff) | |
parent | 57c06ddefd4d7ff87de02dab9d1c5e92eb8e6eef (diff) |
Merge "Modify pci_passthrough hiera value as string"
Diffstat (limited to 'puppet')
-rw-r--r-- | puppet/services/nova-compute.yaml | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/puppet/services/nova-compute.yaml b/puppet/services/nova-compute.yaml index d208bede..a9737eb6 100644 --- a/puppet/services/nova-compute.yaml +++ b/puppet/services/nova-compute.yaml @@ -52,7 +52,7 @@ parameters: For different formats, refer to the nova.conf documentation for pci_passthrough_whitelist configuration type: json - default: {} + default: '' NovaVcpuPinSet: description: > A list or range of physical CPU cores to reserve for virtual machine @@ -101,7 +101,11 @@ outputs: map_merge: - get_attr: [NovaBase, role_data, config_settings] - nova::compute::libvirt::manage_libvirt_services: false - nova::compute::pci_passthrough: {get_param: NovaPCIPassthrough} + nova::compute::pci_passthrough: + str_replace: + template: "JSON_PARAM" + params: + JSON_PARAM: {get_param: NovaPCIPassthrough} nova::compute::vcpu_pin_set: {get_param: NovaVcpuPinSet} nova::compute::reserved_host_memory: {get_param: NovaReservedHostMemory} # we manage migration in nova common puppet profile |