Move nova::db data within service template
[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
13 resources:
14   NovaBase:
15     type: ./nova-base.yaml
16     properties:
17       EndpointMap: {get_param: EndpointMap}
18
19 outputs:
20   role_data:
21     description: Role data for the Libvirt service.
22     value:
23       config_settings:
24         map_merge:
25           - get_attr: [NovaBase, role_data, config_settings]
26           # we include ::nova::compute::libvirt::services in nova/libvirt profile
27           - nova::compute::libvirt::manage_libvirt_services: false
28           # we manage migration in nova common puppet profile
29             nova::compute::libvirt::migration_support: false
30             tripleo::profile::base::nova::manage_migration: true
31             tripleo::profile::base::nova::libvirt_enabled: true
32       step_config: |
33         include tripleo::profile::base::nova::libvirt