Puppet Class: foreman::plugin::memcache
- Defined in:
- manifests/plugin/memcache.pp
Overview
Foreman Memcache plugin
This class installs the memcache plugin and configuration file
Parameters:
- $hosts
- 
an array of hosts running memcache 
- $expires_in
- 
global default for key TTL in seconds 
- $namespace
- 
prepends each key with this value to provide simple namespacing 
- $compress
- 
will gzip-compress values larger than 1K 
| 15 16 17 18 19 20 21 22 23 24 | # File 'manifests/plugin/memcache.pp', line 15
class foreman::plugin::memcache (
  Array[String] $hosts = [],
  Integer[0] $expires_in = 86400,
  String $namespace = 'foreman',
  Boolean $compress = true,
) {
  foreman::plugin { 'memcache':
    config => template('foreman/foreman_memcache.yaml.erb'),
  }
} |