added type cast to ldap_type
diff --git a/templates/silent-install.conf.j2 b/templates/silent-install.conf.j2
index 6de0388..c8b668a 100644
--- a/templates/silent-install.conf.j2
+++ b/templates/silent-install.conf.j2
@@ -5,7 +5,7 @@
 LICENSE_FILE={{ opdk_license_target_file_path }}
 USE_LDAP_REMOTE_HOST={{ opdk_ldap_remote_host }}
 
-LDAP_TYPE={{ opdk_ldap_type | str }}
+LDAP_TYPE={{ opdk_ldap_type | string }}
 {% if opdk_ldap_type == '2' %}
 {% if groups['dc-1-ldap'] is defined and groups['dc-2-ldap'] is defined and inventory_hostname in groups['dc-1'] %}
 LDAP_SID=1