diff options
author | varac <varacanero@zeromail.org> | 2013-01-20 14:09:50 +0100 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2013-01-20 14:09:50 +0100 |
commit | fc59f6c6a22a4659cefa29e18a658c852c6e89f7 (patch) | |
tree | 42ed0c228bdadbb4eeab8bd7de3fc12121095acc | |
parent | 27651e6188325880244fe17d3bf82c3068095e8a (diff) |
configure fqdn for host
-rw-r--r-- | puppet/modules/site_config/templates/hosts | 2 |
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 -%> |