[ha] Fix missing aodh_version param
[fuel.git] / mcp / reclass / classes / cluster / mcp-common-ha / openstack_proxy.yml.j2
index 34ec106..759bdc1 100644 (file)
@@ -8,12 +8,14 @@
 ---
 classes:
   - system.linux.system.repo.mcp.mirror.v1.openstack
+  - system.linux.system.single.simple
   - system.nginx.server.single
   - system.nginx.server.proxy.openstack_api
   - system.nginx.server.proxy.openstack_vnc
   - system.nginx.server.proxy.openstack_web
   - system.nginx.server.proxy.openstack.aodh
   - system.nginx.server.proxy.openstack.ceilometer
+  - system.apache.server.single
   - system.horizon.server.single
   - system.salt.minion.cert.proxy
   - system.sphinx.server.doc.reclass
@@ -38,16 +40,10 @@ parameters:
       package:
         libapache2-mod-wsgi:
           version: latest
+      kernel:
+        ~boot_options:
+          - ipv6.disable=0
 {%- if not conf.MCP_VCP %}
-    # Set up routes similar to prx*ovs-ha
-    network:
-      interface:
-        br-ex:
-          route:
-            public:
-              address: 0.0.0.0
-              netmask: 0.0.0.0
-              gateway: ${_param:opnfv_net_public_gw}
   nginx:
     server:
       # NOTE(armband): Define host.address for all proxies for uniformity
@@ -69,6 +65,7 @@ parameters:
           <<: *nginx_openstack_proxy_address
         nginx_proxy_openstack_api_heat_cloudwatch:
           <<: *nginx_openstack_proxy_address
+          enabled: false
         nginx_proxy_openstack_api_keystone:
           <<: *nginx_openstack_proxy_address
         nginx_proxy_openstack_api_keystone_private:
@@ -77,14 +74,18 @@ parameters:
           <<: *nginx_openstack_proxy_address
         nginx_proxy_openstack_api_nova:
           <<: *nginx_openstack_proxy_address
-        nginx_proxy_openstack_api_nova_ec2:
-          <<: *nginx_openstack_proxy_address
         nginx_proxy_openstack_web:
           <<: *nginx_openstack_proxy_address
         nginx_ssl_redirect_openstack_web:
           <<: *nginx_openstack_proxy_address
         nginx_static_reclass_doc:
           <<: *nginx_openstack_proxy_address
+{%- else %}
+  nginx:
+    server:
+      site:
+        nginx_proxy_openstack_api_heat_cloudwatch:
+          enabled: false
 {%- endif %}
   salt:
     minion:
@@ -97,3 +98,7 @@ parameters:
       vrrp_scripts:
         check_pidof:
           args: 'nginx'
+  apache:
+    server:
+      bind:
+        listen_default_ports: false