Merge pull request #16 from porunov/master

Add uninstall state
This commit is contained in:
Niels Abspoel 2017-03-28 17:07:32 +02:00 committed by GitHub
commit 31ce3fe080

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