salt/tests/integration/files/pillar/base/generic.sls
Erik Johnson 77eeb47bea Add tests for nested grain/pillar matching
Also added tests for traditional grain matching when target grain is a
list.
2013-01-26 00:13:51 -06:00

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