Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Back-port #25727 to 2015.8 #25741

Merged
merged 1 commit into from Jul 27, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions salt/modules/pkgng.py
Expand Up @@ -725,7 +725,7 @@ def install(name=None,
opts += 'U'
if salt.utils.is_true(dryrun):
opts += 'n'
if not salt.utils.is_true(dryrun):
if not salt.utils.is_true(dryrun) and pkg_type != 'file':
opts += 'y'
if salt.utils.is_true(quiet):
opts += 'q'
Expand All @@ -746,7 +746,7 @@ def install(name=None,

if pkg_type == 'file':
pkg_cmd = 'add'
targets = list(pkg_params.keys())
targets = pkg_params
elif pkg_type == 'repository':
pkg_cmd = 'install'
if pkgs is None and kwargs.get('version') and len(pkg_params) == 1:
Expand Down