Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP5:Update
salt.4663
0055-Adding-downloadonly-support-to-yum-dnf-mod...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0055-Adding-downloadonly-support-to-yum-dnf-module.patch of Package salt.4663
From 1fb943d42de466f422f34dac46189aa5ab278d42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pablo=20Su=C3=A1rez=20Hern=C3=A1ndez?= <psuarezhernandez@suse.com> Date: Fri, 17 Mar 2017 15:45:28 +0000 Subject: [PATCH 55/57] Adding downloadonly support to yum/dnf module --- salt/modules/yumpkg.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/salt/modules/yumpkg.py b/salt/modules/yumpkg.py index cb289b5..a0cdb30 100644 --- a/salt/modules/yumpkg.py +++ b/salt/modules/yumpkg.py @@ -1099,6 +1099,7 @@ def install(name=None, skip_verify=False, pkgs=None, sources=None, + downloadonly=False, reinstall=False, normalize=True, **kwargs): @@ -1156,6 +1157,9 @@ def install(name=None, skip_verify Skip the GPG verification check (e.g., ``--nogpgcheck``) + downloadonly + Only download the packages, do not install. + version Install a specific version of the package, e.g. 1.2.3-4.el5. Ignored if "pkgs" or "sources" is passed. @@ -1386,6 +1390,8 @@ def install(name=None, cmd.extend(args) if skip_verify: cmd.append('--nogpgcheck') + if downloadonly: + cmd.append('--downloadonly') if targets: cmd = [] -- 2.10.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor