initial support for arch linux

This commit is contained in:
Roman Pertl 2015-09-10 19:19:08 +00:00
parent 8f8a100dd6
commit f8cf1b6487
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