summaryrefslogtreecommitdiff
path: root/client
Commit message (Collapse)AuthorAgeFilesLines
* exit with -2 if run_as user can't be foundAndrew Gaffney2008-01-061-3/+4
| | | | | | always try to get exitstatus svn path=/branches/new-fu/; revision=340
* check proper variable after forkingAndrew Gaffney2008-01-061-2/+15
| | | | | | add code to setuid() before job execution svn path=/branches/new-fu/; revision=339
* add in exec() callAndrew Gaffney2008-01-061-1/+3
| | | | svn path=/branches/new-fu/; revision=337
* remove unneeded moduleAndrew Gaffney2008-01-061-3/+0
| | | | svn path=/branches/new-fu/; revision=336
* move Scire.pm to Scire/Job.pm and fix scireclient.pm to use the new pathsAndrew Gaffney2008-01-062-1/+2
| | | | svn path=/branches/new-fu/; revision=335
* break out the Communicator code.Preston Cody2008-01-062-88/+89
| | | | svn path=/branches/new-fu/; revision=334
* fill out run() a bit moreAndrew Gaffney2008-01-061-1/+45
| | | | svn path=/branches/new-fu/; revision=333
* add stub for run()Andrew Gaffney2008-01-061-0/+5
| | | | svn path=/branches/new-fu/; revision=332
* condense check_job_dir() with a loopAndrew Gaffney2008-01-061-19/+8
| | | | svn path=/branches/new-fu/; revision=331
* move code that talks to server into talk_to_server(), which forks before ↵Andrew Gaffney2008-01-052-20/+46
| | | | | | doing its thing in order to drop privileges svn path=/branches/new-fu/; revision=330
* change set_filename() to load_jobfile()Andrew Gaffney2008-01-051-2/+2
| | | | svn path=/branches/new-fu/; revision=329
* only import open2 from IPC::Open2Andrew Gaffney2008-01-051-1/+1
| | | | svn path=/branches/new-fu/; revision=328
* move SERVER_STDIN and SERVER_STDOUT inside the class hashAndrew Gaffney2008-01-051-11/+8
| | | | svn path=/branches/new-fu/; revision=326
* don't need SERVER_STDIN and SERVER_STDOUT hereAndrew Gaffney2008-01-051-1/+0
| | | | svn path=/branches/new-fu/; revision=325
* move bits of the server communication into Scire.pmAndrew Gaffney2008-01-052-71/+97
| | | | svn path=/branches/new-fu/; revision=324
* don't stick 'script' in the hashAndrew Gaffney2008-01-051-1/+1
| | | | svn path=/branches/new-fu/; revision=321
* initial commit of Scire.pmAndrew Gaffney2008-01-051-0/+37
| | | | svn path=/branches/new-fu/; revision=320
* fix parse_response() regex to ignore trailing whitespaceAndrew Gaffney2008-01-021-1/+1
| | | | svn path=/branches/new-fu/; revision=315
* fixin up get_jobs a bit.Preston Cody2008-01-021-11/+18
| | | | svn path=/branches/new-fu/; revision=313
* add debug to response linePreston Cody2008-01-021-7/+20
| | | | | | | added other paths to check_job_dir fixed up get_job a bit. svn path=/branches/new-fu/; revision=310
* chomp the line read from client_keyAndrew Gaffney2008-01-011-3/+2
| | | | svn path=/branches/new-fu/; revision=303
* switch config location to /etc/scire/Andrew Gaffney2007-12-311-1/+11
| | | | | | add config defaults to scireclient svn path=/branches/new-fu/; revision=301
* fixing up registering and identifying code.Preston Cody2007-12-311-11/+13
| | | | svn path=/branches/new-fu/; revision=299
* remove dead codeAndrew Gaffney2007-12-311-7/+3
| | | | | | add a few extra options to the ssh invocation svn path=/branches/new-fu/; revision=298
* cleaned up the debugging. took out existing jobs lines.Preston Cody2007-12-311-9/+7
| | | | svn path=/branches/new-fu/; revision=292
* add get_interface_info() to get MAC/IP for register_client()Andrew Gaffney2007-12-311-2/+12
| | | | svn path=/branches/new-fu/; revision=290
* remove END block as it seems unnecessary, since it looks like ssh dies by ↵Andrew Gaffney2007-12-301-7/+0
| | | | | | itself when the STDIN and STDOUT are closed svn path=/branches/new-fu/; revision=277
* add END block and clean up errorsAndrew Gaffney2007-12-301-8/+15
| | | | svn path=/branches/new-fu/; revision=276
* remove run_test() stuffAndrew Gaffney2007-12-301-7/+0
| | | | svn path=/branches/new-fu/; revision=274
* modify all code using send_command() to pass output through parse_response()Andrew Gaffney2007-12-301-10/+8
| | | | svn path=/branches/new-fu/; revision=273
* implement debug() and modify all current code to use itAndrew Gaffney2007-12-301-6/+14
| | | | svn path=/branches/new-fu/; revision=272
* implement parse_response()Andrew Gaffney2007-12-301-4/+5
| | | | svn path=/branches/new-fu/; revision=271
* move get_response() code into send_command() since nothing else uses itAndrew Gaffney2007-12-301-7/+7
| | | | svn path=/branches/new-fu/; revision=270
* big changes. adding a whole bunch of code to flesh this out.Preston Cody2007-12-301-15/+88
| | | | svn path=/branches/new-fu/; revision=268
* if to unless b/c of possible undef.Preston Cody2007-12-261-2/+2
| | | | svn path=/branches/new-fu/; revision=265
* move connection string building into its own functionAndrew Gaffney2007-12-241-38/+52
| | | | | | | | move most of global stuff inside run_main react properly to responses from IDENTIFY command move the job_dir check into its own function svn path=/branches/new-fu/; revision=263
* musta been too drunk to not remember mkpath.Preston Cody2007-12-241-1/+2
| | | | svn path=/branches/new-fu/; revision=261
* rename verbose to debugAndrew Gaffney2007-12-241-10/+26
| | | | | | split identify and register svn path=/branches/new-fu/; revision=260
* config touchups.Preston Cody2007-12-241-19/+55
| | | | | | | added a register function. it needs a fingerprint or digest to verify the client. svn path=/branches/new-fu/; revision=259
* use a match and capture instead of split for parsing config file linesAndrew Gaffney2007-12-241-2/+3
| | | | svn path=/branches/new-fu/; revision=257
* ok, where to begin....Andrew Gaffney2007-12-241-17/+63
| | | | | | | | | | | | SCIRE_CONFIG_FILE is no longer a constant so it can be overriden via commandline basic commandline parsing helper function for sending/receiving and creating the connection move my test code into run_test() function temporary connection_command override for development fix a few syntax errors random other changes that I can't be bothered to think of svn path=/branches/new-fu/; revision=256
* adding config-related stuff.Preston Cody2007-12-241-6/+39
| | | | svn path=/branches/new-fu/; revision=254
* add servercmd commentAndrew Gaffney2007-12-231-0/+1
| | | | svn path=/branches/new-fu/; revision=253
* initial perl-based client and server with shiny IPCAndrew Gaffney2007-12-231-0/+23
svn path=/branches/new-fu/; revision=252