summaryrefslogtreecommitdiffstats
path: root/examples/gluster-nfs-ipa-example.pp
diff options
context:
space:
mode:
authorJames Shubin <james@shubin.ca>2014-01-21 05:02:58 -0500
committerJames Shubin <james@shubin.ca>2014-01-21 10:46:34 -0500
commit51fea724f4b606326489636a0ffb7e9673600f9b (patch)
tree5d9fc128b49fc08316b72416c6b36fc7d8e9ab98 /examples/gluster-nfs-ipa-example.pp
parentbee4993d4304730da27424dbdc73819b99d8ab5b (diff)
downloadpuppet-gluster-51fea724f4b606326489636a0ffb7e9673600f9b.tar.gz
puppet-gluster-51fea724f4b606326489636a0ffb7e9673600f9b.tar.xz
puppet-gluster-51fea724f4b606326489636a0ffb7e9673600f9b.zip
Add client mounting and associated magic.
* Rename gluster::client to gluster::mount * Add support to gluster::mount * Add client machines and mounts to vagrant setup * Fixed version interface for gluster::mount and gluster::server * Improved firewall support for gluster::mount * Update examples to use gluster::mount instead of gluster::client * Update documentation * Other small fixes
Diffstat (limited to 'examples/gluster-nfs-ipa-example.pp')
-rw-r--r--examples/gluster-nfs-ipa-example.pp6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/gluster-nfs-ipa-example.pp b/examples/gluster-nfs-ipa-example.pp
index 739c5c4..b08c7f2 100644
--- a/examples/gluster-nfs-ipa-example.pp
+++ b/examples/gluster-nfs-ipa-example.pp
@@ -1,9 +1,9 @@
-# gluster::client example using puppet-nfs and puppet-ipa to serve up your data
+# gluster::mount example using puppet-nfs and puppet-ipa to serve up your data!
# NOTE: you'll need to consult puppet-ipa/examples/ to setup the freeipa server
# mount a share on your nfs server, at the moment that nfs server is a SPOF :-(
$gvip = '203.0.113.42'
-gluster::client { '/export/homes':
+gluster::mount { '/export/homes':
server => "${gvip}:/homes",
rw => true,
mounted => true,
@@ -31,7 +31,7 @@ nfs::server::export { '/homes/': # name is the client mountpoint
tagas => 'homes',
safety => false, # be super clever (see the module docs)
comment => 'Export home directories for ws*',
- require => Gluster::Client['/export/homes/'],
+ require => Gluster::Mount['/export/homes/'],
}
# and here is how you can collect / mount ~automatically on the client: