mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
61f30a9d80
Example: ``` yaml pillars: default: commands: {% if grains['os'] == 'RedHat' %} pkg_grains: /usr/bin/rpm_grains {% endif %} ``` In this case `pkg_grains` wouldn't be found on anything else that RedHat systems and would be NoneType which would return an error and break the module. |
||
---|---|---|
.. | ||
__init__.py | ||
test_consul.py | ||
test_extra_minion_data_in_pillar.py | ||
test_hg.py | ||
test_mysql.py | ||
test_nodegroups.py | ||
test_saltclass.py | ||
test_sqlcipher.py | ||
test_sqlite3.py |