diff options
author | Samuel Munilla <smunilla@redhat.com> | 2015-12-01 10:48:53 -0500 |
---|---|---|
committer | Samuel Munilla <smunilla@redhat.com> | 2016-03-09 08:11:37 -0500 |
commit | 2ce2f905275acd7ec4cda7fa072ba385208f30d1 (patch) | |
tree | 2ac82d2b9f86b04064a0cc2d0f0fbcf1444b29a6 /utils/src/ooinstall/oo_config.py | |
parent | 72fbab29392f7b4697a440f406d6873941086d7d (diff) | |
download | openshift-2ce2f905275acd7ec4cda7fa072ba385208f30d1.tar.gz openshift-2ce2f905275acd7ec4cda7fa072ba385208f30d1.tar.bz2 openshift-2ce2f905275acd7ec4cda7fa072ba385208f30d1.tar.xz openshift-2ce2f905275acd7ec4cda7fa072ba385208f30d1.zip |
First attempt at NFS setup
Diffstat (limited to 'utils/src/ooinstall/oo_config.py')
-rw-r--r-- | utils/src/ooinstall/oo_config.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/utils/src/ooinstall/oo_config.py b/utils/src/ooinstall/oo_config.py index b1af21773..8e3a11240 100644 --- a/utils/src/ooinstall/oo_config.py +++ b/utils/src/ooinstall/oo_config.py @@ -50,6 +50,9 @@ class Host(object): # Should this host run as an HAProxy: self.master_lb = kwargs.get('master_lb', False) + # Should this host run as an HAProxy: + self.storage = kwargs.get('storage', False) + self.containerized = kwargs.get('containerized', False) if self.connect_to is None: @@ -70,7 +73,7 @@ class Host(object): """ Used when exporting to yaml. """ d = {} for prop in ['ip', 'hostname', 'public_ip', 'public_hostname', - 'master', 'node', 'master_lb', 'containerized', + 'master', 'node', 'master_lb', 'storage', 'containerized', 'connect_to', 'preconfigured', 'new_host']: # If the property is defined (not None or False), export it: if getattr(self, prop): |