Add 'service_name' to composable services
[apex-tripleo-heat-templates.git] / puppet / services / nova-compute.yaml
1 heat_template_version: 2016-04-08
2
3 description: >
4   OpenStack Nova Compute 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
17 outputs:
18   role_data:
19     description: Role data for the Nova Compute service.
20     value:
21       service_name: nova-compute
22       config_settings:
23         map_merge:
24           - get_attr: [NovaBase, role_data, config_settings]
25           - nova::compute::libvirt::manage_libvirt_services: false
26           # we manage migration in nova common puppet profile
27             nova::compute::libvirt::migration_support: false
28             tripleo::profile::base::nova::manage_migration: true
29             tripleo::profile::base::nova::nova_compute_enabled: true
30       step_config: |
31         # TODO(emilien): figure how to deal with libvirt profile.
32         # We'll probably threat it like we do with Neutron plugins.
33         # Until then, just include it in the default nova-compute role.
34         include tripleo::profile::base::nova::compute::libvirt