mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Listing grains and grain data
This commit is contained in:
parent
5d8b038d53
commit
88d25814d0
@ -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
|
||||
===========================
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user