Sha256: 725c3cba24a80f475e20d7d3bd44a5b15031947693291b360dfc4c6c43bf6872

Contents?: true

Size: 804 Bytes

Versions: 6

Compression:

Stored size: 804 Bytes

Contents

# File managed by puppet

# Run memcached as a daemon.
-d

# pidfile
-P /var/run/memcached.pid

# Log memcached's output
logfile <%= logfile %>

<% if @verbosity -%>
# Verbosity
-<%= verbosity %>
<% end -%>

# Use <num> MB memory max to use for object storage.
<% if max_memory -%>
-m <%= max_memory %>
<% else -%>
-m <%= ((memorysize.to_f*1024)*0.95).floor %>
<% end -%>

<% if @unix_socket -%>
# UNIX socket path to listen on
-s <%= unix_socket %>
<% else -%>

# IP to listen on
-l <%= listen_ip %>

# TCP port to listen on
-p <%= tcp_port %>

# UDP port to listen on
-U <%= udp_port %>
<% end -%>

# Run daemon as user
-u <%= user %>

# Limit the number of simultaneous incoming connections.
-c <%= max_connections %>

# Number of threads to use to process incoming requests.
-t <%= processorcount %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
safeguard-devise-0.0.7 puppet/modules/memcached/templates/memcached.conf.erb
safeguard-devise-0.0.6 puppet/modules/memcached/templates/memcached.conf.erb
safeguard-devise-0.0.5 puppet/modules/memcached/templates/memcached.conf.erb
safeguard-devise-0.0.4 puppet/modules/memcached/templates/memcached.conf.erb
safeguard-devise-0.0.3 puppet/modules/memcached/templates/memcached.conf.erb
safeguard-devise-0.0.2 puppet/modules/memcached/templates/memcached.conf.erb