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 --- manifests/volume.pp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'manifests/volume.pp') diff --git a/manifests/volume.pp b/manifests/volume.pp index 01ef8c5..513a431 100644 --- a/manifests/volume.pp +++ b/manifests/volume.pp @@ -346,6 +346,13 @@ define gluster::volume( source => "${zone}", # use our source zone before => Service['glusterd'], } + + Gluster::Rulewrapper <<| tag == 'gluster_firewall_volume' and match == "${name}" |>> { + #Shorewall::Rule <<| tag == 'gluster_firewall_volume' and match == "${name}" |>> { + source => "${zone}", # use our source zone + port => "${port}", # comma separated string or list + before => Service['glusterd'], + } } # fsm variables and boilerplate -- cgit