diff --git a/memcached/init.sls b/memcached/init.sls index 37b0787..782abed 100644 --- a/memcached/init.sls +++ b/memcached/init.sls @@ -1,11 +1,9 @@ {% from 'memcached/map.jinja' import memcached with context %} memcached: - pkg: - - installed + pkg.installed: - name: {{ memcached.server }} - service: - - running + service.running: - enable: True - name: {{ memcached.service }} - require: diff --git a/memcached/libmemcached.sls b/memcached/libmemcached.sls index 9739b37..85f712b 100644 --- a/memcached/libmemcached.sls +++ b/memcached/libmemcached.sls @@ -1,6 +1,5 @@ {% from 'memcached/map.jinja' import memcached with context %} libmemcached: - pkg: - - installed + pkg.installed: - name: {{ memcached.libmemcached }} diff --git a/memcached/python_memcached.sls b/memcached/python_memcached.sls index 28068a5..0b5b8ce 100644 --- a/memcached/python_memcached.sls +++ b/memcached/python_memcached.sls @@ -1,6 +1,5 @@ {% from 'memcached/map.jinja' import memcached with context %} python-memcached: - pkg: - - installed + pkg.installed: - name: {{ memcached.python }}