Skip to content

Get grains from all connected salt-minons and save them in a processable format.

Notifications You must be signed in to change notification settings

AlexanderThaller/get_grains

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

get_grains

Usage

get_grains 1.0.0
Alexander Thaller <alexander.thaller@trivago.com>
Get the grains for all the minions connected to the saltmaster and save them in JSON files

USAGE:
    get_grains [OPTIONS] <SUBCOMMAND>

FLAGS:
    -h, --help
            Prints help information

    -V, --version
            Prints version information


OPTIONS:
    -D, --grainsdir <grainsdir>
            folder to save the grainfiles in [default: grains]

    -l, --loglevel <level>
            Loglevel to run under [default: info]  [values: trace, debug, info, warn, error]


SUBCOMMANDS:
    help
            Prints this message or the help of the given subcommand(s)

    read_file
            read salt grains from a file

    run_salt
            run salt command to get grains and parse that

About

Get grains from all connected salt-minons and save them in a processable format.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages