summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/gluster-nfs-ipa-example.pp6
-rw-r--r--examples/mount-example.pp (renamed from examples/client-example.pp)6
2 files changed, 6 insertions, 6 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:
diff --git a/examples/client-example.pp b/examples/mount-example.pp
index 2e3c8d8..90930e3 100644
--- a/examples/client-example.pp
+++ b/examples/mount-example.pp
@@ -1,11 +1,11 @@
-# gluster::client example
+# gluster::mount example
# This is the recommended way of mounting puppet-gluster.
# NOTE: It makes sense to use the VIP as the server to mount from, since it
# stays HA if one of the other nodes goes down.
# mount a share on one of the gluster hosts (note the added require)
$annex_loc_vip_1 = '172.16.1.80'
-gluster::client { '/mnt/gshared':
+gluster::mount { '/mnt/gshared':
server => "${annex_loc_vip_1}:/gshared",
rw => true,
mounted => true,
@@ -13,7 +13,7 @@ gluster::client { '/mnt/gshared':
}
# mount a share on a client somewhere
-gluster::client { '/mnt/some_mount_point':
+gluster::mount { '/mnt/some_mount_point':
server => "${annex_loc_vip_1}:/some_volume_name",
rw => true,
mounted => true,