Merge "Disable the Mon/OSD/Client resources in puppet-ceph-external"
[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   ServiceNetMap:
8     default: {}
9     description: Mapping of service_name -> network name. Typically set
10                  via parameter_defaults in the resource registry.  This
11                  mapping overrides those in ServiceNetMapDefaults.
12     type: json
13   DefaultPasswords:
14     default: {}
15     type: json
16   EndpointMap:
17     default: {}
18     description: Mapping of service endpoint -> protocol. Typically set
19                  via parameter_defaults in the resource registry.
20     type: json
21   NovaComputeLibvirtType:
22     type: string
23     default: kvm
24
25 resources:
26   NovaBase:
27     type: ./nova-base.yaml
28     properties:
29       ServiceNetMap: {get_param: ServiceNetMap}
30       DefaultPasswords: {get_param: DefaultPasswords}
31       EndpointMap: {get_param: EndpointMap}
32
33 outputs:
34   role_data:
35     description: Role data for the Libvirt service.
36     value:
37       service_name: nova_libvirt
38       config_settings:
39         map_merge:
40           - get_attr: [NovaBase, role_data, config_settings]
41           # we include ::nova::compute::libvirt::services in nova/libvirt profile
42           - nova::compute::libvirt::manage_libvirt_services: false
43           # we manage migration in nova common puppet profile
44             nova::compute::libvirt::migration_support: false
45             tripleo::profile::base::nova::manage_migration: true
46             tripleo::profile::base::nova::libvirt_enabled: true
47             nova::compute::libvirt::services::libvirt_virt_type: {get_param: NovaComputeLibvirtType}
48             nova::compute::libvirt::libvirt_virt_type: {get_param: NovaComputeLibvirtType}
49
50       step_config: |
51         include tripleo::profile::base::nova::libvirt