Sha256: 2e48fa4eb7fb0fc09b7a3cdc1af8d38e68ac98b61b2f434036937191bccb7124

Contents?: true

Size: 473 Bytes

Versions: 4

Compression:

Stored size: 473 Bytes

Contents

PORT="<%= tcp_port %>"
USER="<%= user %>"
MAXCONN="<%= max_connections %>"
<% Puppet::Parser::Functions.function('memcached_max_memory') -%>
CACHESIZE="<%= scope.function_memcached_max_memory([max_memory]) %>"
OPTIONS="<%
result = []
if @verbosity
  result << '-' + verbosity
end
if @lock_memory
  result << '-k'
end
if @listen_ip
  result << '-l ' + listen_ip
end
if @udp_port
  result << '-U ' + udp_port
end
result << '-t ' + processorcount
-%><%= result.join(' ') -%>"

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
vagrant-boxen-0.0.4 puppet-modules/memcached/templates/memcached_sysconfig.erb
vagrant-boxen-0.0.3 puppet-modules/memcached/templates/memcached_sysconfig.erb
vagrant-boxen-0.0.2 puppet/modules/memcached/templates/memcached_sysconfig.erb
vagrant-boxen-0.0.1 puppet/modules/memcached/templates/memcached_sysconfig.erb