ManageIQ/httpd_configmap_generator

View on GitHub
lib/httpd_configmap_generator/ldap.rb

Summary

Maintainability
A
1 hr
Test Coverage
F
22%

Method configure_sssd has 40 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    def configure_sssd
      info_msg("Configuring SSSD Service")
      sssd = Sssd.new(opts)
      sssd.load(SSSD_CONFIG)

Severity: Minor
Found in lib/httpd_configmap_generator/ldap.rb - About 1 hr to fix

Use filter_map instead.
Open

      opts[:ldap_basedn].split(",").collect do |p|
        p.split('dc=')[1]
      end.compact.join('.')

There are no issues that match your filters.

Category
Status