diff options
author | James Shubin <james@shubin.ca> | 2014-03-06 18:12:26 -0500 |
---|---|---|
committer | James Shubin <james@shubin.ca> | 2014-03-16 22:38:47 -0400 |
commit | 905afa199635ec3cc8ba891c39bd66fe5d43c996 (patch) | |
tree | 48229be802238d9cac13ee937b3ead4a4be41f13 /manifests/simple.pp | |
parent | 12df64beeb2f2bf003c86ca39ddb368a53afafee (diff) | |
download | puppet-gluster-905afa199635ec3cc8ba891c39bd66fe5d43c996.tar.gz puppet-gluster-905afa199635ec3cc8ba891c39bd66fe5d43c996.tar.xz puppet-gluster-905afa199635ec3cc8ba891c39bd66fe5d43c996.zip |
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.
Diffstat (limited to 'manifests/simple.pp')
-rw-r--r-- | manifests/simple.pp | 2 |
1 files changed, 2 insertions, 0 deletions
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 <<||>> |