summaryrefslogtreecommitdiffstats
path: root/puppet/vip-config.yaml
blob: 5e2f698fe0fe5d2c0bd05657a10227ded01206a8 (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

@media only all and (prefers-color-scheme: dark) {
.highlight .hll { background-color: #49483e }
.highlight .c { color: #75715e } /* Comment */
.highlight .err { color: #960050; background-color: #1e0010 } /* Error */
.highlight .k { color: #66d9ef } /* Keyword */
.highlight .l { color: #ae81ff } /* Literal */
.highlight .n { color: #f8f8f2 } /* Name */
.highlight .o { color: #f92672 } /* Operator */
.highlight .p { color: #f8f8f2 } /* Punctuation */
.highlight .ch { col
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}
                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}