This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
salt
/
apache-formula
forked from
ExternalMirrors/apache-formula
Watch
1
Star
0
Fork
0
Code
Releases
0
Activity
Browse Source
Add uninstall state
master
Oleksandr Porunov
7 years ago
parent
3f3e734cd7
commit
58e968916e
1 changed files
with
11 additions
and
0 deletions
Split View
Show Diff Stats
+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
Write
Preview
Loading…
Cancel
Save