summaryrefslogtreecommitdiffstats
path: root/examples/distributed-replicate-example.pp
diff options
context:
space:
mode:
authorJames Shubin <james@shubin.ca>2013-09-07 16:20:29 -0400
committerJames Shubin <james@shubin.ca>2013-09-07 16:20:29 -0400
commit4345cf9e625259585f7f8541e08c0e79a914e78c (patch)
tree83dd170ca9286fe32943f1ea41cecf893531ccc1 /examples/distributed-replicate-example.pp
parent64aaaf3b0160ac50d22bbdd73725de53bab668a8 (diff)
Add proper ping/status checks before volume creation.
This adds proper (optional) ping checks with fping and gluster peer status checks to ensure the peer are available before a volume create command. This required rewriting of the xml.py hack which helps puppet interface with the xml formatted gluster cli output. In addition, downstream commands such as volume::property gained checks to ensure the volume was present beforehand. While it is not obvious, it should be noted that because of the distributed nature of glusterfs, more than one puppet run will be required for complete deployment. With these patches, individual runs shouldn't ever end in temporary error as they used too.
Diffstat (limited to 'examples/distributed-replicate-example.pp')
0 files changed, 0 insertions, 0 deletions