mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
more than a yum install error can be thrown
This commit is contained in:
parent
b1c83e8115
commit
bdffc64e1b
@ -237,7 +237,7 @@ def install(pkgs, refresh=False, repo='', skip_verify=False, **kwargs):
|
||||
for pkg in pkgs:
|
||||
try:
|
||||
yb.install(name=pkg)
|
||||
except yum.Errors.InstallError:
|
||||
except Exception:
|
||||
log.error('Package {0} failed to install'.format(pkg))
|
||||
# Resolve Deps before attempting install. This needs to be improved
|
||||
# by also tracking any deps that may get upgraded/installed during this
|
||||
|
Loading…
Reference in New Issue
Block a user