Skip to content
Handspun Salt / Puppet like tool
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information. Update Feb 12, 2016 Update Feb 19, 2016 Update Feb 18, 2016
stooge.json Update stooge.json Feb 12, 2016 0.8.4 - Added Formatting and Group names to List output Apr 3, 2016


Handspun Salt / Puppet like tool

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


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

  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


wget -O stooge; chmod +x stooge; ./stooge


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.

You can’t perform that action at this time.