mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Merge pull request #966 from blast-hardcheese/develop
The apt module now has a non-standard external dep
This commit is contained in:
commit
91779f76bd
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user