Add uninstall state

This commit is contained in:
Oleksandr Porunov 2017-03-28 16:15:44 +03:00
parent 3f3e734cd7
commit 58e968916e

11
apache/uninstall.sls Normal file
View 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