Commit graph

24 commits

Author SHA1 Message Date
Duncan Ferguson
8b8a692b6c Rework hostname expansion
Didn't like relying on the bash shell for expansions - instead recoded it to be pure-perl so it is more cross-platform.

Github issue #53
2016-04-29 18:33:50 +01:00
Duncan Ferguson
454f30978d Fixed tests on systems where bash is not /bin/bash
Some systems, such as BSD, have bash stored in /usr/local/bin

Remove the assumption that bash is /bin/bash

Github issue #60
2016-04-08 21:00:20 +01:00
Andrew
ceda2524cf Add POD docs for expand_filename 2016-03-16 12:56:25 +01:00
Andrew
1c6a709f3a Apply style guidelines 2016-03-16 12:53:15 +01:00
Andrew
6b752e583b Expand ~ and $HOME when looking for files 2016-03-08 18:43:59 +01:00
Duncan Ferguson
b330457f99 Add in bash expansions on hostnames
Allow hostnames to be expanded using bash where a { is in the host name definition

Github issue #53
2016-02-13 08:48:20 +00:00
Duncan Ferguson
c0f2b8af41 Update copyright year 2015-10-01 18:15:51 +01:00
Duncan Ferguson
f8ed9da353 Ensure code is run through 'perltidy -pbp -nst -nse' 2014-09-19 23:33:08 +01:00
Duncan Ferguson
f88353d3dd Fix behaviour when no cluster command defined
Also tidyup output to 'cssh -L' when no external clusters defined
2014-08-10 10:37:34 +01:00
Duncan Ferguson
085803c328 List external clusters
List on command line (cssh -L) and in 'add host' dialogue in GUI
2014-07-05 20:26:44 +01:00
Duncan Ferguson
155b861e08 Fix 'Add host or cluster' to contain cluster names 2014-05-15 18:24:15 +01:00
Duncan Ferguson
583c8bbe53 Fixed the default cluster not being opened
This was due to a method being called in scalar context, which returned incorrect detail

Reported by Aaron C. de Bruyn
2014-01-04 15:07:34 +00:00
Duncan Ferguson
5ea730aff9 Fix tests 2013-04-16 09:23:03 +01:00
Duncan Ferguson
ea811ba639 Run through 'perltidy -pbp'
Standardise the code layout
2013-04-15 21:56:19 +01:00
Duncan Ferguson
d7e116e470 Functionality to call external command
Code and tests to call the external command
2013-04-15 21:34:05 +01:00
Duncan Ferguson
f1546a0d7d Resolving tags by external command
Start coding up resolving tags by an external command instead of a cluster or tag file
2013-03-25 13:13:03 +00:00
Duncan Ferguson
6fccd92d6a Bring new 'tag' file into use
/etc/tags and $HOME/.clusterssh/tags is now used

Refacter some code to make it clearer and update docs for new options
2013-03-19 21:06:00 +00:00
Duncan Ferguson
b2ba4daa46 Start of tags file handling
Refactor file loading code into one place since it should all work in a similar way.

Added in tag functionality.
- Cluster files are: tag host host host host
- Tag files are: host tag tag tag

Yes to add in remainder of code to load in the files automatically
2013-03-16 21:56:56 +00:00
Duncan Ferguson
74d1cf7f0a Updated manpage whatis entries
Patch by Tony Mancill
2013-02-14 22:11:21 +00:00
Duncan Ferguson
a6169dcacb Read $HOME/.clusterssh/clusters
Make sure the new location fo the clusters file is read
2012-07-20 10:08:35 +01:00
Duncan Ferguson
23483ce362 Improve Cluster module functionality
Add in extra functionality to load in and record tags and their hosts
2011-11-24 21:47:37 +00:00
Duncan Ferguson
015e130d77 Start using new cluster module 2011-11-21 22:03:54 +00:00
Duncan Ferguson
cd4c59b12e Further work on getting cluster module working 2011-11-21 18:02:26 +00:00
Duncan Ferguson
26e3ab7ef7 Start of cluster module 2011-11-18 22:44:08 +00:00