aboutsummaryrefslogtreecommitdiffstats
path: root/community/salt/0001-alpine-support.patch
diff options
context:
space:
mode:
authorSteeve Chailloux <steevechailloux@gmail.com>2016-10-11 19:45:32 +0200
committerJakub Jirutka <jakub@jirutka.cz>2016-10-11 22:54:29 +0200
commitb54c4fcb7196d3ef9689ef26c001f07236726ef8 (patch)
tree8216ab56634a33732dbd7d16427a0e0fa74ea1ac /community/salt/0001-alpine-support.patch
parent620f864c14a5c06628e942d1f59aa7119b8136a7 (diff)
downloadaports-b54c4fcb7196d3ef9689ef26c001f07236726ef8.tar.bz2
aports-b54c4fcb7196d3ef9689ef26c001f07236726ef8.tar.xz
community/salt: update alpine-support
see: https://github.com/saltstack/salt/pull/36904
Diffstat (limited to 'community/salt/0001-alpine-support.patch')
-rw-r--r--community/salt/0001-alpine-support.patch8
1 files changed, 7 insertions, 1 deletions
diff --git a/community/salt/0001-alpine-support.patch b/community/salt/0001-alpine-support.patch
index 9d84f15fd7..ac7d7db1d6 100644
--- a/community/salt/0001-alpine-support.patch
+++ b/community/salt/0001-alpine-support.patch
@@ -5,7 +5,7 @@ new file mode 100644
index 0000000..c44b3a7
--- /dev/null
+++ b/salt/modules/apk.py
-@@ -0,0 +1,613 @@
+@@ -0,0 +1,619 @@
+# -*- coding: utf-8 -*-
+'''
+Support for apk
@@ -309,6 +309,12 @@ index 0000000..c44b3a7
+ pkg_to_install = [name]
+
+ if pkgs:
++ # We don't support installing specific version for now
++ # so transform the dict in list ignoring version provided
++ pkgs = [
++ p.keys()[0] for p in pkgs
++ if isinstance(p, dict)
++ ]
+ pkg_to_install.extend(pkgs)
+
+ if not pkg_to_install: