Merge "Upgrade scripts to migrate aodh alarm data"
[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   EndpointMap:
8     default: {}
9     description: Mapping of service endpoint -> protocol. Typically set
10                  via parameter_defaults in the resource registry.
11     type: json
12   IronicPassword:
13     description: The password for the Ironic service and db account, used by the Ironic services
14     type: string
15     hidden: true
16
17 resources:
18   NovaBase:
19     type: ./nova-base.yaml
20     properties:
21       EndpointMap: {get_param: EndpointMap}
22
23 outputs:
24   role_data:
25     description: Role data for the Nova Compute service with Ironic.
26     value:
27       service_name: nova_ironic
28       config_settings:
29         map_merge:
30           - get_attr: [NovaBase, role_data, config_settings]
31           - nova::compute::force_config_drive: true
32             nova::compute::reserved_host_memory: '0'
33             nova::compute::vnc_enabled: false
34             nova::ironic::common::admin_password: {get_param: IronicPassword}
35             nova::ironic::common::admin_tenant_name: 'service'
36             nova::ironic::common::admin_url: {get_param: [EndpointMap, KeystoneAdmin, uri]}
37             nova::ironic::common::admin_username: 'ironic'
38             nova::ironic::common::api_endpoint: {get_param: [EndpointMap, IronicInternal, uri]}
39             nova::network::neutron::dhcp_domain: ''
40             nova::scheduler::filter::scheduler_host_manager: 'ironic_host_manager'
41       step_config: |
42         include tripleo::profile::base::nova::compute::ironic