From 097fab7904e9fb3715d8f884a0e58f7a9d28190c Mon Sep 17 00:00:00 2001 From: James Shubin Date: Tue, 16 Dec 2014 12:32:28 -0500 Subject: Add operating-version field values for 3.5 and 3.6. --- manifests/host.pp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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... }, } -- cgit