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

README.md

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.

You can’t perform that action at this time.