summaryrefslogtreecommitdiff
path: root/puppet/modules/site_config/templates
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2013-01-20 14:09:50 +0100
committervarac <varacanero@zeromail.org>2013-01-20 14:09:50 +0100
commitfc59f6c6a22a4659cefa29e18a658c852c6e89f7 (patch)
tree42ed0c228bdadbb4eeab8bd7de3fc12121095acc /puppet/modules/site_config/templates
parent27651e6188325880244fe17d3bf82c3068095e8a (diff)
configure fqdn for host
Diffstat (limited to 'puppet/modules/site_config/templates')
-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 -%>