aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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",