Skip to content
This repository has been archived by the owner on Dec 19, 2022. It is now read-only.

crigertg/puppet-memcached

This branch is 199 commits behind saz/puppet-memcached:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

37a4d0b · Nov 27, 2015
Oct 2, 2012
Nov 27, 2015
May 25, 2015
May 25, 2015
Nov 20, 2011
Feb 1, 2014
Apr 2, 2014
Jun 7, 2015
Feb 1, 2014
Mar 29, 2015
Feb 1, 2014
Jan 5, 2012
May 25, 2015
Aug 21, 2014
Jun 7, 2015

Repository files navigation

puppet-memcached Build Status

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)
  • p r o c e s s o r c o u n t = ::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)

About

Puppet module for memcached

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 51.0%
  • Puppet 30.7%
  • HTML 18.2%
  • Pascal 0.1%