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.pp33
1 files changed, 33 insertions, 0 deletions
diff --git a/deployment/common/manifests/init.pp b/deployment/common/manifests/init.pp
new file mode 100644
index 00000000..c7b7486d
--- /dev/null
+++ b/deployment/common/manifests/init.pp
@@ -0,0 +1,33 @@
+class common {
+ class default_mageia_server_no_smtp {
+
+ include shadow
+ include openssh::server
+ include common::default_ssh_root_key
+ include common::base_packages
+ 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
+ include xymon::client
+ include cron
+
+ # provided by lsb-core, but it also pull
+ # various unneeded stuff for our server
+ 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 {
+ include postfix::simple_relay
+ }
+}