summaryrefslogtreecommitdiffstats
path: root/roles/openshift_facts
diff options
context:
space:
mode:
authorDiego Castro <spinolacastro@gmail.com>2015-12-17 08:58:12 -0300
committerJason DeTiberus <jdetiber@redhat.com>2016-01-12 16:22:52 -0500
commit22eb2be9a1131279f1057912c36eba9591450dac (patch)
treedf5a94f65be3aea062f9eb4657ea09d2a2573465 /roles/openshift_facts
parent98e46eda537fae3a7547f8a1ab1337dd7229252e (diff)
downloadopenshift-22eb2be9a1131279f1057912c36eba9591450dac.tar.gz
openshift-22eb2be9a1131279f1057912c36eba9591450dac.tar.bz2
openshift-22eb2be9a1131279f1057912c36eba9591450dac.tar.xz
openshift-22eb2be9a1131279f1057912c36eba9591450dac.zip
Controllers_port and firewall rules
Diffstat (limited to 'roles/openshift_facts')
-rwxr-xr-xroles/openshift_facts/library/openshift_facts.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/roles/openshift_facts/library/openshift_facts.py b/roles/openshift_facts/library/openshift_facts.py
index 2a3d4acbd..a148c1362 100755
--- a/roles/openshift_facts/library/openshift_facts.py
+++ b/roles/openshift_facts/library/openshift_facts.py
@@ -463,6 +463,7 @@ def set_url_facts_if_unset(facts):
if 'master' in facts:
api_use_ssl = facts['master']['api_use_ssl']
api_port = facts['master']['api_port']
+ controllers_port = facts['master']['controllers_port']
console_use_ssl = facts['master']['console_use_ssl']
console_port = facts['master']['console_port']
console_path = facts['master']['console_path']
@@ -1156,7 +1157,7 @@ class OpenShiftFacts(object):
defaults['common'] = common
if 'master' in roles:
- master = dict(api_use_ssl=True, api_port='8443',
+ master = dict(api_use_ssl=True, api_port='8443', controllers_port='8444',
console_use_ssl=True, console_path='/console',
console_port='8443', etcd_use_ssl=True, etcd_hosts='',
etcd_port='4001', portal_net='172.30.0.0/16',