From cd92c2c0b0f65f77c36ebc1a052c4e8cf4d6f265 Mon Sep 17 00:00:00 2001 From: Clint Byrum Date: Thu, 8 Jul 2010 13:22:47 -0700 Subject: Adding gluster example --- doc/examples/cloud-config-gluster.txt | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 doc/examples/cloud-config-gluster.txt diff --git a/doc/examples/cloud-config-gluster.txt b/doc/examples/cloud-config-gluster.txt new file mode 100644 index 00000000..f8183e77 --- /dev/null +++ b/doc/examples/cloud-config-gluster.txt @@ -0,0 +1,18 @@ +#cloud-config +# vim: syntax=yaml +# Mounts volfile exported by glusterfsd running on +# "volfile-server-hostname" onto the local mount point '/mnt/data' +# +# In reality, replace 'volfile-server-hostname' with one of your nodes +# running glusterfsd. +# +packages: + - glusterfs-client + +mounts: + - [ 'volfile-server-hostname:6996', /mnt/data, glusterfs, "defaults,nobootwait", "0", "2" ] + +runcmd: + - [ modprobe, fuse ] + - [ mkdir, '-p', /mnt/data ] + - [ mount, '-a' ] -- cgit v1.2.3