add Horizon caches backend definition (memcached)
authorGiulio Fidente <gfidente@redhat.com>
Mon, 7 Jul 2014 20:57:11 +0000 (22:57 +0200)
committerGiulio Fidente <gfidente@redhat.com>
Thu, 10 Jul 2014 05:10:54 +0000 (07:10 +0200)
This change adds into the overcloud-source template a structure
name horizon.caches meant to define the Horizon caches backend.
It defaults to using memcached and provides a list of the
memcached nodes in horizon.caches.memcached.nodes

Related to blueprint tripleo-icehouse-ha-production-configuration

Change-Id: I728e05926f2de0e867fb8e8c74c63947da7d987a

overcloud-source.yaml

index 6bf9a59..0d51fb9 100644 (file)
@@ -392,6 +392,13 @@ Resources:
           watch_server_url: {get_input: heat.watch_server_url}
           metadata_server_url: {get_input: heat.metadata_server_url}
           waitcondition_server_url: {get_input: heat.waitcondition_server_url}
+        horizon:
+          caches:
+            memcached:
+              nodes:
+                Merge::Map:
+                  controller0:
+                    {"Fn::Select": [ name, {"Fn::GetAtt": [controller0, show]} ] }
         keystone:
           db: mysql://keystone:unset@localhost/keystone
           host: