Pass Horizon port through to controller nodes
authorJonathan Brownell <brownell@hp.com>
Tue, 23 Dec 2014 17:22:39 +0000 (09:22 -0800)
committerJonathan Brownell <brownell@hp.com>
Tue, 23 Dec 2014 17:33:51 +0000 (09:33 -0800)
The Horizon port may vary based on SSL enablement, and needs
to be known by the nodes for the purpose of iptables rules, etc.

Change-Id: Iec475a6c245a5bfe8b1d63ff72b6d0299861615c

overcloud-source.yaml

index 66c782c..d1f5ce9 100644 (file)
@@ -116,6 +116,10 @@ parameters:
     description: The filepath of the file to use for logging messages from Glance.
     type: string
     default: ''
+  HorizonPort:
+    type: number
+    default: 80
+    description: Horizon web server port.
   GlancePassword:
     default: unset
     description: The password for the glance service account, used by the glance services.
@@ -583,6 +587,7 @@ resources:
           metadata_server_url: {get_input: heat.metadata_server_url}
           waitcondition_server_url: {get_input: heat.waitcondition_server_url}
         horizon:
+          port: {get_param: HorizonPort}
           caches:
             memcached:
               nodes: