summaryrefslogtreecommitdiffstats
path: root/src/lib/Client/Toolset.py
Commit message (Collapse)AuthorAgeFilesLines
* Merge of the client/refactor branch (revisions r2218-r2400)Narayan Desai2006-10-061-706/+0
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2401 ce84e21b-d406-0410-9b95-82705330c041
* Fix up minor toolset problemsNarayan Desai2006-09-151-12/+12
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2253 ce84e21b-d406-0410-9b95-82705330c041
* Add verbose logging of which bundle entries are badNarayan Desai2006-09-151-1/+4
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2252 ce84e21b-d406-0410-9b95-82705330c041
* Fix Paranoid modeNarayan Desai2006-09-111-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2240 ce84e21b-d406-0410-9b95-82705330c041
* Fix bundle deps in interactive modeNarayan Desai2006-08-301-0/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2157 ce84e21b-d406-0410-9b95-82705330c041
* Fix Interactive mode spacingNarayan Desai2006-08-301-1/+1
| | | | | | | Fix Solaris service removal git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2155 ce84e21b-d406-0410-9b95-82705330c041
* Only restart enabled servicesNarayan Desai2006-08-291-2/+3
| | | | | | | Fix lrc services in the enable mode git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2144 ce84e21b-d406-0410-9b95-82705330c041
* Make service restarts tunable across platformsNarayan Desai2006-08-291-2/+7
| | | | | | | | | | * Remove hardcoded /etc/init.d calls in Toolset.py * Add an overloadable method * Implement the method for Solaris.py git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2141 ce84e21b-d406-0410-9b95-82705330c041
* Implement interactive mode for the clientChris Vuletich2006-08-241-1/+20
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2107 ce84e21b-d406-0410-9b95-82705330c041
* Cleanly detect unsupported entry typesNarayan Desai2006-08-241-0/+3
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2106 ce84e21b-d406-0410-9b95-82705330c041
* * Annotate Bcfg2.Client.XML driverNarayan Desai2006-08-141-10/+13
| | | | | | | * Switch Toolset.py to use XML abstraction layer git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2063 ce84e21b-d406-0410-9b95-82705330c041
* Fix corner case where extra packages appear not to be installed (?)Narayan Desai2006-07-271-2/+7
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2009 ce84e21b-d406-0410-9b95-82705330c041
* Fix ConfigFile verification of unbound entries (Resolves ticket #79)Narayan Desai2006-07-211-0/+3
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1989 ce84e21b-d406-0410-9b95-82705330c041
* Continue in case of entry verification errorsNarayan Desai2006-07-141-0/+3
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1949 ce84e21b-d406-0410-9b95-82705330c041
* Fix diffing of binary filesNarayan Desai2006-07-141-1/+4
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1948 ce84e21b-d406-0410-9b95-82705330c041
* Generic client toolset improvementsNarayan Desai2006-07-141-39/+21
| | | | | | | | * Streamline reasons upload * properly escape current_diff contents git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1940 ce84e21b-d406-0410-9b95-82705330c041
* * Fix pkgtool setup for base ToolsetNarayan Desai2006-07-101-2/+5
| | | | | | | * Implement current_diff support for ConfigFile entries (from Chris Vuletich) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1923 ce84e21b-d406-0410-9b95-82705330c041
* Two bugfixes from Ti's bugreportsNarayan Desai2006-07-101-2/+10
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1920 ce84e21b-d406-0410-9b95-82705330c041
* Add support for severity field in statisticsNarayan Desai2006-07-071-0/+4
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1914 ce84e21b-d406-0410-9b95-82705330c041
* * Add specific info reporting code for Extra elements Narayan Desai2006-06-291-2/+4
| | | | | | | | * Add data collection for redhat toolset (rpm/chkconfig) * Add data collection for debian toolset (apt/glob) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1904 ce84e21b-d406-0410-9b95-82705330c041
* Fix some failure reportingNarayan Desai2006-06-281-2/+6
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1901 ce84e21b-d406-0410-9b95-82705330c041
* Pass current failure information to server in statisticsNarayan Desai2006-06-281-7/+19
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1900 ce84e21b-d406-0410-9b95-82705330c041
* Fix traceback if user resolution fails (Resolves Ticket #67)Narayan Desai2006-06-261-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1895 ce84e21b-d406-0410-9b95-82705330c041
* Verify method instrumentation from ChrisVNarayan Desai2006-06-211-35/+20
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1892 ce84e21b-d406-0410-9b95-82705330c041
* Restructure work queue reporting and some pylint fixesNarayan Desai2006-06-211-19/+24
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1891 ce84e21b-d406-0410-9b95-82705330c041
* Add support for empty filesNarayan Desai2006-05-151-1/+5
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1864 ce84e21b-d406-0410-9b95-82705330c041
* * Pylint cleanupsNarayan Desai2006-05-021-2/+4
| | | | | | | * Add more debug level logging for install runs git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1858 ce84e21b-d406-0410-9b95-82705330c041
* Fix the "all entries correct" message when work remains to be doneNarayan Desai2006-04-261-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1856 ce84e21b-d406-0410-9b95-82705330c041
* * Fix revision handling (for cases where the server doesn't supply a ↵Narayan Desai2006-03-291-1/+1
| | | | | | revision) (fixes Ticket #39) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1815 ce84e21b-d406-0410-9b95-82705330c041
* * Fix parent directory creation for directory entries (resolving Ticket #37)Narayan Desai2006-03-291-0/+22
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1813 ce84e21b-d406-0410-9b95-82705330c041
* * Version bumpNarayan Desai2006-03-231-0/+1
| | | | | | | * Verbosity improvements git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1810 ce84e21b-d406-0410-9b95-82705330c041
* * Implement configuration specification revision passing between client and ↵Narayan Desai2006-03-171-22/+3
| | | | | | server git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1807 ce84e21b-d406-0410-9b95-82705330c041
* * Remove messages describing extra configuration elements when running in ↵Narayan Desai2006-03-091-5/+30
| | | | | | | | | 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
* Fix up logging in dryrun modeNarayan Desai2006-03-011-12/+17
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1785 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
* Switch more client toolsets over to the new logging infrastructureNarayan Desai2006-02-281-5/+22
| | | | | | | 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
* Fix output loggingNarayan Desai2006-02-211-1/+1
| | | | 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-211-163/+94
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1760 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-171-35/+29
| | | | 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
* 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
* last step of repo switchesNarayan Desai2006-01-231-8/+14
| | | | 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-051-0/+2
| | | | | | | | 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
* set keyword attributes on most filesNarayan Desai2005-12-131-32/+111
| | | | | | | | | 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-091-3/+9
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1617 ce84e21b-d406-0410-9b95-82705330c041
* fix longstanding faulty reporting of packages included in the configNarayan Desai2005-11-301-3/+4
| | | | | | | | | multiple times (Logical change 1.374) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1574 ce84e21b-d406-0410-9b95-82705330c041
* switch to lxmlNarayan Desai2005-11-121-1/+1
| | | | | | | (Logical change 1.357) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1488 ce84e21b-d406-0410-9b95-82705330c041
* fix double calls to Toolset.InventoryNarayan Desai2005-11-091-1/+1
| | | | | | | (Logical change 1.352) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1464 ce84e21b-d406-0410-9b95-82705330c041