diff --git a/templates/dhcpd.host.erb b/templates/dhcpd.host.erb index 5008a6a3d..57eac1219 100644 --- a/templates/dhcpd.host.erb +++ b/templates/dhcpd.host.erb @@ -22,7 +22,7 @@ host <%= @host %> { <% end -%> <% end -%> <% if not @parameters.empty? -%> -<% @parameters.keys.sort.each do |param| -%> +<% @parameters.sort.each do |param, value| -%> <%= param %> <%= @parameters[param] %>; <% end -%> <% end -%>