summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2017-11-11 02:00:27 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-11-11 02:00:27 +0000
commit088f3c7325d5ca443c6f9e202497503982c61401 (patch)
treef2778ed4a25b409f85935a1c885ddef6680a199c
parentd8508c56661b0e0fb40e82e9feb1df1416749913 (diff)
parent9ef364212224ca4790f175d20c2176682c5a9c32 (diff)
Merge "Apply apache state on proxy nodes" into stable/euphrates
-rwxr-xr-xmcp/config/states/openstack_ha1
-rw-r--r--mcp/reclass/classes/cluster/baremetal-mcp-ocata-common/openstack_proxy.yml8
2 files changed, 9 insertions, 0 deletions
diff --git a/mcp/config/states/openstack_ha b/mcp/config/states/openstack_ha
index e816a9dcc..c3a51a85a 100755
--- a/mcp/config/states/openstack_ha
+++ b/mcp/config/states/openstack_ha
@@ -63,6 +63,7 @@ salt -I 'ceilometer:server' state.sls ceilometer
salt -I 'ceilometer:agent' state.sls ceilometer
salt -I 'horizon:server' state.sls horizon
+salt -I 'apache:server' state.sls apache
salt -I 'nginx:server' state.sls nginx
clstr_vip_addr=$(salt -C 'I@nginx:server and *01*' --out=yaml \
diff --git a/mcp/reclass/classes/cluster/baremetal-mcp-ocata-common/openstack_proxy.yml b/mcp/reclass/classes/cluster/baremetal-mcp-ocata-common/openstack_proxy.yml
index da3190815..d93d9ee5b 100644
--- a/mcp/reclass/classes/cluster/baremetal-mcp-ocata-common/openstack_proxy.yml
+++ b/mcp/reclass/classes/cluster/baremetal-mcp-ocata-common/openstack_proxy.yml
@@ -16,6 +16,7 @@ classes:
- system.nginx.server.proxy.openstack.aodh
- system.nginx.server.proxy.openstack.ceilometer
- system.horizon.server.single
+ - system.apache.server.single
- system.salt.minion.cert.proxy
- system.sphinx.server.doc.reclass
- service.keepalived.cluster.single
@@ -46,3 +47,10 @@ parameters:
proxy:
alternative_names: "IP:${_param:openstack_proxy_address}"
key_usage: 'digitalSignature, keyEncipherment'
+ apache:
+ server:
+ modules: ~
+ horizon:
+ server:
+ bind:
+ address: localhost