Expose option to setup libmemcached
This commit is contained in:
parent
e6b2f44415
commit
1b3a7e9e35
@ -29,6 +29,11 @@ Memcached configuration file
|
||||
|
||||
Installs ``python-memcached`` package for RedHat/CentOS and ``python-memcache`` package for Debian
|
||||
|
||||
``memcached.libmemcached``
|
||||
--------------------
|
||||
|
||||
Installs libmemcached development files to install ``pylibmc`` as python driver
|
||||
|
||||
Instructions
|
||||
============
|
||||
|
||||
|
6
memcached/libmemcached.sls
Normal file
6
memcached/libmemcached.sls
Normal file
@ -0,0 +1,6 @@
|
||||
{% from 'memcached/map.jinja' import memcached with context %}
|
||||
|
||||
libmemcached:
|
||||
pkg:
|
||||
- installed
|
||||
- name: {{ memcached.libmemcached }}
|
@ -19,11 +19,13 @@
|
||||
'service': 'memcached',
|
||||
'python': 'python-memcache',
|
||||
'config_file': '/etc/memcached.conf',
|
||||
'libmemcached': 'libmemcached-dev',
|
||||
},
|
||||
'RedHat': {
|
||||
'server': 'memcached',
|
||||
'service': 'memcached',
|
||||
'python': 'python-memcached',
|
||||
'config_file': '/etc/sysconfig/memcached',
|
||||
'libmemcached': 'libmemcached-devel',
|
||||
},
|
||||
}, merge=salt['pillar.get']('memcached:lookup')) %}
|
||||
|
Loading…
Reference in New Issue
Block a user