Merge pull request #13 from roock/master
initial support for arch linux
This commit is contained in:
commit
7ff311570a
@ -16,6 +16,8 @@ include:
|
|||||||
- source: salt://memcached/templates/sysconfig/memcached
|
- source: salt://memcached/templates/sysconfig/memcached
|
||||||
{% elif grains['os_family'] == 'Gentoo' %}
|
{% elif grains['os_family'] == 'Gentoo' %}
|
||||||
- source: salt://memcached/templates/conf.d/memcached
|
- source: salt://memcached/templates/conf.d/memcached
|
||||||
|
{% elif grains['os_family'] == 'Arch' %}
|
||||||
|
- source: salt://memcached/templates/empty
|
||||||
{% endif %}
|
{% endif %}
|
||||||
- watch_in:
|
- watch_in:
|
||||||
- service: memcached
|
- service: memcached
|
||||||
|
@ -35,4 +35,11 @@
|
|||||||
'config_file': '/etc/conf.d/memcached',
|
'config_file': '/etc/conf.d/memcached',
|
||||||
'libmemcached': 'dev-libs/libmemcached',
|
'libmemcached': 'dev-libs/libmemcached',
|
||||||
},
|
},
|
||||||
|
'Arch':{
|
||||||
|
'server': 'memcached',
|
||||||
|
'service': 'memcached',
|
||||||
|
'python': 'python2-memcached',
|
||||||
|
'config_file': '/etc/memcached',
|
||||||
|
'libmemcached': 'libmemcached',
|
||||||
|
},
|
||||||
}, merge=salt['pillar.get']('memcached:lookup')) %}
|
}, merge=salt['pillar.get']('memcached:lookup')) %}
|
||||||
|
0
memcached/templates/empty
Normal file
0
memcached/templates/empty
Normal file
Loading…
Reference in New Issue
Block a user