summaryrefslogtreecommitdiffstats
path: root/src/lib/Server
Commit message (Collapse)AuthorAgeFilesLines
* Improvements to the Deps pluginNarayan Desai2006-07-141-4/+7
| | | | | | | | * Handle recursive dependencies properly (ChrisV) * Fix raise of PluginExecutionError git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1943 ce84e21b-d406-0410-9b95-82705330c041
* Remove statistics pretty printing code (Could occasionally produce ↵Narayan Desai2006-07-141-18/+2
| | | | | | unparseable XML) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1941 ce84e21b-d406-0410-9b95-82705330c041
* Add basic dependency processing codeNarayan Desai2006-07-102-0/+97
| | | | | | | | | * To enable, add a Deps directory and enable the Deps plugin * schema validation works * prerequisites are automatically added to configurations git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1924 ce84e21b-d406-0410-9b95-82705330c041
* Implement multiarch support (resolves Ticket #52)Narayan Desai2006-06-301-3/+12
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1908 ce84e21b-d406-0410-9b95-82705330c041
* Fix revision handing code when things don't workNarayan Desai2006-06-301-3/+5
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1906 ce84e21b-d406-0410-9b95-82705330c041
* Fix tempfile cleanupNarayan Desai2006-06-181-2/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1887 ce84e21b-d406-0410-9b95-82705330c041
* Fix binary encoded files with empty checksNarayan Desai2006-06-121-0/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1880 ce84e21b-d406-0410-9b95-82705330c041
* * Fix fatal server setup errorNarayan Desai2006-06-121-9/+13
| | | | | | | * Back out SSL code (for now) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1876 ce84e21b-d406-0410-9b95-82705330c041
* Patch from Jos for statistics error handlingNarayan Desai2006-06-101-2/+3
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1875 ce84e21b-d406-0410-9b95-82705330c041
* Patch for Jos to fix initialization errorsNarayan Desai2006-06-101-1/+6
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1874 ce84e21b-d406-0410-9b95-82705330c041
* Patch from Jos to handle statistics write errors more cleanly.Narayan Desai2006-06-101-5/+8
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1873 ce84e21b-d406-0410-9b95-82705330c041
* Step 2 of SSL client cert integrationNarayan Desai2006-06-071-10/+5
| | | | | | | | | | | | | | * Make the client use pyOpenSSL (so that ca support can be implemented) * Make the server handle SSL errors more cleanly Remaining SSL client cert integration steps: * Implement the CertMgr plugin (ChrisV) * Implement server side cert policies * Implement no-cert fallback mode for client git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1872 ce84e21b-d406-0410-9b95-82705330c041
* Initial checkin of peer SSL cert checksNarayan Desai2006-06-021-4/+37
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1869 ce84e21b-d406-0410-9b95-82705330c041
* Add support for empty filesNarayan Desai2006-05-151-0/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1864 ce84e21b-d406-0410-9b95-82705330c041
* Implement a sledge hammer type solution to the odd behavior Ti seems with ↵Narayan Desai2006-05-101-1/+3
| | | | | | occasional problems. This may cause a performance hit. git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1862 ce84e21b-d406-0410-9b95-82705330c041
* * Add diff delta support in CfgNarayan Desai2006-05-082-15/+34
| | | | | | | * Add support to propagate 'verify' status in Pkgmgr git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1859 ce84e21b-d406-0410-9b95-82705330c041
* * Fix auto-marshalling of binary cfg filesNarayan Desai2006-04-271-1/+1
| | | | | | | * Fix argument parsing duplication (resolves ticket #50) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1857 ce84e21b-d406-0410-9b95-82705330c041
* * Remove tmp files created during ssh key generation (resolves ticket #46)Narayan Desai2006-04-251-13/+14
| | | | | | | | * Pylint cleanups * Simplify the host resolver git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1851 ce84e21b-d406-0410-9b95-82705330c041
* Fix cases where an empty xml file would tank Pkgmgr/Svcmgr/RulesNarayan Desai2006-04-251-8/+9
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1850 ce84e21b-d406-0410-9b95-82705330c041
* schema updateNarayan Desai2006-04-111-1/+1
| | | | | | | pkgmgr bugfix git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1835 ce84e21b-d406-0410-9b95-82705330c041
* enable entry binding of SymLink, Directory, and Permissions entriesNarayan Desai2006-04-101-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1829 ce84e21b-d406-0410-9b95-82705330c041
* Add the rules plugin (for Ti)Narayan Desai2006-04-102-1/+11
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1828 ce84e21b-d406-0410-9b95-82705330c041
* * Fix schema validation for host specific service entriesNarayan Desai2006-04-103-50/+70
| | | | | | | * Move to using generic rule-based core (in preparation for the rules plugin) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1827 ce84e21b-d406-0410-9b95-82705330c041
* Improve error messages for Svc/PkgmgrNarayan Desai2006-04-071-1/+1
| | | | | | | Remove component name from unknown type stdout messages git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1825 ce84e21b-d406-0410-9b95-82705330c041
* * Add error handling for svn revision checkNarayan Desai2006-03-301-4/+9
| | | | | | | * Add documentation to the bcfg2.conf man page git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1823 ce84e21b-d406-0410-9b95-82705330c041
* * Remove build dep on python-devNarayan Desai2006-03-291-1/+9
| | | | | | | * Improve error handing when no ssl key is available git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1817 ce84e21b-d406-0410-9b95-82705330c041
* * Fix fam integration with svnNarayan Desai2006-03-291-6/+3
| | | | | | | * Fix traceback handing in logging infrastructure (from Cobalt repo) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1816 ce84e21b-d406-0410-9b95-82705330c041
* * Implement configuration specification revision passing between client and ↵Narayan Desai2006-03-171-1/+1
| | | | | | server git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1807 ce84e21b-d406-0410-9b95-82705330c041
* * Implement svn repository revision detectionNarayan Desai2006-03-171-1/+17
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1806 ce84e21b-d406-0410-9b95-82705330c041
* * Fix error message before logging is initializedNarayan Desai2006-03-091-2/+2
| | | | | | | * Fix error message when new stats file is created git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1800 ce84e21b-d406-0410-9b95-82705330c041
* * Remove messages describing extra configuration elements when running in ↵Narayan Desai2006-03-091-1/+6
| | | | | | | | | bundle mode * Handle garbage filenames in Cfg more gracefully git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1799 ce84e21b-d406-0410-9b95-82705330c041
* Supress fam events for subversion directories.Narayan Desai2006-02-221-0/+6
| | | | | | | Bcfg2 repositories can now be maintained under svn without any bad side effects. git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1763 ce84e21b-d406-0410-9b95-82705330c041
* fix assertion in case of preexisting entryNarayan Desai2006-02-211-8/+8
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1762 ce84e21b-d406-0410-9b95-82705330c041
* this not my dayNarayan Desai2006-02-211-0/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1758 ce84e21b-d406-0410-9b95-82705330c041
* Fix profile assertionNarayan Desai2006-02-211-2/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1753 ce84e21b-d406-0410-9b95-82705330c041
* Fix sshbase tbNarayan Desai2006-02-161-1/+2
| | | | | | | Set stdin to /dev/null for debian toolset git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1742 ce84e21b-d406-0410-9b95-82705330c041
* Clean up some error handlingNarayan Desai2006-02-161-16/+19
| | | | | | | Remove some dead code git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1741 ce84e21b-d406-0410-9b95-82705330c041
* fix importsNarayan Desai2006-02-151-3/+5
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1739 ce84e21b-d406-0410-9b95-82705330c041
* don't log a message for every requestNarayan Desai2006-02-141-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1734 ce84e21b-d406-0410-9b95-82705330c041
* resync with cobalt libsNarayan Desai2006-02-141-41/+94
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1730 ce84e21b-d406-0410-9b95-82705330c041
* minor bugfixesNarayan Desai2006-01-312-2/+8
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1722 ce84e21b-d406-0410-9b95-82705330c041
* Introduce the new logging infrastructure and convert the server (and ↵Narayan Desai2006-01-2514-233/+186
| | | | | | bcfg2-info) over to using it git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1717 ce84e21b-d406-0410-9b95-82705330c041
* last step of repo switchesNarayan Desai2006-01-2310-646/+751
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1716 ce84e21b-d406-0410-9b95-82705330c041
* Add package type for packages using the file attributeNarayan Desai2006-01-051-0/+1
| | | | | | | | Fix display bugs in terminal size determination Fix pkgadd problems git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1642 ce84e21b-d406-0410-9b95-82705330c041
* fix deepcopy of lxml structureNarayan Desai2005-12-211-1/+3
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1635 ce84e21b-d406-0410-9b95-82705330c041
* set keyword attributes on most filesNarayan Desai2005-12-135-7/+7
| | | | | | | | | added Ed's client and server cleanups Modified the debian and redhat toolsets to produce nicer output ** Broke performance reports git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1623 ce84e21b-d406-0410-9b95-82705330c041
* Fix error reporting for parse failuresNarayan Desai2005-12-072-2/+4
| | | | | | | | Fix comment printing for etc/metadata.xml Add a better error message for client communication bootstrapping failures git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1615 ce84e21b-d406-0410-9b95-82705330c041
* fix client metadata assertion problemNarayan Desai2005-12-061-11/+4
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1613 ce84e21b-d406-0410-9b95-82705330c041
* Re-add daemonize support to the serverNarayan Desai2005-12-066-11/+21
| | | | | | | | | Fix some pylint errors Add better error handling for function calls Add mesh-mode support for sshbase git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1612 ce84e21b-d406-0410-9b95-82705330c041
* version bumpsNarayan Desai2005-12-022-2/+2
| | | | | | | fix export to do tagging git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1610 ce84e21b-d406-0410-9b95-82705330c041