Browse Source

Add uninstall state

tags/v0.37.4
Oleksandr Porunov 7 years ago
parent
commit
58e968916e
1 changed files with 11 additions and 0 deletions
  1. +11
    -0
      apache/uninstall.sls

+ 11
- 0
apache/uninstall.sls 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

Loading…
Cancel
Save