summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* rename self.__provides__ -> self.EntriesNarayan Desai2005-09-071-0/+58
| | | | | | | | | | | | | 2005/09/06 22:28:27-05:00 anl.gov!desai update to new Plugin API 2005/09/06 22:27:39-05:00 anl.gov!desai Rename: src/lib/Server/Generators/Account.py -> src/lib/Server/Plugins/Account.py (Logical change 1.300) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1212 ce84e21b-d406-0410-9b95-82705330c041
* switch to new plugin APINarayan Desai2005-09-071-0/+60
| | | | | | | | | | 2005/09/06 21:09:08-05:00 anl.gov!desai Rename: src/lib/Server/Structures/Base.py -> src/lib/Server/Plugins/Base.py (Logical change 1.300) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1211 ce84e21b-d406-0410-9b95-82705330c041
* switch to new Plugin APINarayan Desai2005-09-071-0/+80
| | | | | | | | | | | | switch to using Plugin.LogError 2005/09/06 22:22:25-05:00 anl.gov!desai Rename: src/lib/Server/Generators/Pkgmgr.py -> src/lib/Server/Plugins/Pkgmgr.py (Logical change 1.300) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1210 ce84e21b-d406-0410-9b95-82705330c041
* Auto mergedNarayan Desai2005-09-071-36/+17
| | | | | | | | | | | | | 2005/09/07 12:35:11-05:00 anl.gov!desai Kill old useful publication logic 2005/09/06 22:02:04-05:00 anl.gov!desai switch structures over to new scheme (Logical change 1.300) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1209 ce84e21b-d406-0410-9b95-82705330c041
* Auto mergedNarayan Desai2005-09-071-0/+132
| | | | | | | | | | | | | | | | | | | | 2005/09/07 12:35:15-05:00 anl.gov!desai Merge rename: src/lib/Server/Generators/SSHbase.py -> src/lib/Server/Plugins/SSHbase.py 2005/09/06 22:29:42-05:00 anl.gov!desai self.__provides__ ==> self.Entries 2005/09/06 22:22:57-05:00 anl.gov!desai switch to new plugin API switch to using Plugin.LogError instead of raw syslog calls 2005/09/06 22:19:00-05:00 anl.gov!desai Rename: src/lib/Server/Generators/SSHbase.py -> src/lib/Server/Plugins/SSHbase.py (Logical change 1.300) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1208 ce84e21b-d406-0410-9b95-82705330c041
* bring module list up to dateNarayan Desai2005-09-071-1/+1
| | | | | | | (Logical change 1.300) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1207 ce84e21b-d406-0410-9b95-82705330c041
* merge in Generator stuffNarayan Desai2005-09-071-0/+249
| | | | | | | | | 2005/09/06 21:12:21-05:00 anl.gov!desai (Logical change 1.300) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1205 ce84e21b-d406-0410-9b95-82705330c041
* add all of the generators into the mixNarayan Desai2005-09-071-4/+0
| | | | | | | }(Logical change 1.300) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1204 ce84e21b-d406-0410-9b95-82705330c041
* update to new Plugin APINarayan Desai2005-09-072-297/+0
| | | | | | | }(Logical change 1.300) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1203 ce84e21b-d406-0410-9b95-82705330c041
* update to new Plugin APINarayan Desai2005-09-071-0/+278
| | | | | | | | | | 2005/09/06 22:35:15-05:00 anl.gov!desai Rename: src/lib/Server/Generators/Cfg.py -> src/lib/Server/Plugins/Cfg.py (Logical change 1.300) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1202 ce84e21b-d406-0410-9b95-82705330c041
* switch Construct callNarayan Desai2005-09-071-0/+122
| | | | | | | | | | | | | 2005/09/06 21:15:34-05:00 anl.gov!desai switch to new Plugin API 2005/09/06 21:14:38-05:00 anl.gov!desai Rename: src/lib/Server/Structures/Bundler.py -> src/lib/Server/Plugins/Bundler.py (Logical change 1.300) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1201 ce84e21b-d406-0410-9b95-82705330c041
* Delete: src/lib/Server/Generator.pyNarayan Desai2005-09-071-266/+0
| | | | | | | }(Logical change 1.300) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1200 ce84e21b-d406-0410-9b95-82705330c041
* Delete: src/lib/Server/Generators/__init__.pyNarayan Desai2005-09-071-6/+0
| | | | | | | }(Logical change 1.300) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1199 ce84e21b-d406-0410-9b95-82705330c041
* Initial revisionNarayan Desai2005-09-0711-0/+0
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1198 ce84e21b-d406-0410-9b95-82705330c041
* add support for Cron and Stats writeback to Core.ServiceNarayan Desai2005-09-071-0/+17
| | | | | | | | | | | | | 2005/09/03 15:13:17-05:00 anl.gov!desai change name to Service 2005/09/03 15:12:05-05:00 anl.gov!desai add HandleChanges method (Logical change 1.299) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1196 ce84e21b-d406-0410-9b95-82705330c041
* add support for a domain file for fqdn resolutionNarayan Desai2005-09-071-1/+5
| | | | | | | (Logical change 1.299) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1195 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
* Delete: src/lib/Server/Generators/Chiba.pyNarayan Desai2005-09-021-40/+0
| | | | | | | }(Logical change 1.296) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1184 ce84e21b-d406-0410-9b95-82705330c041
* vhost update from ScottBNarayan Desai2005-09-021-2/+3
| | | | | | | (Logical change 1.295) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1181 ce84e21b-d406-0410-9b95-82705330c041
* (Logical change 1.294)Narayan Desai2005-09-022-0/+155
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1170 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
* Initial revisionNarayan Desai2005-09-022-0/+0
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1167 ce84e21b-d406-0410-9b95-82705330c041
* fix version detectionNarayan Desai2005-09-011-28/+29
| | | | | | | | | | 2005/09/01 14:40:39-05:00 anl.gov!desai simplify and optimize package performance (Logical change 1.292) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1163 ce84e21b-d406-0410-9b95-82705330c041
* add default fetch to handle poorly constructed configsNarayan Desai2005-08-311-1/+1
| | | | | | | (Logical change 1.291) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1162 ce84e21b-d406-0410-9b95-82705330c041
* simplefile fixNarayan Desai2005-08-311-3/+3
| | | | | | | (Logical change 1.291) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1160 ce84e21b-d406-0410-9b95-82705330c041
* working, verified delta supportNarayan Desai2005-08-311-11/+26
| | | | | | | | | | 2005/08/30 16:04:05-05:00 anl.gov!desai fix tb from Cory (Logical change 1.291) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1159 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
* fix shared __provides__ table problemNarayan Desai2005-08-101-1/+4
| | | | | | | | | | 2005/08/03 14:44:03-05:00 anl.gov!desai supress events with blank filenames (Logical change 1.285) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1141 ce84e21b-d406-0410-9b95-82705330c041
* add error handling path for bad translation caseNarayan Desai2005-08-101-1/+5
| | | | | | | (Logical change 1.285) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1140 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
* handle error path if empty file gets addedNarayan Desai2005-08-031-1/+4
| | | | | | | (Logical change 1.281) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1131 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
* fix PermissionsNarayan Desai2005-08-021-1/+1
| | | | | | | (Logical change 1.277) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1116 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
* kill --level in chkconfig callNarayan Desai2005-07-231-1/+1
| | | | | | | (Logical change 1.270) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1097 ce84e21b-d406-0410-9b95-82705330c041
* fix conditional restart of services within bundlesNarayan Desai2005-07-231-1/+2
| | | | | | | | | | 2005/07/20 10:58:22-05:00 anl.gov!desai fix true path (Logical change 1.270) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1096 ce84e21b-d406-0410-9b95-82705330c041
* add Gentoo supportZach Lowry2005-07-141-5/+127
| | | | | | | (Logical change 1.267) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1087 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