# # LDAP related stuff (Salt managed) # apply Service "ldaps" { import "generic-service" check_command = "ldap" vars.ldap_address = host.vars.ldap_fqdn vars.ldap_base = "dc=ffho,dc=net" vars.ldap_ssl = true vars.ldap_v3 = true assign where host.vars.ldap_fqdn && "ldap-master" in host.vars.roles assign where host.vars.ldap_fqdn && "ldap-replica" in host.vars.roles }