Sha256: 248b2ba2c5cc6c1856380d39ceb92fca75e6e4c08b5f6dfba7f0acfd2436aa64

Contents?: true

Size: 827 Bytes

Versions: 4

Compression:

Stored size: 827 Bytes

Contents

# puppet-memcached

[![Build Status](https://secure.travis-ci.org/saz/puppet-memcached.png)](http://travis-ci.org/saz/puppet-memcached)

Manage memcached via Puppet

## How to use

### Use roughly 90% of memory

```ruby
    class { 'memcached': }
```

### Set a fixed memory limit in MB

```ruby
    class { 'memcached':
      max_memory => 2048
    }
```

### Use 12% of available memory

```ruby
    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)

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
vagrant-boxen-0.0.4 puppet-modules/memcached/README.md
vagrant-boxen-0.0.3 puppet-modules/memcached/README.md
vagrant-boxen-0.0.2 puppet/modules/memcached/README.md
vagrant-boxen-0.0.1 puppet/modules/memcached/README.md