aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/common
diff options
context:
space:
mode:
Diffstat (limited to 'deployment/common')
-rw-r--r--deployment/common/manifests/init.pp5
1 files changed, 5 insertions, 0 deletions
diff --git a/deployment/common/manifests/init.pp b/deployment/common/manifests/init.pp
index acdaea7e..e17f02d8 100644
--- a/deployment/common/manifests/init.pp
+++ b/deployment/common/manifests/init.pp
@@ -19,6 +19,11 @@ class common {
file { '/srv/':
ensure => directory
}
+
+ host { 'localhost':
+ ip => '127.0.0.1',
+ host_aliases => [ "${::hostname}", "${::hostname}.${::domain}" ],
+ }
}
class default_mageia_server inherits default_mageia_server_no_smtp {