summaryrefslogtreecommitdiffstats
path: root/debian/patches/0004-fix-cyberark-conjur-import.patch
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--debian/patches/0004-fix-cyberark-conjur-import.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/debian/patches/0004-fix-cyberark-conjur-import.patch b/debian/patches/0004-fix-cyberark-conjur-import.patch
new file mode 100644
index 000000000..0b5a5af1d
--- /dev/null
+++ b/debian/patches/0004-fix-cyberark-conjur-import.patch
@@ -0,0 +1,27 @@
+Description: fix cyberark.conjur import error
+Author: Lee Garrett <debian@rocketjump.eu>
+Origin: upstream, https://github.com/cyberark/ansible-conjur-collection/commit/1f1886f4f3eef61c85ef3fc1165882a7d8314533
+Forwarded: not-needed
+Applied-Upstream: https://github.com/cyberark/ansible-conjur-collection/commit/1f1886f4f3eef61c85ef3fc1165882a7d8314533
+Reviewed-by: Lee Garrett <debian@rocketjump.eu>
+Last-Update: 2024-06-06
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/ansible_collections/cyberark/conjur/plugins/lookup/conjur_variable.py
++++ b/ansible_collections/cyberark/conjur/plugins/lookup/conjur_variable.py
+@@ -87,6 +87,7 @@
+
+ import os.path
+ import socket
++import ansible.module_utils.six.moves.urllib.error as urllib_error
+ from ansible.errors import AnsibleError
+ from ansible.plugins.lookup import LookupBase
+ from base64 import b64encode
+@@ -94,7 +95,6 @@
+ from os import environ
+ from time import sleep
+ from ansible.module_utils.six.moves.urllib.parse import quote
+-from ansible.module_utils.urls import urllib_error
+ from stat import S_IRUSR, S_IWUSR
+ from tempfile import gettempdir, NamedTemporaryFile
+ import yaml