From f8cf1b6487c572f809ed84f8a247375499b0ab9f Mon Sep 17 00:00:00 2001 From: Roman Pertl Date: Thu, 10 Sep 2015 19:19:08 +0000 Subject: [PATCH] initial support for arch linux --- memcached/config.sls | 2 ++ memcached/map.jinja | 7 +++++++ memcached/templates/empty | 0 3 files changed, 9 insertions(+) create mode 100644 memcached/templates/empty 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