mirror of
https://github.com/valitydev/salt.git
synced 2024-11-09 01:36:48 +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:
|
for pkg in pkgs:
|
||||||
try:
|
try:
|
||||||
yb.install(name=pkg)
|
yb.install(name=pkg)
|
||||||
except yum.Errors.InstallError:
|
except Exception:
|
||||||
log.error('Package {0} failed to install'.format(pkg))
|
log.error('Package {0} failed to install'.format(pkg))
|
||||||
# Resolve Deps before attempting install. This needs to be improved
|
# Resolve Deps before attempting install. This needs to be improved
|
||||||
# by also tracking any deps that may get upgraded/installed during this
|
# by also tracking any deps that may get upgraded/installed during this
|
||||||
|
Loading…
Reference in New Issue
Block a user