4d01bbe922f09516f169c3073e99d1427684c2aa
[apex-tripleo-heat-templates.git] / puppet / services / nova-ironic.yaml
1 heat_template_version: 2016-04-08
2
3 description: >
4   OpenStack Nova Compute service configured with Puppet and using Ironic
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   EndpointMap:
14     default: {}
15     description: Mapping of service endpoint -> protocol. Typically set
16                  via parameter_defaults in the resource registry.
17     type: json
18   IronicPassword:
19     description: The password for the Ironic service and db account, used by the Ironic services
20     type: string
21     hidden: true
22
23 resources:
24   NovaBase:
25     type: ./nova-base.yaml
26     properties:
27       ServiceNetMap: {get_param: ServiceNetMap}
28       EndpointMap: {get_param: EndpointMap}
29
30 outputs:
31   role_data:
32     description: Role data for the Nova Compute service with Ironic.
33     value:
34       service_name: nova_ironic
35       config_settings:
36         map_merge:
37           - get_attr: [NovaBase, role_data, config_settings]
38           - nova::compute::force_config_drive: true
39             nova::compute::reserved_host_memory: '0'
40             nova::compute::vnc_enabled: false
41             nova::ironic::common::admin_password: {get_param: IronicPassword}
42             nova::ironic::common::admin_tenant_name: 'service'
43             nova::ironic::common::admin_url: {get_param: [EndpointMap, KeystoneAdmin, uri]}
44             nova::ironic::common::admin_username: 'ironic'
45             nova::ironic::common::api_endpoint: {get_param: [EndpointMap, IronicInternal, uri]}
46             nova::network::neutron::dhcp_domain: ''
47             nova::scheduler::filter::scheduler_host_manager: 'ironic_host_manager'
48       step_config: |
49         include tripleo::profile::base::nova::compute::ironic