summaryrefslogtreecommitdiffstats
path: root/roles/openshift_facts/library
diff options
context:
space:
mode:
authorBrenton Leanhardt <bleanhar@redhat.com>2016-02-10 15:41:30 -0500
committerBrenton Leanhardt <bleanhar@redhat.com>2016-02-10 15:41:30 -0500
commit777fd8b3b964e3780660f733d7539a6e86ed3b66 (patch)
tree5245a356c6fdd6ea0d5ccebf1122c286bb232059 /roles/openshift_facts/library
parent5678a61006be9f6b72d7a94131006e309d414ea0 (diff)
parent2419624b7aa8b626bf537ef106af9836aefa5035 (diff)
downloadopenshift-777fd8b3b964e3780660f733d7539a6e86ed3b66.tar.gz
openshift-777fd8b3b964e3780660f733d7539a6e86ed3b66.tar.bz2
openshift-777fd8b3b964e3780660f733d7539a6e86ed3b66.tar.xz
openshift-777fd8b3b964e3780660f733d7539a6e86ed3b66.zip
Merge pull request #1370 from vanveele/iscsi-plugin
add iscsi storage_plugin dependency
Diffstat (limited to 'roles/openshift_facts/library')
-rwxr-xr-xroles/openshift_facts/library/openshift_facts.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/openshift_facts/library/openshift_facts.py b/roles/openshift_facts/library/openshift_facts.py
index e88022464..5f5c5c788 100755
--- a/roles/openshift_facts/library/openshift_facts.py
+++ b/roles/openshift_facts/library/openshift_facts.py
@@ -711,8 +711,8 @@ def set_deployment_facts_if_unset(facts):
if 'node' in facts:
deployment_type = facts['common']['deployment_type']
if 'storage_plugin_deps' not in facts['node']:
- if deployment_type in ['openshift-enterprise', 'atomic-enterprise']:
- facts['node']['storage_plugin_deps'] = ['ceph', 'glusterfs']
+ if deployment_type in ['openshift-enterprise', 'atomic-enterprise', 'origin']:
+ facts['node']['storage_plugin_deps'] = ['ceph', 'glusterfs', 'iscsi']
else:
facts['node']['storage_plugin_deps'] = []