Merge pull request #966 from blast-hardcheese/develop

The apt module now has a non-standard external dep
This commit is contained in:
Thomas S Hatch 2012-03-19 13:54:22 -07:00
commit 91779f76bd

View File

@ -251,9 +251,15 @@ def list_pkgs(regex_string=""):
{'<package_name>': '<version>'}
External dependencies::
Virtual package resolution requires aptitude.
Without aptitude virtual packages will be reported as not installed.
CLI Example::
salt '*' pkg.list_pkgs
salt '*' pkg.list_pkgs httpd
'''
ret = {}
cmd = 'dpkg --list {0}'.format(regex_string)