summaryrefslogtreecommitdiffstats
path: root/templates/glusterd.vol.erb
diff options
context:
space:
mode:
authorJames Shubin <james@shubin.ca>2014-01-24 19:19:15 -0500
committerJames Shubin <james@shubin.ca>2014-01-24 20:44:08 -0500
commit0191594e5390a70503b0dce177d2998a0a0f434a (patch)
treec36027e916409b29b0e21d7f312776db45914756 /templates/glusterd.vol.erb
parent7448b4712fda8c0a9c982d5b3a66846b2e92d0e6 (diff)
downloadpuppet-gluster-0191594e5390a70503b0dce177d2998a0a0f434a.tar.gz
puppet-gluster-0191594e5390a70503b0dce177d2998a0a0f434a.tar.xz
puppet-gluster-0191594e5390a70503b0dce177d2998a0a0f434a.zip
Small bugfixes.
It seems the seluser is now server_t. If someone thinks it should be different, please let me know! I think the --xml output of gluster volume status --xml <v> changed.
Diffstat (limited to 'templates/glusterd.vol.erb')
-rw-r--r--templates/glusterd.vol.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/glusterd.vol.erb b/templates/glusterd.vol.erb
index 31853ba..a258b9a 100644
--- a/templates/glusterd.vol.erb
+++ b/templates/glusterd.vol.erb
@@ -8,7 +8,7 @@ volume management
<% if @valid_rpcauthallowinsecure -%>
option rpc-auth-allow-insecure on
<% end -%>
-<% if @valid_baseport > 0 -%>
+<% if @valid_baseport.to_i > 0 -%>
option base-port <%= @valid_baseport %>
<% else -%>
# option base-port 49152