Merge "Fix default Swift ring partition power"
[apex-tripleo-heat-templates.git] / puppet / services / vip-hosts.yaml
1 heat_template_version: 2016-04-08
2
3 description: >
4   If the deployer doesn't have a DNS server for the overcloud nodes. This will
5   populate the node-names and IPs for the VIPs of the overcloud.
6
7 parameters:
8   ServiceNetMap:
9     default: {}
10     description: Mapping of service_name -> network name. Typically set
11                  via parameter_defaults in the resource registry.  This
12                  mapping overrides those in ServiceNetMapDefaults.
13     type: json
14   DefaultPasswords:
15     default: {}
16     type: json
17   EndpointMap:
18     default: {}
19     description: Mapping of service endpoint -> protocol. Typically set
20                  via parameter_defaults in the resource registry.
21     type: json
22
23 outputs:
24   role_data:
25     description: role data for the VIP hosts role
26     value:
27       service_name: vip_hosts
28       config_settings:
29         tripleo::vip_hosts::hosts_spec:
30           external:
31             name: "%{hiera('cloud_name_external')}"
32             ip: "%{hiera('public_virtual_ip')}"
33             ensure: present
34             comment: FQDN of the external VIP
35           internal_api:
36             name: "%{hiera('cloud_name_internal_api')}"
37             ip: "%{hiera('internal_api_virtual_ip')}"
38             ensure: present
39             comment: FQDN of the internal api VIP
40           storage:
41             name: "%{hiera('cloud_name_storage')}"
42             ip: "%{hiera('storage_virtual_ip')}"
43             ensure: present
44             comment: FQDN of the storage VIP
45           storage_mgmt:
46             name: "%{hiera('cloud_name_storage_mgmt')}"
47             ip: "%{hiera('storage_mgmt_virtual_ip')}"
48             ensure: present
49             comment: FQDN of the storage mgmt VIP
50           ctlplane:
51             name: "%{hiera('cloud_name_ctlplane')}"
52             ip: "%{hiera('controller_virtual_ip')}"
53             ensure: present
54             comment: FQDN of the ctlplane VIP
55       step_config: |
56         include ::tripleo::vip_hosts