mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Fix call to _get_repo_options()
Had forgotten to pass fromrepo along with the kwargs dict
This commit is contained in:
parent
4e4e240c5e
commit
e144df7d30
@ -79,7 +79,7 @@ def _get_repo_options(**kwargs):
|
|||||||
|
|
||||||
repo_arg = ''
|
repo_arg = ''
|
||||||
if fromrepo:
|
if fromrepo:
|
||||||
log.info('Restricting install to repo "{0}"'.format(fromrepo))
|
log.info('Restricting to repo "{0}"'.format(fromrepo))
|
||||||
repo_arg = '--disablerepo="*" --enablerepo="{0}"'.format(fromrepo)
|
repo_arg = '--disablerepo="*" --enablerepo="{0}"'.format(fromrepo)
|
||||||
else:
|
else:
|
||||||
repo_arg = ''
|
repo_arg = ''
|
||||||
@ -316,7 +316,7 @@ def install(name=None,
|
|||||||
log.warning('"version" parameter will be ignored for muliple '
|
log.warning('"version" parameter will be ignored for muliple '
|
||||||
'package targets')
|
'package targets')
|
||||||
|
|
||||||
repo_arg = _get_repo_options(**kwargs)
|
repo_arg = _get_repo_options(fromrepo=fromrepo, **kwargs)
|
||||||
|
|
||||||
old = list_pkgs()
|
old = list_pkgs()
|
||||||
downgrade = []
|
downgrade = []
|
||||||
|
Loading…
Reference in New Issue
Block a user