diff --git a/memcached/config.sls b/memcached/config.sls index bf48ff8..62d3eb1 100644 --- a/memcached/config.sls +++ b/memcached/config.sls @@ -16,6 +16,8 @@ include: - source: salt://memcached/templates/sysconfig/memcached {% elif grains['os_family'] == 'Gentoo' %} - source: salt://memcached/templates/conf.d/memcached + {% elif grains['os_family'] == 'Arch' %} + - source: salt://memcached/templates/empty {% endif %} - watch_in: - service: memcached diff --git a/memcached/map.jinja b/memcached/map.jinja index 3794859..985eccc 100644 --- a/memcached/map.jinja +++ b/memcached/map.jinja @@ -35,4 +35,11 @@ 'config_file': '/etc/conf.d/memcached', 'libmemcached': 'dev-libs/libmemcached', }, + 'Arch':{ + 'server': 'memcached', + 'service': 'memcached', + 'python': 'python2-memcached', + 'config_file': '/etc/memcached', + 'libmemcached': 'libmemcached', + }, }, merge=salt['pillar.get']('memcached:lookup')) %} diff --git a/memcached/templates/empty b/memcached/templates/empty new file mode 100644 index 0000000..e69de29