summaryrefslogtreecommitdiff
path: root/puppet
diff options
context:
space:
mode:
Diffstat (limited to 'puppet')
-rw-r--r--puppet/modules/site_config/templates/hosts2
1 files changed, 2 insertions, 0 deletions
diff --git a/puppet/modules/site_config/templates/hosts b/puppet/modules/site_config/templates/hosts
index c516eaf8..05fb56b9 100644
--- a/puppet/modules/site_config/templates/hosts
+++ b/puppet/modules/site_config/templates/hosts
@@ -1,6 +1,8 @@
# This file is managed by puppet, any changes will be overwritten!
127.0.0.1 localhost
+127.0.1.1 <%= hostname %>.<%= domain %> <%= hostname %>
+
<%- if hosts.to_s != '' then -%>
<%= hosts %>
<% end -%>