mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Merge pull request #617 from jcollie/issue616
Fix issue #616 - incomplete merge of salt/modules/yumpkg.py
This commit is contained in:
commit
8b2c90528d
@ -204,11 +204,6 @@ def install(pkgs, refresh=False, repo='', skip_verify=False):
|
||||
|
||||
if repo:
|
||||
yb.repos.enableRepo(repo)
|
||||
for opt in opts:
|
||||
if '--nogpgcheck' in opt:
|
||||
setattr(yb.conf, 'gpgcheck', False)
|
||||
if opt.startswith('--enablerepo'):
|
||||
yb.repos.enableRepo(arg.split('=')[1])
|
||||
for pkg in pkgs:
|
||||
try:
|
||||
yb.install(name=pkg)
|
||||
|
Loading…
Reference in New Issue
Block a user