diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2013-06-13 00:50:46 +0200 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2014-05-11 16:10:44 +0200 |
commit | 7997ae385a997c3c73bc018a6193fb77362ce4b5 (patch) | |
tree | 0662a8a09c50d73a6a1f035b93e550828a688cdb /src/lib/Bcfg2/Server/Plugins/Packages/Yum.py | |
parent | d398012d9bd36b1567614a788e3206dcb84753a6 (diff) | |
download | bcfg2-7997ae385a997c3c73bc018a6193fb77362ce4b5.tar.gz bcfg2-7997ae385a997c3c73bc018a6193fb77362ce4b5.tar.bz2 bcfg2-7997ae385a997c3c73bc018a6193fb77362ce4b5.zip |
Plugins/Packages: ability to overwrite recommended flag per package
Diffstat (limited to 'src/lib/Bcfg2/Server/Plugins/Packages/Yum.py')
-rw-r--r-- | src/lib/Bcfg2/Server/Plugins/Packages/Yum.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/Bcfg2/Server/Plugins/Packages/Yum.py b/src/lib/Bcfg2/Server/Plugins/Packages/Yum.py index 2dc44d0c4..f26ded4c5 100644 --- a/src/lib/Bcfg2/Server/Plugins/Packages/Yum.py +++ b/src/lib/Bcfg2/Server/Plugins/Packages/Yum.py @@ -857,7 +857,7 @@ class YumCollection(Collection): return new @track_statistics() - def complete(self, packagelist): + def complete(self, packagelist, recommended=None): """ Build a complete list of all packages and their dependencies. When using the Python yum libraries, this defers to the @@ -875,7 +875,7 @@ class YumCollection(Collection): resolved. """ if not self.use_yum: - return Collection.complete(self, packagelist) + return Collection.complete(self, packagelist, recommended) lock = FileLock(os.path.join(self.cachefile, "lock")) slept = 0 |