mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
77eeb47bea
Also added tests for traditional grain matching when target grain is a list.
23 lines
260 B
Plaintext
23 lines
260 B
Plaintext
monty: python
|
|
os: {{ grains['os'] }}
|
|
{% if grains['os'] == 'Fedora' %}
|
|
class: redhat
|
|
{% else %}
|
|
class: other
|
|
{% endif %}
|
|
|
|
knights:
|
|
- Lancelot
|
|
- Galahad
|
|
- Bedevere
|
|
- Robin
|
|
|
|
level1:
|
|
level2: foo
|
|
|
|
companions:
|
|
three:
|
|
- liz
|
|
- jo
|
|
- sarah jane
|