puppet-prod/site/profiles/templates/base/hosts.erb
Ben Vincent bf620e3c75 chore: hard-code git.unkin.net path
- dirty fix, set git.unkin.net in hosts file template
- avoid hairpint nat
2025-07-06 15:55:26 +10:00

12 lines
422 B
Plaintext

# /etc/hosts file managed by Puppet
# The following lines are desirable for IPv4 capable hosts
<%= @facts['networking']['ip'] %> <%= @fqdn %> <%= @hostname %>
127.0.0.1 localhost.localdomain localhost
127.0.0.1 localhost4.localdomain4 localhost4
198.18.19.17 git.unkin.net
<% @additional_hosts.each do |host| -%>
<%= host['ip'] %> <%= host['hostname'] %> <%= host['aliases'].join(' ') if host['aliases'] %>
<% end -%>