chef/cookbooks/utils/providers/systemd_service_restart.rb
Method write_conf_snippet
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def write_conf_snippet(new_resource, snippet_variables)
service = fetch_service(new_resource)
etc_dir = "/etc/systemd/system/#{service}.service.d"
- Create a ticketCreate a ticket