summaryrefslogtreecommitdiffstats
path: root/src/lib
Commit message (Collapse)AuthorAgeFilesLines
* Fix py2.4 portability (try/except/finally is 2.5+) (Reported by Lisa Giacchetti)Narayan Desai2009-05-141-8/+9
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5229 ce84e21b-d406-0410-9b95-82705330c041
* Implement perf-reporting clientNarayan Desai2009-05-143-44/+43
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5228 ce84e21b-d406-0410-9b95-82705330c041
* Implement perf-reporting clientNarayan Desai2009-05-141-0/+37
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5227 ce84e21b-d406-0410-9b95-82705330c041
* Remove deprecated fingerprint admin modeNarayan Desai2009-05-142-28/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5226 ce84e21b-d406-0410-9b95-82705330c041
* Integrate server-side performance statistics infrastructureNarayan Desai2009-05-144-1/+49
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5225 ce84e21b-d406-0410-9b95-82705330c041
* Cleaned up agent mode options and added cmd line options for SSL reworkSol Jerome2009-05-121-20/+14
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5222 ce84e21b-d406-0410-9b95-82705330c041
* Display diff in interactive mode (for Ticket #526)Sol Jerome2009-05-121-9/+13
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5221 ce84e21b-d406-0410-9b95-82705330c041
* SSL: Fix Transport constructor call on python2.4 (Patch from Tim Laszlo)Narayan Desai2009-05-111-1/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5218 ce84e21b-d406-0410-9b95-82705330c041
* Update admin modes for new FileMonitor interfaceSol Jerome2009-05-112-8/+10
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5216 ce84e21b-d406-0410-9b95-82705330c041
* SSL: client side read based on server-provided content length (allows ↵Narayan Desai2009-05-112-3/+40
| | | | | | graceful ssl shutdowns to work, makes server portable 0.9.5.7-trunk) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5215 ce84e21b-d406-0410-9b95-82705330c041
* SSL: revert unwrap change for now (it broke compat with trunk)Narayan Desai2009-05-081-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5214 ce84e21b-d406-0410-9b95-82705330c041
* SSL: shut sockets down gracefullyNarayan Desai2009-05-081-3/+7
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5213 ce84e21b-d406-0410-9b95-82705330c041
* Snapshots: Remove ad-hoc error handling in favor of normal bcfg2-admin mode ↵Narayan Desai2009-05-071-5/+2
| | | | | | handling git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5211 ce84e21b-d406-0410-9b95-82705330c041
* SSL Proxy: only use timeout parm with py2.6+ (patch from Torsten Rehn) ↵Narayan Desai2009-05-071-2/+11
| | | | | | (Resolves Ticket #652) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5209 ce84e21b-d406-0410-9b95-82705330c041
* Implement reporting for deprecated plugins, improve reporting for ↵Narayan Desai2009-05-073-4/+15
| | | | | | experimental plugins git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5207 ce84e21b-d406-0410-9b95-82705330c041
* Implement support for .genshi bundles in BundlerNarayan Desai2009-05-073-9/+48
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5206 ce84e21b-d406-0410-9b95-82705330c041
* remove stale codeNarayan Desai2009-05-071-48/+0
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5204 ce84e21b-d406-0410-9b95-82705330c041
* Make time logging uniformNarayan Desai2009-05-072-2/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5203 ce84e21b-d406-0410-9b95-82705330c041
* Clean up File Monitoring code/adapt to new server infrastructureNarayan Desai2009-05-062-162/+124
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5202 ce84e21b-d406-0410-9b95-82705330c041
* fixed external reverse zone buildingKen Raffenetti2009-05-061-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5201 ce84e21b-d406-0410-9b95-82705330c041
* Add spacing for longer options in bcfg2 -hSol Jerome2009-05-061-2/+2
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5200 ce84e21b-d406-0410-9b95-82705330c041
* Snapshots: minor cosmetic updatesSol Jerome2009-05-061-13/+21
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5198 ce84e21b-d406-0410-9b95-82705330c041
* SSL: build appropriate client optionsNarayan Desai2009-05-061-1/+7
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5196 ce84e21b-d406-0410-9b95-82705330c041
* SSL: disable cert authentication if no CA is availableNarayan Desai2009-05-061-1/+7
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5195 ce84e21b-d406-0410-9b95-82705330c041
* SSL: Setup server optionsNarayan Desai2009-05-061-0/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5194 ce84e21b-d406-0410-9b95-82705330c041
* SSL: Implement certificate verificationNarayan Desai2009-05-062-3/+30
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5193 ce84e21b-d406-0410-9b95-82705330c041
* SSL Proxy: pass through key/cert/ca args to transportNarayan Desai2009-05-061-3/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5192 ce84e21b-d406-0410-9b95-82705330c041
* SSL Server: handle ctrl-c properlyNarayan Desai2009-05-061-0/+3
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5191 ce84e21b-d406-0410-9b95-82705330c041
* SSL Server code: Remove some fixmes and remove dead (from bcfg2) codeNarayan Desai2009-05-061-76/+13
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5190 ce84e21b-d406-0410-9b95-82705330c041
* Get basic auth working again with new ssl frameworkNarayan Desai2009-05-064-38/+195
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5189 ce84e21b-d406-0410-9b95-82705330c041
* remove old refnameNarayan Desai2009-05-061-1/+0
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5188 ce84e21b-d406-0410-9b95-82705330c041
* more to python 2.6 sslNarayan Desai2009-05-0665-10624/+606
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5187 ce84e21b-d406-0410-9b95-82705330c041
* YUMng: Fix for RHEL5 (patch from Tim Lazlo)Narayan Desai2009-05-061-0/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5185 ce84e21b-d406-0410-9b95-82705330c041
* Proxy support for keys/certs/casNarayan Desai2009-05-061-5/+23
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5184 ce84e21b-d406-0410-9b95-82705330c041
* clean up handshake stuffNarayan Desai2009-05-061-2/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5183 ce84e21b-d406-0410-9b95-82705330c041
* Implement basic proxy based on 2.6 sslNarayan Desai2009-05-061-22/+26
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5182 ce84e21b-d406-0410-9b95-82705330c041
* Component: force client socket shutdownNarayan Desai2009-05-061-1/+6
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5181 ce84e21b-d406-0410-9b95-82705330c041
* Fix RcUpdate driver regressionsSol Jerome2009-04-281-2/+2
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5180 ce84e21b-d406-0410-9b95-82705330c041
* Fix svn keyword for RcUpdate.pySol Jerome2009-04-241-1/+1
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5179 ce84e21b-d406-0410-9b95-82705330c041
* Python 2to3 updates for the Client toolsSol Jerome2009-04-249-137/+175
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5178 ce84e21b-d406-0410-9b95-82705330c041
* Logging: Fix reconnect when using /dev/logNarayan Desai2009-04-241-3/+3
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5177 ce84e21b-d406-0410-9b95-82705330c041
* SGenshi: improve error handlingNarayan Desai2009-04-241-0/+3
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5176 ce84e21b-d406-0410-9b95-82705330c041
* Packages: improve error handing (Patch from Tim Laszlo)Narayan Desai2009-04-231-4/+7
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5175 ce84e21b-d406-0410-9b95-82705330c041
* Add extra/bad entry reporting to snapshotsSol Jerome2009-04-231-9/+46
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5174 ce84e21b-d406-0410-9b95-82705330c041
* More python 2to3 updates along with pylint/code cleanupsSol Jerome2009-04-233-23/+39
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5173 ce84e21b-d406-0410-9b95-82705330c041
* Chkconfig patch from leggettNarayan Desai2009-04-231-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5172 ce84e21b-d406-0410-9b95-82705330c041
* Packages patch from Tim LaszloNarayan Desai2009-04-231-6/+10
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5171 ce84e21b-d406-0410-9b95-82705330c041
* Remove hacks for sets in python 2.3Sol Jerome2009-04-231-10/+4
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5169 ce84e21b-d406-0410-9b95-82705330c041
* Remove unused imports for pylintSol Jerome2009-04-179-15/+26
| | | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5168 ce84e21b-d406-0410-9b95-82705330c041
* Remove last traces of popen2 from client codeSol Jerome2009-04-151-38/+12
| | | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5167 ce84e21b-d406-0410-9b95-82705330c041