瀏覽代碼

Add uninstall state

tags/v0.37.4
Oleksandr Porunov 7 年之前
父節點
當前提交
58e968916e
共有 1 個檔案被更改,包括 11 行新增0 行删除
  1. +11
    -0
      apache/uninstall.sls

+ 11
- 0
apache/uninstall.sls 查看文件

@@ -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…
取消
儲存