From acf4ce1eb6154b53846aad391b7c1f6a5f7bc421 Mon Sep 17 00:00:00 2001 From: drebs Date: Sun, 11 Jul 2010 20:08:13 -0300 Subject: Adding loalhost entry to /etc/hosts. --- manifests/subsystems/hosts.pp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'manifests/subsystems/hosts.pp') diff --git a/manifests/subsystems/hosts.pp b/manifests/subsystems/hosts.pp index 223c523..c669c76 100644 --- a/manifests/subsystems/hosts.pp +++ b/manifests/subsystems/hosts.pp @@ -5,6 +5,11 @@ class hosts { alias => [ "$fqdn" ], } + host { "localhost": + ensure => present, + ip => "127.0.0.1", + } + host { "ip6-localhost": ensure => present, ip => "::1", -- cgit v1.2.3