summaryrefslogtreecommitdiffstats
path: root/src/lib/Client
Commit message (Collapse)AuthorAgeFilesLines
* Implement -z (for Independent entries only, a la -b) (Resolves Ticket #616)Narayan Desai2009-06-141-0/+3
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5281 ce84e21b-d406-0410-9b95-82705330c041
* APT: Force cache reload to get data from source updatesNarayan Desai2009-06-141-5/+3
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5278 ce84e21b-d406-0410-9b95-82705330c041
* Improve error message for attempted directory unlinks (Patch from Torsten ↵Narayan Desai2009-06-141-0/+3
| | | | | | Rehn) (Resolves Ticket #657) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5277 ce84e21b-d406-0410-9b95-82705330c041
* APT: fix cache invalidationNarayan Desai2009-06-141-0/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5276 ce84e21b-d406-0410-9b95-82705330c041
* Fix yum api use for centos 4 compatibility (Resolves Ticket #670)Narayan Desai2009-06-051-6/+20
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5268 ce84e21b-d406-0410-9b95-82705330c041
* Add back python 2.3 fixes for {RPM,YUM}ngSol Jerome2009-05-272-0/+12
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5258 ce84e21b-d406-0410-9b95-82705330c041
* Revert "Remove last traces of popen2 from client code"Sol Jerome2009-05-271-12/+38
| | | | | | | | | | | This reverts commit 5167. We are still supporting python2.3 on the client. This can be redone once we start supporting 2.4 or greater. Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5257 ce84e21b-d406-0410-9b95-82705330c041
* APT.Remove: Split up package names properlySol Jerome2009-05-221-1/+1
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5252 ce84e21b-d406-0410-9b95-82705330c041
* Remove deprecated RPM and Yum driversNarayan Desai2009-05-153-158/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5237 ce84e21b-d406-0410-9b95-82705330c041
* 'N' is the default actionSol Jerome2009-05-141-1/+1
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5233 ce84e21b-d406-0410-9b95-82705330c041
* Fix reversed options (Reported by Kamil Kisiel)Sol Jerome2009-05-141-1/+1
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5232 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
* 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
* 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
* 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
* Remove unused imports for pylintSol Jerome2009-04-172-2/+6
| | | | | | | 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
* Fix YUMng -r behaviorNarayan Desai2009-04-131-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5159 ce84e21b-d406-0410-9b95-82705330c041
* YUMng: Fix version=auto for epoch-sensitive packagesNarayan Desai2009-04-061-4/+3
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5151 ce84e21b-d406-0410-9b95-82705330c041
* Update RcUpdate tool driver to catch all servicesSol Jerome2009-04-011-2/+2
| | | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5148 ce84e21b-d406-0410-9b95-82705330c041
* Initial IPS (Opensolaris) driverNarayan Desai2009-04-012-1/+61
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5146 ce84e21b-d406-0410-9b95-82705330c041
* Fix portage driver traceback (Resolves Ticket #649)Narayan Desai2009-03-281-2/+4
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5145 ce84e21b-d406-0410-9b95-82705330c041
* launchd update for 10.5 (patch from Kamil Kisiel)Sol Jerome2009-03-191-0/+15
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5132 ce84e21b-d406-0410-9b95-82705330c041
* YUMng: Switch to yum lib calls instead of parsing command output (thanks to ↵Narayan Desai2009-03-191-19/+11
| | | | | | Seth for pointers) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5130 ce84e21b-d406-0410-9b95-82705330c041
* YUMng: implement version=auto/any supportNarayan Desai2009-03-132-17/+74
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5118 ce84e21b-d406-0410-9b95-82705330c041
* Implement improved client-side error checking (will allow better error ↵Narayan Desai2009-02-182-1/+23
| | | | | | messages in cases of bind failures, etc) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5082 ce84e21b-d406-0410-9b95-82705330c041
* Pylint fixes for Account PluginSol Jerome2009-02-111-1/+1
| | | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5075 ce84e21b-d406-0410-9b95-82705330c041
* Fix gpg nosignature option (Ticket #641)Sol Jerome2009-02-111-1/+2
| | | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5074 ce84e21b-d406-0410-9b95-82705330c041
* RPMng: add support for version='any'Narayan Desai2009-02-091-6/+18
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5071 ce84e21b-d406-0410-9b95-82705330c041
* revert subprocess changes for the moment as wellNarayan Desai2009-02-091-12/+4
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5070 ce84e21b-d406-0410-9b95-82705330c041
* Client tools infrastructure update for python 2.6 (From Kamil Kisiel)Narayan Desai2009-02-061-4/+12
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5067 ce84e21b-d406-0410-9b95-82705330c041
* M Tools/Portage.pyMichael Jinks2009-01-311-2/+2
| | | | | | | | | | VerifyPackages had a bug in the call to 'equery check' such that it never should have worked at all when the client was called without -q. Fixed it to add a version to the package name. git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5053 ce84e21b-d406-0410-9b95-82705330c041
* Use safer alternatives to mktemp (Patch from adeason)Sol Jerome2009-01-292-4/+6
| | | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5049 ce84e21b-d406-0410-9b95-82705330c041
* Simplify service configuration; make all services use common restart frameworkNarayan Desai2009-01-235-73/+64
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5040 ce84e21b-d406-0410-9b95-82705330c041
* Revert dict accesses in APT toolSol Jerome2009-01-131-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5022 ce84e21b-d406-0410-9b95-82705330c041
* Add more verbose apt cache mismatch errorsNarayan Desai2009-01-131-2/+7
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5021 ce84e21b-d406-0410-9b95-82705330c041
* SYSV support for version=any (patch from adeason) (Resolves Ticket #632)Narayan Desai2009-01-131-2/+7
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5019 ce84e21b-d406-0410-9b95-82705330c041
* Fall back to auto behavior for APT version=any installation (Resolves Ticket ↵Narayan Desai2009-01-131-3/+1
| | | | | | #631) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5018 ce84e21b-d406-0410-9b95-82705330c041
* Improve error message for APT.py when version=any (Resolves Ticket #631)Narayan Desai2009-01-131-0/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5017 ce84e21b-d406-0410-9b95-82705330c041
* Update dictionary accesses to work with Python 3.0Sol Jerome2008-12-229-13/+13
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4999 ce84e21b-d406-0410-9b95-82705330c041
* Warn on missing bundles when using -b (Resolves Ticket #615) [bugfix]Sol Jerome2008-12-211-4/+15
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4997 ce84e21b-d406-0410-9b95-82705330c041
* Do not stop services in build mode (Partially resolves Ticket #624)Sol Jerome2008-12-111-4/+9
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4993 ce84e21b-d406-0410-9b95-82705330c041
* Merge branch 'tools'Narayan Desai2008-12-101-0/+8
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4992 ce84e21b-d406-0410-9b95-82705330c041
* pylint fixes for client codeNarayan Desai2008-12-0820-47/+47
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4991 ce84e21b-d406-0410-9b95-82705330c041
* Spelling fixesSol Jerome2008-11-261-3/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4987 ce84e21b-d406-0410-9b95-82705330c041
* Implement version=any for Apt driverNarayan Desai2008-11-251-0/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4985 ce84e21b-d406-0410-9b95-82705330c041
* Fix false verification failureNarayan Desai2008-11-251-0/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4984 ce84e21b-d406-0410-9b95-82705330c041
* New APT driver (git-svn sent the last change astray)Narayan Desai2008-11-221-82/+120
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4981 ce84e21b-d406-0410-9b95-82705330c041