diff options
author | Steeve Chailloux <steevechailloux@gmail.com> | 2016-10-11 19:45:32 +0200 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2016-10-11 22:54:29 +0200 |
commit | b54c4fcb7196d3ef9689ef26c001f07236726ef8 (patch) | |
tree | 8216ab56634a33732dbd7d16427a0e0fa74ea1ac /community/salt/0001-alpine-support.patch | |
parent | 620f864c14a5c06628e942d1f59aa7119b8136a7 (diff) | |
download | aports-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.patch | 8 |
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: |