Fix shell syntax in wait for ldap cmd
Change-Id: I9bf245cca7e2fa4e8f6790dfdf0683da0650af26
Related-prod: #PROD-29207 (PROD:29207)
diff --git a/openldap/client.sls b/openldap/client.sls
index 070bf26..2155312 100644
--- a/openldap/client.sls
+++ b/openldap/client.sls
@@ -10,7 +10,7 @@
openldap_wait_for_server_{{ client.server.host }}:
cmd.run:
- - name: '/usr/bin/ldapsearch -x -H ldap://{{ client.server.host }}{% if client.server.port is defined %}:{{ client.server.port }}{% endif %} > /dev/null || [ $? -eq 32 ]] && true'
+ - name: '/usr/bin/ldapsearch -x -H ldap://{{ client.server.host }}{% if client.server.port is defined %}:{{ client.server.port }}{% endif %} > /dev/null || [ $? -eq 32 ] && true'
- retry:
attempts: 4
interval: 5