diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2023-12-27 21:51:16 -0800 |
---|---|---|
committer | Dan Fandrich <dan@coneharvesters.com> | 2023-12-27 21:51:16 -0800 |
commit | 0f05217995af8b655cc7e9e150900cd4e7fc0458 (patch) | |
tree | 0b3ab4d93fe52c80fd542191a28894282598a939 | |
parent | dcc705b50d72d48fd13dd162d2c4522691f4ef31 (diff) | |
download | puppet-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-x | modules/openssh/templates/ldap-sshkey2file.py | 4 |
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 |