summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Client/Tools/Pkgng.py
Commit message (Collapse)AuthorAgeFilesLines
* Client/Tools: Fix error if no pkg handledAlexander Sulfrian2015-11-171-1/+1
| | | | | | | | | | | | Install() of a client tool returns the changed states as dict, that will update the global state. If nothing is handled withing a tool, it have to return an empty dict and not None because the return value is directly used as argument for update: > APT.Install() call failed: > Traceback (most recent call last): > File "/usr/lib/python2.7/dist-packages/Bcfg2/Client/__init__.py", line 739, in DispatchInstallCalls > self.states.update(tool.Install(handled)) > TypeError: 'NoneType' object is not iterable
* Merge branch 'fix-extra-packages' of https://github.com/AlexanderS/bcfg2Sol Jerome2015-03-181-2/+2
|\
| * Client/Tools: Report the version of extra packages as current_version.Alexander Sulfrian2015-02-191-2/+2
| | | | | | | | | | The version of extra packages should be reported as current_version and not as target_version.
* | Client/Tools/Pkgng: No auto-update on pkg-search.Alexander Sulfrian2015-02-191-1/+1
|/ | | | | | By default pkg search will update the local copy of the repository catalogue from remote. We are executing a lot of searches and do not want to update the catalogue every time.
* Pylint fixes for pylint 0.28Chris St. Pierre2015-02-171-4/+5
| | | | | This also pins Pylint to 0.28 or older so that we don't have to do this again. At some point we should look at upgrading to Pylint 1.x.
* Client/Tool/Pkgng: fix format string concatenationAlexander Sulfrian2014-05-151-1/+1
|
* Client/Tools/Pkgng: fail if pkg does not existsAlexander Sulfrian2014-05-071-1/+5
|
* Client/Tools/Pkgng: add client tool for pkgngAlexander Sulfrian2014-04-271-0/+222