Could you give an example of how to do this? If I add
"- provider: rpm" to the pkg.installed call, I get the error:
State: - pkg
Name: perforce-client
Function: installed
Result: False
Comment: An exception occurred in this state: Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/salt/state.py", line 1305, in call
*cdata['args'], **cdata['kwargs'])
File "/usr/lib/pymodules/python2.7/salt/states/pkg.py", line 428, in installed
fromrepo=fromrepo, **kwargs)
File "/usr/lib/pymodules/python2.7/salt/states/pkg.py", line 110, in _find_install_targets
cur_pkgs = __salt__['pkg.list_pkgs'](versions_as_list=True)
TypeError: list_pkgs() got an unexpected keyword argument 'versions_as_list'
Thanks!
Wayne