File tree 3 files changed +46
-0
lines changed
3 files changed +46
-0
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,15 @@ Available states
14
14
15
15
.. contents ::
16
16
:local:
17
+ =======
18
+ :local:
19
+
20
+ ``salt ``
21
+ ^^^^^^^^
22
+
23
+ *Meta-state (This is a state that includes other states) *.
24
+
25
+ This calls all states which have a corresponding entry in pillar data.
17
26
18
27
``salt.minion ``
19
28
---------------
Original file line number Diff line number Diff line change
1
+ # -*- coding: utf-8 -*-
2
+ # vim: ft=sls
3
+
4
+ {%- if salt.pillar.get(' salt' ) %}
5
+ include:
6
+ {%- if salt.pillar.get(' pkgrepo' ) %}
7
+ - salt.pkgrepo
8
+ {%- endif %}
9
+ {%- if salt.pillar.get(' salt:salt_formulas' ) %}
10
+ - salt.formulas
11
+ {%- endif %}
12
+ {%- if salt.pillar.get(' salt:master' ) %}
13
+ - salt.master
14
+ {%- endif %}
15
+ {%- if salt.pillar.get(' salt:api' ) %}
16
+ - salt.api
17
+ {%- endif %}
18
+ {%- if salt.pillar.get(' salt:salt_cloud_certs' ) %}
19
+ - salt.cloud
20
+ {%- endif %}
21
+ {%- if salt.pillar.get(' salt:ssh' ) %}
22
+ - salt.ssh
23
+ {%- endif %}
24
+ {%- if salt.pillar.get(' salt:syndic' ) %}
25
+ - salt.syndic
26
+ {%- endif %}
27
+ {%- if salt.pillar.get(' salt:standalone' ) %}
28
+ - salt.standalone
29
+ {%- endif %}
30
+ {%- if salt.pillar.get(' salt:minion' ) %}
31
+ - salt.minion
32
+ {%- endif %}
33
+ {%- endif %}
Original file line number Diff line number Diff line change
1
+ {%- if grains.os_family not in (' MacOS' , ' Arch' ) %}
2
+
1
3
include:
2
4
- . {{ grains[' os_family' ]| lower }}
5
+
6
+ {%- endif %}
You can’t perform that action at this time.
0 commit comments