salt.modules.grains
Control aspects of the grains data
Members
item
-
salt.modules.grains.item(key=None)
Return a singe component of the grains data
CLI Example:
items
-
salt.modules.grains.items()
Return the grains data
CLI Example:
ls
-
salt.modules.grains.ls()
Return a list of all available grains
CLI Example: