chef-cookbooks/httpd

View on GitHub
libraries/httpd_service_rhel_sysvinit.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method create_setup_service has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

      def create_setup_service
        template "/etc/init.d/#{apache_name}" do
          source "#{new_resource.version}/sysvinit/el-#{elversion}/httpd.erb"
          owner 'root'
          group 'root'
Severity: Minor
Found in libraries/httpd_service_rhel_sysvinit.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status