aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/common/manifests/init.pp
diff options
context:
space:
mode:
Diffstat (limited to 'deployment/common/manifests/init.pp')
-rw-r--r--deployment/common/manifests/init.pp6
1 files changed, 6 insertions, 0 deletions
diff --git a/deployment/common/manifests/init.pp b/deployment/common/manifests/init.pp
index acdaea7e..c7b7486d 100644
--- a/deployment/common/manifests/init.pp
+++ b/deployment/common/manifests/init.pp
@@ -8,6 +8,7 @@ class common {
include common::export_ssh_keys
include common::import_ssh_keys
include common::i18n
+ include common::sudo_sysadmin
include ntp
include common::urpmi_update
include puppet::client
@@ -19,6 +20,11 @@ class common {
file { '/srv/':
ensure => directory
}
+
+ host { "${::hostname}.${::domain}":
+ ip => '127.0.0.1',
+ host_aliases => [ "${::hostname}", 'localhost' ],
+ }
}
class default_mageia_server inherits default_mageia_server_no_smtp {