cdist/conf/type/__package_yum/explorer
Nico Schottelius aedbc263d7 need to use --whatprovides
This ensure we also check for other packages which are used instead
of the requested one, which does not work with rpm -q:

[root@brett ~]# rpm -q vim
package vim is not installed
[root@brett ~]# yum --assumeyes --quiet install "vim"
Package 2:vim-enhanced-7.3.056-1.fc14.x86_64 already installed and
latest version
[root@brett ~]# rpm -q --whatprovides vim
vim-enhanced-7.3.056-1.fc14.x86_64

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-02 02:49:57 +02:00
..
pkg_version need to use --whatprovides 2011-04-02 02:49:57 +02:00