aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2023-12-27 21:51:16 -0800
committerDan Fandrich <dan@coneharvesters.com>2023-12-27 21:51:16 -0800
commit0f05217995af8b655cc7e9e150900cd4e7fc0458 (patch)
tree0b3ab4d93fe52c80fd542191a28894282598a939
parentdcc705b50d72d48fd13dd162d2c4522691f4ef31 (diff)
downloadpuppet-0f05217995af8b655cc7e9e150900cd4e7fc0458.tar
puppet-0f05217995af8b655cc7e9e150900cd4e7fc0458.tar.gz
puppet-0f05217995af8b655cc7e9e150900cd4e7fc0458.tar.bz2
puppet-0f05217995af8b655cc7e9e150900cd4e7fc0458.tar.xz
puppet-0f05217995af8b655cc7e9e150900cd4e7fc0458.zip
Remove some extra quote characters accidentally submitted
-rwxr-xr-xmodules/openssh/templates/ldap-sshkey2file.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/modules/openssh/templates/ldap-sshkey2file.py b/modules/openssh/templates/ldap-sshkey2file.py
index 7a0a7de5..6718b053 100755
--- a/modules/openssh/templates/ldap-sshkey2file.py
+++ b/modules/openssh/templates/ldap-sshkey2file.py
@@ -17,12 +17,10 @@ except ImportError:
basedn = "<%= dc_suffix %>"
peopledn = f"ou=people,{basedn}"
-'''
<%-
ldap_servers.map! { |l| "'ldaps://#{l}'" }
-%>
-'''
-uris = ['''<%= ldap_servers.join(", ") %>''']
+uris = [<%= ldap_servers.join(", ") %>]
random.shuffle(uris)
uri = " ".join(uris)
timeout = 5