Merge pull request #10 from ticosax/libmemcached
Expose option to setup libmemcached
This commit is contained in:
commit
435b442dcb
@ -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