crowbar/crowbar-core

View on GitHub
chef/cookbooks/utils/providers/systemd_service_restart.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method write_conf_snippet has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

def write_conf_snippet(new_resource, snippet_variables)
  service = fetch_service(new_resource)

  etc_dir = "/etc/systemd/system/#{service}.service.d"

Severity: Minor
Found in chef/cookbooks/utils/providers/systemd_service_restart.rb - About 1 hr to fix

There are no issues that match your filters.

Category
Status