fuel-library/deployment/puppet/memcached
Stanislaw Bogatkin c539543f54 Sync puppet module memcached to v2.5.0 from upstream
v.2.5.0 sha1: 5a6c247a757671094d477d07c14b59c484d560d4
Implements: blueprint merge-openstack-puppet-modules

Change-Id: I0f5dbe3b178d8805a92eadfe6516e467bc05abb3
2014-06-24 17:41:32 +04:00
..
lib/puppet/parser/functions Sync puppet module memcached to v2.5.0 from upstream 2014-06-24 17:41:32 +04:00
manifests Sync puppet module memcached to v2.5.0 from upstream 2014-06-24 17:41:32 +04:00
spec Sync puppet module memcached to v2.5.0 from upstream 2014-06-24 17:41:32 +04:00
templates Sync puppet module memcached to v2.5.0 from upstream 2014-06-24 17:41:32 +04:00
tests Initial commit 2012-09-07 17:38:58 -07:00
.fixtures.yml Sync puppet module memcached to v2.5.0 from upstream 2014-06-24 17:41:32 +04:00
.gitattributes Sync puppet module memcached to v2.5.0 from upstream 2014-06-24 17:41:32 +04:00
.gitignore Sync puppet module memcached to v2.5.0 from upstream 2014-06-24 17:41:32 +04:00
.travis.yml Sync puppet module memcached to v2.5.0 from upstream 2014-06-24 17:41:32 +04:00
Gemfile Sync puppet module memcached to v2.5.0 from upstream 2014-06-24 17:41:32 +04:00
LICENSE Sync puppet module memcached to v2.5.0 from upstream 2014-06-24 17:41:32 +04:00
Modulefile Sync puppet module memcached to v2.5.0 from upstream 2014-06-24 17:41:32 +04:00
README-DEVELOPER Initial commit 2012-09-07 17:38:58 -07:00
README.md Sync puppet module memcached to v2.5.0 from upstream 2014-06-24 17:41:32 +04:00
Rakefile Sync puppet module memcached to v2.5.0 from upstream 2014-06-24 17:41:32 +04:00

README.md

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'
  • $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)