Merge pull request #171 from porunov/master

Add uninstall state
This commit is contained in:
alxwr 2017-03-28 16:28:01 +02:00 committed by GitHub
commit 7f6179365e

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