summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Shubin <james@shubin.ca>2014-12-16 12:32:28 -0500
committerJames Shubin <james@shubin.ca>2014-12-16 12:32:28 -0500
commit097fab7904e9fb3715d8f884a0e58f7a9d28190c (patch)
tree31cd0c91c066fbde808f3ac4b142be4097972828
parent784bc89273f636bdcd4bd5ff13cf3c04bd3d932a (diff)
downloadpuppet-gluster-097fab7904e9fb3715d8f884a0e58f7a9d28190c.tar.gz
puppet-gluster-097fab7904e9fb3715d8f884a0e58f7a9d28190c.tar.xz
puppet-gluster-097fab7904e9fb3715d8f884a0e58f7a9d28190c.zip
Add operating-version field values for 3.5 and 3.6.
-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...
},
}