From 51fea724f4b606326489636a0ffb7e9673600f9b Mon Sep 17 00:00:00 2001 From: James Shubin Date: Tue, 21 Jan 2014 05:02:58 -0500 Subject: 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 --- examples/gluster-nfs-ipa-example.pp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'examples/gluster-nfs-ipa-example.pp') 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: -- cgit