Skip to content

hubspotdevops/puppet-memcached

 
 

Repository files navigation

puppet-memcached

Build Status

Manage memcached via Puppet

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

  • $logfile = '/var/log/memcached.log'
  • $listen_ip = '0.0.0.0'
  • $tcp_port = 11211
  • $udp_port = 11211
  • $user = '' (OS specific setting, see params.pp)
  • $max_connections = 8192
  • $lock_memory = false (WARNING: good if used intelligently, google for -k key)
  • $install_dev = false (TRUE if 'libmemcached-dev' package should be installed)

About

Puppet module for memcached

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 69.6%
  • Puppet 30.4%