6855e6b586
These changes make the code more reusable, testable, and most importantly, overrideable.
18 lines
288 B
Ruby
18 lines
288 B
Ruby
# frozen_string_literal: true
|
|
|
|
module SystemCheck
|
|
module RakeTask
|
|
# Used by gitlab:ldap:check rake task
|
|
class LdapTask
|
|
extend RakeTaskHelpers
|
|
|
|
def self.name
|
|
'LDAP'
|
|
end
|
|
|
|
def self.checks
|
|
[SystemCheck::LdapCheck]
|
|
end
|
|
end
|
|
end
|
|
end
|