diff --git a/memcached/uninstall.sls b/memcached/uninstall.sls new file mode 100644 index 0000000..aa82048 --- /dev/null +++ b/memcached/uninstall.sls @@ -0,0 +1,11 @@ +{% from 'memcached/map.jinja' import memcached with context %} + +memcached-uninstall: + service.dead: + - name: {{ memcached.service }} + - enable: False + pkg.removed: + - pkgs: + - {{ memcached.server }} + - require: + - service: memcached-uninstall