Listing grains and grain data

This commit is contained in:
Pete Emerson 2013-03-07 13:32:46 -08:00
parent 5d8b038d53
commit 88d25814d0

View File

@ -30,6 +30,17 @@ Match all minions with 64-bit CPUs and return number of available cores::
salt -G 'cpuarch:x86_64' grains.item num_cpus
Listing Grains
==============
Available grains can be listed by using the 'grains.ls' module::
salt '*' grains.ls
Grains data can be listed by using the 'grains.items' module::
salt '*' grains.ls
Grains in the Minion Config
===========================