Skip to content

SmugZombie/Stooge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stooge

Handspun Salt / Puppet like tool

Stooge - "One who plays a subordinate or compliant role to a principal"

Usage:

stooge -H [HOSTNAME/IP]... -c [COMMAND]... -s
Run commands easily via ssh on remote devices

  -H, --host            the targeted host for the remote command
  -g, --group           targets a specific group of predefined hosts
  -c, --command         the command to be run on the remote host(s)
  -s. --sudo            if enabled, will use sudouser in place of standard
  -v, --verbose         enabled verbose output of commands that are run
  --add                 adds a new host to the stooge configuration
  --remove              removes a selected host from the stooge configuration

Examples:
  stooge -h server1 -c "shutdown -r now" -s
      - Tells the host server1 to shutdown/reboot now using a sudo user
  stooge -H "tes*" -c "who"
      - Tells all hosts that start with "tes" to return 'who' is logged in
                using a standard user
  stooge -H "*" -c "who"
      - Tells all available hosts to return 'who' is logged in, using a
                standard user

Installation:

wget http://source.stooge.us -O stooge; chmod +x stooge; ./stooge

FAQ:

Why build this if there are other options already made and tested?
- To assist in learning a new programming / scripting language I task myself with a project that will encourage me to grow and expand my knowledge of the capabilities and features of a the language without following boring step by step guides.
- Because its fun.

About

Handspun Salt / Puppet like tool

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages