tomahawk 0.7.4.1 documentation¶
What is tomahawk?¶
tomahawk enables following 3 things.
- Executes a command into many remote hosts
- Copy local files to many remote hosts
- Copy files from remote hosts to local
Executes a command into many remote hosts¶
tomahawk is a program that enables to execute a command into many hosts.
$ tomahawk -h host1,host2,host3 uptime
—> ‘uptime’ command will be executed in host1, host2, and host3 with following output.
oinume@host1 % uptime
22:41:27 up 10 days, 3:26, 1 users, load average: 1.11, 1.13, 1.11
oinume@host2 % uptime
22:41:28 up 20 days, 4:26, 2 users, load average: 2.11, 2.13, 2.11
oinume@host3 % uptime
22:41:29 up 30 days, 5:26, 3 users, load average: 3.11, 3.13, 3.11
Copy files to many remote hosts or copy files from remote hosts to local¶
tomahawk-rsync is a program that enables to copy files <into/from> many hosts.
$ tomahawk-rsync -h host1,host2,host3 test.py /tmp/test.py
—> ‘test.py’ is copied to host1, host2 and host3.
$ tomahawk-rsync -f web.list /usr/local/apache2/conf/httpd.conf /tmp/httpd.conf
—> ‘httpd.conf’ is copied to hosts which listed in ‘web.list’.
$ tomahawk-rsync -h host1,host2 -m pull /usr/local/apache2/conf/httpd.conf /tmp/conf/
—> ‘httpd.conf’ is copied from host1 and host2 to local directory /tmp/conf as ‘host1__httpd.conf’ and ‘host2__httpd.conf’.
Contents:¶
- How to install tomahawk
- tomahawk manual page
- tomahawk-rsync manual page
- tomahawk Recipes
- Changes
- 0.7.4.1 <2016-08-21>
- 0.7.3 <2016-04-24>
- 0.7.2 <2014-07-27>
- 0.7.1 <2014-04-17>
- 0.7.0 <2014-03-02>
- 0.7.0-rc1 <2013-11-16>
- 0.6.0 <2013-04-21>
- 0.6.0-rc1 <2013-04-06>
- 0.5.2 <2012-06-01>
- 0.5.1 <2012-05-26>
- 0.5.0 <2012-04-01>
- 0.5.0-rc3 <2012-03-24>
- 0.5.0-rc2 <2012-03-13>
- 0.5.0-rc1< 2012-03-04>
- 0.4.5 <2012-01-15>
- 0.4.4 <2012-01-14>
- 0.4.3 <2011-12-03>
- 0.4.2 <2011-11-27>
- 0.4.1 <2011-09-18>
- 0.4.0 <2011-07-14>
- 0.3.4 <2011-07-05>
- 0.3.3 <2011-07-04>
- 0.3.2 <2011-06-18>
- 0.3.1 <2011-06-16>
- 0.3.0 <2011-05-15>
- 0.3.0-rc1 <2011-04-17>
- 0.2.6 <2011-04-13>
- 0.2.5 <2011-02-24>
- 0.2.4 <2011-02-08>
- 0.2.3 <2011-02-07>
- 0.2.2 <2011-01-25>
- 0.2.1 <2011-01-24>
- 0.2.0 <2010-12-07>
- 0.1.2 <2010-12-06>
- 0.1.1 <2010-12-02>
- 0.1.0 <2010-11-26>