cobbler/cobbler — pull request #374 by dgivens (2012-12-18 21:27:36+00:00)
Title: Used dhcp_service_name() from utils to get service name in cobbler sync

(verified I was on the right branch)

'service dhcpd restart' was hardcoded in the sync_dhcp() method that gets executed when running a sync. This causes the service restart to fail on systems whose dhpcd service is named differently. I used the dhcp_service_name() method from utils.py to attempt to get the proper service name.