From fc59f6c6a22a4659cefa29e18a658c852c6e89f7 Mon Sep 17 00:00:00 2001 From: varac Date: Sun, 20 Jan 2013 14:09:50 +0100 Subject: configure fqdn for host --- puppet/modules/site_config/templates/hosts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'puppet/modules/site_config/templates/hosts') 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 -%> -- cgit v1.2.3