Version information
released Mar 29th 2015
This version is compatible with:
- Puppet Enterprise >= 3.2.0 < 3.4.0
- Puppet 3.x
- RedHat, CentOS, OracleLinux, Scientific, Debian, Ubuntu, Windows
Start using this module
Add this module to your Puppetfile:
mod 'saz-memcached', '2.7.1'
Learn more about managing modules with a PuppetfileDocumentation
saz/memcached — version 2.7.1 Mar 29th 2015
puppet-memcached
Manage memcached via Puppet
Show some love
If you find this module useful, send some bitcoins to 1Na3YFUmdxKxJLiuRXQYJU2kiNqA3KY2j9
How to use
Use roughly 90% of memory
class { 'memcached': }
Set a fixed memory limit in MB
class { 'memcached':
max_memory => 2048
}
Use 12% of available memory
class { 'memcached':
max_memory => '12%'
}
Other class parameters
- $package_ensure = 'present'
- $logfile = '/var/log/memcached.log'
- $pidfile = '/var/run/memcached.pid' (Debian family only, set to false to disable pidfile)
- $max_memory = false
- $item_size = false
- $lock_memory = false (WARNING: good if used intelligently, google for -k key)
- $listen_ip = '0.0.0.0'
- $tcp_port = 11211
- $udp_port = 11211
- $manage_firewall = false
- $user = '' (OS specific setting, see params.pp)
- $max_connections = 8192
- $verbosity = undef
- $unix_socket = undef
- $install_dev = false (TRUE if 'libmemcached-dev' package should be installed)
- $processorcount = $::processorcount
- $service_restart = true (restart service after configuration changes, false to prevent restarts)
- $use_sasl = false (start memcached with SASL support)
- $large_mem_pages = false (try to use large memory pages)
Dependencies
- puppetlabs/stdlib (>= 3.2.0)
- puppetlabs/firewall (>= 0.1.0)
Copyright 2011 Steffen Zieger Copyright 2014 Garrett Honeycutt <code@garretthoneycutt.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.