saltstack/salt — pull request #2927 by mchesnut (2012-12-17 19:39:30+00:00)
Title: switch list_pkgs on yum-based systems to using the rpmdb

(instead of using cmd.run)

the rest of this module likes to use YumBase(), so do that for list_pkgs
as well. this is just a straight-forward switch to how the package list is
queried, it doesn't change anything functionality-wise.