[baremetal] Move VCP iface config to own yml
[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 parameters:
21   _param:
22     keepalived_vip_interface: ${_param:single_nic}
23     keepalived_vip_virtual_router_id: 240
24     nginx_proxy_ssl:
25       enabled: true
26       authority: ${_param:salt_minion_ca_authority}
27       engine: salt
28       mode: secure
29     cluster_vip_address: ${_param:openstack_proxy_address}
30     salt_minion_ca_host: cfg01.${_param:cluster_domain}
31   linux:
32     system:
33       package:
34         libapache2-mod-wsgi:
35           version: latest
36   salt:
37     minion:
38       cert:
39         proxy:
40           alternative_names: "IP:${_param:openstack_proxy_address}"
41           key_usage: 'digitalSignature, keyEncipherment'