Merge lp:~clint-fewbar/cloud-init/glusterfs-mount-example into lp:~cloud-init-dev/cloud-init/trunk

Proposed by Clint Byrum on 2010-07-08
Status: Merged
Merged at revision: 234
Proposed branch: lp:~clint-fewbar/cloud-init/glusterfs-mount-example
Merge into: lp:~cloud-init-dev/cloud-init/trunk
Diff against target: 22 lines (+18/-0)
1 file modified
doc/examples/cloud-config-gluster.txt (+18/-0)
To merge this branch: bzr merge lp:~clint-fewbar/cloud-init/glusterfs-mount-example
Reviewer Review Type Date Requested Status
Dustin Kirkland  2010-07-08 Approve on 2010-08-02
Scott Moser 2010-07-28 Pending
Review via email: mp+29515@code.launchpad.net

Description of the Change

Proper use of mounts example for glusterfs (assumes mounts will be fixed to support targets that do not start with /)

To post a comment you must log in.
Clint Byrum (clint-fewbar) wrote :

Scott can you please merge in the example file? Thanks!

Dustin Kirkland  (kirkland) wrote :

Looks harmless, merging. Upload will wait for Scott's next merge/upload. Thanks, Clint.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added file 'doc/examples/cloud-config-gluster.txt'
2--- doc/examples/cloud-config-gluster.txt 1970-01-01 00:00:00 +0000
3+++ doc/examples/cloud-config-gluster.txt 2010-07-08 22:26:38 +0000
4@@ -0,0 +1,18 @@
5+#cloud-config
6+# vim: syntax=yaml
7+# Mounts volfile exported by glusterfsd running on
8+# "volfile-server-hostname" onto the local mount point '/mnt/data'
9+#
10+# In reality, replace 'volfile-server-hostname' with one of your nodes
11+# running glusterfsd.
12+#
13+packages:
14+ - glusterfs-client
15+
16+mounts:
17+ - [ 'volfile-server-hostname:6996', /mnt/data, glusterfs, "defaults,nobootwait", "0", "2" ]
18+
19+runcmd:
20+ - [ modprobe, fuse ]
21+ - [ mkdir, '-p', /mnt/data ]
22+ - [ mount, '-a' ]