We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
clean
1 parent 6e7141b commit 422c7acCopy full SHA for 422c7ac
template/pkg/clean.sls
@@ -0,0 +1,21 @@
1
+# -*- coding: utf-8 -*-
2
+# vim: ft=sls
3
+
4
+{%- from salt['file.dirname'](tpldir) ~ "/map.jinja" import template with context %}
5
6
+template-service-dead:
7
+ service.dead:
8
+ - name: {{ template.service.name }}
9
+ - enable: False
10
11
+template-config-absent:
12
+ file.absent:
13
+ - name: {{ template.config }}
14
+ - require:
15
+ - service: template-service-dead
16
17
+template-pkg-removed:
18
+ pkg.removed:
19
+ - name: {{ template.pkg }}
20
21
+ - file: template-config-absent
0 commit comments