1 # puppet-memcached [![Build Status](https://secure.travis-ci.org/saz/puppet-memcached.png)](http://travis-ci.org/saz/puppet-memcached)
3 Manage memcached via Puppet
6 If you find this module useful, send some bitcoins to 1Na3YFUmdxKxJLiuRXQYJU2kiNqA3KY2j9
10 ### Use roughly 90% of memory
13 class { 'memcached': }
16 ### Set a fixed memory limit in MB
24 ### Use 12% of available memory
32 ### Other class parameters
34 * $package_ensure = 'present'
35 * $logfile = '/var/log/memcached.log'
36 * $pidfile = '/var/run/memcached.pid' (Debian family only, set to false to disable pidfile)
39 * $lock_memory = false (WARNING: good if used intelligently, google for -k key)
40 * $listen_ip = '0.0.0.0'
43 * $manage_firewall = false
44 * $user = '' (OS specific setting, see params.pp)
45 * $max_connections = 8192
47 * $unix_socket = undef
48 * $install_dev = false (TRUE if 'libmemcached-dev' package should be installed)
49 * $processorcount = $::processorcount
50 * $service_restart = true (restart service after configuration changes, false to prevent restarts)
51 * $use_sasl = false (start memcached with SASL support)
52 * $large_mem_pages = false (try to use large memory pages)