summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--manifests/host.pp8
1 files changed, 7 insertions, 1 deletions
diff --git a/manifests/host.pp b/manifests/host.pp
index 7f6efed..8c39e57 100644
--- a/manifests/host.pp
+++ b/manifests/host.pp
@@ -98,15 +98,21 @@ define gluster::host(
)
# TODO: add additional values to this table...
+ # TODO: this should use "data-in-modules" instead...
+ # READ: https://www.gluster.org/community/documentation/index.php/OperatingVersions
$operating_version = "${gluster_version}" ? {
'' => '', # gluster not yet installed...
# specific version matches go here...
'3.4.0' => '2',
+ '3.5.0' => '3',
+ '3.5.1' => '30501',
+ '3.6.0' => '30600',
default => "${gluster_main_version}" ? {
# loose version matches go here...
#'3.3' => '1', # blank...
'3.4' => '2',
- #'3.5' => '3', # guessing...
+ '3.5' => '30501', # 3.5.1
+ '3.6' => '30600', # 3.6.0
default => '-1', # unknown...
},
}