mirror of
https://github.com/saltstack-formulas/reverse-grains-formula.git
synced 2024-11-27 18:47:46 +01:00
c40f6198a8
In Python 3, dict.keys doesn't return a list, but a set-like object that represents a view of the dictionary's keys and doesn't support indexing. Formula therefor didn't worked with Python 3. |
||
---|---|---|
grains | ||
.gitignore | ||
LICENSE | ||
pillar.example | ||
README.rst |
====================== reverse-grains-formula ====================== Formula to configure grains via pillar in a grain/hosts rather than host/grains manner. .. note:: See the full `Salt Formulas installation and usage instructions <http://docs.saltstack.com/topics/development/conventions/formulas.html>`_. Available states ================ .. contents:: :local: ``grains`` --------- Configure grains in /etc/salt/grains. Written with the py renderer. Utilizes compound matches in the pillar to apply the grains and their values.