summaryrefslogtreecommitdiff
path: root/puppet/modules/site_config/templates
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2013-01-20 15:26:26 +0100
committervarac <varacanero@zeromail.org>2013-01-20 15:26:26 +0100
commitd7f7bad9b6d4a45aa06c74a1f630b38a534092e0 (patch)
tree93ef0d9a1c518ad5fe93aae895dcc4d1b539cabe /puppet/modules/site_config/templates
parent1d9f25303a58f15feec071d81ddf13291fdd6002 (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, 1 insertions, 1 deletions
diff --git a/puppet/modules/site_config/templates/hosts b/puppet/modules/site_config/templates/hosts
index 05fb56b9..00cc6a79 100644
--- a/puppet/modules/site_config/templates/hosts
+++ b/puppet/modules/site_config/templates/hosts
@@ -1,7 +1,7 @@
# This file is managed by puppet, any changes will be overwritten!
127.0.0.1 localhost
-127.0.1.1 <%= hostname %>.<%= domain %> <%= hostname %>
+127.0.1.1 <%= hostname %>.<%= @domain_public %> <%= hostname %>
<%- if hosts.to_s != '' then -%>
<%= hosts %>