# - bin/waitfor 1200
- |
echo "Creating 'etc/ldap.yaml' ..."
- echo "---" > "etc/ldap.yaml"
- echo "ldap:" >> "etc/ldap.yaml"
- echo " timeout: ${LDAP_TIMEOUT}" >> "etc/ldap.yaml"
- echo " default:" >> "etc/ldap.yaml"
- echo " host: '${LDAP_HOST}'" >> "etc/ldap.yaml"
- echo " ssl: ${LDAP_SSL}" >> "etc/ldap.yaml"
- echo " port: ${LDAP_PORT}" >> "etc/ldap.yaml"
- echo " base_dn: '${LDAP_BASE_DN}'" >> "etc/ldap.yaml"
- echo " bind_dn: '${LDAP_BIND_DN}'" >> "etc/ldap.yaml"
- echo " bind_pw: '${LDAP_BIND_PW}'" >> "etc/ldap.yaml"
+ echo "---" > "etc/ldap.yaml"
+ echo "ldap:" >> "etc/ldap.yaml"
+ echo " timeout: ${LDAP_TIMEOUT}" >> "etc/ldap.yaml"
+ echo " default:" >> "etc/ldap.yaml"
+ echo " host: '${LDAP_HOST}'" >> "etc/ldap.yaml"
+ echo " ssl: ${LDAP_SSL}" >> "etc/ldap.yaml"
+ echo " port: ${LDAP_PORT}" >> "etc/ldap.yaml"
+ echo " base_dn: '${LDAP_BASE_DN}'" >> "etc/ldap.yaml"
+ echo " bind_dn: '${LDAP_BIND_DN}'" >> "etc/ldap.yaml"
+ echo " bind_pw: '${LDAP_BIND_PW}'" >> "etc/ldap.yaml"
- 'echo "Generated etc/ldap.yaml:";
ls -l "etc/ldap.yaml" || true;
echo;