aboutsummaryrefslogtreecommitdiffstats
path: root/puppet/vip-config.yaml
blob: 3e8e9182fa5ea794c3baaafd9faf9433e85a3e60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
heat_template_version: 2015-04-30

description: >
  Configure hieradata for service -> virtual IP mappings.

resources:
  VipConfigImpl:
    type: OS::Heat::StructuredConfig
    properties:
      group: os-apply-config
      config:
        hiera:
          datafiles:
            vip_data:
              mapped_data:
                keystone_admin_api_vip: {get_input: keystone_admin_api_vip}
                keystone_public_api_vip: {get_input: keystone_public_api_vip}
                neutron_api_vip: {get_input: neutron_api_vip}
                # TODO: pass a `midonet_api_vip` var
                midonet_api_vip: {get_input: neutron_api_vip}
                cinder_api_vip: {get_input: cinder_api_vip}
                glance_api_vip: {get_input: glance_api_vip}
                glance_registry_vip: {get_input: glance_registry_vip}
                sahara_api_vip: {get_input: sahara_api_vip}
                swift_proxy_vip: {get_input: swift_proxy_vip}
                nova_api_vip: {get_input: nova_api_vip}
                nova_metadata_vip: {get_input: nova_metadata_vip}
                ceilometer_api_vip: {get_input: ceilometer_api_vip}
                aodh_api_vip: {get_input: aodh_api_vip}
                gnocchi_api_vip: {get_input: gnocchi_api_vip}
                heat_api_vip: {get_input: heat_api_vip}
                horizon_vip: {get_input: horizon_vip}
                redis_vip: {get_input: redis_vip}
                mysql_vip: {get_input: mysql_vip}
                tripleo::loadbalancer::public_virtual_ip: {get_input: public_virtual_ip}
                tripleo::loadbalancer::controller_virtual_ip: {get_input: control_virtual_ip}
                tripleo::loadbalancer::internal_api_virtual_ip: {get_input: internal_api_virtual_ip}
                tripleo::loadbalancer::storage_virtual_ip: {get_input: storage_virtual_ip}
                tripleo::loadbalancer::storage_mgmt_virtual_ip: {get_input: storage_mgmt_virtual_ip}
                tripleo::redis_notification::haproxy_monitor_ip: {get_input: control_virtual_ip}


outputs:
  OS::stack_id:
    description: The VipConfigImpl resource.
    value: {get_resource: VipConfigImpl}