Merge pull request #6997 from ricard33/patch-1

Fixed test on 'cached' parameter.
This commit is contained in:
James Cammarata 2014-04-15 10:17:35 -05:00
commit 942c3299ec

View file

@ -149,7 +149,7 @@ def install_packages(module, pkgng_path, packages, cached, pkgsite):
else:
pkgsite = "-r %s" % (pkgsite)
if not module.check_mode and cached == "no":
if not module.check_mode and not cached:
if old_pkgng:
rc, out, err = module.run_command("%s %s update" % (pkgsite, pkgng_path))
else: