summaryrefslogtreecommitdiffstats
path: root/roles/openshift_facts/library
diff options
context:
space:
mode:
authorJose A. Rivera <jarrpa@redhat.com>2017-04-17 17:46:14 -0500
committerJose A. Rivera <jarrpa@redhat.com>2017-05-04 11:44:54 +0200
commit483870112d3a079709b231f1128b979fc5e60c52 (patch)
treefb1f428a0f19623321d9d2176428be903963f072 /roles/openshift_facts/library
parent1328328522f11db02d526f72df66c424f3dfbfa3 (diff)
downloadopenshift-483870112d3a079709b231f1128b979fc5e60c52.tar.gz
openshift-483870112d3a079709b231f1128b979fc5e60c52.tar.bz2
openshift-483870112d3a079709b231f1128b979fc5e60c52.tar.xz
openshift-483870112d3a079709b231f1128b979fc5e60c52.zip
GlusterFS: Allow swapping an existing registry's backend storage
Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
Diffstat (limited to 'roles/openshift_facts/library')
-rwxr-xr-xroles/openshift_facts/library/openshift_facts.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/roles/openshift_facts/library/openshift_facts.py b/roles/openshift_facts/library/openshift_facts.py
index 7720136d1..9528784b5 100755
--- a/roles/openshift_facts/library/openshift_facts.py
+++ b/roles/openshift_facts/library/openshift_facts.py
@@ -2169,7 +2169,9 @@ class OpenShiftFacts(object):
glusterfs=dict(
endpoints='glusterfs-registry-endpoints',
path='glusterfs-registry-volume',
- readOnly=False),
+ readOnly=False,
+ swap=False,
+ swapcopy=True),
host=None,
access=dict(
modes=['ReadWriteMany']