Add uninstall state
This commit is contained in:
parent
3f3e734cd7
commit
58e968916e
11
apache/uninstall.sls
Normal file
11
apache/uninstall.sls
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
{% from "apache/map.jinja" import apache with context %}
|
||||||
|
|
||||||
|
apache-uninstall:
|
||||||
|
service.dead:
|
||||||
|
- name: {{ apache.service }}
|
||||||
|
- enable: False
|
||||||
|
pkg.removed:
|
||||||
|
- pkgs:
|
||||||
|
- {{ apache.server }}
|
||||||
|
- require:
|
||||||
|
- service: apache-uninstall
|
Loading…
Reference in New Issue
Block a user