Add uninstall state

This commit is contained in:
Oleksandr Porunov 2017-03-28 16:51:02 +03:00
parent 65acc8d7b7
commit f012765ee4

11
memcached/uninstall.sls Normal file
View File

@ -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