File: README.rst

package info (click to toggle)
tomahawk 0.7.1-2.1
  • links: PTS
  • area: main
  • in suites: bullseye, sid
  • size: 484 kB
  • sloc: python: 1,921; makefile: 153; sh: 3
file content (81 lines) | stat: -rw-r--r-- 1,772 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
.. -*- restructuredtext -*-

.. image:: https://api.travis-ci.org/oinume/tomahawk.png?branch=hotfix/0.7
    :target: https://pypi.python.org/pypi/tomahawk/
    :alt: Build status

.. image:: https://pypip.in/v/tomahawk/badge.png
    :target: https://pypi.python.org/pypi/tomahawk/
    :alt: Latest Version

.. image:: https://pypip.in/d/tomahawk/badge.png
    :target: https://pypi.python.org/pypi/tomahawk/
    :alt: Downloads

.. image:: https://pypip.in/license/tomahawk/badge.png
    :target: https://pypi.python.org/pypi/tomahawk/
    :alt: 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/