aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystems/hosts.pp
diff options
context:
space:
mode:
authordrebs <drebs@riseup.net>2010-07-11 20:08:13 -0300
committerdrebs <drebs@riseup.net>2010-07-11 20:08:13 -0300
commitacf4ce1eb6154b53846aad391b7c1f6a5f7bc421 (patch)
tree1d419fb9db243dc9b66456b3ee3da905afd6f55c /manifests/subsystems/hosts.pp
parent2c52ad62273b4ba2523d7d4ede5c9b01091ee24f (diff)
downloadpuppet-nodo-acf4ce1eb6154b53846aad391b7c1f6a5f7bc421.tar.gz
puppet-nodo-acf4ce1eb6154b53846aad391b7c1f6a5f7bc421.tar.bz2
Adding loalhost entry to /etc/hosts.
Diffstat (limited to 'manifests/subsystems/hosts.pp')
-rw-r--r--manifests/subsystems/hosts.pp5
1 files changed, 5 insertions, 0 deletions
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",