aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/common/manifests/init.pp
blob: c7b7486d77e822dc12767dd0d1289ebfc7bfb27a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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
    }
}