aboutsummaryrefslogtreecommitdiffstats
path: root/puppet/services
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-04-19 10:45:48 +0000
committerGerrit Code Review <review@openstack.org>2017-04-19 10:45:48 +0000
commit1fa377d565e1649281f01883811cd7e899fce9d1 (patch)
tree1ee152e7f468addc96f60fccafbf14a4bb65ca42 /puppet/services
parentf4390ffeba71a3c6d94399dffd8e7d022696add7 (diff)
parent8a4c6cbdf5e70b92f2e6b123f36545c957425d08 (diff)
Merge "Modify pci_passthrough hiera value as string" into stable/ocata
Diffstat (limited to 'puppet/services')
-rw-r--r--puppet/services/nova-compute.yaml8
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