Skip to main content

A simple ssh wrapper to execute commands for many hosts.

Project description

Build status Latest Version Downloads License

Examples

$ tomahawk -h host1,host2,host3 uptime

–> ‘uptime’ command is executed in host1, host2 and host3 as follows.

kazuhiro@host1 % uptime 22:41:27 up 10 days, 3:26, 1 users, load average: 1.11, 1.13, 1.11

kazuhiro@host2 % uptime 22:41:28 up 20 days, 4:26, 2 users, load average: 2.11, 2.13, 2.11

kazuhiro@host3 % uptime 22:41:29 up 30 days, 5:26, 3 users, load average: 3.11, 3.13, 3.11

$ tomahawk-rsync -h host1,host2,host3 test.py /tmp/test.py

–> ‘test.py’ is copied to host1, host2 and host3.

See more usages: http://readthedocs.org/docs/tomahawk/en/latest/

Documentation

See http://readthedocs.org/docs/tomahawk/en/latest/

Changes

See https://github.com/oinume/tomahawk/blob/master/docs/en/changes.rst

How to contribute

Report a bug

https://github.com/oinume/tomahawk/issues

Send a patch

Fork, modify code, add tests, run tests, send pull request.

For developers

Install tomahawk in develop mode.

$ python setup.py develop

or

$ pip install -e .

Install following modules for testing.

$ pip install requirements-dev.txt

Run unit tests

$ py.test tests/internal/

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tomahawk-0.7.4.1.tar.gz (29.7 kB view details)

Uploaded Source

File details

Details for the file tomahawk-0.7.4.1.tar.gz.

File metadata

  • Download URL: tomahawk-0.7.4.1.tar.gz
  • Upload date:
  • Size: 29.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for tomahawk-0.7.4.1.tar.gz
Algorithm Hash digest
SHA256 e33eb96bdae1198fe9d23aa316e14c55efc3812531dbbf387d25620a9188f68a
MD5 f5a6aa8f99e0a2702b0675f1f328d32e
BLAKE2b-256 9c736a71ccc320dd36227e5981641de8a5a9a296ec4c2ded14260d0b5220add3

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page