diff options
author | James Shubin <james@shubin.ca> | 2013-09-18 15:50:08 -0400 |
---|---|---|
committer | James Shubin <james@shubin.ca> | 2013-09-18 15:50:08 -0400 |
commit | a1cccc4827bffcae27966369baeeb68baec024f2 (patch) | |
tree | c449e1ae42caf5670d9ee47eb5e87fc8399e4ccb /manifests | |
parent | 2ade18f753c8993c670402bff4d2f235ce9a7e14 (diff) | |
download | puppet-gluster-a1cccc4827bffcae27966369baeeb68baec024f2.tar.gz puppet-gluster-a1cccc4827bffcae27966369baeeb68baec024f2.tar.xz puppet-gluster-a1cccc4827bffcae27966369baeeb68baec024f2.zip |
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.
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/host.pp | 2 |
1 files changed, 2 insertions, 0 deletions
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, |