Commit graph

29 commits

Author SHA1 Message Date
Duncan Ferguson
be0ff95430 Get the hostname reolution code working again
Fix option -A (use_all_a_records)
2011-11-18 22:31:12 +00:00
Duncan Ferguson
99b908a64f Make use of find_binary if not set in config
If comms command isnt set then find the path to the binary
2011-11-17 22:51:54 +00:00
Duncan Ferguson
78c71b5960 Move potential new helper code into the helper module 2011-08-31 21:12:49 +01:00
Duncan Ferguson
ce4f610905 Move the helper script as is into a module and get working again 2011-08-31 21:01:12 +01:00
Duncan Ferguson
6c32234f5f WIP: get new config module into use 2011-07-28 10:23:49 +01:00
Duncan Ferguson
74e3913680 More config functionality
Load up config files and write out default config file if it doesnt exist.
2011-07-25 18:23:07 +01:00
Duncan Ferguson
b51644512d Further enhancements to the config module
Continue work to move all the config code out of the main module into a sub module.  Not yet used by the main module.
2011-07-21 08:23:49 +01:00
Duncan Ferguson
81a79902b6 Further work on config module 2011-07-11 22:07:57 +01:00
Duncan Ferguson
5fb98fc796 Further work on config module 2011-07-11 21:00:43 +01:00
Duncan Ferguson
3fedc40eaf Read a given config file
Throw an exception if it cannot be read
2011-07-09 09:00:24 +01:00
Duncan Ferguson
3caf243048 Further config & test improvements - WIP 2011-07-08 14:30:03 +01:00
Duncan Ferguson
98d6edbfd4 Start work on a configuration object 2011-07-08 13:00:29 +01:00
Duncan Ferguson
abe177d4d8 More use of Exception::Class 2011-07-01 16:40:29 +01:00
Duncan Ferguson
efe6cf2e9c Start switching code to use Exception::Class
Use Exception::CLass is as easier to get data back up the calling tree than just using die();
2011-07-01 14:46:01 +01:00
Duncan Ferguson
f04b4040ae Add in 'ccon' command
Thanks for Brandon Perkins for the patch
2011-06-30 11:12:59 +01:00
Duncan Ferguson
e2cc9a0863 Fix test error
Fix test error on 5.8.8 (reported by Wei Wang)
Also add to TODO file
2010-09-09 12:17:43 +01:00
Duncan Ferguson
98b93d91f4 Correct version number 2010-06-25 16:21:58 +01:00
Duncan Ferguson
4b03d3f6ea Allow new config store to be univerally available within the app 2010-06-25 16:20:48 +01:00
Duncan Ferguson
74809e7184 Standardise licence
GPL and GPL+1/Artistic licenses were used - standarise on GPL+1/Artisticc (same as perl) except for cscp (which I didnt write)
2010-06-20 20:23:41 +01:00
Duncan Ferguson
2ee06cd89b Update copyright year(s) 2010-06-20 17:55:24 +01:00
Duncan Ferguson
18e79bb64f Type up pod for whatis
Picked up from debian packaging.  Thanks to Tony Mancill.
2010-06-20 17:53:09 +01:00
Duncan Ferguson
b3fa4348ce Tidy up docs; add in missing functions 2010-06-18 23:16:34 +01:00
Duncan Ferguson
f77c6a9fa7 Squash 'Use of uninitialized value' errors
Go through passed array and set anything false to an empty string to clean up test output
2010-06-18 23:10:36 +01:00
Duncan Ferguson
08dc61df20 Amend copyright year 2010-06-03 19:03:33 +01:00
Duncan Ferguson
9730b7f90f host realname and givenname functionality
Check the hostname exists in ssh config or via lookup, but only when called/required (i.e. not done implicitly during new)
2010-01-29 10:23:08 +00:00
Duncan Ferguson
65a600e706 Allow for parsing of ssh files to get hostnames 2010-01-28 19:10:31 +00:00
Duncan Ferguson
7d77fe8cb0 Add in host object
First cut of a host object - yet to be used by main script
2010-01-12 20:15:11 +00:00
Duncan Ferguson
3c72ca71f0 Initial base object for everything to inherit from 2010-01-11 22:23:14 +00:00
Duncan Ferguson
811db0cf29 Start of non-English language support 2010-01-11 19:39:20 +00:00