Merge "Set coordination url for gnocchi storage"
[apex-tripleo-heat-templates.git] / puppet / services / nova-libvirt.yaml
1 heat_template_version: 2016-04-08
2
3 description: >
4   Libvirt service configured with Puppet
5
6 parameters:
7   EndpointMap:
8     default: {}
9     description: Mapping of service endpoint -> protocol. Typically set
10                  via parameter_defaults in the resource registry.
11     type: json
12   NovaComputeLibvirtType:
13     type: string
14     default: kvm
15
16 resources:
17   NovaBase:
18     type: ./nova-base.yaml
19     properties:
20       EndpointMap: {get_param: EndpointMap}
21
22 outputs:
23   role_data:
24     description: Role data for the Libvirt service.
25     value:
26       service_name: nova_libvirt
27       config_settings:
28         map_merge:
29           - get_attr: [NovaBase, role_data, config_settings]
30           # we include ::nova::compute::libvirt::services in nova/libvirt profile
31           - nova::compute::libvirt::manage_libvirt_services: false
32           # we manage migration in nova common puppet profile
33             nova::compute::libvirt::migration_support: false
34             tripleo::profile::base::nova::manage_migration: true
35             tripleo::profile::base::nova::libvirt_enabled: true
36             nova::compute::libvirt::services::libvirt_virt_type: {get_param: NovaComputeLibvirtType}
37             nova::compute::libvirt::libvirt_virt_type: {get_param: NovaComputeLibvirtType}
38
39       step_config: |
40         include tripleo::profile::base::nova::libvirt