summaryrefslogtreecommitdiffstats
path: root/src/lib
Commit message (Collapse)AuthorAgeFilesLines
* Fix syslog priority/facility encoding in log messagesNarayan Desai2006-03-011-2/+4
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1789 ce84e21b-d406-0410-9b95-82705330c041
* Fix same display bug in DebianNarayan Desai2006-03-011-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1786 ce84e21b-d406-0410-9b95-82705330c041
* Fix up logging in dryrun modeNarayan Desai2006-03-012-14/+20
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1785 ce84e21b-d406-0410-9b95-82705330c041
* Whitespace changes in Logging.pyNarayan Desai2006-03-012-3/+2
| | | | | | | Fix saferun usage for pkg index building in Redhat.py git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1783 ce84e21b-d406-0410-9b95-82705330c041
* Add missing importNarayan Desai2006-02-281-1/+1
| | | | | | | Resolves ticket #31 git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1782 ce84e21b-d406-0410-9b95-82705330c041
* cleanup error handling and message fragmentationNarayan Desai2006-02-281-21/+18
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1781 ce84e21b-d406-0410-9b95-82705330c041
* Switch more client toolsets over to the new logging infrastructureNarayan Desai2006-02-284-59/+61
| | | | | | | Depricate os.system and os.popen in favor of Toolset.saferun git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1778 ce84e21b-d406-0410-9b95-82705330c041
* Reconnect syslog handler when the syslog daemon is restartedNarayan Desai2006-02-281-4/+12
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1777 ce84e21b-d406-0410-9b95-82705330c041
* Fix problems reported by Rick and PedroNarayan Desai2006-02-271-7/+9
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1774 ce84e21b-d406-0410-9b95-82705330c041
* Improve error handling for server problemsNarayan Desai2006-02-271-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1773 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
* Fix output loggingNarayan Desai2006-02-212-6/+5
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1761 ce84e21b-d406-0410-9b95-82705330c041
* Update to new logging infrastructureNarayan Desai2006-02-215-207/+145
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1760 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
* add new support for client profile assertionNarayan Desai2006-02-201-0/+5
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1750 ce84e21b-d406-0410-9b95-82705330c041
* Fix client stats problem where self.structures false entries don't ↵Narayan Desai2006-02-201-2/+1
| | | | | | correspond to self.states false entries git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1748 ce84e21b-d406-0410-9b95-82705330c041
* Fix relative imports and improve verbosityNarayan Desai2006-02-172-35/+30
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1744 ce84e21b-d406-0410-9b95-82705330c041
* Fix Ti's Symlink clobbering problem for ticket #8Narayan Desai2006-02-171-41/+42
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1743 ce84e21b-d406-0410-9b95-82705330c041
* Fix sshbase tbNarayan Desai2006-02-162-16/+14
| | | | | | | 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
* make apt foreably remove packagesNarayan Desai2006-02-141-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1732 ce84e21b-d406-0410-9b95-82705330c041
* attribute updateNarayan Desai2006-02-141-2/+2
| | | | | | | Toolset verbosity improvements git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1731 ce84e21b-d406-0410-9b95-82705330c041
* resync with cobalt libsNarayan Desai2006-02-142-63/+157
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1730 ce84e21b-d406-0410-9b95-82705330c041
* change the new cobalt proxy code to use /etc/bcfg2.confNarayan Desai2006-02-091-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1727 ce84e21b-d406-0410-9b95-82705330c041
* Switch to cobalt xmlrpc proxy code; should allow easier sync between bcfg ↵Narayan Desai2006-02-092-1/+93
| | | | | | and cobalt git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1725 ce84e21b-d406-0410-9b95-82705330c041
* Fix erroneous report of extra configuration entities after they have been ↵Narayan Desai2006-02-021-0/+1
| | | | | | removed (resolves Ticket #6) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1723 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-2516-234/+274
| | | | | | 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-2313-656/+767
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1716 ce84e21b-d406-0410-9b95-82705330c041
* fix tb when everything is fineNarayan Desai2006-01-101-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1665 ce84e21b-d406-0410-9b95-82705330c041
* Add package type for packages using the file attributeNarayan Desai2006-01-053-26/+36
| | | | | | | | 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
* fix two minor problemsNarayan Desai2005-12-132-4/+4
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1626 ce84e21b-d406-0410-9b95-82705330c041
* version bumpNarayan Desai2005-12-131-1/+1
| | | | | | | remove bogus import from Debian.py git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1624 ce84e21b-d406-0410-9b95-82705330c041
* set keyword attributes on most filesNarayan Desai2005-12-1310-65/+155
| | | | | | | | | 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
* begin client hardeningNarayan Desai2005-12-094-13/+20
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1617 ce84e21b-d406-0410-9b95-82705330c041
* Stop services on debian if they are enabled but shouldn't beNarayan Desai2005-12-082-0/+4
| | | | | | | Produce a reasonable error message if the server completely bound service entries git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1616 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
* change to event coalescingNarayan Desai2005-12-012-38/+76
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1605 ce84e21b-d406-0410-9b95-82705330c041
* Handle fam event processing failures, and fix another case where xml ↵Narayan Desai2005-12-012-21/+21
| | | | | | comments cause problems git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1604 ce84e21b-d406-0410-9b95-82705330c041
* Fix lxml breakage in Account.py and GenerateHostInfoNarayan Desai2005-12-011-2/+2
| | | | | | | Fix debian bug in server init script git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1599 ce84e21b-d406-0410-9b95-82705330c041
* fix lxml transcription bugNarayan Desai2005-12-011-1/+1
| | | | | | | (Logical change 1.379) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1596 ce84e21b-d406-0410-9b95-82705330c041
* fix xml commentsNarayan Desai2005-11-302-8/+12
| | | | | | | (Logical change 1.376) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1588 ce84e21b-d406-0410-9b95-82705330c041