[baremetal] Retire example pod_config.yaml
[fuel.git] / mcp / reclass / classes / cluster / baremetal-mcp-pike-common-ha / openstack_proxy.yml
1 ##############################################################################
2 # Copyright (c) 2017 Mirantis Inc., Enea AB and others.
3 # All rights reserved. This program and the accompanying materials
4 # are made available under the terms of the Apache License, Version 2.0
5 # which accompanies this distribution, and is available at
6 # http://www.apache.org/licenses/LICENSE-2.0
7 ##############################################################################
8 ---
9 classes:
10   - system.nginx.server.single
11   - system.nginx.server.proxy.openstack_api
12   - system.nginx.server.proxy.openstack_vnc
13   - system.nginx.server.proxy.openstack_web
14   - system.nginx.server.proxy.openstack.aodh
15   - system.nginx.server.proxy.openstack.ceilometer
16   - system.horizon.server.single
17   - system.salt.minion.cert.proxy
18   - system.sphinx.server.doc.reclass
19   - service.keepalived.cluster.single
20   - system.keepalived.cluster.instance.openstack_web_public_vip
21 parameters:
22   _param:
23     cluster_vip_address: ${_param:openstack_proxy_address}
24     keepalived_openstack_web_public_vip_address: ${_param:cluster_vip_address}
25     keepalived_openstack_web_public_vip_interface: ${_param:single_nic}
26     keepalived_vip_address: ${_param:openstack_proxy_control_address}
27     keepalived_vip_interface: ${_param:control_nic}
28     keepalived_vip_virtual_router_id: 240
29     nginx_proxy_ssl:
30       enabled: true
31       authority: ${_param:salt_minion_ca_authority}
32       engine: salt
33       mode: secure
34     salt_minion_ca_host: cfg01.${_param:cluster_domain}
35   linux:
36     system:
37       package:
38         libapache2-mod-wsgi:
39           version: latest
40   salt:
41     minion:
42       cert:
43         proxy:
44           alternative_names: "IP:${_param:openstack_proxy_address}"
45           key_usage: 'digitalSignature, keyEncipherment'