Method: Gitlab::QA::Component::LDAP#tls=
- Defined in:
- lib/gitlab/qa/component/ldap.rb
#tls=(status) ⇒ Object
LDAP_TLS is true by default
29 30 31 32 33 34 35 36 37 38 |
# File 'lib/gitlab/qa/component/ldap.rb', line 29 def tls=(status) if status @environment['LDAP_TLS_CRT_FILENAME'] = "#{hostname}.crt" @environment['LDAP_TLS_KEY_FILENAME'] = "#{hostname}.key" @environment['LDAP_TLS_ENFORCE'] = 'true' @environment['LDAP_TLS_VERIFY_CLIENT'] = 'never' else @environment['LDAP_TLS'] = 'false' end end |