Sha256: cbd0f802d180d83a9c53d9ad507b91786a6c0a255b2372d6c53272d98cf7ff50

Contents?: true

Size: 854 Bytes

Versions: 101

Compression:

Stored size: 854 Bytes

Contents

require 'yaml'

module Gitlab
  module QA
    module Scenario
      module Test
        module Integration
          class LDAPNoTLS < LDAP
            def initialize
              @gitlab_name = 'gitlab-ldap'
              @spec_suite = 'Test::Integration::LDAPNoTLS'
              @orchestrate_ldap_server = true
              @tls = false
              super
            end

            def configure_omnibus(gitlab)
              gitlab.omnibus_config = <<~OMNIBUS
                    gitlab_rails['ldap_enabled'] = true;
                    gitlab_rails['ldap_servers'] = #{ldap_servers_omnibus_config};
                    gitlab_rails['ldap_sync_worker_cron'] = '* * * * *';
                    gitlab_rails['ldap_group_sync_worker_cron'] = '* * * * *';
              OMNIBUS
            end
          end
        end
      end
    end
  end
end

Version data entries

101 entries across 101 versions & 1 rubygems

Version Path
gitlab-qa-4.3.2 lib/gitlab/qa/scenario/test/integration/ldap_no_tls.rb