From 905afa199635ec3cc8ba891c39bd66fe5d43c996 Mon Sep 17 00:00:00 2001 From: James Shubin Date: Thu, 6 Mar 2014 18:12:26 -0500 Subject: Make use of ping (actually, fping) optional in gluster::simple. This is useful for environments that don't include fping. Usage of fping (or similar) is still recommended to make you less likely to get an error on volume creation if one host isn't up. --- manifests/simple.pp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/manifests/simple.pp b/manifests/simple.pp index 8175731..06cbc52 100644 --- a/manifests/simple.pp +++ b/manifests/simple.pp @@ -43,6 +43,7 @@ class gluster::simple( # xfs_inode64 => true, # force => true, # } + $ping = true, # use fping or not? $baseport = '', # specify base port option as used in glusterd.vol file $rpcauthallowinsecure = false, # needed in some setups in glusterd.vol $shorewall = true @@ -157,6 +158,7 @@ class gluster::simple( #bricks => split(inline_template("<%= @gluster_fqdns.split(',').collect {|x| x+':${valid_path}' }.join(',') %>"), ','), # the only semi-safe way is the new built in automatic collect: bricks => true, # automatic brick collection... + ping => $ping, start => true, } Gluster::Volume <<||>> -- cgit