Merge pull request #13 from roock/master

initial support for arch linux
This commit is contained in:
Forrest 2015-09-10 12:39:55 -07:00
commit 7ff311570a
3 changed files with 9 additions and 0 deletions

View File

@ -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

View File

@ -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')) %}

View File