X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fhosts%2Ftemplates%2Fetc-hosts.erb;h=9448d0ea4b4acea631cb380e8c5db357af92b6c8;hb=6f2e5fc86e49c12b12eef39fc69e0e810a32c318;hp=1105ac3ed4a15e085774bebe88b75aecfd121463;hpb=4326b0a78553bfe9696c10f1a69e1316acd23802;p=mirror%2Fdsa-puppet.git diff --git a/modules/hosts/templates/etc-hosts.erb b/modules/hosts/templates/etc-hosts.erb index 1105ac3ed..9448d0ea4 100644 --- a/modules/hosts/templates/etc-hosts.erb +++ b/modules/hosts/templates/etc-hosts.erb @@ -4,7 +4,7 @@ ## 127.0.0.1 localhost -<%= ipaddress %> <%= fqdn %> <%= hostname %> +<%= @ipaddress %> <%= @fqdn %> <%= @hostname %> # The following lines are desirable for IPv6 capable hosts ::1 localhost ip6-localhost ip6-loopback