summaryrefslogtreecommitdiffstats
path: root/src/sbin
Commit message (Collapse)AuthorAgeFilesLines
* fix fqdn matchupsNarayan Desai2005-09-281-28/+31
| | | | | | | | | | | | | | | no stdout, please 2005/09/28 15:05:27-05:00 anl.gov!desai speed up 2005/09/28 14:26:59-05:00 anl.gov!desai fix looping (Logical change 1.326) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1328 ce84e21b-d406-0410-9b95-82705330c041
* Update so that fully-qualified client names function properlyNarayan Desai2005-09-271-6/+7
| | | | | | | | | fix some pylint errors (Logical change 1.324) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1323 ce84e21b-d406-0410-9b95-82705330c041
* add support for fully qualified client hostnamesNarayan Desai2005-09-271-1/+1
| | | | | | | (Logical change 1.324) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1318 ce84e21b-d406-0410-9b95-82705330c041
* switch to fqdns for all client namesNarayan Desai2005-09-271-4/+4
| | | | | | | (Logical change 1.322) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1311 ce84e21b-d406-0410-9b95-82705330c041
* add solaris support and change the toolset error message to be usefulNarayan Desai2005-09-141-1/+6
| | | | | | | (Logical change 1.312) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1273 ce84e21b-d406-0410-9b95-82705330c041
* update to new Plugin APINarayan Desai2005-09-081-9/+5
| | | | | | | | | | 2005/09/07 14:24:22-05:00 anl.gov!desai remove gone API calls (Logical change 1.302) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1239 ce84e21b-d406-0410-9b95-82705330c041
* finish up temp file leak fixNarayan Desai2005-09-071-16/+22
| | | | | | | | | | | | 2005/09/06 20:06:54-05:00 anl.gov!desai fix four tempfile leaks switch sys.exit calls to raise SystemExit Fix some imports and error handling (Logical change 1.299) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1194 ce84e21b-d406-0410-9b95-82705330c041
* fix exit in ctrl-c caseNarayan Desai2005-09-021-2/+2
| | | | | | | (Logical change 1.298) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1192 ce84e21b-d406-0410-9b95-82705330c041
* fix ctrl-c handlingNarayan Desai2005-09-021-3/+11
| | | | | | | (Logical change 1.294) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1169 ce84e21b-d406-0410-9b95-82705330c041
* added error checking with getsendmailpathJoey Hagedorn2005-08-101-3/+5
| | | | | | | (Logical change 1.287) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1146 ce84e21b-d406-0410-9b95-82705330c041
* fixed minor return-code bugJoey Hagedorn2005-08-101-1/+1
| | | | | | | (Logical change 1.286) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1143 ce84e21b-d406-0410-9b95-82705330c041
* cleaned up code styleJoey Hagedorn2005-08-101-29/+60
| | | | | | | | | | 2005/08/10 11:18:12-05:00 anl.gov!joey makes a number of changes for backward compatibility with older versions of python and libxml (Logical change 1.284) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1139 ce84e21b-d406-0410-9b95-82705330c041
* changed line for testingJoey Hagedorn2005-08-081-1/+1
| | | | | | | (Logical change 1.283) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1136 ce84e21b-d406-0410-9b95-82705330c041
* removed extranious variable assignmentJoey Hagedorn2005-08-081-1/+1
| | | | | | | (Logical change 1.283) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1135 ce84e21b-d406-0410-9b95-82705330c041
* Fixed a default--useful for overview-stats reports.Joey Hagedorn2005-08-041-1/+1
| | | | | | | (Logical change 1.282) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1133 ce84e21b-d406-0410-9b95-82705330c041
* UGLY workaround for a problem when xsltransform yields a blank document, ↵Joey Hagedorn2005-08-031-9/+12
| | | | | | | | | removal of extra code for speedup(extra copying of datastructure) (Logical change 1.279) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1125 ce84e21b-d406-0410-9b95-82705330c041
* took out testing hacksJoey Hagedorn2005-08-021-2/+1
| | | | | | | (Logical change 1.275) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1113 ce84e21b-d406-0410-9b95-82705330c041
* took out hacks for testingJoey Hagedorn2005-08-021-27/+22
| | | | | | | | | | 2005/08/02 15:30:36-05:00 anl.gov!joey removes unnecessary code, checks to see GenerateHostInfo is being properly run every 24 hrs (Logical change 1.275) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1111 ce84e21b-d406-0410-9b95-82705330c041
* Added Pretty PrintJoey Hagedorn2005-08-011-0/+73
| | | | | | | | | | | | | | | 2005/07/19 17:21:35-05:00 anl.gov!joey write hostinfo.xml to disk 2005/07/19 16:15:08-05:00 anl.gov!joey Initial version of GenerateHostInfo, a file that should be run regularly to update a file that contains information about hosts, including FQDN index as well as pingability 2005/07/19 12:47:36-05:00 anl.gov!joey (Logical change 1.272) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1104 ce84e21b-d406-0410-9b95-82705330c041
* Major revision-- uses new XSLT transform system to create reports instead of ↵Joey Hagedorn2005-08-011-216/+237
| | | | | | | | | | | | | | old text-only reports. sends mail directly to /usr/sbin/sendmail xml intermediate data more fault tolerant Pretty Print (Logical change 1.272) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1102 ce84e21b-d406-0410-9b95-82705330c041
* Initial revisionJoey Hagedorn2005-08-011-0/+0
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1100 ce84e21b-d406-0410-9b95-82705330c041
* fix schemadir problemNarayan Desai2005-07-141-4/+1
| | | | | | | (Logical change 1.266) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1086 ce84e21b-d406-0410-9b95-82705330c041
* Rename: src/sbin/StatReports.py -> src/sbin/StatReportsNarayan Desai2005-07-141-0/+323
| | | | | | | (Logical change 1.264) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1082 ce84e21b-d406-0410-9b95-82705330c041
* Rename: src/sbin/StatReports.py -> src/sbin/StatReportsNarayan Desai2005-07-141-323/+0
| | | | | | | }(Logical change 1.264) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1077 ce84e21b-d406-0410-9b95-82705330c041
* Initial revisionNarayan Desai2005-07-141-0/+0
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1075 ce84e21b-d406-0410-9b95-82705330c041
* fix file name typoNarayan Desai2005-07-141-1/+1
| | | | | | | (Logical change 1.263) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1074 ce84e21b-d406-0410-9b95-82705330c041
* fixed variable name bugJoey Hagedorn2005-07-141-1/+1
| | | | | | | (Logical change 1.262) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1072 ce84e21b-d406-0410-9b95-82705330c041
* Rename: tools/ValidateBcfg2Repo -> src/sbin/ValidateBcfg2RepoNarayan Desai2005-07-131-0/+40
| | | | | | | (Logical change 1.257) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1060 ce84e21b-d406-0410-9b95-82705330c041
* Initial revisionNarayan Desai2005-07-131-0/+0
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1055 ce84e21b-d406-0410-9b95-82705330c041
* fixed bug where machines provided in lessrestrictive to more restrictive ↵Joey Hagedorn2005-07-131-4/+8
| | | | | | | | | | | lists would provide unexpected results fixed bug when "good" attribute is ommitted from config XML (Logical change 1.256) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1054 ce84e21b-d406-0410-9b95-82705330c041
* fixed a bug, if all nodes were good.Joey Hagedorn2005-07-131-3/+3
| | | | | | | | | fixed a debuggging message (Logical change 1.254) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1048 ce84e21b-d406-0410-9b95-82705330c041
* fixed bug related to pinging stale hostsJoey Hagedorn2005-07-121-124/+171
| | | | | | | | | | | | | 2005/06/30 14:16:36-05:00 anl.gov!joey fixed problem with pinging nonexistant hosts 2005/06/27 14:04:46-05:00 anl.gov!joey Major cleanup: changed tabs to spaces, PyLinted the code round 2, fixed all conflicting variable names, got rid of unnecessary code (Logical change 1.249) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1032 ce84e21b-d406-0410-9b95-82705330c041
* bug fix, extra lineJoey Hagedorn2005-06-291-9/+5
| | | | | | | (Logical change 1.243) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1015 ce84e21b-d406-0410-9b95-82705330c041
* print package versions for incorrect entriesNarayan Desai2005-06-281-1/+4
| | | | | | | (Logical change 1.241) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1006 ce84e21b-d406-0410-9b95-82705330c041
* used pylint to clean up code.Joey Hagedorn2005-06-231-86/+93
| | | | | | | (Logical change 1.240) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1001 ce84e21b-d406-0410-9b95-82705330c041
* added command line options to specify alternate config and statistics filesJoey Hagedorn2005-06-221-5/+16
| | | | | | | (Logical change 1.238) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@995 ce84e21b-d406-0410-9b95-82705330c041
* add error handling if server connection failure occursNarayan Desai2005-06-221-1/+5
| | | | | | | (Logical change 1.237) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@994 ce84e21b-d406-0410-9b95-82705330c041
* removed some extraneous codeJoey Hagedorn2005-06-211-121/+0
| | | | | | | (Logical change 1.234) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@979 ce84e21b-d406-0410-9b95-82705330c041
* (Logical change 1.233)Joey Hagedorn2005-06-211-0/+379
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@972 ce84e21b-d406-0410-9b95-82705330c041
* Initial revisionJoey Hagedorn2005-06-211-0/+0
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@971 ce84e21b-d406-0410-9b95-82705330c041
* handle xml parse failure.Narayan Desai2005-06-011-1/+6
| | | | | | | (Logical change 1.229) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@955 ce84e21b-d406-0410-9b95-82705330c041
* pylint fixupsNarayan Desai2005-05-121-18/+19
| | | | | | | (Logical change 1.225) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@944 ce84e21b-d406-0410-9b95-82705330c041
* fixup error messageNarayan Desai2005-04-011-4/+4
| | | | | | | (Logical change 1.217) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@911 ce84e21b-d406-0410-9b95-82705330c041
* minor cleanupsNarayan Desai2005-03-171-0/+14
| | | | | | | | | | 2005/03/17 10:49:10-06:00 anl.gov!desai add more commands (Logical change 1.212) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@899 ce84e21b-d406-0410-9b95-82705330c041
* change paranoid mode flagNarayan Desai2005-02-161-1/+1
| | | | | | | (Logical change 1.205) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@875 ce84e21b-d406-0410-9b95-82705330c041
* add better error handingNarayan Desai2005-02-011-3/+7
| | | | | | | | | | 2005/02/01 11:25:01-06:00 anl.gov!desai Change mode to -rwxr-xr-x (Logical change 1.200) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@856 ce84e21b-d406-0410-9b95-82705330c041
* add error handling for CoreInitErrorNarayan Desai2005-02-011-2/+6
| | | | | | | | | | 2005/02/01 11:30:34-06:00 anl.gov!desai fix Core usage (Logical change 1.200) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@852 ce84e21b-d406-0410-9b95-82705330c041
* add -c supportNarayan Desai2005-02-011-1/+6
| | | | | | | (Logical change 1.199) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@850 ce84e21b-d406-0410-9b95-82705330c041
* add remove optionNarayan Desai2005-02-011-1/+1
| | | | | | | (Logical change 1.198) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@846 ce84e21b-d406-0410-9b95-82705330c041
* update docNarayan Desai2005-01-311-5/+30
| | | | | | | | | | | | | 2005/01/30 23:05:27-06:00 anl.gov!desai add a few more functions 2005/01/30 22:52:50-06:00 anl.gov!desai add more useful features (Logical change 1.197) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@842 ce84e21b-d406-0410-9b95-82705330c041