aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--deployment/common/manifests/init.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/deployment/common/manifests/init.pp b/deployment/common/manifests/init.pp
index e17f02d8..2a82cd1c 100644
--- a/deployment/common/manifests/init.pp
+++ b/deployment/common/manifests/init.pp
@@ -20,9 +20,9 @@ class common {
ensure => directory
}
- host { 'localhost':
+ host { "${::hostname}.${::domain}":
ip => '127.0.0.1',
- host_aliases => [ "${::hostname}", "${::hostname}.${::domain}" ],
+ host_aliases => [ "${::hostname}", 'localhost' ],
}
}