Add uninstall state
This commit is contained in:
parent
65acc8d7b7
commit
f012765ee4
11
memcached/uninstall.sls
Normal file
11
memcached/uninstall.sls
Normal 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
|
Loading…
Reference in New Issue
Block a user