127.0.0.1 localhost

# auto generated for fr2 internal usage
<%= @proxy_server_ip  %> <%= @proxy_server_fqdn  %> <%= @proxy_server_alias  %>
<%= @static_server_ip %> <%= @static_server_fqdn %> <%= @static_server_alias %>
<%= @worker_server_ip %> <%= @worker_server_fqdn %> <%= @worker_server_alias %>
<%= @database_ip      %> <%= @database_fqdn      %> <%= @database_alias      %>
<%= @sphinx_ip        %> <%= @sphinx_fqdn        %> <%= @sphinx_alias        %>


# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
127.0.0.1 localhost

<% if @node[:chef][:roles].include?('vagrant') %>
127.0.0.1 vagrant-karmic.local vagrant-karmic
<% end %>

# auto generated for fr2 internal usage
<%= @proxy_server_ip  %> <%= @proxy_server_fqdn  %> <%= @proxy_server_alias  %>
<%= @static_server_ip %> <%= @static_server_fqdn %> <%= @static_server_alias %>
<%= @worker_server_ip %> <%= @worker_server_fqdn %> <%= @worker_server_alias %>
<%= @database_ip      %> <%= @database_fqdn      %> <%= @database_alias      %>
<%= @sphinx_ip        %> <%= @sphinx_fqdn        %> <%= @sphinx_alias        %>


# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
Update for vagrant usage locally
Update for vagrant usage locally