fix fedora pkg test

yum is no longer installed by default on fedora.  apparently it has been
removed from the base installs, and only dnf is available.  Stop depending on
the pkg manager, and just use bash.
This commit is contained in:
Daniel Wallace 2018-01-17 21:35:41 -07:00
parent 4e0a0eec1f
commit 40255194b0
No known key found for this signature in database
GPG Key ID: 5FA5E5544F010D48

View File

@ -240,10 +240,10 @@ class PkgModuleTest(integration.ModuleCase,
self.assertIn('bash-completion', keys)
self.assertIn('dpkg', keys)
elif os_family == 'RedHat':
ret = self.run_function(func, ['rpm', 'yum'])
ret = self.run_function(func, ['rpm', 'bash'])
keys = ret.keys()
self.assertIn('rpm', keys)
self.assertIn('yum', keys)
self.assertIn('bash', keys)
elif os_family == 'SUSE':
ret = self.run_function(func, ['less', 'zypper'])
keys = ret.keys()