-if node[:lsb][:release].to_f < 12.04
- package_name = "dhcp3-server"
- config_file = "/etc/dhcp3/dhcpd.conf"
-else
- package_name = "isc-dhcp-server"
- config_file = "/etc/dhcp/dhcpd.conf"
+package %w[
+ isc-dhcp-server
+ tftpd-hpa
+]
+
+service "tftpd-hpa" do
+ action [:enable, :start]
+ supports :status => true, :restart => true