From a1cccc4827bffcae27966369baeeb68baec024f2 Mon Sep 17 00:00:00 2001 From: James Shubin Date: Wed, 18 Sep 2013 15:50:08 -0400 Subject: Set operating-version in glusterd.info This should really be switched based on the operating gluster version. A table of values and gluster versions is needed. The gluster version could be created as a fact. --- manifests/host.pp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'manifests') diff --git a/manifests/host.pp b/manifests/host.pp index e3a12c4..960ed30 100644 --- a/manifests/host.pp +++ b/manifests/host.pp @@ -58,6 +58,8 @@ define gluster::host( fail('No valid UUID exists yet!') } else { # set a unique uuid per host + # FIXME: set appropriate version based on gluster version + $valid_version = '2' file { '/var/lib/glusterd/glusterd.info': content => template('gluster/glusterd.info.erb'), owner => root, -- cgit