diff --git a/templates/memcached_sysconfig.erb b/templates/memcached_sysconfig.erb index 9f20c5895..167bfe54a 100644 --- a/templates/memcached_sysconfig.erb +++ b/templates/memcached_sysconfig.erb @@ -6,7 +6,7 @@ CACHESIZE="<%= scope.function_memcached_max_memory([@max_memory]) %>" OPTIONS="<% result = [] if @verbosity - result << '-' + @verbosity + result << '-' + @verbosity.to_s end if @lock_memory result << '-k' @@ -15,10 +15,10 @@ if @listen_ip result << '-l ' + @listen_ip end if @udp_port - result << '-U ' + @udp_port + result << '-U ' + @udp_port.to_s end if @item_size - result << '-I ' + @item_size + result << '-I ' + @item_size.to_s end result << '-t ' + @processorcount -%><%= result.join(' ') -%>"